Jump to content

Windows FPS limit


Dan M

Recommended Posts

Basically we are under a spot of bother here.

 

Wndows svr 2003 limits server side fps to about 66 frames, Im looking for a way of increasing this limitation to 100 - 120 without completely removing this.

 

Can anyone help please? :)

Link to comment
Share on other sites

windows 2003's timer interrupt frequency on SMP is 66.6hz, which 1 hz is 1 frame gameside, give or take a couple because of erroring. Only way to crank it is to go to uniprocessor, which is 100hz.

 

+fps_max (power of 2) +alias fps_max echo "Disabled"

Link to comment
Share on other sites

I'm not sure what the above means. If you could explain it in a more simple form that would be excellent.

 

Meanwhile I've attempted to compile the following from the srcdsfpsboost but I can't seem to compile it from my end. If anybody is good with C / C++ could you help me compile the following please?

 

#include <stdio.h>

#include <windows.h>

int main(void)

{

timeBeginPeriod(8);

printf("Press any key to restore normal timer frequency.\n");

getchar();

timeEndPeriod(8);

return 0;

}

 

I get the following 3 errors;

 

[Linker error] undefined reference to `timeBeginPeriod@4'

[Linker error] undefined reference to `timeEndPeriod@4'

ld returned 1 exit status

 

Cheers,

Dan

Link to comment
Share on other sites

You need Winmm.lib as a linker. You could do this instead:

 

#pragma once(lib, Winmm.lib)

 

Hmm, I still don't understand - not coding savvy ;)

 

Brian from Velocity Servers sent me the one you created, I think. But I needed one with a value of 8ms instead of 1ms - If you could help me with this one Monk it would be much appreciated :)

Link to comment
Share on other sites

  • 2 weeks later...
I didn't get what that post meant - Neither did my colleagues who have years of experience with Windows.

I don't want to speak for Monk, but I think he meant that you can't set the interrupt frequency to an arbitrary number like 8ms.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Who's Online   0 Members, 0 Anonymous, 6 Guests (See full list)

    • There are no registered users currently online
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use