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.28k stars 272 forks source link

CPU_power is 0W #1253

Closed cemkaya-mpi closed 4 months ago

cemkaya-mpi commented 5 months ago

Hello, my CPU power usage is reported as 0W, even though zenpower3 and zenergy are installed.

CPU power usage in watts is available using zenmonitor, but it is not visible from sensors. Could this be the issue?

Etaash-mathamsetty commented 5 months ago

Hello, my CPU power usage is reported as 0W, even though zenpower3 and zenergy are installed.

* Arch Linux

* MangoHud 0.7.1.r21.g2aa6042-1

* Ryzen 6800H Laptop with NVIDIA RTX3060

CPU power usage in watts is available using zenmonitor, but it is not visible from sensors. Could this be the issue?

try removing zenpower3 zenergy after this commit should work: https://github.com/BoukeHaarsma23/zenergy/commit/a22a51bfebf31c2d76eeb2932c913f36e6b7f89b

cemkaya-mpi commented 5 months ago

Yes, removing zenpower3 seems to work. Thanks!

flightlessmango commented 4 months ago

@Etaash-mathamsetty why exactly does removing zenpower3 work? Is there a bug in zenpower3 or mangohud?

Etaash-mathamsetty commented 4 months ago

@Etaash-mathamsetty why exactly does removing zenpower3 work? Is there a bug in zenpower3 or mangohud?

The code prefers one path if it's present and checks for zenpower3 first even if it doesn't report anything. I would say that it's potentially a mangohud bug, but it depends on what zenpower3 is reporting

flightlessmango commented 4 months ago

This commit should resolve issues like this in the future 77d6244cea5503297b27e9283dae2781050768e7