Variable fps cap

Moderator: GZDoom Developers

User avatar
kc32
Posts: 117
Joined: Sun Jan 23, 2005 10:57 am
Location: One of the smarter parts of Kansas

Variable fps cap

Post by kc32 »

It would be easy to be able to set cl_capfps to a value instead of on or off, right? I want it to run over 35 fps but not use 100% of my CPU.
User avatar
anonone
Posts: 243
Joined: Wed Dec 10, 2003 10:50 pm
Location: Unfired!
Contact:

Post by anonone »

As far as I could tell, you can only run at full tilt or 35 fps.

I could've sworn there's an arbitrary frame limit CVAR, though. Maybe I'm thinking of something else.
User avatar
HobbsTiger1
Posts: 1235
Joined: Fri Jan 07, 2005 7:29 pm
Location: #DMClub
Contact:

Post by HobbsTiger1 »

Most boolean variables settable in the console would be extremely difficult to make into integer variables. Once I had to make a text game in java for a class. the 80 point version had a config menu with boolean settings. The 100 point had a config with integer settings. Needless to say, I was one of the few in class who did the 100 point correctly. Moral: Stuff like this is hard to implement and not very worthwhile.
User avatar
Chris
Posts: 2978
Joined: Thu Jul 17, 2003 12:07 am
Graphics Processor: ATI/AMD with Vulkan/Metal Support

Post by Chris »

Turn cl_capfps off, and turn vsync on.
User avatar
kc32
Posts: 117
Joined: Sun Jan 23, 2005 10:57 am
Location: One of the smarter parts of Kansas

Post by kc32 »

k...

vsync won't screw anything up, will it?

EDIT: it doesn't work.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49238
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

Unless your refresh rate is sop high that it still needs 100% CPU time it should work. For me it does.
User avatar
anonone
Posts: 243
Joined: Wed Dec 10, 2003 10:50 pm
Location: Unfired!
Contact:

Post by anonone »

Doesn't work? As in the CPU use is still at 100%, or you're not getting 60 FPS (or however many per your refresh rate)?
User avatar
kc32
Posts: 117
Joined: Sun Jan 23, 2005 10:57 am
Location: One of the smarter parts of Kansas

Post by kc32 »

both. It's still doing ~220 fps and using 100% CPU.
User avatar
HobbsTiger1
Posts: 1235
Joined: Fri Jan 07, 2005 7:29 pm
Location: #DMClub
Contact:

Post by HobbsTiger1 »

I'll have you know that cl_capfps kills my computer, and while it would be a good variable, for me I never get above 80 fps and it never uses over 50% of my cpu.
User avatar
kc32
Posts: 117
Joined: Sun Jan 23, 2005 10:57 am
Location: One of the smarter parts of Kansas

Post by kc32 »

Can't Randy just raise it to an acceptable framerate like 60 or so? I'm not really sure why it's even there.
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Post by randi »

kc32 wrote:It's still doing ~220 fps and using 100% CPU.
Then your video card probably doesn't support vsync properly.
kc32 wrote:I'm not really sure why it's even there.
Because some people like to play play at 35 FPS.
User avatar
kc32
Posts: 117
Joined: Sun Jan 23, 2005 10:57 am
Location: One of the smarter parts of Kansas

Post by kc32 »

I would like to play at a decent framerate without loading my CPU and possibly overheating it.
User avatar
HobbsTiger1
Posts: 1235
Joined: Fri Jan 07, 2005 7:29 pm
Location: #DMClub
Contact:

Post by HobbsTiger1 »

kc32 wrote:I would like to play at a decent framerate without loading my CPU and possibly overheating it.
1. 35 fps is quite decent thank you very much.
2. If by loading you mean using 100% of your CPU, why should it matter? Nothing else should be actively running anyway EDIT: FRAPS (or such) would be an exception, however in this case you should set cl_capfps to 1
3. Unless you are overclocking your CPU it will not overheat if consistently used at or near 100%. I have a textbook that states this and find it to be completely true from experience.
User avatar
Kirby
Posts: 2697
Joined: Thu Aug 26, 2004 1:23 pm

Post by Kirby »

randy wrote:play play
:lol: sounds like fun :lol:
Lemonzest
Posts: 327
Joined: Tue Oct 12, 2004 3:19 pm
Location: On your boards, trolling your threads!!!

Post by Lemonzest »

/me get's 200+ at 1024x768 but still locks at 35
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”