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

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[1]


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.