Skip to content

Conversation

@JohnAZoidberg
Copy link
Member

@JohnAZoidberg JohnAZoidberg commented Aug 26, 2025

Allows checking things like NVIDIA dGPU VBIOS Version.

@JohnAZoidberg
Copy link
Member Author

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

Trying it out with thunderbolt eGPUs

Signed-off-by: Daniel Schaefer <[email protected]>
```
> sudo framwork_tool --versions
[...]
NVIDIA GPU
  Name:             NVIDIA GeForce RTX ???? Laptop GPU
  Architecture:     Ok(Blackwell)
  VBIOS Version:    ??.??.??.??.??
  INFO ROM Ver:     ????.????.??.??
  PCI Info:         Ok(PciInfo { bus: ??, bus_id: "00000000:??:00.0", device: 0, domain: 0, pci_device_id: ????????, pci_sub_system_id: Some(?????) })
  Performance State:Ok(Eight)
  Pwr Mgmt Limit Df:Ok(100000)mW
  Pwr Mgmt Limit:   Err(NotSupported)mW
  Pwr Mgmt Limit Cs:Ok(PowerManagementConstraints { min_limit: 5000, max_limit: 100000 })
  Pwr Usage:        Ok(5170)mW
  Total Energy:     Ok(19002601)mJ
  Serialnum:        Ok("0")
  Throttle Reason:  Ok(ThrottleReasons(SW_POWER_CAP))
  Temperature:      Ok(45)C
  Util Rate:        Ok(Utilization { gpu: 0, memory: 0 })
  Memory Info:      Ok(MemoryInfo { free: 8078753792, reserved: 455278592, total: 8546942976, used: 12910592, version: 33554472 })
  Part Number:      Ok("")
  Board ID:         Ok(49664)
  Num Fans:         Ok(0)
  Display Active?:  Ok(false)
  Display Conn?:    Ok(false)
[...]
```

Signed-off-by: Daniel Schaefer <[email protected]>
Signed-off-by: Daniel Schaefer <[email protected]>
Run with:

cargo build && sudo LD_LIBRARY_PATH=/nix/store/rz59zs1282j3c1779v6gfma9fkxa0j2h-nvidia-x11-570.153.02-6.14.8/lib/ ./target/debug/framework_tool  --versions

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]>
@JohnAZoidberg
Copy link
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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants