Ubuntu – AMDGPU with hybrid graphics 16.04

16.04amd-graphicsgraphicshybrid-graphics

I have an onboard Intel graphics card, and a ATI Radeon accelerator in hybrid graphics. In 1404 LTS, my previous version, I used ATI's catalyst driver, and I could switch betweeen the graphics system in it.

Now, my 16.04 LTS is using onboard Intel as the default VGA controller, and lists ATI as well as display controler, but not in use. Additional drivers don't provide anything. So is AMDGPU being used, or is ATI disabled?

lspci -nnk | grep VGA -A1:

00:02.0 VGA compatible controller [0300]: Intel Corporation Broadwell-U Integrated Graphics [8086:1616] (rev 09)
    Subsystem: Lenovo Broadwell-U Integrated Graphics [17aa:3824]

lspci:

04:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Venus XTX [Radeon HD 8890M / R9 M275X/M375X] (rev ff)

Best Answer

I had to update to the the mainline kernel 4.6.3 before DRI_PRIME=1 glxinfo | grep "OpenGL renderer" returned my AMD card. I am on a thinkpad s531 with an i7 processor and a Radeon HD8600.

I followed this guide to update the kernel.

As described here you can then use eg. DRI_PRIME=1 blender to run a program with the AMD GPU.

Related Question