So turning of vsync increase frame rate? I don't have a clue but maybe my graphics drivers have that busyloops bartbes mentioned.kraftman wrote: How does increasing the framerate decrease the CPU usage? Am I missing something?
Search found 4 matches
- Sat Jul 30, 2011 10:37 pm
- Forum: Support and Development
- Topic: Set max frame rate - lower CPU usage?
- Replies: 17
- Views: 7968
Re: Set max frame rate - lower CPU usage?
- Sat Jul 30, 2011 10:26 pm
- Forum: Support and Development
- Topic: Set max frame rate - lower CPU usage?
- Replies: 17
- Views: 7968
Re: Set max frame rate - lower CPU usage?
Thanks for all replys
I set t.screen.vsync to false in conf.lua, it solved the CPU problem (now total is below ~5%). Do I have to think about anything special having it set to false?
I set t.screen.vsync to false in conf.lua, it solved the CPU problem (now total is below ~5%). Do I have to think about anything special having it set to false?
- Sat Jul 30, 2011 10:02 pm
- Forum: Support and Development
- Topic: Set max frame rate - lower CPU usage?
- Replies: 17
- Views: 7968
Re: Set max frame rate - lower CPU usage?
I'm new to Löve as-well, but seems to me like it's unnecessary. My Game uses about 15% CPU while running idle. If I enable vsync it locks to 60fps and runs at around 7%. I tried to remove things to see if something was eating CPU. In the end I had removed everything, if I run a empty project no tex...
- Sat Jul 30, 2011 8:57 pm
- Forum: Support and Development
- Topic: Set max frame rate - lower CPU usage?
- Replies: 17
- Views: 7968
Set max frame rate - lower CPU usage?
Hi all I'm new to Löve and still experimenting, I have used PyGames before and used: clock.tick(30) To set a max frame rate, lowering the CPU usage from 100% (max possible frame rate) to something around 3%. Is there anything equivalent in Löve? I have checked the wiki love.timer, love.graphics and ...