I do not know of a direct equivalent, but lshw should give you the info you want, try:

sudo lshw -C display

(it also works without sudo but the info may be less complete/accurate)

You can also install the package lshw-gtk to get a GUI.

Answer from Marcel Stimberg on askubuntu.com
🌐
Reddit
reddit.com › r/linuxquestions › how to get gpu info from linux console (all distros)?
r/linuxquestions on Reddit: How to get GPU info from Linux Console (all distros)?
August 6, 2019 -

I am a developer who is mostly working in a windows enviroment. I am using python and I'm trying to support as many platforms as possible for my program. In this case, I need to check for the GPU vendor to determine whether to enable/disable hardware acceleration.

In windows, I can do it through cmd like so:

wmic path win32_VideoController get name

What is the simplest way to do this via terminal in Linux? (if I can get the driver info too, that could prove useful).

Discussions

hardware - How to check which GPU is active in Linux? - Unix & Linux Stack Exchange
Just type nvidia-smi in the terminal. Then check for the percentage of usage. That will indicate which GPU is in use. ... Which OS are you using? If you use lspci on most linux machines you get a list of your pci devices, just grep for graphics devices and it should pop up both of them. More on unix.stackexchange.com
🌐 unix.stackexchange.com
How do I check what GPU drivers are in use?
How to check which GPU card is in use? Now in the about page in settings under the graphics field is Software rendering / Software rendering, which is a little laggy. One time was AMD Radeon™ Graphics / Software Rendering, which was amazingly fast. I don’t know if is that important. More on discussion.fedoraproject.org
🌐 discussion.fedoraproject.org
6
2
March 12, 2023
How do I know if my Ubuntu is using the graphics card?
If your display cable is plugged into your graphics card and you have an image on the screen, it is using the graphics card. More on reddit.com
🌐 r/Ubuntu
10
0
October 20, 2024
How to check graphics card model in Linux
16 minutes of a video to check gpu model? what happened with lspci | grep -i vga? Reddit is not your advertising platform More on reddit.com
🌐 r/linux_gaming
4
0
August 24, 2023
🌐
GeeksforGeeks
geeksforgeeks.org › linux-unix › check-and-monitor-active-gpu-in-linux
Check and Monitor Active GPU in Linux - GeeksforGeeks
July 31, 2024 - There is htop command in linux operating system that using to monitor GPU metrics can be very helpful for tracking GPU usage, memory, temperature, and other important parameters. In some distore does not include htop command.
Top answer
1 of 12
92

I've just gone through a hell of a time trying to get my discrete graphics to work in Ubuntu, and answering this question was constantly a challenge, since the lspci method mentioned earlier can sometimes say that both are [VGA controller].

I think the following command should give you an indication of your active chip:

$ glxinfo | grep -E "OpenGL vendor|OpenGL renderer"
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Mobile

For me, this is telling me that my Intel graphics are running the show.

glxinfo is available from the mesa-utils package, so you will need to install it if you haven't already.  On Ubuntu 22.04, for example, run:

sudo apt-get install mesa-utils

If you're using an NVIDIA chip, and you're using the bumblebee package, you can put optirun in front of that line, and it should tell you that you're running the NVIDIA chip (optirun is basically telling the computer to use the discrete chip to run whatever command follows, but everything else is still using the integrated chip).

$ optirun glxinfo | grep -E "OpenGL vendor|OpenGL renderer"
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GT 555M/PCIe/SSE2

glxheads is another helpful command from mesa-utils that tells you some useful information about which graphics card is in use (mostly repeats glxinfo in a more compact and easy-to-read form, though), and it gives you a nice rendering of a rotating triangle.

2 of 12
33

To check which GPU is currently in command (that means which is an active VGA controller) type in

lspci -vnnn | perl -lne 'print if /^\d+\:.+(\[\S+\:\S+\])/' | grep VGA

Any controller with [VGA controller] at the end is your currently active GPU. The others are switched off. In the following example the Intel card is active while the nVidia one is not in use:

00:02.0 VGA compatible controller [0300]: Intel Corporation Core Processor
Integrated Graphics Controller [8086:0046] (rev 02) (prog-if 00 [VGA 
controller])
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF108 [GeForce
GT 540M] [10de:0df4] (rev ff) (prog-if ff)
🌐
nixCraft
cyberciti.biz › nixcraft › howto › linux › how to find out graphics card (gpu) installed in linux
Linux Find Out Graphics Card Installed In My System - nixCraft
August 14, 2025 - For example, open the terminal app and then type: $ nvidia-settings · Run the following glxinfo command on Linux to find GPU name, vendor, video card RAM size and more: $ glxinfo -B
🌐
GitHub
gist.github.com › neomatrix369 › 256913dcf77cdbb5855dd2d7f5d81b84
Know your GPUs · GitHub
About me: http://neomatrix369.wordpress.com/about, my blogs: http://neomatrix369.wordpress.com/ sudo apt-get install mesa-utils glxinfo glxinfo | grep OpenGL ... If your graphics card is from NVIDIA and it is listed in http://developer.nvid...
🌐
How-To Geek
howtogeek.com › home › linux › how to check which gpu is installed on linux
How to Check Which GPU Is Installed on Linux
October 10, 2025 - ... To identify your GPU from the command line in Linux, first update the PCI ID database with "sudo update-pciids", then run "sudo lspci -v | less" and search the output for "VGA".
Find elsewhere
🌐
University of North Carolina
help.rc.unc.edu › gpumonitor
Research Computing GPU Resources
A useful tool you can use for this task is the Linux watch command. For example, the watch -n 2 nvidia-smi --id=1 will run the nvidia-smi --id=1 command every two seconds thus automatically providing updated measures of GPU utilization and memory every two seconds.
🌐
GPU Mart
gpu-mart.com › blog › top-3-linux-gpu-monitoring-command-line-tools
Top 3 Linux GPU Monitoring Command Line Tools
So, let's get started and unravel the power of GPU monitoring on Linux! GPUStat is a simple command-line utility for querying and monitoring GPU status. It works only with NVIDIA Graphics Devices only.
🌐
Linux Mint Forums
forums.linuxmint.com › board index › main edition support › software & applications
How to see the GPU's in Mint - Linux Mint Forums
June 26, 2023 - GPU switching is a bit of a bucket of worms in Linux anyway, and you can't expect to duplicate Windows Task Manager functions. If you do the standard Mint System Info or inxi -Fxz in the terminal, go to the graphics part. There'll be a line that starts with "OpenGL: renderer:".
🌐
nixCraft
cyberciti.biz › nixcraft › open source › command line hacks › top 7 linux gpu monitoring and diagnostic commands line tools
Linux GPU Monitoring and Diagnostic Commands Line Tools - nixCraft
February 3, 2025 - We can use the following tools to monitor, diagnostic, and inspect our Linux or *BSD based systems. To get the GPU info simply run: $ sudo lshw -C display -short $ lspci -v | more Which is output something as follows:
🌐
Red Hat
access.redhat.com › articles › 9374
How do I tell (command line) which graphics card is installed a system? - Red Hat Customer Portal
August 22, 2024 - The most direct way to determine the make and model of the graphics card in a system without physically inspecting the hardware is the lspci command:
🌐
Fedora Discussion
discussion.fedoraproject.org › ask fedora
How do I check what GPU drivers are in use? - Fedora Discussion
March 12, 2023 - How to check which GPU card is in use? Now in the about page in settings under the graphics field is Software rendering / Software rendering, which is a little laggy. One time was AMD Radeon™ Graphics / Software Rendering, which was amazingly fast. I don’t know if is that important.
🌐
Quora
quora.com › How-do-you-detect-a-CPU-and-GPU-on-Linux
How to detect a CPU and GPU on Linux - Quora
Answer (1 of 2): Minden egyes Linux rendszerre általában feltelepűl egy grafikus un: “ Rendszerfigyelő “ segédprogram is, ami hasonlóan a Windows-hoz egy grafikonnal ábrázolt módon mutatja meg számodra, a mindenkori cpu / rendszermemória / internetadat áramlás / lemezfelha...
Top answer
1 of 6
61

If you have it installed, you can also use nvidia-smi which provides even more information for NVIDIA GPUs (this is, after all, what they use in the page you linked):

$ nvidia-smi

Mon Sep 15 16:02:31 2014       
+------------------------------------------------------+                       
| NVIDIA-SMI 340.32     Driver Version: 340.32         |                       
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GT 650M     Off  | 0000:01:00.0     N/A |                  N/A |
| N/A   59C    P0    N/A /  N/A |      8MiB /  2047MiB |     N/A      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Compute processes:                                               GPU Memory |
|  GPU       PID  Process name                                     Usage      |
|=============================================================================|
|    0            Not Supported                                               |
+-----------------------------------------------------------------------------+

If you just want the GPU name:

$ nvidia-smi --query-gpu=name --format=csv,noheader
GeForce GT 650M
2 of 6
32

please update your PCI ID database with:

sudo update-pciids

And use the following command in your terminal:

lspci -nn | grep '\[03'

You will see the model name of your graphic card. If it's ambiguous, you could search the PCI ID (something like [10de:11bc]) on the Internet for the corrent model name.

🌐
AmazingRDP
amazingrdp.com › home › how to check gpu information in linux
How to Check GPU Information in Linux | AmazingRDP
July 29, 2025 - Use glxinfo | grep "OpenGL" for general checks or nvidia-smi for NVIDIA-specific checks. Yes, nvidia-smi provides temperature data for NVIDIA GPUs. Use lspci | grep -i vga to see all GPU devices listed.
🌐
YouTube
youtube.com › watch
How to check GPU usage on Linux | Each CPU Core Usage, RAM SWAP Usage | System Monitor for Linux - YouTube
Today in this video, we're going to check out the system monitor for linux, Mission CentreSince this is available as a flatpak app, so we can use this in any...
Published   October 5, 2023
🌐
Massed Compute
massedcompute.com › home › faq – answers
How to check NVIDIA GPU temperature on Linux using terminal? - Massed Compute
July 8, 2024 - Check NVIDIA GPU temperature on Linux using terminal with these simple commands and methods for optimal performance.
🌐
YouTube
youtube.com › watch
How To Check NVIDIA GPU Specification Information On Ubuntu Linux Command Line Terminal - YouTube
In this video, you will quickly learn how to get Graphics Processing Unit (GPU) specification (spec) information using three nvidia-smi commands. The NVIDIA ...
Published   October 29, 2024