Monitor Won't Go To Sleep

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
buffalox
New Cone
New Cone
Posts: 2
Joined: 14 Nov 2007 05:46

Monitor Won't Go To Sleep

Postby buffalox » 14 Nov 2007 05:52

I've been trying to figure out why my monitor won't go to sleep. As far as I can tell it's only when using VLC Player. I've got my monitor set to go to sleep after 2 hours (I've tried all kinds of different times) and it almost never does when VLC Player is in the foreground (even after it finishes playing).

I looked in this forum and found this suggestion to disable screensaver in advanced mode viewtopic.php?f=14&t=38999&p=121091 but I've already done that and it still doesn't work.

Any suggestions?

DJ
Cone Master
Cone Master
Posts: 8206
Joined: 01 Jan 2006 04:30
Location: Koloa, Hawaii USA

Re: Monitor Won't Go To Sleep

Postby DJ » 17 Nov 2007 06:07

Your monitor won't sleep while you are using VLC.

When your done with VLC right click anywhere on your desktop and select Properties, then go to the Screen Saver Tab, now press Power and OK on each screen. Your Sleep mode should work again. This only seems to be an issue with Laptops.

buffalox
New Cone
New Cone
Posts: 2
Joined: 14 Nov 2007 05:46

Re: Monitor Won't Go To Sleep

Postby buffalox » 17 Nov 2007 10:38

It's not a laptop. Monitor is a Samsung 226BW LCD.

Problem is I run it while going to sleep. So it stays on all night and it's hard to sleep with a big bright monitor in the room.

DJ
Cone Master
Cone Master
Posts: 8206
Joined: 01 Jan 2006 04:30
Location: Koloa, Hawaii USA

Re: Monitor Won't Go To Sleep

Postby DJ » 19 Nov 2007 06:34

So what you want is to hold off the power functions (sleep mode) while the video is playing, but when stopped or paused the the power functions go back to their normal state???

Try feature Requests!

funman
Developer
Developer
Posts: 1159
Joined: 03 Sep 2006 04:03
VLC version: master
Operating System: All of them
Location: Lost, please help me

Re: Monitor Won't Go To Sleep

Postby funman » 19 Nov 2007 08:30

it more looks like a bug on windows :/

CloudStalker
Big Cone-huna
Big Cone-huna
Posts: 2581
Joined: 14 Jan 2007 19:00
VLC version: OVER 9000!!!
Operating System: It's...blue screen
Location: Heaven? No no. What's that other place that starts with an "H"? Oh yes: Home. ^_^

Re: Monitor Won't Go To Sleep

Postby CloudStalker » 19 Nov 2007 13:16

Sing it a lullaby or download the Mp3 and play it back a few times. :lol: No but really I haven't had this problem with VLC so I can't say that this is it. Could you try setting it to just a few minutes and how it works with VLC off and on?

Quovodis
Cone that earned his stripes
Cone that earned his stripes
Posts: 271
Joined: 16 Jun 2004 11:13
Location: Cork, Ireland

Re: Monitor Won't Go To Sleep

Postby Quovodis » 20 Nov 2007 12:57

VLC temporarily suspend power management when video is playing and should restore it when video no longer plays, however if VLC crashes ;) then it may be possible that power management is completely disabled. Usually, logging out and back in should fix the problem

DJ
Cone Master
Cone Master
Posts: 8206
Joined: 01 Jan 2006 04:30
Location: Koloa, Hawaii USA

Re: Monitor Won't Go To Sleep

Postby DJ » 20 Nov 2007 17:50

VLC does suspend Power Management, it does NOT restore it. It only happens on Videos and has done it since 0.8.2 (or earlier) on every machine I have installed VLC on. It's also NOT the first time this issue has come up here or in TRAC.

yebyen
New Cone
New Cone
Posts: 1
Joined: 27 Nov 2007 04:26

Re: Monitor Won't Go To Sleep

Postby yebyen » 27 Nov 2007 04:33

I second this feature request, I like to set a video and watch it while I go to sleep. My monitor and speakers' power supplies are connected, so this would work well.

Unfortunately I have to get up and turn off the monitor before falling asleep, or I risk leaving my sleep cycles hostage to Skype callers from around the world. :-(

ed: hmm, unfortunately this feature is totally unfeasible for DVDs, as they don't actually terminate, only recycle to the menu and loop repeatedly. Anyone with a better handle on the code want to say would it be possible to modify this behavior without upsetting too many applecarts?

CloudStalker
Big Cone-huna
Big Cone-huna
Posts: 2581
Joined: 14 Jan 2007 19:00
VLC version: OVER 9000!!!
Operating System: It's...blue screen
Location: Heaven? No no. What's that other place that starts with an "H"? Oh yes: Home. ^_^

Re: Monitor Won't Go To Sleep

Postby CloudStalker » 27 Nov 2007 05:57

The only thing that I can think of is this newer feature that's being added to VLC 0.9.0 that'll shut off VLC media player after all items in the playlist are played, at that point I guess since the player is off the monitor can go back to its normal function. :P

DJ
Cone Master
Cone Master
Posts: 8206
Joined: 01 Jan 2006 04:30
Location: Koloa, Hawaii USA

Re: Monitor Won't Go To Sleep

Postby DJ » 27 Nov 2007 09:23

DVD simple plays the movie and stops at end. No Menus.

bachok83
New Cone
New Cone
Posts: 2
Joined: 24 Mar 2008 14:48

Re: Monitor Won't Go To Sleep

Postby bachok83 » 24 Mar 2008 15:08

The only thing that I can think of is this newer feature that's being added to VLC 0.9.0 that'll shut off VLC media player after all items in the playlist are played, at that point I guess since the player is off the monitor can go back to its normal function. :P
erk, i dont think that would fix the prob. From my experience, once i play anything on VLC (once VLC is launched) the power management for the monitor is suspended, fine. But then, it doesnt matter what u do, exit VLC, whatever at all, the power management of the monitor wont come back.

VLC is a very nice player, i love it so much, but i dont wanna keep switching off my monitor manually.

Species8472.5
New Cone
New Cone
Posts: 4
Joined: 29 Mar 2008 18:47

Re: Monitor Won't Go To Sleep

Postby Species8472.5 » 29 Mar 2008 18:58

I have this exact same problem on four different machines (three desktops, one laptop) all running Windows XP Home.

Currently, they're all updated to 0.86e, and the problem with Advanced Power Management in Windows is still there — if VLC Player plays anything, the monitor's sleep mode gets disabled, and after VLC player is closed, the monitor will never power-off. This is *extremely* annoying as it's a pain to restore the APM settings every time you play something... ;)

IMO, the easiest way to fix this would be to update the "window-close" event-handler in VLC so that restoring the APM settings for the monitor is the very first thing that is done when you choose File>Close, click the close button on the window's title bar, or press ALT+F4. That way, even if VLC crashes during shutdown, at the very least your APM settings should be back to normal. ;)

Species8472.5
New Cone
New Cone
Posts: 4
Joined: 29 Mar 2008 18:47

Re: Monitor Won't Go To Sleep

Postby Species8472.5 » 24 Apr 2008 03:10

Noticed something new which may help nail down this bug...

If you switch VLC Player (0.86f) to use skin mode (Start>>All Programs>VideoLAN>Quick Settings>Interface>Set Main Interface Skinnable) the APM/monitor-sleep behaviour changes. If you play something in skinned mode, then close VLC Player, the monitor will actually try to sleep, but it will only go off for about 1 second, then come back on (this actually seems to loop at this point — if you have your APM set to turn the monitor off after 5 min, 5 minutes will pass and then the monitor will wink off for 1 second, then another 5 min will pass followed by another wink, and so on...)

romeouald
New Cone
New Cone
Posts: 2
Joined: 10 May 2008 10:40

Re: Monitor Won't Go To Sleep

Postby romeouald » 10 May 2008 10:43

i have the same problem, and it's extremely annoying, because i watch a movie to fall asleep to, but my monitor does not the same thing after movie is over :?

will there be a fix for this bug in the next version?

bugmenot
Blank Cone
Blank Cone
Posts: 91
Joined: 03 Feb 2008 16:15

Re: Monitor Won't Go To Sleep

Postby bugmenot » 24 May 2008 01:15

I had this problem on 2 different computers and fixed the problem. It was such an annoyance that I had to share the fix with everyone.

First, install newest VLC player (0.86f as of this post)

Second, go to "Control Panel" -> "Display" -> Go to the "Screen Saver" tab. Change your screensaver to "NONE". Remaining on the "Screen Saver" tab under "Monitor Power" near the bottom, click "Power" to adjust power settings. Under the "Power Schemes" tab, set "Turn off monitor" to "After 1 min".

Now open up VLC media player. Click "Settings" -> "Preferences". In the bottom right corner, check the box that says "Advanced options". Now on the left hand side under Preferences, choose "Video". The General Video Settings comes up. Scroll down and UNCHECK "Disable screensaver". Now click "SAVE", close VLC player, reboot computer.

Everything should work, and now the monitor will shut off a minute after a VLC video closes.

Species8472.5
New Cone
New Cone
Posts: 4
Joined: 29 Mar 2008 18:47

Re: Monitor Won't Go To Sleep

Postby Species8472.5 » 14 Sep 2008 16:57

New information which may help to identify the bug :

As noted by DJ above, when the monitor fails to sleep, right-clicking the desktop and choosing properties>screensaver>power> then choosing OK and OK will restore the monitor's power-off / sleep functionality.

However... In trying to minimize the number of steps required to restore normal power-saving behaviour after running VLC 0.86i, I've discovered something. I went into the control panel, located the "Power Options" applet, right-clicked on it, and chose the "create shortcut" option. With this shortcut pinned to the Start Menu, I could go directly to the power options with a single click, avoiding the extra dialog boxes encountered when accessing the power management panel from the desktop.

This is where it gets interesting though... If I ran VLC Player, closed it, and then used my shortcut to adjust and save the power settings, the monitor WOULD NOT ENTER SLEEP MODE! There's something special about accessing the power settings via the desktop, as doing it that way DOES restore the monitor's sleep ability.

The only thing that I can think of is that it might have something to do with the fact that VLC Player ties itself into the desktop so that it can replace your desktop wallpaper with live video. Perhaps when it shuts down, it isn't releasing the desktop properly...? This would explain why adjusting the power settings via the desktop properties retores power-saving features to normal while adjusting the power-setting directly has no effect — the first method adjusts the desktop itself, while the second method doesn't.

Species8472.5
New Cone
New Cone
Posts: 4
Joined: 29 Mar 2008 18:47

Re: Monitor Won't Go To Sleep

Postby Species8472.5 » 14 Sep 2008 17:02

Hey bugmenot! :)

Didn't notice that this thread had a "page 2" before I posted! Thanks for sharing that info — I'll give it a try!


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Bing [Bot] and 42 guests