- Linux Find Out Graphics Card Installed In My System
- Linux Find Out Graphics Card Information
- Download the latest version of the PCI ID list
- How to check graphics card on Linux
- Example: Find out the model of my graphics card on my Laptop powered by Linux
- How to get the GPU info on Linux using GUI tools
- Hardware information GUI tool
- hardinfo – System Information GUI tool
- lshw command
- A note about Nvidia GPU users with Nvidia binary drivers
- Linux Find Out GPU Information Using the glxinfo
- Finding graphics cards on Linux Laptops
- Conclusion
- Graphics Card Drivers
- Contents
- 32-bit Graphics Libraries
- NVIDIA
- Proprietary Drivers
- Ubuntu/Kubuntu/Xubuntu, Mint, and derivatives
- Debian
- Fedora
- Gentoo
- Optimus
- Most distributions
- Gentoo
- Open-Source Drivers
- Proprietary Drivers
- Ubuntu/Kubuntu/Xubuntu, Mint, and derivatives
- Debian
- Fedora
- Gentoo
- Open-Source Drivers
- Ubuntu/Kubuntu/Xubuntu, Mint, and derivatives
- Debian
- Fedora
- Gentoo
- Intel
- Ubuntu/Kubuntu/Xubuntu, Mint, and derivatives
- Debian
- Fedora
- Unix Driver Archive
Linux Find Out Graphics Card Installed In My System
I am a new Linux system user and Ubuntu Linux. I do not want to open up the computer hardware to just see the make and model of the graphics card in a system. How do I find out which graphics card installed in my Linux desktop or laptop system?
You do not have to open the hardware, desktop, laptop computer powered by Linux to see the make and model of the graphics card in a system. There is a direct method provided by using lspci and other commands on Linux to get hardware information. You need to use the following commands to find out graphics cards in Linux using the CLI and GUI methods:
Tutorial details | |
---|---|
Difficulty level | Easy |
Root privileges | Yes |
Requirements | Linux |
Est. reading time | 6 mintues |
- lspci command
- lshw command
- grep command
- update-pciids command
- GUI tools such as hardinfo and gnome-system-information command.
Linux Find Out Graphics Card Information
First you need to update the PCI ID database.
Download the latest version of the PCI ID list
Grab the current version of the pci.ids file from the Internet:
$ sudo update-pciids
OR
# update-pciids
Sample outputs:
How to check graphics card on Linux
Type the following lspci command. It will usually tell you the vendor and model of your card. Open the Terminal/xterminal or shell prompt and type the command:
$ lspci
$ lspci -v
$ lspci -v | less
Sample outputs:
Look for video controller / vga / 3D keywords in above output listing. Please note that if you do not see your card, try updating pci database. It is a good idea to run update-pciids command to fetches the current version of the pci.ids file from the primary distribution site and installs it. You must run update-pciids command as root user:
$ sudo update-pciids
OR
# update-pciids
Example: Find out the model of my graphics card on my Laptop powered by Linux
Type the following lspci command along with grep command or egrep command:
$ lspci | grep -i —color ‘vga\|3d\|2d’
## using egrep ##
$ lspci -v | egrep -i —color ‘vga|3d|2d’
Sample outputs:
Please note the device ID # 01:00.0. Now, to get detailed information, enter:
$ sudo lspci -v -s 01:00.0
Sample outputs:
Fig.01: lspci in action – displaying my Dell laptop Nvidia graphics card info
How to get the GPU info on Linux using GUI tools
Need to identify the Graphics Processing Unit (GPU) in a Linux system using GUI tools? Try the following commands.
- No ads and tracking
- In-depth guides for developers and sysadmins at Opensourceflare✨
- Join my Patreon to support independent content creators and start reading latest guides:
- How to set up Redis sentinel cluster on Ubuntu or Debian Linux
- How To Set Up SSH Keys With YubiKey as two-factor authentication (U2F/FIDO2)
- How to set up Mariadb Galera cluster on Ubuntu or Debian Linux
- A podman tutorial for beginners – part I (run Linux containers without Docker and in daemonless mode)
- How to protect Linux against rogue USB devices using USBGuard
Join Patreon ➔
Hardware information GUI tool
Under Ubuntu or any other Linux distribution, open hardware information GUI tool by clicking on:
System > Preferences > Hardware information
Sample outputs:
Fig.02 Linux Hardware Information GUI Tool
On Gnome 3 based distro open settings and click on the details and choose About:
hardinfo – System Information GUI tool
You can install hardinfo with yum command or apt-get command:
$ sudo apt-get install hardinfo
Run it as follows:
$ hardinfo
Sample outputs:
Fig.03 Check graphics card on Linux with hardinfo command
lshw command
The lshw command provides detailed information on the hardware configuration of the machine. You can install it with yum or apt-get command:
# lshw -short
# lshw -short | grep -i —color display
Sample outputs:
OR get detailed information:
# lshw -class display
Sample outputs:
A note about Nvidia GPU users with Nvidia binary drivers
Just type the following command to get detailed information about NVIDIA GPU card:
$ nvidia-smi
Sample outputs:
We can use GUI tool called nvidia-settings. It is a tool for configuring the NVIDIA graphics driver and give informaion. It operates by communicating with the NVIDIA X driver, querying and updating state as appropriate. This communiction is done via the X extensions. For example, open the terminal app and then type:
$ nvidia-settings
Linux Find Out GPU Information Using the glxinfo
Run the following glxinfo command on Linux to find GPU name, vendor, video card RAM size and more:
$ glxinfo -B
Finding graphics cards on Linux Laptops
Many laptops have two GPUs like integrated Intel and dedicated Nvidia/AMD card. In any case you need to use the lspci command as follows:
sudo lspci -v | more
sudo lspci -v | most
sudo lspci -v | grep -i vga
So I have Hybrid-graphics. It is nothing but two graphics cards on same computer. Typically Laptop comes with two graphic cards with different power consumptions on a single system. In this case I have both Intel and Nvidia GPUs. In such case I can select card using the prime-select command:
prime-select intel
prime-select nvidia
prime-select on-demand
prime-select query
See lspci command man page here for more info and read NVIDIA Optimus and Bumblebee for details about NVidia using hybrid graphics with NVidia’s proprietary driver here.
Conclusion
This page listed various Linux commands to find out graphics card (GPU) using the command line options. Once you know about GPUa desktop or laptop computer has, you can install the correct driver on Linux.
🐧 Get the latest tutorials on Linux, Open Source & DevOps via
Источник
Graphics Card Drivers
In this section, we will try to cover the basics of getting the most out of your AMD, Nvidia, or Intel graphics card on your Linux system, specifically when using Wine/PlayOnLinux. This can get pretty lengthy, so expect this article to get exponentially bigger as time goes on.
For ease of use, we will break these down into different sections for the graphics card manufacturer, and then distro’s within those categories.
Contents
32-bit Graphics Libraries
By far, the most common issue encountered when trying to run games through POL/POM/Wine has to be graphics drivers. Most people nowadays run 64-bit operating systems, but Wine almost always uses 32-bit Virtual Drives. These 32-bit installations in PlayOnLinux will require 32-bit versions of certain libraries on your system. As an example, if you have a 64-bit Ubuntu installation, and install a 32-bit program from PlayOnLinux (again, almost every single one is 32-bit), the program will tell Wine that it wants to speak to the 32-bit graphics libraries. Without them, they game will be grumpy or otherwise just not work.
Luckily, installing the 32-bit graphics libraries for your graphics card is easy on every popular distro. CodeWeavers has an excellent, short, concise article on installing these 32-bit libraries on the most popular distros. If you think that you are missing your graphics drivers or even just the 32-bit libraries for them, this is a good place to start:
NVIDIA
Proprietary Drivers
Ubuntu/Kubuntu/Xubuntu, Mint, and derivatives
Most of the time, the easiest way is using the «Additional Drivers» dialogue. That does not always work though, and it sometimes will offer less-than-ideal versions of drivers for your NVIDIA card. If your card is supported by the current NVIDIA driver, the following command should pull in the required libraries:
You can also install other series of drivers (313.x, 319.x, 331.x, etc.) by appending the version name to them:
For the 32-bit libraries, as long as libgl1-mesa-glx:i386 and multiarch-support are installed, it should install them automatically. If, after you install them from the Ubuntu repositories, it does not show up, try to install those packages mentioned previously:
sudo apt-get install multiarch-support
sudo apt-get install libgl1-mesa-glx:i386
The manual installation is a bit more involved, but it is preferred by a lot of users.
Will add more later
Debian
Debian, because of the nature of the project, does not include these drivers in their repository by default, so you have to enable the non-free repository to get the proprietary NVIDIA drivers. You can find that information here:
Fedora
Arch Linux is pretty straightforward when it comes to this, and their documentation is quite concise. Please use the Arch Linux docs whenever possible for graphics issues:
Gentoo
Optimus
NVIDIA Optimus technology is a feature in laptops with newer Intel CPU’s with integrated GPUs and discrete NVIDIA graphics cards that allows switching between graphics processors on-the-fly, to optimize the performance when needed, and maximizing battery life when not needing the discrete graphics card. More information on Optimus can be found here:
Most distributions
The current working solution is maintained by the Bumblebee Project. PRIME is not recommended, as it utilizes the open-source NVIDIA driver (nouveau), and will not give the performance desired for most games. The project’s website has detailed documentation for most major distributions, so it is recommended to go by that:
Gentoo
Open-Source Drivers
Unfortunately, the open-source nouveau drivers are not really up-to-par on performance yet for gaming. Things are starting to look up, but there are a lot of caveats to running the open-source NVIDIA drivers. More information can be found here:
Proprietary Drivers
Ubuntu/Kubuntu/Xubuntu, Mint, and derivatives
As of now, the official Ubuntu docs are VERY detailed in the installation of the open-source and proprietary graphics drivers. It is recommended to use their documentation for your AMD card on the Ubuntu distros (Mint should be very similar, if not exactly the same). You can find that information here:
Debian
Debian, because of the nature of the project, does not include these drivers in their repository by default, so you have to enable the non-free repository to get the proprietary AMD/ATI drivers. You can find that information here:
Fedora
Arch Linux is pretty straightforward when it comes to this, and their documentation is quite concise. Please use the Arch Linux docs whenever possible for graphics issues:
Gentoo
Open-Source Drivers
Ubuntu/Kubuntu/Xubuntu, Mint, and derivatives
We refer you to the same link:
Debian
The installation of the open source radeon driver is straightforward, and is likely installed on your system by default. More information on the Debian radeon driver can be found here:
Fedora
The open-source radeon driver should already be included in your system by default. If you are on a 64-bit version of Fedora, you would only need to install the 32-bit libraries for your graphics card from the Fedora repo and it should work fine with PlayOnLinux.
Arch Linux is pretty straightforward when it comes to this, and their documentation is quite concise. Please use the Arch Linux docs whenever possible for graphics issues:
Gentoo
Intel
The Intel drivers are developed by the open-source community, so they are by far the easiest to install, as they pretty much will always come with your distro by default. More information on the Intel open-source drivers can be found here:
For the most part, this will cover how to make sure that you have the most up-to-date graphics stack for your Intel chipset. This applies exclusively to pure Intel graphics only. If you have, say, a mixed graphics card environment, like a laptop that has an Intel iGPU and a discrete NVIDIA card, please refer to the NVIDIA Optimus section
Ubuntu/Kubuntu/Xubuntu, Mint, and derivatives
If you are already running a 32-bit version of one of these systems, you should have everything that you need installed correctly by default.
In the case of 64-bit systems, you already have the 64-bit libraries for your graphics hardware. A package called multiarch-support should pull in the 32-bit libraries, as well as a bunch of others.
sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade
sudo apt-get install multiarch-support
If that does not work, you can also install the package manually:
Debian
The drivers should already be installed, but if it is not working with OpenGL or you get complaints about the 32-bit graphics libraries being missing, you can should try to run:
sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade
sudo apt-get install ia32-libs
If that does not work, you can also install the package manually:
If you are still having problems, consult the Debian docs here:
Fedora
The open-source Intel driver should already be included in your system by default. If you are on a 64-bit version of Fedora, you would only need to install the 32-bit libraries for your graphics card from the Fedora repo and it should work fine with PlayOnLinux.
Arch Linux is pretty straightforward when it comes to this, and their documentation is quite concise. Please use the Arch Linux docs whenever possible for graphics issues:
Источник
Unix Driver Archive
Linux x86_64/AMD64/EM64T
Latest Production Branch Version: 470.74
Latest New Feature Branch Version: 465.31
Latest Legacy GPU version (390.xx series): 390.144
Latest Legacy GPU version (340.xx series): 340.108
Latest Legacy GPU version (304.xx series): 304.137
Latest Legacy GPU Version (71.86.xx series): 71.86.15
Latest Legacy GPU Version (96.43.xx series): 96.43.23
Latest Legacy GPU Version (173.14.xx series): 173.14.39
Archive
Linux x86/IA32
Latest Legacy GPU version (390.xx series): 390.144
Latest Legacy GPU version (340.xx series): 340.108
Latest Legacy GPU version (304.xx series): 304.137
Latest Legacy GPU version (71.86.xx series): 71.86.15
Latest Legacy GPU version (96.43.xx series): 96.43.23
Latest Legacy GPU version (173.14.xx series): 173.14.39
Archive
Linux aarch64
Latest Production Branch Version: 470.74
Latest New Feature Branch Version: 465.31
Archive
Linux 32-bit ARM
Latest Legacy GPU version (390.xx series): 390.144
Archive
FreeBSD x86
Latest Legacy GPU version (390.xx series): 390.144
Latest Legacy GPU version (340.xx series): 340.108
Latest Legacy GPU version (304.xx series): 304.137
Latest Legacy GPU Version (71.86.xx series): 71.86.15
Latest Legacy GPU Version (96.43.xx series): 96.43.23
Latest Legacy GPU Version (173.14.xx series): 173.14.39
Archive
FreeBSD x64
Latest Production Branch Version: 470.74
Latest New Feature Branch Version: 465.31
Latest Legacy GPU version (390.xx series): 390.144
Latest Legacy GPU version (340.xx series): 340.108
Latest Legacy GPU version (304.xx series): 304.137
Archive
Solaris x64/x86
Latest Production Branch Version: 470.74
Latest New Feature Branch Version: 465.31
Latest Legacy GPU version (390.xx series): 390.144
Latest Legacy GPU version (340.xx series): 340.108
Latest Legacy GPU version (304.xx series): 304.137
Latest Legacy GPU version (96.43.xx series): 96.43.23
Latest Legacy GPU version (173.14.xx series): 173.14.39
Archive
NVIDIA nForce Drivers
Open source drivers for NVIDIA nForce hardware are included in the standard Linux kernel and leading Linux distributions. This page includes information on open source drivers, and driver disks for older Linux distributions including 32-bit and 64-bit versions of Linux.
Источник