Posted: . At: 2:54 AM. This was 9 years ago. Post ID: 8025
Page permalink. WordPress uses cookies, or tiny pieces of information stored on your computer, to verify who you are. There are cookies for logged in users and for commenters.
These cookies expire two weeks after they are set.


How to get the brand and model of your graphics card with the command line.


This command will print out the model and make of your graphics card. This is another command to run on an unknown computer to see what hardware is in it.

jason@eyjafjallajkull:~$ lspci -vnn | grep VGA -A 12 | head -n 1
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Turks XT [Radeon HD 6670/7670] [1002:6758] (prog-if 00 [VGA controller])

This command will also print out the required information.

jason@eyjafjallajkull:~$ sudo lshw -numeric -C display
[sudo] password for jason: 
  *-display               
       description: VGA compatible controller
       product: Turks XT [Radeon HD 6670/7670] [1002:6758]
       vendor: Advanced Micro Devices, Inc. [AMD/ATI] [1002]
       physical id: 0
       bus info: pci@0000:01:00.0
       version: 00
       width: 64 bits
       clock: 33MHz
       capabilities: pm pciexpress msi vga_controller bus_master cap_list rom
       configuration: driver=radeon latency=0
       resources: irq:35 memory:e0000000-efffffff memory:fbcc0000-fbcdffff ioport:ce00(size=256) memory:fbc00000-fbc1ffff

And this is yet another command that will print the same information.

jason@eyjafjallajkull:~$ inxi -G | head -n 1
Graphics:  Card: Advanced Micro Devices [AMD/ATI] Turks XT [Radeon HD 6670/7670]

This is a good way to determine what hardware you have installed in your Linux machine, say if you bought a computer and you want to see what is installed in the slots or built-in to the motherboard. Speaking of motherboards, this command will print out the model and make of your motherboard.

jason@eyjafjallajkull:~$ inxi -M | head -n 1
Machine:   Mobo: Gigabyte model: H55-USB3 v: x.x Bios: Award v: F4 date: 02/12/2010

Give these a try and see how you go. Linux really does have a million ways of getting hardware information.


Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.