[ut2004] linux client's framerate capped at 50?
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
Thanks for the reply. This is also being discussed in the Atari forum:
I took the liberty of quoting you there so those guys could also have a
better understanding. I hope thats okay.
More information about the ut2004