How to Find out Graphics Card and Driver Installed in your system in Linux

2 min

Some quick tips to guide you to find out about the Graphics card installed and driver in-use in your Linux system.

If you are a seasoned user or a new user, or during some debugging, you might want to find out details about Graphics card and driver in-use. This is mostly useful when you do not know which driver to use or a broken system where Graphics card driver is mixed up.

So, this guide explains some basics, which you can use via terminal to find it out all about graphics cards.

Find Graphics Card in Linux with its Drivers

First, you need to update the PCI database in your system. Because it helps to get the latest PCI hardware in your system. To do that, open a terminal (CTRL+ALT+T) and run the below commands.

For Debian, Ubuntu and its derivatives –

sudo update-pciids
update pciid
update pciid

We are going to use the following options to find it out.

lspci command

This is list PCI command which prints detailed information about PCI devices in Unix like systems. Most of the graphics cards, in general, plugged in PCI slots of motherboard.


lspci -v

The above command gives you a lot of texts with information.

You may either scroll through it and look for keyword like vga, video controller and get your device name. Or you can use grep to filter out.

lspci command output
lspci command output

lshw command

The lshw command also you can use to display various hardware information, including your graphics card. This utility a little different from lspci command above. The lshw command shows you some additional information such as clock frequency, bus speed, memory address.



Additional Options

lshw -short
lshw –html
lshw –xml
lshw -sanitize
lshw command
lshw command

So, these are some command line tools. But if you are using a desktop, then your Linux distribution must have a GUI utility to view system information.

GUI tools

  • Using hardinfo: The hardinfo utility is a simple GUI based app which you can install and use in any Linux distribution. Installation commands are below. This is one of the simplest way to get all your hardware info including graphics card.
hardinfo running
hardinfo running
sudo apt install hardinfo (for Ubuntu and related)
sudo dnf install hardinfo (for Fedora and related)
pacman -S hardinfo (For Arch)

After installation, you can launch and get the info you needed.

  • If you are using KDE Plasma, then it comes with its own KInfoCenter which is a super nice way of displaying all the information about your system.
  • GNOME desktop, Xfce, LXQt – they normally do not ship any native tool. So, I would recommend of using above GUI tool hardinfo Or, any of the CLI methods above.

Closing Notes

I hope these tools helps you find out about the graphics card, its drivers and other details in your Linux system. Armed with these, you can also get other device details as well, including creating reports.

We bring the latest tech, software news and stuff that matters. Stay in touch via Telegram, Twitter, YouTube, and Facebook and never miss an update!

Join our Telegram channel and stay informed on the move.

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.


Creator of All time Linux user and open-source supporter. Connect with me via Telegram, Twitter, LinkedIn, or send us an email.
Notify of

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

1 Comment
Oldest Most Voted
Inline Feedbacks
View all comments
Would love your thoughts, please comment.x