New feature: nvidia graphics info in inxi/pinxi -Gx -Ga --nvidia - testers?

h2-1

Active Member
Joined
Mar 7, 2021
Messages
125
Reaction score
104
Credits
1,858
Running live now in pinxi
Code:
pinxi -U
if you have it installed
Code:
sudo wget -O /usr/local/bin/pinxi pinxi smxi.org/pinxi && sudo chmod +x /usr/local/bin/pinxi
if you don't.

This will show information that will get more important now that Nvidia has taken the first steps to opensourcing it's driver, currently only for Turing/Ampere and newer GPUs, and only alpha for desktop users, but full production ready already for datacenter users.

As usual with complicated output types, -y1 helps explain the output much better since it's indented in parent/child levels.

Code:
pinxi -Gx
Device-1: NVIDIA GP106 [GeForce GTX 1060 6GB] vendor: Gigabyte driver: nvidia v: 510.68.02
   arch: Pascal bus-ID: 09:00.0

pinxi -Ga
Graphics:
   Device-1: NVIDIA GP106 [GeForce GTX 1060 6GB] vendor: Gigabyte driver: nvidia v: 510.68.02
   alternate: nvidiafb,nouveau,nvidia_drm non-free: 515.xx+ status: current (as of 2022-05)
   arch: Pascal pcie: gen: 2 speed: 5 GT/s lanes: 16 link-max: gen: 3 speed: 8 GT/s bus-ID: 09:00.0
   chip-ID: 10de:1c03 class-ID: 0300

pinxi --nv
Graphics:
  Device-1: NVIDIA GP106 [GeForce GTX 1060 6GB] vendor: Gigabyte driver: nvidia v: 510.68.02
  alternate: nvidiafb,nouveau,nvidia_drm non-free: 515.xx+ status: current (as of 2022-05)
  arch: Pascal code: GP10x process: TSMC 16nm pcie: gen: 2 speed: 5 GT/s lanes: 16 link-max: gen: 3
  speed: 8 GT/s bus-ID: 09:00.0 chip-ID: 10de:1c03 class-ID: 0300

Similar to -Cx, shows the microarchitecture name.

With -Ga, shows more, particularly for legacy drivers, and with pinxi --nvidia or pinxi --nv it shows a lot more, process nodes, last supported kernels/xorgs if legacy and EOL, etc.

It's somewhat useful I think to support people. Note that the desktop kernel open source nvidia driver is already available, and I think can be installed using their new beta 5.15 driver if you have the right architecture version, which is a big reason I hurried this out.

Any testers, samples, from old and new nvidia alike appreciated.

I only need to see the Device-x: section for each, -Gx, -Ga, --nv

Note that --nv/--nvidia triggers -Ga so you don't have to type it all.
 


KGIII

Super Moderator
Staff member
Gold Supporter
Joined
Jul 23, 2020
Messages
6,440
Reaction score
5,711
Credits
51,825
I'm sure the usual crew will be in to help you out. They're good like that. Well, I hope they will.

I'm going to sticky this post for a few days, so that it stays at the top of the list when people browse the sub-forum. Hopefully, I'll notice when it's time to unsticky the thread - but someone could ping myself or other mods to deal with it when the thread has run its course.
 

dos2unix

Well-Known Member
Joined
May 3, 2019
Messages
1,445
Reaction score
1,051
Credits
8,919
/usr/local/bin/pinxi
CPU: 12-core AMD Ryzen 9 3900X (-MT MCP-) speed/min/max: 2425/2200/4672 MHz
Kernel: 5.17.7-300.fc36.x86_64 x86_64 Up: 1d 2h 3m
Mem: 4610.9/64224.8 MiB (7.2%) Storage: 2.77 TiB (10.8% used) Procs: 444
Shell: Bash pinxi: 3.3.16-1

/usr/local/bin/pinxi -Ga
Graphics:
Device-1: NVIDIA TU104 [GeForce RTX 2080 SUPER] vendor: Gigabyte
driver: nvidia v: 510.68.02 alternate: nouveau,nvidia_drm non-free: 515.xx+
status: current (as of 2022-05) arch: Turing pcie: gen: 3 speed: 8 GT/s
lanes: 16 ports: active: none off: DP-2 empty: DP-1,DP-3,HDMI-A-1
bus-ID: 0a:00.0 chip-ID: 10de:1e81 class-ID: 0300
Device-2: Logitech CrystalCam type: USB driver: snd-usb-audio,uvcvideo
bus-ID: 1-1:2 chip-ID: 046d:0894 class-ID: 0102 serial: DF91B66F
Display: x11 server: X.Org v: 1.20.14 compositor: marco v: 1.26.0 driver:
X: loaded: nvidia gpu: nvidia,nvidia-nvswitch display-ID: :0 screens: 1
Screen-1: 0 s-res: 2560x1440 s-dpi: 108 s-size: 602x342mm (23.70x13.46")
s-diag: 692mm (27.26")
Monitor-1: DP-2 note: disabled model: HP OMEN 27i IPS serial: 6CM0470HX0
built: 2020 res: 2560x1440 dpi: 65024 gamma: 1.2 size: 1x1mm (0.04x0.04")
diag: 685mm (27") ratio: 16:9 modes: max: 2560x1440 min: 640x480
OpenGL: renderer: NVIDIA GeForce RTX 2080 SUPER/PCIe/SSE2
v: 4.6.0 NVIDIA 510.68.02 direct render: Yes

/usr/local/bin/pinxi -Gx
Graphics:
Device-1: NVIDIA TU104 [GeForce RTX 2080 SUPER] vendor: Gigabyte
driver: nvidia v: 510.68.02 arch: Turing bus-ID: 0a:00.0
Device-2: Logitech CrystalCam type: USB driver: snd-usb-audio,uvcvideo
bus-ID: 1-1:2
Display: x11 server: X.Org v: 1.20.14 driver: X: loaded: nvidia
gpu: nvidia,nvidia-nvswitch resolution: 2560x1440
OpenGL: renderer: NVIDIA GeForce RTX 2080 SUPER/PCIe/SSE2
v: 4.6.0 NVIDIA 510.68.02 direct render: Yes

/usr/local/bin/pinxi --nv
Graphics:
Device-1: NVIDIA TU104 [GeForce RTX 2080 SUPER] vendor: Gigabyte
driver: nvidia v: 510.68.02 alternate: nouveau,nvidia_drm non-free: 515.xx+
status: current (as of 2022-05) arch: Turing code: TUxxx
process: TSMC 12nm pcie: gen: 1 speed: 2.5 GT/s lanes: 16 link-max:
gen: 3 speed: 8 GT/s ports: active: none off: DP-2
empty: DP-1,DP-3,HDMI-A-1 bus-ID: 0a:00.0 chip-ID: 10de:1e81
class-ID: 0300
Device-2: Logitech CrystalCam type: USB driver: snd-usb-audio,uvcvideo
bus-ID: 1-1:2 chip-ID: 046d:0894 class-ID: 0102 serial: DF91B66F
Display: x11 server: X.Org v: 1.20.14 compositor: marco v: 1.26.0 driver:
X: loaded: nvidia gpu: nvidia,nvidia-nvswitch display-ID: :0 screens: 1
Screen-1: 0 s-res: 2560x1440 s-dpi: 108 s-size: 602x342mm (23.70x13.46")
s-diag: 692mm (27.26")
Monitor-1: DP-2 note: disabled model: HP OMEN 27i IPS serial: 6CM0470HX0
built: 2020 res: 2560x1440 dpi: 65024 gamma: 1.2 size: 1x1mm (0.04x0.04")
diag: 685mm (27") ratio: 16:9 modes: max: 2560x1440 min: 640x480
OpenGL: renderer: NVIDIA GeForce RTX 2080 SUPER/PCIe/SSE2
v: 4.6.0 NVIDIA 510.68.02 direct render: Yes
 
Last edited:

dos2unix

Well-Known Member
Joined
May 3, 2019
Messages
1,445
Reaction score
1,051
Credits
8,919
/usr/local/bin/pinxi
CPU: 8-core 11th Gen Intel Core i7-11800H (-MT MCP-)
speed/min/max: 879/800/4600 MHz Kernel: 5.17.7-300.fc36.x86_64 x86_64 Up: 3m
Mem: 2051.6/15719.8 MiB (13.1%) Storage: 476.94 GiB (1.1% used) Procs: 379
Shell: Bash pinxi: 3.3.16-1

/usr/local/bin/pinxi -Ga
Graphics:
Device-1: Intel TigerLake-H GT1 [UHD Graphics] vendor: Dell driver: i915
v: kernel ports: active: eDP-1 empty: DP-1,DP-2,DP-3 bus-ID: 00:02.0
chip-ID: 8086:9a60 class-ID: 0300
Device-2: NVIDIA GA107M [GeForce RTX 3050 Ti Mobile] vendor: Dell
driver: nvidia v: 510.68.02 alternate: nouveau,nvidia_drm non-free: 515.xx+
status: current (as of 2022-05) arch: Ampere pcie: gen: 4 speed: 16 GT/s
lanes: 8 link-max: lanes: 16 bus-ID: 01:00.0 chip-ID: 10de:25a0
class-ID: 0302
Device-3: Microdia Integrated_Webcam_HD type: USB driver: uvcvideo
bus-ID: 3-11:4 chip-ID: 0c45:6a11 class-ID: 0e02
Device-4: USB C Video Adaptor type: USB driver: N/A bus-ID: 3-4.4:7
chip-ID: 25a4:9311 class-ID: 1100 serial: 000000000001
Display: x11 server: X.Org v: 1.20.14 compositor: marco v: 1.26.0 driver:
X: loaded: modesetting,nvidia unloaded: fbdev,nouveau,vesa alternate: nv
gpu: i915 display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1200 s-dpi: 96 s-size: 508x317mm (20.00x12.48")
s-diag: 599mm (23.57")
Monitor-1: eDP-1 model: LG Display 0x06b3 built: 2021 res: 1920x1200
hz: 60 dpi: 145 gamma: 1.2 size: 336x210mm (13.23x8.27")
diag: 396mm (15.6") ratio: 16:10 modes: 1920x1200
OpenGL: renderer: Mesa Intel UHD Graphics (TGL GT1) v: 4.6 Mesa 22.0.3
direct render: Yes

/usr/local/bin/pinxi -Gx
Graphics:
Device-1: Intel TigerLake-H GT1 [UHD Graphics] vendor: Dell driver: i915
v: kernel bus-ID: 00:02.0
Device-2: NVIDIA GA107M [GeForce RTX 3050 Ti Mobile] vendor: Dell
driver: nvidia v: 510.68.02 arch: Ampere bus-ID: 01:00.0
Device-3: Microdia Integrated_Webcam_HD type: USB driver: uvcvideo
bus-ID: 3-11:4
Device-4: USB C Video Adaptor type: USB driver: N/A bus-ID: 3-4.4:7
Display: x11 server: X.Org v: 1.20.14 driver: X:
loaded: modesetting,nvidia unloaded: fbdev,nouveau,vesa gpu: i915
resolution: 1920x1200~60Hz
OpenGL: renderer: Mesa Intel UHD Graphics (TGL GT1) v: 4.6 Mesa 22.0.3
direct render: Yes

/usr/local/bin/pinxi --nv
Graphics:
Device-1: Intel TigerLake-H GT1 [UHD Graphics] vendor: Dell driver: i915
v: kernel ports: active: eDP-1 empty: DP-1,DP-2,DP-3 bus-ID: 00:02.0
chip-ID: 8086:9a60 class-ID: 0300
Device-2: NVIDIA GA107M [GeForce RTX 3050 Ti Mobile] vendor: Dell
driver: nvidia v: 510.68.02 alternate: nouveau,nvidia_drm non-free: 515.xx+
status: current (as of 2022-05) arch: Ampere code: GAxxx
process: TSMC 7nm pcie: gen: 4 speed: 16 GT/s lanes: 8 link-max:
lanes: 16 bus-ID: 01:00.0 chip-ID: 10de:25a0 class-ID: 0302
Device-3: Microdia Integrated_Webcam_HD type: USB driver: uvcvideo
bus-ID: 3-11:4 chip-ID: 0c45:6a11 class-ID: 0e02
Device-4: USB C Video Adaptor type: USB driver: N/A bus-ID: 3-4.4:7
chip-ID: 25a4:9311 class-ID: 1100 serial: 000000000001
Display: x11 server: X.Org v: 1.20.14 compositor: marco v: 1.26.0 driver:
X: loaded: modesetting,nvidia unloaded: fbdev,nouveau,vesa alternate: nv
gpu: i915 display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1200 s-dpi: 96 s-size: 508x317mm (20.00x12.48")
s-diag: 599mm (23.57")
Monitor-1: eDP-1 model: LG Display 0x06b3 built: 2021 res: 1920x1200
hz: 60 dpi: 145 gamma: 1.2 size: 336x210mm (13.23x8.27")
diag: 396mm (15.6") ratio: 16:10 modes: 1920x1200
OpenGL: renderer: Mesa Intel UHD Graphics (TGL GT1) v: 4.6 Mesa 22.0.3
direct render: Yes
 
OP
H

h2-1

Active Member
Joined
Mar 7, 2021
Messages
125
Reaction score
104
Credits
1,858
dos2unix, you'll be able to test the new alpha kernel driver on your nvidia devices, turing/ampere are supported for desktops but only in alpha state. Not the display driver though, just the kernel driver. I initially had just thought of doing this feature only to show legacy nvidia devices, but literally as I was working on that part, nvidia announced their opensourcing of the turing/ampere kernel drivers, so I decided to extend it to all nvidia cards architectures. That was a lot harder, since the legacy lists are static and only need to be updated when a new legacy driver is released.
 
OP
H

h2-1

Active Member
Joined
Mar 7, 2021
Messages
125
Reaction score
104
Credits
1,858
While I wanted to get the nvidia feature out, after I did 3.3.16 I ended up finding an ok data source for amd pci ids, not perfect, but ok, so maybe next month this feature will be extended in next inxi to support amd gfx devices too.
 
OP
H

h2-1

Active Member
Joined
Mar 7, 2021
Messages
125
Reaction score
104
Credits
1,858
I extended this feature post 3.3.16 to also include AMD gpu data, that took a while to collect/collate because amd doesn't publish lists like nvidia does. Since it's not nvidia only, I got rid of --nvidia and replaced it with --gpu:

Code:
pinxi --gpu
Graphics:
  Device-1: AMD Cedar [Radeon HD 5000/6000/7350/8350 Series] vendor: XFX Pine
    driver: radeon v: kernel alternate: amdgpu arch: TeraScale 2
    code: Evergreen process: TSMC 32-40nm pcie: gen: 1 speed: 2.5 GT/s
    lanes: 16 link-max: gen: 2 speed: 5 GT/s ports: active: DVI-I-1,VGA-1
    empty: HDMI-A-1 bus-ID: 0a:00.0 chip-ID: 1002:68f9 class-ID: 0300
  Display: x11 server: X.Org v: 1.21.1.3 with: Xwayland v: 22.1.0
    compositor: xfwm v: 4.16.1 driver: X: loaded: modesetting gpu: radeon
    display-ID: :0.0 screens: 1

That's a lot of data, had to merge two different lists to get enough pci device IDs to cover many devices, but will miss some for sure since the data is not direct from AMD.

It might just have bugged me that I made a feature where I can't actually see the results on any of my systems, heh, since I switched to AMD a while ago. Note that GCN/RDNA/CDNA are I believe the only amd gpus that support amdgpu, if you are interested, not Terascale or any that came before it.
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Linux.org Hosting Donations
Consider making a donation

Members online


Top