MangoHud icon indicating copy to clipboard operation
MangoHud copied to clipboard

Power Information on the HUD is Always Zero.

Open Shiroiame-Kusu opened this issue 10 months ago • 5 comments

Describe the bug Power Information on the HUD is Always 0.0W.

List relevant hardware/software information

  • Kali GNU/Linux Rolling x86_64
  • MangoHud v0.7.1
  • NVIDIA GeForce RTX 4060 Max-Q / Mobile

To Reproduce Steps to reproduce the behavior:

  1. Enable CPU/GPU power information in order to display them on the HUD
  2. Open any application/game with the HUD
  3. See error

Expected behavior Display the Power Info correctly on the hud

Screenshots image

Shiroiame-Kusu avatar Apr 09 '24 07:04 Shiroiame-Kusu

For cpu power there are instructions in readme. As for GPU power, what does nvidia-smi --query-gpu=utilization.gpu return?

flightlessmango avatar Apr 09 '24 07:04 flightlessmango

For cpu power there are instructions in readme. As for GPU power, what does nvidia-smi --query-gpu=utilization.gpu return?

It returns

┌──(root㉿Kusunoki-Kali)-[~]
└─# nvidia-smi --query-gpu=utilization.gpu                   
"--format=" switch is missing. Please run 'nvidia-smi -h' for help.

┌──(root㉿Kusunoki-Kali)-[~]
└─# nvidia-smi --query-gpu=utilization.gpu --format=csv
utilization.gpu [%]
24 %

Shiroiame-Kusu avatar Apr 09 '24 07:04 Shiroiame-Kusu

what about nvidia-smi --query-gpu=power.draw --format=csv ?

flightlessmango avatar Apr 09 '24 07:04 flightlessmango

what about nvidia-smi --query-gpu=power.draw --format=csv ?

┌──(root㉿Kusunoki-Kali)-[~]
└─# nvidia-smi --query-gpu=power.draw --format=csv
power.draw [W]
24.02 W

Shiroiame-Kusu avatar Apr 09 '24 07:04 Shiroiame-Kusu

Set MANGOHUD_LOG_LEVEL=DEBUG and PROTON_LOG=1 then post the log here

flightlessmango avatar Apr 11 '24 01:04 flightlessmango

closing for inactivity

flightlessmango avatar Jul 09 '24 04:07 flightlessmango