[ut2004] linux client's framerate capped at 50?
rob larkin
manifold at manifoldone.com
Fri Mar 5 11:58:11 EST 2004
Ryan C. Gordon wrote:
>>Is there a fix? or an ini setting?
>
>
> We _do_ cap framerate on network games, since packet transmission is
> linked to framerate (yeah, yeah, point discussion of How It Should Have
> Been Done to /dev/null). This means if the game client is running too
> fast, we'll put the process to sleep for X milliseconds.
>
> On 2.4 kernels, processes can't sleep for less than 10 milliseconds,
> which clamps your framerate more than you'd like.
>
> 2.6 kernels have a 1 millisecond resolution, which helps in this case.
> Perhaps this is what you're seeing?
>
> We should really have an .ini option to not sleep but busy-loop for 2.4
> users.
>
> --ryan.
>
>
Thanks for the reply. This is also being discussed in the Atari forum:
http://www.ataricommunity.com/forums/showthread.php?s=&threadid=353392
I took the liberty of quoting you there so those guys could also have a
better understanding. I hope thats okay.
Rob
More information about the ut2004
mailing list