Custom FPS cap

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: Custom FPS cap

Re: Custom FPS cap

by Jaxxoon R » Thu Jun 16, 2016 1:09 am

Yeah, my rig does that whenever I run GZDoom. At first I thought something was wrong but it seems 960's are pretty prone to it.

Re: Custom FPS cap

by Daniel2 » Wed Jun 15, 2016 8:17 am

Just a quick note, limiting fps is very important, some high end graphic cards have coil whine noise if they are outputing too many frames per seconds (above 1000+) you can google coil whine if you are not aware. Thanks for your answer and your amasing work Graf Zahl.

Re: Custom FPS cap

by StrikerMan780 » Wed Jun 15, 2016 4:54 am

Any ETA on when it might be? I'd like to be able to limit my FPS without introducing the horrendous input and mouse lag that comes with enabling V-Sync. That, and I want to keep my GPU from running too hot.

Re: Custom FPS cap

by Graf Zahl » Sun Jun 12, 2016 9:58 am

vid_maxfps is not implemented in GZDoom.

Re: Custom FPS cap

by Daniel2 » Sun Jun 12, 2016 9:47 am

Framerate cap does not work.

i have this :
cl_fpscap=false
vid_maxfps=250

Despite carefuly reading the Display page of ZDoom wiki i fail to see why it does not work : http://zdoom.org/wiki/CVARs:Display

cl_capfps (boolean)

Default: false
When true, the game is limited to 35 FPS, as it was originally in Doom. When false, the game frame rate will be as high as your machine is capable of (within the limits of vid_maxfps, if set). You can use this in conjunction with vid_vsync to control whether or not the maximum frame rate is restricted to your monitor's refresh rate.

vid_maxfps (integer) (Not Mac OS X)

Default: 200
If non-zero, this variable limits the frame rate to some arbitrary rate between 35 and 1000 FPS. Note that vid_maxfps 35 is not the same as cl_capfps 1: cl_capfps caps the frame rate by tying the video update directly to the game timer. With vid_maxfps 35, the video update and game timer are running on separate timers, and results will not be as good as with cl_capfps 1, which uses only one timer. You can use this in conjunction with vid_vsync to control whether or not the maximum frame rate is restricted to your monitor's refresh rate.

PS : I use latest GZDoom stable build : Version 2.1.1 (64-bit)

Checked with vid_fps 1, the cap just dont work.

Re: Custom FPS cap

by Marisa the Magician » Wed Nov 14, 2012 1:07 pm

I'm glad there's finally a custom fps cap. I've been noticing lately that ZDoom was making my cpu hot as a sun, while also causing amusing visual glitches by running at thousands of FPS (screen shaking makes the whole screen get chopped into multiple thin horizontal slices, for example). I simply stopped using it and went with GZDoom since the nvidia sync to vblank option did its job well with opengl.
randi wrote:I'm sure there must be some decent input system for Linux somewhere, but I have no idea where to look.
I have uim with the "anthy" input method for that, not sure if you'd like it. It requires some configuration and learning keyboard shortcuts.

Re: Custom FPS cap

by PlayerLin » Mon Sep 17, 2012 12:45 am

Holy shit, I were wandering about why (G)ZDooM cannot do this kind of thing when I just want to custom my max fps every time...

Now I'm happy.

Re: Custom FPS cap

by BloodyAcid » Sun Sep 16, 2012 12:54 pm

そうですね。。。

Re: Custom FPS cap

by randi » Sat Sep 15, 2012 10:47 pm

Added in r3872.

(ちなみに、このスレーが懐かしい…)

Re: Custom FPS cap

by Spleen » Sat May 01, 2010 1:03 pm

dascott wrote:generating a lot of useless heat and even crashing some PCs. (laptops especially)
That's a problem with your computer, man. Try cleaning your vents or underclocking your CPU. I use SpeedswitchXP on my laptop to keep it cool. If that fails to keep it cool, you might even have to disable one of your cores through your BIOS.

Re: Custom FPS cap

by dascott » Wed Apr 28, 2010 12:30 am

Looks like it was a problem with GL mode or porting, then. Hell right now I'm looking it doing 1000 fps and not even registering on perfmon, so I give in.

Re: Custom FPS cap

by Siggi » Sun Apr 25, 2010 3:00 pm

randy wrote: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.
I've been studying Japanese for since 2005, however the past 4 years have not seen as much progress because I'm also studying Computer Science at University. My ability to read Kanji is quite poor, and vocabulary is a bit lacking, but my understanding of basic language and sentence construction is pretty good. I enjoy it a lot though.
randy wrote: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.
For Ubuntu I'm using Uim and Anthy. The default, Scimm, I wasn't very fond of either. Specifically getting it to work with anything other than GTK and Qt applications. Although I have not set up my system this way at the moment, I know Uim can be used to handle pretty much every form of input, so you can even use it with xterm. I should point out it was quite awhile ago I tried Scimm, so maybe it's changed since then. Either way I'm happy with Uim and Anthy.

Also, sorry about the off-topicness in the Development subforms.

Re: Custom FPS cap

by Zippy » Sun Apr 25, 2010 2:30 pm

Siggi wrote:
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.
Indeed, I have noticed. But there's nothing wrong with a direct question. :)
Agreed.

And that's a nice example of what I like about non-idiotic discussions and how differences come into play. Given the same observation, likely the same presumed reasons, and agreement that asking isn't itself problematic, we still come to opposing straights of, "So, might as well ask!" and "So, no reason to ask!"



In the interest of giving the whole, "it's the i7's fault!", I thought I take a look at some numbers with my i7. So here's ZDoom running widescreen with vsync/cap off, vsync on, and cap on. With both off we do see ZDoom going to town, rendering at a worthless 550 FPS. VSync immediately brings things under control to the monitor's lower refresh rate of 60 FPS, also dropping the CPU usage. Lastly, the cap drops it a little bit lower at 35 FPS.

Re: Custom FPS cap

by Blzut3 » Sat Apr 24, 2010 10:48 pm

randy wrote:
Blzut3 wrote:At least right now, ZDoom doesn't have a vsync implementation for Linux
It also doesn't have an event-driven timer, so even when you cap the FPS, it's still running at full speed.
Wasn't there at 1ms sleep call within the loop at one point?

Re: Custom FPS cap

by randi » Sat Apr 24, 2010 8:54 pm

Siggi wrote:日本語ができますか?
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.

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.

Top