[wish] manual framerate limiting

Bug #519439 reported by Stefan Kriwanek (Divan)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Return To The Roots
Status tracked in S25client
S25client
Fix Released
Wishlist
FloSoft

Bug Description

VSync doesn't work in all configurations (e.g. windowed mode), even if the driver says it supports it. Anyhow, I'd like to limit the framerate to e.g. 50Hz, even if my monitor works at 200Hz, just to save CPU-power on my notebook or whatever.

Of course, I've got a patch for this ;)
It can easily be extended to support Windows by someone who can compile and test on windows.

Tags: all-rev
Revision history for this message
Stefan Kriwanek (Divan) (dev-stefankriwanek) wrote :
Revision history for this message
FloSoft (flosoft) wrote : Re: [Bug 519439] Re: [wish] manual framerate limiting

sorry patch is not in sync with current trunk, please merge it and
create a patch then, thanks

Revision history for this message
Stefan Kriwanek (Divan) (dev-stefankriwanek) wrote :

next try

Revision history for this message
FloSoft (flosoft) wrote :

applied in rev5989 and made it windows compatible (added nanosleep-replacement-function for windows)

removed fps-limits over 60hz on windows (not possible to save cpu here, the bad timer resolution windows does not save any cpu < 13ms between frames)

tags: added: all-rev
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.