PDA

View Full Version : Problem with Auto-Shutdown


archaeo
31st May 2004, 00:37
Have not had any success with the auto shutdown option, when using the one-click option. I usually come home or awaken to a 'frozen' OS, when it has finished.

I am wondering if it may possibly be the anti-virus and/or firewall software that is tripping it up, or, could it actually be a bug in RB?

Any other users finding this trouble with this autoshutdown feature? I'd really like to get this one solved so I could leave it overnight for those long projects.

I'm running v.50a with W2K.

thanks

luphy
31st May 2004, 00:47
Try running DVD-RB without the antivirus and firewall on to test. And definitely close all unnecessary programs.

Obviously, if you're going to turn off firewall, maybe disconnect from your cable/DSL for testing purposes.

wmansir
31st May 2004, 02:08
To help you test this out, try seeing if the Batch processing shutdown option has this problem. (just turn it on and start batch processing without any jobs and it should immediatly bring up the shutdown window.) If it doesn't that might help jdobbs figure out what the problem is. If it does it will at least give you a simple way to test it out.

archaeo
31st May 2004, 05:26
To help you test this out, try seeing if the Batch processing shutdown option has this problem. Try running DVD-RB without the antivirus and firewall on to test.

Tried these tests and yes, it does the same thing when I go through the batch process auto-shutdown, and with the AV and FW disabled. So, either way it is not shutting down properly. It looks like it begins to shut down normally, but then the OS goes into a safe mode & freezes. Have to reboot to shut down properly.

Any ideas, or others having the same problem?

archaeo
1st June 2004, 18:29
any others who have also had a problem w/suto shutdown? If not, it would tend to indicate it is just a problem within my system...

thanks


a

bohemian
1st June 2004, 18:38
I have slightly different problem than archaeo.
My OS is also Windows 2000, and my problem is that the system almost shuts down.
The operating system is unloaded as it would when I shut the sytem down manually, but it gets as far as I hear my hard drives shut down but the fans and my video card stay on.

The screen displays "It is now safe to turn off your computer" and stays like that until I hit the power button. Normally I do not see this message, as the system turns off fast enough that I dont see it.

To test the ability of my system to be shut down automatically by a software package, I tried this with Nero Recode 2 which has a check box to shutdown when finished processing.
The result was my system did shut down completely.

So is it possible there may be some command instuction missing in your shutdown routine? Maybe this only affects Win2k.

jdobbs
1st June 2004, 18:49
I'll post the process I go through to shutdown the computer. Maybe one of the programmers here can tell me what I'm doing wrong... It seems to be pretty straightforward, just and OS call.

archaeo
1st June 2004, 19:06
The screen displays "It is now safe to turn off your computer" and stays like that until I hit the power button.

jdobbs,
Yes, I get the same screen display (which looks like the windows 'safe mode' display), but the system is completely frozen and cannot be shut down normally with the power button- I have to push the restart system button to reboot, then shut it down manually.

Ok, so at least I know I am not the only one, and maybe it is a RB-W2K problem... thanks bohemian.

archaeo
7th June 2004, 20:09
I'll post the process I go through to shutdown the computer. Maybe one of the programmers here can tell me what I'm doing wrong... It seems to be pretty straightforward, just and OS call.


jdobbs,

I know you are pretty busy, but just wondering if you are still planning on posting this at some point in the future, to try to solve this problem. I am still not getting an auto shutdown when using this option in either one-click or batch processing mode.


thanks

Joergen
7th June 2004, 21:11
Which OS is it where it doesnt work?

I know that for W2K there is a shutdown call that goes only to the "it is now safe to turn off your computer" but doesnt cut power. And the other call cuts power as it should.

archaeo
7th June 2004, 23:34
Which OS is it where it doesnt work?

It is the W2K OS. There were other users who had the same problem, which goes to that window message "it is now safe to shut down your computer", but no farther. In mine, it actually froze the system, forcing me to reboot before being able to shut down normally.

bohemian
8th June 2004, 08:15
archaeo, as a test download Shutdown.exe (http://aumha.org/downloads/shutdown.zip) from the site below and see if your system shuts down properly.
My system will only go as far as the "Safe to turn the computer off screen" using DVD-RB, but this app shuts down my Wn2k system fine.
If your system shuts down correctly, then you know your system is fine.

To save you messing around, at a command prompt change the path to the shutdown program and type shutdown -u -t 10 (Will shut down in 10 secs)

http://aumha.org/win5/a/shutcut.htm

archaeo
8th June 2004, 15:28
bohemian,

thanks for the link - I'll give it a try and report back my result.

archaeo
9th June 2004, 18:34
Loaded and executed Shutdown.exe, and it powered down my W2K OS perfectly. Afterword, I tried Rebuilder's auto shutdown again, and got the same result - A window stating "It is now safe to turn off your computer", but no farther.

So, it seems that the problem may be within the code for Rebuilder's auto-shutdown sequence...

archaeo
24th June 2004, 15:51
jdobbs,

Any possibility that the one click auto shutdown problem in RB could be addressed in .54? I think if it were set to 'power-off' it would take care of what some of us are experiencing on those overnight projects, where it just goes to the message "it is now safe to turn off your computer". Up to this point I've basically hacked a separate 'poweroff' program on to try to deal w/this... But it would be nice to see it work smoothly in RB itself.

thanks

wmansir
27th June 2004, 05:52
This option has been tweaked in v0.54, so some feedback from people encountering a problem with this issue would be great.

archaeo
27th June 2004, 17:48
Just downloaded and tested v.54 for this on my W2K OS- it shutdown perfectly, both in one-click and batch mode. Cancel function works too.

many thanks jdobbs, for resolving this! :D

th3m
28th June 2004, 11:56
I have the same problem with auto shutdown too. I use win2k and when it finishes the job it just takes my computer to the screen "It is now safe to turn off your computer". (ver 0.53a)

Btw congrats about this proggie ;)

(hmm havent tested it with 0.54, i ll try tonight)

jdobbs
28th June 2004, 23:32
Originally posted by th3m
I have the same problem with auto shutdown too. I use win2k and when it finishes the job it just takes my computer to the screen "It is now safe to turn off your computer". (ver 0.53a)

Btw congrats about this proggie ;)

(hmm havent tested it with 0.54, i ll try tonight) 0.54 should fix it.

th3m
29th June 2004, 13:41
Originally posted by jdobbs
0.54 should fix it.

yeap, is fixed :D

thanx

bohemian
30th June 2004, 06:05
Works goodly on my Win2K system, top stuff :)

wmansir
30th June 2004, 06:30
OK. It looks like v0.54 fixed this. I'm going to close the bug in the sticky.

Rippraff
11th May 2005, 05:07
Sorry to say that in my case the problem isn't solved.
I've tried the auto-shutdown for month, but didn't work in just one case. :(
Like the others I'm working with Win2k SP4, no other software is running during RB runs.
The result is always the same: After RB has finished the rebuild phase it seems the auto-shutdown function starts and freezes always five seconds before end. This happens in one-click mode and in batch-mode too.
Every morning (and I've tried it the last three nights) I find my pc running with this frozen message on the screen (clicking the "cancel"-button has no effect):

http://www.rippraff.de/Pics/RB_shutdown.jpg

Currently I'm running 0.91Pro but it happened with all other versions as well.
Another strange thing: I can still work with my pc, after a while (maybe one or two minutes) the counter of the auto-shutdown function switches back to 10 seconds and the machines shuts down.:confused:

By the way, when I test it in batchmode without loading a project file it also shuts down perfectly.

I can't make head nor tail of it but would like to have this function working...

Cu Rippraff

Fiebre
11th May 2005, 05:15
Heh I've never had any trouble with auto shutdown until version .91 Then it held up at 5 seconds just like the previous image. Glad to know I wasn't the only one.

jdobbs
11th May 2005, 13:09
I'm at a loss as to how to explain this. I just looked at the DVD-RB code for this and all it does it go into a loop that calls the windows sleep function with a 1000 millisecond parameter. It does it 10 times, decrementing the counter for each and checking to see if the "Cancel Shutdown" button was pushed within the last 1000 milliseconds.

It's a total of 9 lines of code with not a lot to go wrong.

alfixdvd
11th May 2005, 13:26
@jdobbs

A Hint:
In the loop, you have anything like Application.ProcessMesages of Delphi, to yielding control to the S.O, to avoid frozen message. ?


Best regards.

Oldeman
11th May 2005, 16:40
DVD-RB.91 Pro, WinXP home SP2, HT P4, 1024Mb.

DVD-RB shutdown when done hangs w/5 sec remaing message on screen.
overwise works well with HC encoder.:(

jdobbs
11th May 2005, 18:44
Originally posted by alfixdvd
@jdobbs

A Hint:
In the loop, you have anything like Application.ProcessMesages of Delphi, to yielding control to the S.O, to avoid frozen message. ?


Best regards. Yes, I allow events to occur in the loop.

jdobbs
11th May 2005, 18:45
Originally posted by Oldeman
DVD-RB.91 Pro, WinXP home SP2, HT P4, 1024Mb.

DVD-RB shutdown when done hangs w/5 sec remaing message on screen.
overwise works well with HC encoder.:( Interesting that it always stops with 5 seconds on the screen.... I wonder what the significance of that could be?

Rippraff
11th May 2005, 23:19
Maybe I should have posted this before... ;) :p

This morning my pc has been switched off! :cool:
The last job run in one-click mode, the only difference to all other attempts in the last months was that I've left the RB-Window on top. Usually I minimize RB before I go to bed, the monitor switches off after 3 minutes therefore there's no reason to leave it on top. ;)
Today afternoon I made another attempt, this time batch-mode => same result, pc shuts down. *jippie*

Maybe someone else can check this out?

Cu Rippraff

archaeo
15th May 2005, 14:48
yeah, it's back. I haven't had a problem with this since it was resolved back in v54. Funny it should start in v91, v92

Happens in one click mode, same as described above - hangs in the 5 second message.

Oldeman
15th May 2005, 14:57
DVD-RB.92 Pro, WinXP home SP2, HT P4, 1024Mb.

This time I ran it with DVD-RB minimized and it shutdown on completion. Of couse, this was with .92 versus .91.:sly:

Rippraff
15th May 2005, 15:16
0.92 Pro, Win2k SP4, AMD XP-M 2600+, 1024 MB RAM

Made another test last night, this time CCE SP 2.70, one-click mode, OPV, (the tests I mentioned earlier where with Procoder2):

RB on top: Shutdown is working perfectly. :)
RB minimized: PC hangs like I posted 4 days ago. :confused:

Cu Rippraff

archaeo
15th May 2005, 15:27
:confused:

interesting... I'll have to check on my next project whether RB was minimized.

Jack'n'xbox
8th September 2005, 19:37
I now have the same problem as Rippraff. it just stops there at 5 seconds.
I use 5.1 and cce 2.50 whit XP.

Digga
13th April 2006, 15:06
RB on top: Shutdown is working perfectly. :)
RB minimized: PC hangs like I posted 4 days ago. :confused: the same problem described in post #23 by Rippraff does also happens here. after the second time I noticed this I did another movie with DVD-RB on top and it did shut down properly.
having it in minimized mode produces the '5 secs shutdown bug'.

Movies done:
Rounders (R2): encountered bug with DVD-RB minimized (CCE).
Casshern (R2): encountered bug with DVD-RB minimized (CCE).

problem was solved with Casshern using CPC2 and DVD-RB on top.

tested with DVD-RB Pro 1.09.2 and CCE SP 2.7, no Ecl on WinXPSP2. No other apps running in the background.

-------------------------------------

jdobbs if you need any further infos I'm happy to provide them if I can. it would be nice if this issue could be fixed instead of worked around.

Rippraff
13th April 2006, 17:13
Nice that it takes nearly a year to confirm this behaviour. :D

Cu Rippraff

jdobbs
13th April 2006, 17:38
I guess that indicates how often the auto-shutdown is used... Still no idea why it does this. I'll look at it again.

Digga
13th April 2006, 19:13
Nice that it takes nearly a year to confirm this behaviour. :DI know you would appreciate it :)
I guess that indicates how often the auto-shutdown is used.I personally find the feature very useful. this way, I can start a one-click-mode session and let the computer work while I sleep, work or whatever without it running all night, wasting power.
Still no idea why it does this. I'll look at it again.that would be nice. if I can help you with anything you got my number... uhm, I mean nickname and... stuff.

Rippraff
13th April 2006, 19:25
I guess that indicates how often the auto-shutdown is used...
I'm pretty sure a lot of people use this feature. I check it on almost every encode but maybe the bug happens only to a few persons.
I can live with the workaround as it makes no difference for me if RB is on top or minimized. :)

Cu Rippraff

powerslave
13th April 2006, 23:32
Rippraff: Thanks for that info! This had been happening to me of late and i thought maybe my OS was starting to get bonked (XP) haha. I will try leaving it open instead of minimized tonight to confirm it.

Rockas
21st April 2006, 20:01
Let me see... if the window is opened it shuts down if it is minimized it doesn't?

ummm...
@jdobbs
can't you just add a "un-minimize" command before the "shutdown" routine ;)

jdobbs
21st April 2006, 20:15
Good idea. But I still wonder why it makes a difference.

Digga
21st April 2006, 20:15
Let me see... if the window is opened it shuts down if it is minimized it doesn't?
ummm...
@jdobbs
can't you just add a "un-minimize" command before the "shutdown" routine ;)NO! I refuse to accept this workaround. if I don't get a proper fix out now I will gather my followers and gain world domination and... followers? huhu? uhm... well, then I politely request a real fix...
argh... ah well, anything that works is most appreciated, last word ;)

Digga
21st April 2006, 20:16
Good idea. But I still wonder why it makes a difference.if you need some testing I would gladly assist.

Jack'n'xbox
22nd April 2006, 01:26
I noticed that this could be related to multiple users on one computer. It seems to me that it was when I set up my kids on the pc that it started happening to me.

Luck

Rippraff
22nd April 2006, 11:01
Can't confirm this. I'm the only one who works on my pc.

Cu Rippraff

JohnGalt
22nd April 2006, 17:34
The result is always the same: After RB has finished the rebuild phase it seems the auto-shutdown function starts and freezes always five seconds before end. This happens in one-click mode and in batch-mode too.
Every morning (and I've tried it the last three nights) I find my pc running with this frozen message on the screen (clicking the "cancel"-button has no effect):

This is my experience as well, except that when I click "Cancel," the timer restarts itself and begins counting down again. I'm the only user on my box (or anyone else that uses it uses my acc't), and I've tried with dvd-rb minimized and not minimized -- doesn't seem to make any difference. I do have norton utilities (antivirus, etc.). I think someone suggested that virusscanners might interfere with dvd-rb somehow. anyway, just thought I'd add my voice to those who have this problem. I'd certainly be willing to help troubleshoot the problem, if I knew better what to tell you all.

jdobbs
22nd April 2006, 21:21
When you say it "restarts itself" do you mean that the timer starts at 10 seconds and starts to click or does it count down from 5 seconds?

Rippraff
22nd April 2006, 21:29
If I remember correctly it restarts at 10 seconds.
Edit: Yes
Another strange thing: I can still work with my pc, after a while (maybe one or two minutes) the counter of the auto-shutdown function switches back to 10 seconds and the machines shuts down.:confused:
Source (http://forum.doom9.org/showthread.php?p=652466#post652466)

Cu Rippraff

jdobbs
22nd April 2006, 21:33
If so, that means the problem is that the countdown clock never starts. The "5 seconds" is the default text that is displayed before the clock actually starts ticking.

Rippraff
22nd April 2006, 21:38
The "5 seconds" is the default text that is displayed before the clock actually starts ticking.
:confused: Why is "5 seconds" the default text when it normaly starts with "10 seconds"?

Cu Rippraff

jdobbs
22nd April 2006, 23:44
Because on the original version the timeout was 5 seconds. Since you normally wouldn't be able to see it anyway, I never changed it. I just tried several tests to see if minimizing would make a countdown clock stop... but it worked ok every time.

JohnGalt
23rd April 2006, 02:47
If I remember correctly it restarts at 10 seconds.

exactly. it shows five secs on the clock, frozen. then when I click 'cancel,' the clock jumps to 10 and starts counting down.

Rippraff
23rd April 2006, 13:05
Since you normally wouldn't be able to see it anyway, I never changed it.
I still don't understand what you mean. There is always a small window poping up with 10 seconds and a "Cancel Shutdown" button. I've tested it again last night with batch processing without a job inside. So why wouldn't I be able to see it?

Cu Rippraff

jdobbs
23rd April 2006, 13:34
If it works correctly, the clock starts immediately upon opening the form. So the "10 seconds" text is inserted before you would even be able do see the default text.

dragongodz
23rd April 2006, 13:40
what jdobbs means is the window is create with the text "5 seconds" and then that is changed to the countdown, so "10 seconds" etc. right away. you wont see the 5 seconds because that change should happen practically instantlly.

hmm this is a weird one though. he window is obviously working since you can cancel it and it will then go on to the countdown. so it must be something between these 2 events thats going wrong. there shouldnt be. also why would CCE's state effect it ?

as i said, strange.

Rippraff
23rd April 2006, 13:47
@jdobbs
Okay that's clear now, thanks.

Cu Rippraff

Jack'n'xbox
23rd April 2006, 17:53
This is my experience as well, except that when I click "Cancel," the timer restarts itself and begins counting down again. I'm the only user on my box (or anyone else that uses it uses my acc't), .

This is what's happening to me also.

jdobbs
23rd April 2006, 18:11
I can't get it to fail for me. I also can see no reason why it should act differently when minimized. I've modified v1.09.3 so it automatically un-minimize before making the O/S calls for shutdown. Hopefully that will correct it.

Digga
3rd May 2006, 01:36
I've modified v1.09.3 so it automatically un-minimize before making the O/S calls for shutdown. Hopefully that will correct it.working fine here so far, thanks.

jdobbs
3rd May 2006, 01:39
Cool. :cool: Every now and then, just occasionally mind you, I do something right.

Digga
3rd May 2006, 01:45
Cool. :cool: Every now and then, just occasionally mind you, I do something right.it's rare enough, hopefully you have learned your lesson. now, hush, back to your little coding prison or there will be no new DVDs for you to encode for five days. uh, I forgot, and no food and stuff either.
:devil:

jdobbs
3rd May 2006, 03:17
No DVDs? You monster...