Is there a way to limit fps apart from vsync?

Is there a way to limit fps apart from vsync?

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
Machete234
Posts: 642
Joined: 12 Feb 2010, 11:55

Is there a way to limit fps apart from vsync?

Post by Machete234 »

My gfx card gets a little hot while gaming so in other games you can use a maxfps command by that you say "render only 125 frames" and the card has less work to do.

So in the case of spring I would limit it to 60, right now I use vsync t o do that but vsync sucks when you get less than 60 frames.
And its more than just limiting the framerate.

Is there a maxfps command in spring?
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: Is there a way to limit fps apart from vsync?

Post by jK »

you can configure vsync ingame via:

Code: Select all

/vsync %sync_each_nth_frame%
e.g. "/vsync 10" will just sync each 10th frame, this makes it much more practical for low FPS.
Machete234
Posts: 642
Joined: 12 Feb 2010, 11:55

Re: Is there a way to limit fps apart from vsync?

Post by Machete234 »

Thx Ill try this

vsync 1 gives me 61 fps
vsync 2 will give me about 80-90 fps
anything above is basically without a limit same as vsync 0
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: Is there a way to limit fps apart from vsync?

Post by zerver »

If you have a CRT monitor it may be possible to reduce the refresh rate to e.g. 30Hz. This in combination with vsync means lower fps. Not sure if LCD monitors can be tweaked like this.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Is there a way to limit fps apart from vsync?

Post by Forboding Angel »

Machete234 wrote:Thx Ill try this

vsync 1 gives me 61 fps
vsync 2 will give me about 80-90 fps
anything above is basically without a limit same as vsync 0
Just spend 5 - 10 bucks and get a decent fan for the gpu. Shit'll buff out.
Satirik
Lobby Developer
Posts: 1688
Joined: 16 Mar 2007, 18:27

Re: Is there a way to limit fps apart from vsync?

Post by Satirik »

Machete234 wrote:Thx Ill try this

vsync 1 gives me 61 fps
vsync 2 will give me about 80-90 fps
anything above is basically without a limit same as vsync 0
here /vsync x gives me 60/x fps ...
Machete234
Posts: 642
Joined: 12 Feb 2010, 11:55

Re: Is there a way to limit fps apart from vsync?

Post by Machete234 »

So youre limited at 30 fps whe you use /vsync 2 ?
Maybe it doesnt work in my case so that anything other than vsync 1 will disable it.

In my case it seems more that vsync 2 will allow 120 fps.
vsync 3 180 etc, 60*x.
Auswaschbar
Spring Developer
Posts: 1254
Joined: 24 Jun 2007, 08:34

Re: Is there a way to limit fps apart from vsync?

Post by Auswaschbar »

Forboding Angel wrote:
Machete234 wrote:Thx Ill try this

vsync 1 gives me 61 fps
vsync 2 will give me about 80-90 fps
anything above is basically without a limit same as vsync 0
Just spend 5 - 10 bucks and get a decent fan for the gpu. Shit'll buff out.
Image

On topic: in linux, "/vsync x" limits to x frames per second. On windows, code is different so I dunno.
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Is there a way to limit fps apart from vsync?

Post by hoijui »

zerver wrote:If you have a CRT monitor it may be possible to reduce the refresh rate to e.g. 30Hz. This in combination with vsync means lower fps. Not sure if LCD monitors can be tweaked like this.
:D :D :D
nice one!
windows always uses 60Hz by default, it so hurts, but i am sure that all non tech guys in offices with CRTs are using it.. i feel sick after a few minutes.
Post Reply

Return to “Help & Bugs”