Linux Find Out Graphics Card Installed In My System
There are different tools available to find out which GPU is installed on your Linux system. Note that not all of these always require root privileges but you should still probably use sudo to make sure that you have the most complete output.
Find your GPU on Linux using lshw
Use this to just list the card:
sudo lshw -short | grep -i display
Use this for more detailed info:
sudo lshw -class display
Find Your Video Card Info on Linux using lspci
Get the latest PCI ID info. You probably don’t need this but it doesn’t hurt to make sure you are up to date.
You can find your GPU like this:
sudo lspci -v | egrep -i --color 'vga|3d|2d'
For me, the output looked like this:
00:02.0 VGA compatible controller: Intel Corporation CoffeeLake-S GT2 [UHD Graphics 630] (rev 02) (prog-if 00 [VGA controller])
Grab the full output for the GPU using the device ID from the output of the previous command. Change the ID in this command to match your device ID.
sudo lspci -v -s 00:02.0
If you are using Nvidia you may be able to find more info with this CLI tool:
You may also be able to launch this GUI tool:
You can use the following command for more information:
GUI tools such as hardinfo and gnome-system-information command.`