0
We will see today how to find out the type of the graphics card used by your system as well as the driver used. We will use the "lspci" Linux command in order to get information about your VGA.

Under Ubuntu 11.04/10.10/10.04, launch the Terminal and issue this command:

sudo lspci -v -s `lspci | awk '/VGA/{print $1}'`

You will get an output similar to this:

~$ sudo lspci -v -s `lspci | awk '/VGA/{print $1}'`
01:00.0 VGA compatible controller: nVidia Corporation G96 [GeForce 9500 GT] (rev a1) (prog-if 00 [VGA controller])
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at fa000000 (32-bit, non-prefetchable) [size=16M]
Memory at e0000000 (64-bit, prefetchable) [size=256M]
Memory at f8000000 (64-bit, non-prefetchable) [size=32M]
I/O ports at ef00 [size=128]
[virtual] Expansion ROM at fb000000 [disabled] [size=512K]
Capabilities: [60] Power Management version 3
Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [78] Express Endpoint, MSI 00
Capabilities: [b4] Vendor Specific Information: Len=14 <?>
Capabilities: [100] Virtual Channel
Capabilities: [128] Power Budgeting <?>
Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
Kernel driver in use: nvidia
Kernel modules: nvidia-current, nouveau, nvidiafb

For a brief information about your graphics card, you can use instead this command:

lspci | grep "VGA"

Here is the output I have got:

~$ lspci | grep "VGA"
01:00.0 VGA compatible controller: nVidia Corporation G96 [GeForce 9500 GT] (rev a1)

That's it!

Post a Comment

 
Top