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

Frame rate limiter not working #1352

Closed hir0xygen closed 2 weeks ago

hir0xygen commented 3 weeks ago

Describe the bug The frame rate limiter is not limiting the game's frame rate, even though show_fps_limit shows the limit that should be set.

List relevant hardware/software information

To Reproduce Steps to reproduce the behavior:

  1. Start Apex Legends using gamescope with the mangoapp parameter
  2. Check FPS

Expected behavior The game's frame rate is limited to the values set in the MangoHud.conf file.

Screenshots Note the FPS limit entry showing the frame rate limit, while the FPS is unlocked.

stankovictab commented 3 weeks ago

I'm experiencing the same issue. My guess is that MangoHUD can't limit the FPS as it's attached to the Gamescope instance instead of the game itself. In this case you would need to limit the FPS through Gamesope (using -r 60) for example, but obviously this would mean exiting the app each time :/

hir0xygen commented 3 weeks ago

In this case you would need to limit the FPS through Gamesope (using -r 60) for example, but obviously this would mean exiting the app each time :/

Yes, and I really wanted to use MangoHud to limit the frame rate as it would allow me to toggle between two pre-defined limits. I wanted this as an alternative to using -r and -o (unfocused frame rate limit) options through Gamescope, as the -o option didn't work at all. But since the MangoHud limit doesn't work either, I'm not sure what to do.

flightlessmango commented 3 weeks ago

We can't limit the fps through mangoapp, it has to be done through gamescope

hir0xygen commented 3 weeks ago

Unfortunate but good to know, thanks.