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

Incorrect TDP displayed on Loki Max in Bazzite. #1266

Open bramadeusbrozart opened 5 months ago

bramadeusbrozart commented 5 months ago

Describe the bug Mangohud displaying incorrect TDP on Ayn Loki Max in gaming mode on Bazzite

List relevant hardware/software information

To Reproduce Steps to reproduce the behavior:

  1. Installed simpledeckytdp for TDP control on Loki Max
  2. Set max TDP to 32w and default to 30w
  3. Set power profile to performance
  4. Installed Mangopeel plugin through decky loader
  5. Set Mangohud background opacity to 0 and added battery power draw and screen resolution
  6. Opened Remnant 2 and played at 900p medium settings
  7. GPU showing 24.8w and CPU showing 30w with battery showing 58.3w

Expected behavior Individual TDP for CPU and GPU as well as total battery power should reflect accurate information not greater than device capabilities

Screenshots Screenshot attached

Additional context Individual power draw on CPU and GPU equal higher than max TDP set in performance settings and well above device capabilities. 20240320_164004

flightlessmango commented 5 months ago

How do you know that the TDP limit is working?

bramadeusbrozart commented 5 months ago

The device is not able to hit 60w. The APU shuts down entirely approaching 40w. Aside from that, the temperatures on CPU and GPU are consistent with that of a device running at 30w over an extended period.

flightlessmango commented 5 months ago

I think it's unlikely that this is a mangohud issue as we're just reporting what gpu_metrics outputs. You will need to verify if gpu_metrics is wrong and in that case report it to the amdgpu kernel driver