Skip to content

--versions: Add support for dumping NVIDIA graphics info#208

Merged
JohnAZoidberg merged 9 commits into
mainfrom
libnvidia
Jan 14, 2026
Merged

--versions: Add support for dumping NVIDIA graphics info#208
JohnAZoidberg merged 9 commits into
mainfrom
libnvidia

Conversation

@JohnAZoidberg

@JohnAZoidberg JohnAZoidberg commented Aug 26, 2025

Copy link
Copy Markdown
Member

Allows checking things like NVIDIA dGPU VBIOS Version.

  • Check if the github builds are linked correctly to libnvidia.
  • If it's linked to the nvidia, will that cause issues when the nvidia library/driver is not installed? Both windows and linux

@JohnAZoidberg

Copy link
Copy Markdown
Member Author

TODO: Check if the github builds are linked correctly to libnvidia.

@JohnAZoidberg

Copy link
Copy Markdown
Member Author

TODO: If it's linked to the nvidia, will that cause issues when the nvidia library/driver is not installed? Both windows and linux

Trying it out with thunderbolt eGPUs

Signed-off-by: Daniel Schaefer <[email protected]>
it's proprietary, many distributions won't ship it by default.
And almost all of our systems don't use nvidia

Signed-off-by: Daniel Schaefer <[email protected]>
I often noticed it returning invalid data. Using 16 bit addressing seems
to work better.

Signed-off-by: Daniel Schaefer <[email protected]>
Signed-off-by: Daniel Schaefer <[email protected]>
`--dump-gpu-descriptor-file -` now prints to stdout instead of writing
to a file for easier debugging.

If the structure is corrupt, we can still dump all 256 bytes.

More error reporting to figure out what's wrong if something is wrong.

Signed-off-by: Daniel Schaefer <[email protected]>
-v or -vv includes the necessary debug info.

Signed-off-by: Daniel Schaefer <[email protected]>
PS C:\Users\zoid\framework-system> .\target\debug\framework_tool.exe --nvidia
NVIDIA GPU
Identification
  Name:              NVIDIA GeForce RTX 5070 Laptop GPU
  Architecture:      Blackwell
  Board ID:          49664
Firmware
  VBIOS Version:     98.06.3e.00.0a
  InfoROM Version:   G005.0000.98.01
PCI
  Bus:               C2
  Device:            00
  Domain:            0000
  Device ID:         2D5810DE
  Subsystem ID:      000EF111
Power
  Performance State: Eight
  Current Usage:     7.50 W
  Default Limit:     100.00 W
  Min Limit:         5.00 W
  Max Limit:         100.00 W
  Total Energy:      26303.86 J
Thermal
  GPU Temperature:   38C
  Number of Fans:    0
Throttle Reasons
  None
Utilization
  GPU:               5%
  Memory:            5%
Memory
  Total:             7.96 GB
  Used:              0.24 GB
  Free:              7.38 GB
Display
  Active:            Yes
  Connected:         Yes
PS C:\Users\zoid\framework-system> .\target\debug\framework_tool.exe --versions
Tool Version:     0.4.5
OS Version:       10.0.0.26200
Mainboard Hardware
  Type:           Laptop 16 (AMD Ryzen AI 300 Series)
  Revision:       Unknown
UEFI BIOS
  Version:        03.04
  Release Date:   11/06/2025
EC Firmware
  Build version:  tulip-3.0.4-ea09e7a 2025-11-06 10:52:13 lotus@ip-172-26-3-226
  Current image:  RO
PD Controllers
  PD 0:            0.0.22 (MainFw)
  PD 1:            0.0.22 (MainFw)
  PD 2:            0.0.22 (MainFw)
Parade Retimers
  dGPU:           83.0.0.5
Laptop Webcam Module (2nd Gen)
  Firmware Version: 1.1.1
USB Hub RTL5432
  Firmware Version: 0.0.7
Laptop 16 RGB Macropad
  Firmware Version: 0.3.1
  Location: [ ] [ ] [ ]       [X] [ ]
Laptop 16 Keyboard Module - ANSI
  Firmware Version: 0.3.1
  Location: [X] [ ] [ ]       [ ] [ ]
Touchpad
  Firmware Version: v0905
DisplayPort Expansion Card
  Active Firmware:      101 (3.0.11.065)
  Inactive Firmware:    008 (3.0.11.008)
  Operating Mode:       MainFw (#2)
NVIDIA GPU
  Name:           NVIDIA GeForce RTX 5070 Laptop GPU
  VBIOS Version:  98.06.3e.00.0a

Signed-off-by: Daniel Schaefer <[email protected]>
@JohnAZoidberg

Copy link
Copy Markdown
Member Author

TODO: Check if the github builds are linked correctly to libnvidia.

Yep, I can run it downloaded from gh actions.

@JohnAZoidberg

JohnAZoidberg commented Jan 14, 2026

Copy link
Copy Markdown
Member Author

TODO: If it's linked to the nvidia, will that cause issues when the nvidia library/driver is not installed? Both windows and linux

Yes, it prints: