-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CPU Usage When Idle #400
Comments
Why won’t you trigger the proper sleep mode instead of just blanking the screen? |
Add this as a command in screensaver settings rundll32.exe powrprof.dll,SetSuspendState 0,1,0 |
Are you talking to me or mickelson? If me, then it's because I still need the machine accessible over the network.
Not relevant on Linux, and again, that puts the entire machine in suspend which isn't what we're discussing here. This bug is about AttractMode still using a decent amount of CPU time despite being idle (with no content playing). |
Ok, fair enough. Didn’t know you are on linux. |
I'm now seeing usage between 0 and 2%. Much better but not perfect (not sure what's causing the 2% spike roughly 50% of the time). Is it simply because it's sat in that 15ms delay game loop at that point? |
Found an interesting bug tied to this. If my screen is off and AttractMode goes to "sleep", it eats 100% CPU (100% of a single core) whilst not doing anything. Waking it back up causes it to go back to ~25% CPU when showing a video in the games list. |
CPU usage when playing videos or switching content during the screen-saver is understandable, but it appears that AM is still "active" even after hitting the "screen_saver_timeout". The screen goes black and you'd assume that everything has "stopped" but I'm still seeing 4-6% CPU usage on an i7 machine.
Is it possible to make AM actually properly sleep and stop using CPU time when it should be in this standby type mode?
The text was updated successfully, but these errors were encountered: