View Full Version : DVD Rebuilder, how to avoid sleep mode on Windows 7?
Edsel
21st February 2010, 20:15
Just got a new machine, and ran DVD Rebuilder last night. I set up a batch, and went to bed as usual. When I got up, the machine was in sleep mode.
However, when I woke it up, I found that the first two discs had been processed, but the HC encoder windows were all still open in the middle of the third disc. After waking, they then continued on.
Shouldn't the sleep mode not kick in while the machine is under full load? Obviously, I can disable the sleep mode entirely, but I'd rather have it work than not.
Any settings I can change to get sleep mode to not kick in until after DVD Rebuilder is done?
jdobbs
21st February 2010, 22:04
Your system should be doing that on its own... it really isn't something that is under the control of DVD-RB.
laserfan
21st February 2010, 23:54
I have found Windows 7 to be a nightmare for its new Sleep rules myself. I've taken to creating batch files for my x264 recodes e.g.
@echo First prevent from going into Standby!
@echo ON
powercfg -change -standby-timeout-ac 0
powercfg -change -monitor-timeout-ac 1
@echo OFF
*place my x264 commands in here*
@echo Go into Standby mode!
@echo ON
powercfg -change -standby-timeout-ac 5
@echo OFF
echo.
PAUSE
@echo Now that I've captured my x264 output, resume normal power settings
powercfg -change -standby-timeout-ac 30
powercfg -change -monitor-timeout-ac 10
Not sure how I'd do this with DVD-RB (I've not yet installed it to this new machine I'm switching-over to) but I'm disappointed to learn that Windows 7 bites into this one as well. :(
jdobbs
22nd February 2010, 01:00
I have "Never" set in the Power Options for "Sleep" on my video encoding machine.
laserfan
22nd February 2010, 15:27
I have "Never" set in the Power Options for "Sleep" on my video encoding machine.Sure your "video encoding machine" is probably cranking on something most all the time anyway. But for folks like me where we do an *occasional* long process which W7 doesn't recognize as "busy-ness" i.e. x264 encoding, the new power system just plain sucks. I'm sure if Bill Gates had any idea of how many people are just giving-up on W7's Power savings modes and using "Never" he would be embarrassed.
It seems a while back when I checked what one of my PCs was costing me to run 24/7 it was something like $20-30 month which I think is A LOT! :devil:
Someone needs to figure-out how to retrofit W7 to use XP's power saving methods instead. When I dual-boot this PC into XP it Sleeps and wakes-from-sleep perfectly well. W7 does neither of these for me.
Edsel
26th February 2010, 16:02
I`m the opposite. Windows 7 sleep mode is working too well. :) XP never slept properly at all for me, so I'm glad 7 actually works. I guess I'll just have to manually change it before I run a batch.
Or change my habits. My old machine took 3 hours a disk, so running it overnight was my only option. This one is so fast, that I can run a batch while eating dinner. :)
bennynihon
9th February 2011, 05:21
Rather than start another thread on this, I'd like to encourage jdobbs to add functionality to BD-Rebuilder to prevent it from entering standby / sleep while BD-Rebuilder is actively processing a backup. This can be done using standard Windows APIs. There's more information on the topic here.
http://stackoverflow.com/questions/56046/stop-system-entering-standby
Only once all active processing is complete by BD-Rebuilder should it no longer signal to Windows that it should prohibit entering standby.
Currently I have Windows set to enter standby after 30 minutes of inactivity, yet BD-Rebuilder still enters standby despite this (it seems to happen after the encoding is done with x264 and is in the rebuild process). If BD-Rebuilder is updated to properly signal to Windows that it is active, I don't have to worry about overnight rebuilds "pausing" in the middle of operation. Nor do I have to resort to leaving my PC on at all times, even when not being used at all.
I appreciate this being added.
jdobbs
9th February 2011, 05:31
Rather than start another thread on this, I'd like to encourage jdobbs to add functionality to BD-Rebuilder to prevent it from entering standby / sleep while BD-Rebuilder is actively processing a backup. This can be done using standard Windows APIs. There's more information on the topic here.
http://stackoverflow.com/questions/56046/stop-system-entering-standby
Only once all active processing is complete by BD-Rebuilder should it no longer signal to Windows that it should prohibit entering standby.
Currently I have Windows set to enter standby after 30 minutes of inactivity, yet BD-Rebuilder still enters standby despite this (it seems to happen after the encoding is done with x264 and is in the rebuild process). If BD-Rebuilder is updated to properly signal to Windows that it is active, I don't have to worry about overnight rebuilds "pausing" in the middle of operation. Nor do I have to resort to leaving my PC on at all times, even when not being used at all.
I appreciate this being added. Hmm... the only time I block it from entering sleep/hibernation is during the X264 encodes. I didn't think about rebuilds because I guess I just never thought of them taking long enough for it to kick in.
I'll look at it.
bennynihon
9th February 2011, 06:55
OK cool. At least that lines up with what I'm seeing with it going to sleep during rebuilding. It resumes just fine when I restart the computer, but this prevents me from doing batch encodes since it'll fall asleep during the rebuilding of the first movie. Again, thanks for looking into this.
bennynihon
9th February 2011, 15:41
Actually I think there's more to it. My machine apparently wasn't going to sleep during rebuilding. For a single movie encode, it was indeed going to sleep after rebuild (since I have it set to 30 minutes of inactivity), but what was happening is that because I wasn't having BD-Rebuilder delete the WORKFILES, it was automatically rebuilding when the computer would awake. This actually points to a slightly different "bug". Perhaps BD-Rebuilder needs a way to sense if it's already been rebuilt or not. Personally this doesn't bother me, since I'll just continue to have it remove the WORKFILES now.
It does however enter standby when doing a batch encode, since the rebuild time of the first movie and the extract streams from the second movie can often exceed the limit set in Windows. Still would be cool if you could prevent it from entering standby during rebuild and extract, in addition to encode. Thanks!
jdobbs
9th February 2011, 16:38
Actually I think there's more to it. My machine apparently wasn't going to sleep during rebuilding. For a single movie encode, it was indeed going to sleep after rebuild (since I have it set to 30 minutes of inactivity), but what was happening is that because I wasn't having BD-Rebuilder delete the WORKFILES, it was automatically rebuilding when the computer would awake. This actually points to a slightly different "bug". Perhaps BD-Rebuilder needs a way to sense if it's already been rebuilt or not. Personally this doesn't bother me, since I'll just continue to have it remove the WORKFILES now.
It does however enter standby when doing a batch encode, since the rebuild time of the first movie and the extract streams from the second movie can often exceed the limit set in Windows. Still would be cool if you could prevent it from entering standby during rebuild and extract, in addition to encode. Thanks! BD Rebuilder already senses when rebuild is complete. It sets a group of indicators in the INF file as it moves through the disc. (ENCODE_STEP tells it where it is for an individual M2TS/CLPI, COMPLETED shows which M2TS/CLPI is the current one, and REBUILD_COMPLETE is set when the final disc has been built)
I'll change the location of the sleep prevention code so it does it at the beginning and end of jobs rather than before/after encodes.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.