[MPlayer-users] mplayer prevents (wakes up?) DPMS timeouts; how to prevent?

1 view
Skip to first unread message

Ted Pavlic

unread,
Sep 4, 2011, 2:20:30 PM9/4/11
to mplaye...@mplayerhq.hu
I've noticed that my DPMS timeouts are never triggered while
electricsheep runs despite "xset q" showing that DPMS is enabled.
Drilling down further, I see that running mplayer actually causes the
problem (moreover, ffplay causes the same problem).

If I'm playing a video with mplayer (or ffplay), how can I tell
mplayer to *not* disable DPMS so that my screen will be blanked/etc.
on schedule?

At the moment, the only way I can get electricsheep to blank the
screen is if I launch a process in parallel that does timed launches
of "xset dpms force off" commands while electricsheep is running.

Thanks --
Ted

--
Ted Pavlic <t...@tedpavlic.com>
_______________________________________________
MPlayer-users mailing list
MPlaye...@mplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users

Ted Pavlic

unread,
Sep 7, 2011, 11:40:19 AM9/7/11
to mplaye...@mplayerhq.hu
> If I'm playing a video with mplayer (or ffplay), how can I tell
> mplayer to *not* disable DPMS so that my screen will be blanked/etc.
> on schedule?

FYI, as of an SVN commit yesterday, the "-nostop-xscreensaver" option
works again, and so:

mplayer -nostop-xscreensaver

(or setting "stop-xscreensaver = no" in ~/.mplayer/config) will prevent
mplayer from disabling DPMS timeouts in X11.

--Ted

Matus UHLAR - fantomas

unread,
Sep 16, 2011, 5:03:32 AM9/16/11
to mplaye...@mplayerhq.hu
>> If I'm playing a video with mplayer (or ffplay), how can I tell
>> mplayer to *not* disable DPMS so that my screen will be blanked/etc.
>> on schedule?

On 07.09.11 11:40, Ted Pavlic wrote:
>FYI, as of an SVN commit yesterday, the "-nostop-xscreensaver" option
>works again, and so:
>
>mplayer -nostop-xscreensaver
>
>(or setting "stop-xscreensaver = no" in ~/.mplayer/config) will prevent
>mplayer from disabling DPMS timeouts in X11.

Does it apply for Xserver blanking/DPMS timeouts? afaik the
"stop-xscreensaver" only affects xscreensaver process, not Xserver's
blanking (including DPMS).
--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Windows 2000: 640 MB ought to be enough for anybody

Nicolas George

unread,
Sep 17, 2011, 7:22:39 AM9/17/11
to mplaye...@mplayerhq.hu
Le decadi 30 fructidor, an CCXIX, Matus UHLAR - fantomas a écrit :

> Does it apply for Xserver blanking/DPMS timeouts? afaik the
> "stop-xscreensaver" only affects xscreensaver process, not Xserver's
> blanking (including DPMS).

It applies to anything that uses the XScreenSaver the way it is supposed to
be used. This includes internal screen saver and DPMS without a doubt. I do
not know what external screen savers use the extension correctly though.

Regards,

--
Nicolas George

signature.asc

Reimar Döffinger

unread,
Sep 17, 2011, 10:49:14 AM9/17/11
to MPlayer usage questions, feature requests, bug reports
On Fri, Sep 16, 2011 at 11:03:32AM +0200, Matus UHLAR - fantomas wrote:
> >>If I'm playing a video with mplayer (or ffplay), how can I tell
> >>mplayer to *not* disable DPMS so that my screen will be blanked/etc.
> >>on schedule?
>
> On 07.09.11 11:40, Ted Pavlic wrote:
> >FYI, as of an SVN commit yesterday, the "-nostop-xscreensaver" option
> >works again, and so:
> >
> >mplayer -nostop-xscreensaver
> >
> >(or setting "stop-xscreensaver = no" in ~/.mplayer/config) will prevent
> >mplayer from disabling DPMS timeouts in X11.
>
> Does it apply for Xserver blanking/DPMS timeouts? afaik the
> "stop-xscreensaver" only affects xscreensaver process, not Xserver's
> blanking (including DPMS).

That was how it behaved (though not even that properly), but that did
not match the documentation at all.
So it is now changed to apply to all these, also since there is no
sensible way anymore to affect only one specifically.

Reply all
Reply to author
Forward
0 new messages