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.

[email protected]:~$ 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.

[email protected]:~$ 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.

[email protected]:~$ 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.

[email protected]:~$ 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.

No comments have been made. Use this form to start the conversation :)

Leave a Reply