-
Notifications
You must be signed in to change notification settings - Fork 24
--versions: Add support for dumping NVIDIA graphics info #208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
TODO: Check if the github builds are linked correctly to libnvidia. |
|
TODO: If it's linked to the nvidia, will that cause issues when the nvidia library/driver is not installed? Both windows and linux |
a178c5a to
8ad4389
Compare
8ad4389 to
584dc5c
Compare
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]>
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]>
Yep, I can run it downloaded from gh actions. |
dd69997 to
f696b64
Compare
Yes, it prints: |
Otherwise loading the library fails. Signed-off-by: Daniel Schaefer <[email protected]>
2126830 to
dc056b7
Compare
Alright, now it works. |
Allows checking things like NVIDIA dGPU VBIOS Version.