You are not logged in.

#1 2014-03-26 18:59:12

Sandro
Member
Registered: 2012-03-01
Posts: 13

VLC does not inhibit power management during playback

Hi everyone, I know this is a recurrent topic, having found quite a few of them, but I could not figure out a solution to this annoying issue in any way.
As the title says, when I try to play some video with VLC (or even with a full screen YouTube video, or any othen source you can think of) the screen turns off for the power saving functionality as the timeout expires. The "Inhibit power management daemon during playback" option in VLC settings is turned on, but it clearly doesn't do its job properly. I thought that maybe the problem lies beside some other setting, dealing directly with the power manager or stuff like that, but I honestly don't know where to look.
My setting: laptop with integrated ATI video card, AMD dual core CPU, Arch Linux + Xfce, everything kept up to date. I'm here to give you any other detail you need.
Thanks for your help.

Offline

#2 2014-03-29 16:04:17

berbae
Member
From: France
Registered: 2007-02-12
Posts: 1,304

Re: VLC does not inhibit power management during playback

Try:
xset -dpms
vlc ...
xset +dpms

Last edited by berbae (2014-03-29 16:15:19)

Offline

#3 2014-03-29 20:43:51

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: VLC does not inhibit power management during playback

berbae wrote:

Try:
xset -dpms
vlc ...
xset +dpms

This should work. If it doesn't, post the output of 'xset -q', but first read the wiki article about dpms.

Offline

#4 2014-04-05 00:33:23

frukt
Member
Registered: 2008-12-12
Posts: 14

Re: VLC does not inhibit power management during playback

Simply turning off DPMS is clearly not the correct solution. The desired outcome is for VLC to only inhibit power management while playing a video. Same problem for me here, using XFCE4, VLC no longer suppresses monitor sleep as of 2.1.4, while everything works as expected in 2.0.8.

edit: I have a feeling that it has something to do with DBUS path changes in the modules/misc/inhibit/dbus.c file that have left XFCE out in the cold.
edit2: there's also a stale VLC ticket about the issue.

Last edited by frukt (2014-04-05 00:53:25)

Offline

#5 2014-04-05 10:26:12

jjacky
Member
Registered: 2011-11-09
Posts: 347
Website

Re: VLC does not inhibit power management during playback

If that can be of any help, I had similar issues and this is what I did to "fix" it: http://jjacky.com/2013-09-30-automatica … n-vlc-2.1/

Offline

#6 2014-04-05 15:51:19

frukt
Member
Registered: 2008-12-12
Posts: 14

Re: VLC does not inhibit power management during playback

Nice, but patching VLC seems a bit hardcore. My own solution will probably be a small script utilising xwinfo + xdg-screensaver keeping tabs on full-screen windows from  vlc, flashplugin and such.

In case anyone feels motivated to deal with this, the proper solution would be to figure out what the freedesktop standard actually says about power management inhibition via DBUS, then figure out whether it's a XFCE or VLC bug and then submit a bug report to the relevant project. If there's no proper standard, it's a VLC bug as one would expect VLC to support a major desktop environment.

Offline

Board footer

Powered by FluxBB