MangoHud icon indicating copy to clipboard operation
MangoHud copied to clipboard

Microstutters with mangohud fps limit

Open 1player opened this issue 2 years ago • 4 comments

Experienced in Hollow Knight (Proton/Vulkan).

This is a beefy desktop, it can render the game at 600 fps with no stuttering, as shown by Mangohud's frametime graph. Yet, when I enable mangohud's frame limiter to 58 fps, there's frequent microstutters that do not show up in the frametime graph. The vsync option is commented out.

It might only affect Vulkan applications, I've found similar reports of CSGO in Vulkan mode stuttering when mangohud is enabled: https://github.com/ValveSoftware/csgo-osx-linux/issues/2891#issuecomment-1016615173

1player avatar Jun 03 '22 11:06 1player

If you're on Mesa drivers, it's probably related to this https://gitlab.freedesktop.org/drm/amd/-/issues/2066. Try the suggested workaround on comment.

bunkbail avatar Jul 14 '22 21:07 bunkbail

Thanks. That issue is probably related to https://gitlab.freedesktop.org/drm/amd/-/issues/1500 and I've been forcing my desktop to the 3D_FULL_SCREEN profile for a while now to mitigate it.

EDIT: not related, still stuttering after switching to that profile.

1player avatar Jul 15 '22 09:07 1player

Yeah I have a 6900XT myself and the bug drove me crazy before I tried the suggested workarounds on both bug reports. Anyways, I don't think the microstutters is related to mangohud at all.

bunkbail avatar Jul 16 '22 01:07 bunkbail

I've been running with the 3D_FULL_SCREEN profile as described above which eliminated the microstuttering due to frequency switching in all games, but enabling the FPS limiter in MangoHud still makes Hollow Knight stutter.

The only way to make the game smooth is: disable MangoHud's frame limiter, make sure vsync is enabled in game.

1player avatar Aug 14 '22 08:08 1player

reopen if still an issue

flightlessmango avatar May 05 '23 02:05 flightlessmango