Ubuntu: How do I check Ubuntu is using my AMD graphics or built-in intel?



Question:

I have hybrid graphics cards in my laptop.

when I check my systems details it showed AMD Radeon (TM) R7 M370 graphics. Also my ubuntu 14.04.4 had built-in AMD catylyst control (software).

when I check on terminal by using this command

lspci -vnnn | perl -lne 'print if /^\d+\:.+(\[\S+\:\S+\])/' | grep VGA  

it showed

00:02.0 VGA compatible controller [0300]: Intel Corporation Sky Lake Integrated Graphics [8086:1916] (rev 07) (prog-if 00 [VGA controller])  

I am confused how to confirm which are on working.

PS: Please check this image too

enter image description here


Solution:1

Not all graphics adapters are shown as VGA.

You can run lspci -k | grep -EA3 'VGA|3D|Display' to see all adapters.

To find out which is in use, you can run glxinfo | grep OpenGL.


Solution:2

If this:

lspci -v | grep "VGA controller"  

gives you more than one line of output, one line for each controller, then, I think this should get the right one:

lspci -v | grep -E ' \[VGA controller\]\)$'  

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »