I've noticed this CPU usage on my laptop too. It is unfortunate because it really chews through my battery.
Assuming that FTL is not frame rate limited, I'd guess that it is spinning in an event loop waiting for user interaction, and that can use 100% CPU. An easy fix for this is to put a timer in that event loop and if it has been less than, say, 1/100 of a second since the last check (or whatever you need to maintain smooth game play), sleep for a bit of time. This can significantly reduce the CPU usage.
I'd really like to see this fixed, FTL could be the perfect airplane game, if it didn't eat batteries like mad.
Darin
Extrene CPU Usage
-
- Posts: 1
- Joined: Wed Sep 19, 2012 5:19 am
- Matthew
- Site Admin
- Posts: 968
- Joined: Thu Apr 19, 2012 9:31 am
Re: Extrene CPU Usage
There will be clear options for both V-Sync and Frame Limiting added to the options as soon as I have time to push out an update (hopefully within the next couple days). Sorry about this guys. Working overtime during this busy launch.
Matthew Davis, Subset Games Developer - If you're looking for tech support, you'll get help faster emailing directly, contact info here
-
- Posts: 151
- Joined: Sat May 05, 2012 12:42 pm
Re: Extrene CPU Usage
zasdarq wrote:There will be clear options for both V-Sync and Frame Limiting added to the options as soon as I have time to push out an update (hopefully within the next couple days). Sorry about this guys. Working overtime during this busy launch.
I'm sure we can wait and understand the amount of work you have now makes the development of the game easy. nice that you are willing to add V-Sync and Frame Limiting to the system.
-
- Posts: 14
- Joined: Wed Sep 05, 2012 5:49 pm
Re: Extrene CPU Usage
zasdarq wrote:There will be clear options for both V-Sync and Frame Limiting added to the options as soon as I have time to push out an update (hopefully within the next couple days). Sorry about this guys. Working overtime during this busy launch.
Good news! Thank you very much!
- Matthew
- Site Admin
- Posts: 968
- Joined: Thu Apr 19, 2012 9:31 am
Re: Extrene CPU Usage
There is a beta version for Steam of a patch including Vsync and Frame Limiting available, check out this link:
viewtopic.php?f=9&t=2707
The full patch should be available to everyone within a couple days, it's just that Steam provides an easy way to make multiple fast changes in case of emergencies before we put it fully live. Since we're a small team with limited testing capacity, that's invaluable.
viewtopic.php?f=9&t=2707
The full patch should be available to everyone within a couple days, it's just that Steam provides an easy way to make multiple fast changes in case of emergencies before we put it fully live. Since we're a small team with limited testing capacity, that's invaluable.
Matthew Davis, Subset Games Developer - If you're looking for tech support, you'll get help faster emailing directly, contact info here