How to check which graphic card is used by the system? [duplicate]

I have laptop with two graphic cards one build in Intel and the other is nvidia GeForce. I've installed Xubuntu 16.04 and now I want to check which graphic card is used by the system. Probably build in because there are not drivers for Nvidia but I want to be sure.


inxi is a helpful little system info tool that collects all kinds of information about your soft- and hardware and outputs the user relevant pieces in a nice and understandable format.

You install it using sudo apt-get install inxi.

Then you can run inxi -G to print graphics related information.

Here's an example from my hardware:

$ inxi -G
Graphics:  Card-1: Intel Sky Lake Integrated Graphics
           Card-2: NVIDIA GM108M [GeForce 940M]
           Display Server: X.Org 1.18.3 driver: nvidia Resolution: [email protected]
           GLX Renderer: GeForce 940M/PCIe/SSE2 GLX Version: 4.5.0 NVIDIA 367.44

You see I have a built-in Intel graphics chip and an Nvidia chip. The active device is my Nvidia chip.