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.11k stars 263 forks source link

MangoHUD reports average FPS higher than max. possible when soft-capped #1348

Closed Tiagoquix closed 3 weeks ago

Tiagoquix commented 4 weeks ago

Describe the bug When a game has its FPS soft-capped (such as internal FPS cap via the game's settings menu or DXVK_FRAME_RATE env. variable), MangoHUD somehow reports avg. FPS higher than the max. allowed value (for example: it reports 70 FPS when max. is 60 due to soft-cap).

List relevant hardware/software information

To Reproduce Explained above.

Expected behavior Explained above.

Screenshots Wouldn't be too helpful.

Additional context No additional context.

flightlessmango commented 3 weeks ago

When the app just starts there are a few frames that aren't limited by vsync etc, this can cause a higher average. If you want to make sure the avg is representative of the session you can reset the metrics with Shift_R+F9

Tiagoquix commented 3 weeks ago

Thanks for the info.

Does hiding and showing the HUD (display toggle) also reset the metrics?

flightlessmango commented 3 weeks ago

No it shouldn't reset metrics