How to check what graphics card you have on Linux
Whether it’s Nvidia, Radeon or Intel, they can all have problems with Linux. If you are about to solve your graphics problem, you first need to know which graphics card is in your system.
Linux has several commands to check hardware information. You can use it to check which graphics card (also called video card) you have. Let me show you some commands to get information about GPUs in Linux
Checking graphics card information on the Linux Command Line
Use the lspci command to search for graphics card.
The lspci command displays information about instruments connected via PCI buses (connections to peripherals). This command essentially gives you detailed information about all the devices in your system – from keyboard and mouse to sound, network and graphics cards.
By default you have a huge list of these devices. So you have to filter the output for the graphics card with the command grep this way:
lspci | grep VGA
It should contain a line of information about your graphics card:
protected email]:~$ lspci | grep VGA
00:02.0 VGA compatible controller : Intel Corporation HD Graphics 620 (Edition 02)
As you can see, my system is equipped with an Intel HD 620 graphics card.
Get detailed information about the graphics card using the lshw command in Linux.
The lspci team is good enough to see what graphics card you have, but they don’t tell you much. You can use the lshw command to get more information about this.
You may need to install lshw on Fedora, Manjaro and some other distributions not related to Ubuntu.
This team assumes you have root privileges. You should indicate that you are looking for information about the video card (graphics card) in this way:
sudo lshw -C video
And as you can see in the output below, this command gives additional information about the graphics card, such as clock speed, width, drivers, etc..[protected email]:~$ sudo lshw -C video
[sudo] Password for abhishek :
* Display description
: Product with
VGA compatible controller: Manufacturer of HD Graphics 620
: Physical Identification of Intel : Two buses: [Protected Email]:00:02.0 version: 02 Width: 64 bit hour : 33 MHz
Characteristics: pciexpress msi pm vga_controller bus_master cap_list rom
Configuration: driver=i915 latency=0
Means: irq:139 Memory:
Bonus Tips: Control of graphics card information
Not that you have to use the command line to find the details of the graphics card under Linux. Most Linux distributions (or even better, desktop environments) provide the necessary information in the configuration application.
For example, if you are using the GNOME Desktop environment, you can check the details by going to the About Settings section. This is what it looks like in Ubuntu on April 20th:
Checking graphics card information
I hope you find this brief advice useful. You can also use the same commands to find information about the network adapter and processor in Linux.
If you have any questions or suggestions, you can write a comment.
Do you like what you read? Please share it with others.how to check which gpu is being used linux,linux get gpu info,linux check gpu usage,ubuntu check graphics card memory,command to check graphics card in ubuntu,check gpu memory linux,linux check gpu driver,check gpu health linux