flightlessmango / MangoHud

A Vulkan and OpenGL overlay for monitoring FPS, temperatures, CPU/GPU load and more. Discord: https://discordapp.com/invite/Gj5YmBb
MIT License
6.13k stars 262 forks source link

Power Information on the HUD is Always Zero. #1288

Closed Shiroiame-Kusu closed 1 week ago

Shiroiame-Kusu commented 3 months ago

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

List relevant hardware/software information

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

flightlessmango commented 3 months ago

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

Shiroiame-Kusu commented 3 months ago

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 %
flightlessmango commented 3 months ago

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

Shiroiame-Kusu commented 3 months ago

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
flightlessmango commented 3 months ago

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

flightlessmango commented 1 week ago

closing for inactivity