Error: Windows power option not deactivated during playback

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.
GabbO2
New Cone
New Cone
Posts: 6
Joined: 26 Mar 2010 21:14

Error: Windows power option not deactivated during playback

Postby GabbO2 » 26 Mar 2010 21:25

Hi.

I have the problem that while watching videos with VLC the windows power options are not deactivated. At least not all (the monitor does not goes to standby). This results my PC going every 30 minutes to sleep. This happens with all versions of VLC i tried (from 0.86 to current).
This happens to reocurr on some Windows (various versions) installations, no idea what is the reason. Sometimes it's OK, sometimes it's present. On the windows installations that are affected, the problem persists in each version, on the ones that aren't affected every build works.

I tried everything to rule out bad settings or installations, tried to delete everything, or just the preferences.

I would be thankful if someone could help.
Please tell me if I could provide any useful info.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Error: Windows power option not deactivated during playb

Postby VLC_help » 27 Mar 2010 18:32

You start VLC with admin rights?

Seise
New Cone
New Cone
Posts: 1
Joined: 28 Mar 2010 11:29

Re: Error: Windows power option not deactivated during playb

Postby Seise » 28 Mar 2010 12:25

I have this very same problem:
While watching a video, VLC seems to ignore my powersettings and set my computer to suspend-mode after 25-30 mins of watching ( I think It's 30).

What I have tried:
- I've changed the power options from the Windows' control panel, but it doesn't help, this seems to use the one which was set when program was installed.
- Other VLC versions
- Other media player (wmp), there were no problem with it
- Tested to run VLC with (and without) admin rights

My computer (in case of compability issues)
OS: Windows 7, 64bit
Processor: Intel i5
GPU: NVidia 9800+ gtx
Motherboard: Asus P7P55D motherboard

GabbO2
New Cone
New Cone
Posts: 6
Joined: 26 Mar 2010 21:14

Re: Error: Windows power option not deactivated during playb

Postby GabbO2 » 30 Mar 2010 12:52

I am logged in with admin rights, UAC disabled.

Just like the poster before me, i tried the same things. Only happens with VLC.
Actually VLC manages to disable the screen saver and monitor off inside the power options, just the computer keeps going to sleep...

stevedee3
Blank Cone
Blank Cone
Posts: 83
Joined: 30 Jun 2007 12:59
VLC version: 1.1.3
Operating System: Windows 2000
Location: Melbourne, Australia

Re: Error: Windows power option not deactivated during playb

Postby stevedee3 » 30 Mar 2010 14:28

Works OK on my Windows 2000 system. Only in full screen mode, if I remember correctly.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Error: Windows power option not deactivated during playb

Postby VLC_help » 30 Mar 2010 16:52

GabbO2: you also run Windows 7?

GabbO2
New Cone
New Cone
Posts: 6
Joined: 26 Mar 2010 21:14

Re: Error: Windows power option not deactivated during playb

Postby GabbO2 » 31 Mar 2010 10:38

Yes, Win7 Pro x64.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Error: Windows power option not deactivated during playb

Postby VLC_help » 31 Mar 2010 17:24

OK. It seems the commands (SPI_GETPOWEROFFTIMEOUT etc.) VLC uses to disable screensavers aren't supported in Windows 7.
http://msdn.microsoft.com/en-us/library ... S.85).aspx http://git.videolan.org/?p=vlc.git;a=bl ... w/common.c
So code changes are needed.

GabbO2
New Cone
New Cone
Posts: 6
Joined: 26 Mar 2010 21:14

Re: Error: Windows power option not deactivated during playb

Postby GabbO2 » 27 Nov 2010 14:46

Is there any news on this error? It is quite disturbing having to wobble the mouse every 30min to prevent the PC to go to sleep. Every other software is still working without having this issue. I'm now on VLC 1.1.4

PS: I have bought a new laptop with Win7 X64 Home Prof. installed, and it does NOT have the issue with going to sleep during playback.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Error: Windows power option not deactivated during playb

Postby VLC_help » 27 Nov 2010 16:19

I will change the whole screensaver part for Windows builds at some point. After that it should work better.

GabbO2
New Cone
New Cone
Posts: 6
Joined: 26 Mar 2010 21:14

Re: Error: Windows power option not deactivated during playb

Postby GabbO2 » 22 Sep 2011 07:33

Still no improvement on this topic?
I just have installed a new copy of Win7 x64 on a new machine, and sadly is still goes to sleep
during full screen video playback with VLC.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Error: Windows power option not deactivated during playb

Postby VLC_help » 22 Sep 2011 20:05

I sent patch but it wasn't accepted.

GabbO2
New Cone
New Cone
Posts: 6
Joined: 26 Mar 2010 21:14

Re: Error: Windows power option not deactivated during playb

Postby GabbO2 » 25 Sep 2011 23:14

Opened Ticket #5380

fun2bwith
New Cone
New Cone
Posts: 2
Joined: 06 Nov 2011 02:30

Re: Error: Windows power option not deactivated during playb

Postby fun2bwith » 06 Nov 2011 02:33

Still no improvement on this topic?
I just have installed a new copy of Win7 x64 on a new machine, and sadly is still goes to sleep
during full screen video playback with VLC.
Apparently still no fix on this issue. I hope a fix comes out soon, as I love to use VLC player.
I'd rather not have to go back to Media Player Classic. :lol:

fun2bwith
New Cone
New Cone
Posts: 2
Joined: 06 Nov 2011 02:30

Re: Error: Windows power option not deactivated during playb

Postby fun2bwith » 07 Nov 2011 01:20

Hey VLC_Help ... Are there any info out on a new release on the player, that might have a correction for this issue?

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Error: Windows power option not deactivated during playb

Postby VLC_help » 07 Nov 2011 16:17

It won't be fixed anytime soon AFAIK. I prolly have to write a new filter module for this since it seems to be only reasonable way to do this.

SithFire
New Cone
New Cone
Posts: 2
Joined: 08 Jan 2012 13:21
VLC version: 2.0.0 Twoflower
Operating System: Windows / Linux
Location: Germany

Re: Error: Windows power option not deactivated during playb

Postby SithFire » 08 Jan 2012 14:05

Does the problem still exist with the newest vlc version? - I cannot reproduce this bug using win7-x64 and vlc 1.1.11. I can see within the coding, the probable cause could already be fixed (http://git.videolan.org/?p=vlc.git;a=bl ... w/events.c and http://msdn.microsoft.com/en-us/library ... 85%29.aspx). Look for "SetThreadExecutionState".

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Error: Windows power option not deactivated during playb

Postby VLC_help » 08 Jan 2012 14:55

Thanks. I will try that during next weekend.
EDIT:
It seems SetThreadExecutionState isn't enough
This function does not stop the screen saver from executing.
http://msdn.microsoft.com/en-us/library ... 85%29.aspx

SithFire
New Cone
New Cone
Posts: 2
Joined: 08 Jan 2012 13:21
VLC version: 2.0.0 Twoflower
Operating System: Windows / Linux
Location: Germany

Re: Error: Windows power option not deactivated during playb

Postby SithFire » 09 Jan 2012 19:20

That's right. I guess, It could be a combination of SPI_GET... and SetThreadExecutionState. The SPI_GETSCREENSAVEACTIVE is set in common.c (AFAIK), so it might work fine (because nobody complain about it).

But as I wrote above, I could not reproduce the bug. So, I can only guess. :geek:

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Error: Windows power option not deactivated during playb

Postby VLC_help » 10 Jan 2012 17:14

Those powersaving thingies are only there to prevent screensaver. So they aren't actually needed for power saving.

Astr0x
New Cone
New Cone
Posts: 2
Joined: 02 Feb 2013 22:17

Re: Error: Windows power option not deactivated during playb

Postby Astr0x » 01 Mar 2013 18:29

Any update on this?

I posted similar problem here viewtopic.php?f=14&t=108160

but i did not get a response i am still having the issue described in this thread and my thread

help please.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 27 guests