Hybrid and Sleep - Printable Version +- Selur's Little Message Board (https://forum.selur.net) +-- Forum: Hybrid - Support (https://forum.selur.net/forum-1.html) +--- Forum: Problems & Questions (https://forum.selur.net/forum-3.html) +--- Thread: Hybrid and Sleep (/thread-1363.html) |
Hybrid and Sleep - jweaver - 17.05.2020 I have just built a "new" Windows 10 based PC (based on an old HP Server) and one of things I wanted to use was "sleep" overnight, as I generally leave my PC on 24x7 and the electricity costs are astronomical. I did think that Hybird might be a problem (especially when re-encoding), but I have used Sleep countless times over the last few weeks (at times when Hybrid is idle) and not had a single problem.. In general, I have Hybrid running but not always encoding and sleep works fine... Until today. Last night I put the PC to sleep and came down this morning to find it running which I thought was odd... So I tried to manaually sleep and nothing happened. When I looked at the powerconfig requests, I see: C:\Windows\system32>powercfg -requests So I killed Hybrid, the PC will now sleep. I have done a bit more playing and discovered something.. When you first lanch Hybrid the Powerconfig requests show: DISPLAY: When you add/start a job it does this (so clearly Hybrid intentionally blocks sleep which is good): SYSTEM: But when the job finishes, or you kill/remove it, it goes back to this and prevents sleep: DISPLAY: - Are there any settings relating to "sleep" in Hybrid? - Why is Hybrid blocking sleep when its not doing anything? - Why has this started now, when I have put the PC in sleep countless times before now? Is this expected behavour? Do I simply need to kill Hybrid when its not in use? Or is there a reason why this is happening? As always thanks in advance for any help. Jon RE: Hybrid and Sleep - Selur - 17.05.2020 Learn to use 'quote' and 'code' tag, your post was unreadable,... -> I edited your post Quote:When you add/start a job it does this (so clearly Hybrid intentionally blocks sleep which is good):No it doesn't. Windows blocks the sleep since there are non-local files open in write more. (This is nothing Hybrid does actively.) Also Hybrid has no control over those files during an encoding as they are controlled by the encoder during the encoding. Quote:Are there any settings relating to "sleep" in Hybrid?"Job->Misc->On queue finished" can be set to Hibernate. Other than that: No. Quote:Why is Hybrid blocking sleep when its not doing anything?No clue, since Hybrid isn't actively doing anything to prevent sleep/shutdown/... Quote:Why has this started now, when I have put the PC in sleep countless times before now?Since I haven't changed any code that from my point could be related for years, my guess is Windows changed something with a recent update. Quote:Is this expected behavour?No, but it also was never indented either. Quote:Do I simply need to kill Hybrid when its not in use?If you want to tell Hybrid to close once it's finished, set "Job->Misc->On queue finished" to 'close'. Quote:Or is there a reason why this is happening?No clue how Windows decides whether a program prevents it from hibernating. Cu Selur RE: Hybrid and Sleep - jweaver - 17.05.2020 Cheers.. Sorry about the Quotes.. I was in the middle of doing reboots/sleeps to test this, so I never actually saw the format. Its odd that this just started out of the blue.. For almost 2 weeks I have been sleeping many times per day and Hybrid has ALWAYS been running.. I can live with this obviously and the setting to shut down Hybrid after finishing might help (I must admit, I never even noticed the "misc" tab before now).,.. But its odd how this started out of nowhere.. As you say, perhaps a Windows update did this. Not to worry.. I was just asking if there was any knowledge, tools or features that might help Thanks Jon |