aristocratos / btop

A monitor of resources
Apache License 2.0
21.37k stars 655 forks source link

[BUG] AMD GPU power usage displaying power usage at 0W using ROCm SMI #818

Closed kalkafox closed 7 months ago

kalkafox commented 7 months ago

Describe the bug

For a while, the power usage for AMD GPUs have been stuck at 0W. (This is a display bug since the rsmi function pointer reports the correct status.)

To Reproduce

  1. Launch btop using an AMD GPU with DGPU_SUPPORT compile flag and ROCm SMI lib installed.
  2. Open the GPU graph to reproduce the error.

Expected behavior

Displaying the power output of the GPU.

kalkafox commented 7 months ago

819 should fix this