Page 1 of 1

Deliberate FPS limiter

Posted: 30 Jul 2015, 07:51
by Tzeentch
I've had a read through some tickets and not finding much about this.

Adding an option within the menu to enable a FPS limit. Set in 10 fps increments to go on the range 10-60fps. This is used primarily for low end desktop or laptops with limited upgradability as with lower frames this reduces CPU and GPU requirements and in turn causes less heat on laptops (less loud fans). The other thing is this could reduce lag on peoples machines in game (if it happens to be a player moving over massive groups of units) with low spec.

the tool-tip could read something like "Used to limit FPS, consuming less CPU and GPU resources". Having this in just the menu keeps it simple for any users. (can even drop a line in the FAQ section about it on the forum link.) As I went through before viewtopic.php?f=32&t=12022&p=131022&hilit=fps#p131022 more frames = more cpu and gpu to the point of bottlenecks as we all know (depending on hardware) you can probs set in some config files but why not keep it simple?

Re: Deliberate FPS limiter

Posted: 30 Jul 2015, 13:18
by Terminator
May be its off topic but. For window users and owners of Nvidia VGA can be use software called NvidiaInspector. It can do many things on driver level. I have limited FPS for everything to 60fps.

Re: Deliberate FPS limiter

Posted: 30 Jul 2015, 13:45
by montetank
Terminator wrote:May be its off topic but. For window users and owners of Nvidia VGA can be use software called NvidiaInspector. It can do many things on driver level. I have limited FPS for everything to 60fps.
Yes-and WZ is updated in NVidia inspector. For other users-Dxtory can limit the FPS. But the idea is fine. Could be made easier.

Re: Deliberate FPS limiter

Posted: 01 Aug 2015, 03:04
by vexed
We did have a limiter before, but, it was removed.
Before, we used sleep() calls, but, since nothing is simple in WZ, it caused issued.

Re: Deliberate FPS limiter

Posted: 01 Dec 2015, 04:46
by Tzeentch
maybe somepoint in future I could add it in for a future update or release... I reckon it'd really help out client side

Re: Deliberate FPS limiter

Posted: 02 Dec 2015, 00:50
by Per
Just turn Vsync on.

Re: Deliberate FPS limiter

Posted: 04 Dec 2015, 10:08
by Tzeentch
remove all sleep calls as well, cannot see how it'll help. even with vync my point is that'll still be 60 fps. limit setting to adjust 10-50 for lower hardware to be more efficient will give big gains is my point

Re: Deliberate FPS limiter

Posted: 07 Dec 2015, 05:11
by vexed
Tzeentch wrote:remove all sleep calls as well, cannot see how it'll help. even with vync my point is that'll still be 60 fps. limit setting to adjust 10-50 for lower hardware to be more efficient will give big gains is my point
How do you throttle without sleep calls?
VSYNC on "fixes" it, since it then auto-sleeps at 60Hz waiting for the frame buffer.

Re: Deliberate FPS limiter

Posted: 07 Dec 2015, 05:15
by stiv
Clean the dust and cat hair out of your machine and it won't overheat.

Unless it is woefully under-cooled to start with.

Re: Deliberate FPS limiter

Posted: 07 Dec 2015, 07:13
by cybersphinx
Would vsync + double bufferswap halve the frame rate? That might be an alternative to the old frame rate limiter without its problems (don't remember what those were).

Re: Deliberate FPS limiter

Posted: 10 May 2021, 20:00
by Tzeentch
It will be useful for lower end devices that are in abundance now like the Pi. All you'd need is FPS of 30 or 60 tbh. 60 is effectively done via Vsync which works quite well.