[ut2004] linux client's framerate capped at 50?
Gian Paolo Mureddu
Thetargos at tutopia.com
Fri Mar 5 15:20:56 EST 2004
rob larkin wrote:
> 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
So basically is because I use a 2.6 kernel that I get better framerate
On-Line than single player? Go figure...
More information about the ut2004