Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 202218 - media-video/mplayer inhibits xscreensaver DPMS
Summary: media-video/mplayer inhibits xscreensaver DPMS
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-14 07:32 UTC by Federico Ferri (RETIRED)
Modified: 2009-04-30 22:07 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
/etc/X11/xorg.conf (xorg.conf,3.95 KB, text/plain)
2007-12-14 07:33 UTC, Federico Ferri (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Federico Ferri (RETIRED) gentoo-dev 2007-12-14 07:32:40 UTC
I configured xscreensaver for turning off the monitor after a specific timeout.
as soon as I start my box, everything works fine: xscreensaver activates, then it turns of the LCD panel by DPMS.

the problem begins when I launch mplayer.
once I launch it (no matter of the stop-xscreenssver setting, I tried both possible values), xscreensaver still activates, but NEVER go in DPMS.

it's weird,
 1) cause I did tell to mplayer to NOT stop xscreensaver (see my mplayer's config below)
 2) cause while having this issue, `xset dpms force off` and others works fine

so it seems clearly an issue of xscreensaver (but only mplayer triggers that :O...).
indeed if I kill and relaunch the xscreensaver daemon, DPMS screensaver it works again.

I tried to fix this issue with guys in #xorg, #mplayer, but no-one can reproduce this problem :(

some info on my system:

$ cat /etc/mplayer/mplayer.conf ~/.mplayer/config | grep -v -e '^#' -e '^$'
vo=x11
subcp=enca:it
zoom=yes
ao=jack,alsa
framedrop = yes
stop-xscreensaver=no
fontconfig=1
subfont-osd-scale=4
subfont-text-scale=3

# emerge -p mplayer xscreensaver xorg-server xorg-x11

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] x11-base/xorg-server-1.3.0.0-r2  USE="dri ipv6 nptl sdl xorg xpr
int -3dfx -debug -dmx -kdrive -minimal" INPUT_DEVICES="evdev joystick keyboard m
ouse wacom -acecad -aiptek -calcomp -citron -digitaledge -dmc -dynapro -elo2300 
-elographics -fpit -hyperpen -jamstudio -magellan -microtouch -mutouch -palmax -
penmount -spaceorb -summa -synaptics -tek4957 -ur98 -vmmouse -void" VIDEO_CARDS=
"nv nvidia vesa -apm -ark -chips -cirrus -cyrix -dummy -epson -fbdev -fglrx -gli
nt -i128 -i740 -i810 (-impact) -imstt -mach64 -mga -neomagic (-newport) -nsc -r1
28 -radeon -rendition -s3 -s3virge -savage -siliconmotion -sis -sisusb (-sunbw2)
 (-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx) -tdfx -tga -triden
t -tseng -v4l -vga -via -vmware -voodoo" 0 kB 
[ebuild   R   ] media-video/mplayer-1.0_rc1_p20070824  USE="3dnow X a52 aac aali
b alsa amrnb amrwb arts cddb cdparanoia dts dv dvb dvd enca encode esd ftp gif g
tk iconv ipv6 jack jpeg mad md5sum mmx mp2 mp3 musepack opengl oss png pnm quick
time rar real samba sdl speex srt sse tga theora truetype unicode v4l vidix vorb
is win32codecs x264 xv xvid xvmc -3dnowext (-altivec) -bidi -bindist -bl -cdio -
cpudetection -custom-cflags -dga -directfb -doc -fbcon -ggi -ivtv -joystick -lib
caca -lirc -live -livecd -lzo -mmxext -nas -openal -pvr -radio -rtc -sse2 -ssse3
 -svga -teletext -tivo -v4l2 -xanim -xinerama -zoran" VIDEO_CARDS="nvidia vesa -
i810 -mga -s3virge -tdfx" 0 kB 
[ebuild   R   ] x11-misc/xscreensaver-5.03  USE="jpeg offensive opengl pam -gnom
e -insecure-savers -new-login -xinerama" 0 kB 
[ebuild   R   ] x11-base/xorg-x11-7.2  0 kB


I start the xscreensaver daemon in the WindowMaker's autostart file:

$ cat ~/GNUstep/Library/WindowMaker/autostart
#!/bin/sh
xset m 20/10 4
xset +dpms
cat <<EOF | xrdb
xterm*reverseVideo:     on
EOF
xscreensaver &


I never had such issue with xscreensaver-4*


Attached is my xorg.conf
Comment 1 Federico Ferri (RETIRED) gentoo-dev 2007-12-14 07:33:29 UTC
Created attachment 138425 [details]
/etc/X11/xorg.conf
Comment 2 Federico Ferri (RETIRED) gentoo-dev 2008-06-01 10:15:17 UTC
it's clearly a problem with xscreensaver.

from a couple of days I got rid of xscreensaver, and now my monitor power off fine (whether I have used mplayer or not)  with only those directives in xorg.conf:

    Option  "BlankTime" "10"    # 10 minutes
    Option  "StandbyTime"   "20"
    Option  "SuspendTime"   "30"
    Option  "OffTime"   "60"
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2008-06-01 19:30:02 UTC
Thanks but I'm actually in media-video alias too....
Comment 4 Federico Ferri (RETIRED) gentoo-dev 2008-06-14 12:58:35 UTC
this is clearly a xscreensaver bug.

I removed xscreensaver from my system, and now my screen blanks correctly with only the xorg.conf directives (also after watching movies in mplayer)
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2009-04-30 22:07:15 UTC
http://www.jwz.org/xscreensaver/faq.html#dpms-load
http://www.jwz.org/xscreensaver/faq.html#hysteresis

There's plenty of tricks if you google for xscreensaver+dpms, xscreensaver+mplayer, ..

Can't reproduce