Custom FPS cap
Moderator: GZDoom Developers
Custom FPS cap
Trying this again.
ZDoom and its ports will use every ounce of available power, on modern hardware resulting in framerates in the 1000's and generating a lot of useless heat and even crashing some PCs. (laptops especially) My friend is stuck playing with the 35 cap and hates it.
Vsync does not lower cpu usage.
35 fps as the only cap option is terrible. It is choppy and jerky and is one of the large reasons to play this port to begin with - as others don't even have the option to play past 35.
Please allow setting some arbitrary FPS cap. Even if coding limits it to a fixed cap (multiples of 35? who knows)
ZDoom and its ports will use every ounce of available power, on modern hardware resulting in framerates in the 1000's and generating a lot of useless heat and even crashing some PCs. (laptops especially) My friend is stuck playing with the 35 cap and hates it.
Vsync does not lower cpu usage.
35 fps as the only cap option is terrible. It is choppy and jerky and is one of the large reasons to play this port to begin with - as others don't even have the option to play past 35.
Please allow setting some arbitrary FPS cap. Even if coding limits it to a fixed cap (multiples of 35? who knows)
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49223
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Custom FPS cap
'no'ing this again...
- InsanityBringer
- Posts: 3392
- Joined: Thu Jul 05, 2007 4:53 pm
- Location: opening the forbidden box
Re: Custom FPS cap
I'm yet to see that ever happen myself. Even on low-end machines.dascott wrote:generating a lot of useless heat and even crashing some PCs. (laptops especially)
Re: Custom FPS cap
Is it a no because you think it is useless or because it would be hard to implement? The distinction is important, please.
Re: Custom FPS cap
Its not low end machines that are the problem, probably.InsanityBringer wrote:I'm yet to see that ever happen myself. Even on low-end machines.dascott wrote:generating a lot of useless heat and even crashing some PCs. (laptops especially)
- Project Shadowcat
- Posts: 9369
- Joined: Thu Jul 14, 2005 8:33 pm
- Preferred Pronouns: They/Them
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia with Vulkan support
- Location: Blacksburg, SC USA
- Contact:
Re: Custom FPS cap
Turn on vsync or turn on the default 35 FPS cap. There's no need to be fighting about it. 

Re: Custom FPS cap
dascott wrote:
Vsync does not lower cpu usage.
35 fps as the only cap option is terrible. It is choppy and jerky and is one of the large reasons to play this port to begin with - as others don't even have the option to play past 35.
- Project Shadowcat
- Posts: 9369
- Joined: Thu Jul 14, 2005 8:33 pm
- Preferred Pronouns: They/Them
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia with Vulkan support
- Location: Blacksburg, SC USA
- Contact:
Re: Custom FPS cap
Get a new CPU, then. Read Graf's reply on your original topic. I actually turn on vsync to preserve my hardware as best as I can for every game I play. So if it's still at 100%, time to look into a new core.
EDIT: So then what would a custom cap solve in the first place?
EDIT: So then what would a custom cap solve in the first place?
Re: Custom FPS cap
.... but for the third time, vsync doesn't change CPU usage. Which part of that is sailing over your head? Maybe its just a GL thing? Maybe it -should-, but its just broken?
A custom cap would let Doom run at 200 fps while using 1% CPU. I'm running an i7 ffs, I'm not the one crashing, but its sure as hell loves to spin up my fan to 747 levels.
A custom cap would let Doom run at 200 fps while using 1% CPU. I'm running an i7 ffs, I'm not the one crashing, but its sure as hell loves to spin up my fan to 747 levels.
-
-
- Posts: 3202
- Joined: Wed Nov 24, 2004 12:59 pm
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
- Contact:
Re: Custom FPS cap
Actually an arbitrary frame rate cap would be useful. At least right now, ZDoom doesn't have a vsync implementation for Linux, and the only help I've been able to find on that said that the only way to get vsync would be to get it from the monitor and implement the frame cap manually (lame explanation was that X was designed for workstations and thus does not need vsync capabilities). That said, I found it's actually pretty easy to get used to the 35fps cap, and considering ZDoom still fundamentally runs at 35hz no matter what the frame rates is it certainly doesn't change game play.
Re: Custom FPS cap
That's your system, not a general property of vsync. Your system is obviously just busy-looping waiting for the raster to reach the vsync region. My system waits on an interrupt, so it does drop CPU usage significantly.dascott wrote:.... but for the third time, vsync doesn't change CPU usage.
Here's a graph if you don't believe me: The game is only set up for one timer: Either it waits for the timer to tick and draws one frame when it does, or it draws as many frames as possible, checking after each frame if the timer has ticked and it should do another thinking iteration.
It also doesn't have an event-driven timer, so even when you cap the FPS, it's still running at full speed.Blzut3 wrote:At least right now, ZDoom doesn't have a vsync implementation for Linux
- Siggi
- Posts: 3288
- Joined: Sun Oct 03, 2004 8:57 am
- Preferred Pronouns: They/Them
- Location: South Africa
Re: Custom FPS cap
日本語ができますか?
Re: Custom FPS cap
One imagines he either knows the language through birth/education/hobby or is esoterically silly. Consider again the avatar and various references that have occurred in off topic.Siggi wrote:日本語ができますか?
I'd run things in another language if I was well versed in a second one. It's one way to keep up practice. My ability to read and sign ASL has really been crippled since it fell into disuse.
- Siggi
- Posts: 3288
- Joined: Sun Oct 03, 2004 8:57 am
- Preferred Pronouns: They/Them
- Location: South Africa
Re: Custom FPS cap
Indeed, I have noticed. But there's nothing wrong with a direct question.Zippy wrote:One imagines he either knows the language through birth/education/hobby or is esoterically silly. Consider again the avatar and various references that have occurred in off topic.
I'd run things in another language if I was well versed in a second one. It's one way to keep up practice. My ability to read and sign ASL has really been crippled since it fell into disuse.

Re: Custom FPS cap
I wish. My self-study just started last month with the kana and this month with the kanji. I'm using Heisig's Remembering the Kanji, so even though I just did kanji #569 today, it will be a while before I can read anything besides random words like 日本語、今日、私、百合、and 花びら. At least for now, it's satisfying enough to be able to look at a page of written Japanese and recognize some of the kanji as characters and not just random squiggles and lines.Siggi wrote:日本語ができますか?
As for running Japanese on my computer, I just wanted to try it out for the exposure. Since a lot of it is in katakana, it's actually not that bad. I think it might even be easier than if I ran it in German, even though I had three years of formal German classes. (Because I haven't used my German in 14 years, so I've forgotten a lot of it.) Since my katakana reading speed is abysmal right now, it's also good practice. The Japanese input support that comes with Ubuntu pretty much sucks compared to Windows 7, unfortunately. I'm sure there must be some decent input system for Linux somewhere, but I have no idea where to look.