Hello,
I am folding on my CPU. I am trying to put my computer to standby/sleep mode, however, even after I press the "Stop Folding" button and the status is "Paused", my computer cannot go to standby, all it does is make the screen blank. How can I resolve this issue? Thanks for all your help.
Computer Cannot Sleep — Even When I Pause Folding
Moderators: Site Moderators, FAHC Science Team
-
- Posts: 2
- Joined: Fri Mar 26, 2021 11:47 pm
- Location: Vancouver, British Columbia
Computer Cannot Sleep — Even When I Pause Folding
Stay safe and healthy!
Re: Computer Cannot Sleep — Even When I Pause Folding
I assume you're folding with Windows? Which type of installation did you choose? To support Windows GPU permissions, the normal way to install on Windows will start Folding@Home as a program that starts when you log in and I think that blocks hibernation/sleep from occuring. The reason for that is that a GPU work unit can't resume from sleep/hibernation.
As you're only CPU folding, you might try to wipe and re-install Folding@Home as a system service instead. That will not allow GPU folding, but it might perhaps allow hibernation?
PS: Note that Folding@Home folding is time sensitive. Unlike some projects which divide a big problem up into a large number of chunks that can be solved individually, Folding@Home is a relay race where the next folder is waiting for work based on the previous folder's efforts. So if you're going to leave the computer off for days at a time, you should find some other distributed computing project to work on. If you're just shutting off over night, but use your computer every day, your machine can still be useful for Folding@Home. Check if you return your work units before "Timeout" and "Expiry". Ideally you should return most of your work units before "Timeout" because that means less wasted computing power.
As you're only CPU folding, you might try to wipe and re-install Folding@Home as a system service instead. That will not allow GPU folding, but it might perhaps allow hibernation?
PS: Note that Folding@Home folding is time sensitive. Unlike some projects which divide a big problem up into a large number of chunks that can be solved individually, Folding@Home is a relay race where the next folder is waiting for work based on the previous folder's efforts. So if you're going to leave the computer off for days at a time, you should find some other distributed computing project to work on. If you're just shutting off over night, but use your computer every day, your machine can still be useful for Folding@Home. Check if you return your work units before "Timeout" and "Expiry". Ideally you should return most of your work units before "Timeout" because that means less wasted computing power.
Online: GTX 1660 Super + occasional CPU folding in the cold.
Offline: Radeon HD 7770, GTX 1050 Ti 4G OC, RX580
Re: Computer Cannot Sleep — Even When I Pause Folding
This is a useful option to investigate. I have successfully installed FAHClient as a Windows service (on a machine that didn't have a supported GPU) and was able to resume from sleep/hibernation ... though it was a much older version of FAHClient. The do-not-allow-sleep option was added specifically to avoid crashing a WU that folds on the GPU and there is a way to disable that choice, though I don't remember how to do it. (Yes, that's grammatically a double negative.)gunnarre wrote:I assume you're folding with Windows? Which type of installation did you choose? To support Windows GPU permissions, the normal way to install on Windows will start Folding@Home as a program that starts when you log in and I think that blocks hibernation/sleep from occuring. The reason for that is that a GPU work unit can't resume from sleep/hibernation.
Posting FAH's log:
How to provide enough info to get helpful support.
How to provide enough info to get helpful support.
Re: Computer Cannot Sleep — Even When I Pause Folding
It looks like the FAH client is turning off the power standby feature.
C:\Windows\system32>powercfg -lastwake
wait one minute, then take a look at the journal: C:\Windows\system32\energy-report.html
It looks like the developers have incorrectly set the flags for the SetThreadExecutionState API.
https://docs.microsoft.com/en-us/window ... utionstate
C:\Windows\system32>powercfg -lastwake
wait one minute, then take a look at the journal: C:\Windows\system32\energy-report.html
It looks like the developers have incorrectly set the flags for the SetThreadExecutionState API.
https://docs.microsoft.com/en-us/window ... utionstate
Re: Computer Cannot Sleep — Even When I Pause Folding
Same here, when my WU finished my pc stays on. A few months ago this didn't happen.
-
- Posts: 2
- Joined: Fri Mar 26, 2021 11:47 pm
- Location: Vancouver, British Columbia
Re: Computer Cannot Sleep — Even When I Pause Folding
Thanks for your reply, installing it as a system service still does not allow hibernation for me.gunnarre wrote:I assume you're folding with Windows? Which type of installation did you choose? To support Windows GPU permissions, the normal way to install on Windows will start Folding@Home as a program that starts when you log in and I think that blocks hibernation/sleep from occuring. The reason for that is that a GPU work unit can't resume from sleep/hibernation.
As you're only CPU folding, you might try to wipe and re-install Folding@Home as a system service instead. That will not allow GPU folding, but it might perhaps allow hibernation?
Stay safe and healthy!
-
- Site Moderator
- Posts: 1115
- Joined: Sat Dec 08, 2007 1:33 am
- Location: San Francisco, CA
- Contact:
Re: Computer Cannot Sleep — Even When I Pause Folding
In FAHControl, you might want to add client option
disable-sleep-when-active
false
disable-sleep-when-active
false