Page 1 of 1

fps limiter

Posted: Thu May 07, 2015 3:46 pm
by gendalf
fps in my game goes up to 330 and cpu goes nuts.. vsync isn't a proper option for me since it adds lag to controlls, can you add a separate option for limiting fps to like 80-100?

Re: fps limiter

Posted: Fri May 08, 2015 3:12 pm
by nuborn
Have you tried vsync with "gfx_asyncrender_old 1" and "gfx_threaded_old 1"? If I use vsync without these settings enabled I get input lag too. (This only happens with vsync enabled). Not sure if this will help with the cpu though. Have you tried cl_cpu_throttle 1? Edit: Or setting cl_cpu_throttle to a higher value, like 7-8. That seems to lower cpu load and fps but does that at the expense of input timing. It would be nice to be able to limit both fps and cpu, and at the same time have low input lag.

Re: fps limiter

Posted: Fri May 08, 2015 10:04 pm
by Savander
Simple limiter http://git.io/vUL5H

Re: fps limiter

Posted: Fri May 08, 2015 11:09 pm
by gendalf
Savander, i've no idea how to use it

Re: fps limiter

Posted: Sat May 09, 2015 12:09 am
by Savander
You need to compile client yourself.

Re: fps limiter

Posted: Sat May 09, 2015 4:54 pm
by Chairn
Will it be added in futur version of ddnet?