I'm trying something a little different today.
This article is 100% gluten free, 100% hormone free, and 100% Ai free.
But this article is about finding out about your video or graphics card. All computers
have something that outputs video to your screen. Some use the embedded graphics in their CPU,
but other use discrete video cards like Nvidia GeForce or AMD Radeon. Our newest PCs have Intel ARC
video cards in them.
You can use inxi and lshw to find out about your video card, but the simplest and easiest way without
having to install any software packages is...
On this computer, the output looks like this.
For those who don't know me that well yet. My friends call me "Ray", but my enemies also call me that also. (and a few other names as well) The computer case I'm using for this computer is a LianLi case. I often name my home computers based on what case they are in. It's easier for me to tell which computer I'm logged into that way. You might be wondering why I have two lines in my lspci output. I have a discrete video card in one of my PCI slots, but I also have an embedded video card in my CPU.
If you've installed the AMD or Nvidia video driver, you also get a couple a new commands.
Unfortunately, this outputs a lot of lines about gpu cores and registers. In my case, for this GPU card it's over 1200 lines long.
So to narrow down the part I care about, I use...
(Remember this is case sensitive)
This outputs...
As you can see, I have an AMD Radeon card in this computer, but I already knew that from the lspci command above.
But what this does tell me, is which version of OpenGL shaders I have installed, and which version of Mesa is installed.
In this case, it's OpenGL 4.60 and Mesa 24.3.2. glxinfo info does not show me the driver version for Radeon cards.
But I know in this case it's 23.0.0-6. The Mesa version and driver version don't always match exactly.
On one of my other computer, the output of lspci looks like this.
Yep, this case is a Corsair ABS case. But it's isn't a Radeon video card, it's a Nvidia GeForce.
Also lspci only outputs one line of output, because I only have one video card in this computer.
If we use the same glxinfo command we used above, the output looks like this.
Again, I see the OpenGL shader version is 4.60 same as for the Radeon card.
The driver version is 565.77.
This article is 100% gluten free, 100% hormone free, and 100% Ai free.
But this article is about finding out about your video or graphics card. All computers
have something that outputs video to your screen. Some use the embedded graphics in their CPU,
but other use discrete video cards like Nvidia GeForce or AMD Radeon. Our newest PCs have Intel ARC
video cards in them.
You can use inxi and lshw to find out about your video card, but the simplest and easiest way without
having to install any software packages is...
Code:
lspci | grep VGA
On this computer, the output looks like this.
Code:
ray@LianLi:~$ lspci | grep VGA
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 32 [Radeon RX 7700 XT / 7800 XT] (rev c8)
18:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Raphael (rev cb)
ray@LianLi:~$
For those who don't know me that well yet. My friends call me "Ray", but my enemies also call me that also. (and a few other names as well) The computer case I'm using for this computer is a LianLi case. I often name my home computers based on what case they are in. It's easier for me to tell which computer I'm logged into that way. You might be wondering why I have two lines in my lspci output. I have a discrete video card in one of my PCI slots, but I also have an embedded video card in my CPU.
If you've installed the AMD or Nvidia video driver, you also get a couple a new commands.
Code:
glxinfo
Unfortunately, this outputs a lot of lines about gpu cores and registers. In my case, for this GPU card it's over 1200 lines long.
So to narrow down the part I care about, I use...
Code:
glxinfo | grep OpenGL
(Remember this is case sensitive)
This outputs...
Code:
OpenGL vendor string: AMD
OpenGL renderer string: AMD Radeon RX 7800 XT (radeonsi, navi32, LLVM 19.1.5, DRM 3.59, 6.12.8-200.fc41.x86_64)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 24.3.2
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6 (Compatibility Profile) Mesa 24.3.2
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 24.3.2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:
As you can see, I have an AMD Radeon card in this computer, but I already knew that from the lspci command above.
But what this does tell me, is which version of OpenGL shaders I have installed, and which version of Mesa is installed.
In this case, it's OpenGL 4.60 and Mesa 24.3.2. glxinfo info does not show me the driver version for Radeon cards.
But I know in this case it's 23.0.0-6. The Mesa version and driver version don't always match exactly.
On one of my other computer, the output of lspci looks like this.
Code:
ray@absTower:~# lspci | grep VGA
2e:00.0 VGA compatible controller: NVIDIA Corporation TU104 [GeForce RTX 2080 SUPER] (rev a1)
Yep, this case is a Corsair ABS case. But it's isn't a Radeon video card, it's a Nvidia GeForce.
Also lspci only outputs one line of output, because I only have one video card in this computer.
If we use the same glxinfo command we used above, the output looks like this.
Code:
ray@absTower:~# glxinfo | grep OpenGL
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce RTX 2080 SUPER/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 565.77
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6.0 NVIDIA 565.77
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 565.77
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:
Again, I see the OpenGL shader version is 4.60 same as for the Radeon card.
The driver version is 565.77.
Last edited: