View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 4 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sat Mar 07, 2009 9:54 am 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
I'm using the mplayer-vdpau-nogui and the xscreensaver packages from the LinHES distro. Under R5.5 I only needed to add the following to my ~/.mplayer/config to stop xscreensaver when mplayer plays:

Code:
heartbeat-cmd="xscreensaver-command -deactivate > /dev/null"


When I have this in my config under R6, it does indeed keep xscreensaver from starting during playback BUT video playback literally hangs for 5 sec or so every 20 seconds! As well, when I initially load the video file, it too kinda hangs for 5 sec or so.

I get the following in my mplayer output if I launch it from a shell:
Code:
xscreensaver-command: no response to command.
xscreensaver-command: no response to command.
xscreensaver-command: no response to command.
xscreensaver-command: no response to command.


Any thoughts on this?

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 07, 2009 7:27 pm 
Offline
Site Admin
Joined: Fri Sep 19, 2003 6:37 pm
Posts: 2659
Location: Whittier, Ca
Google for mplayer on this... I cannot remember the fix. Be sure to let us know.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 08, 2009 4:02 am 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
I believe this problem could be something in xscreensaver v5.08. I have reported it to jamie (the dev of xscreensaver) in an email and will report back. Meanwhile, there is a work-around: add this to your ~/.mplayer/config:

Code:
heartbeat-cmd="xscreensaver-command -deactivate &"


I have tested playback of two 45 min long files in mplayer with this line and xscreensaver never came on during the playback. I also have two Flyspray tickets related to this if folks are interested in reading/following them:

http://linhes.org/flyspray/index.php?do ... ask_id=268
http://linhes.org/flyspray/index.php?do ... ask_id=269
http://linhes.org/flyspray/index.php?do ... ask_id=273

I think the greater pain the ass that xscreensaver seems to present at the moment is described in flyspray #273. To summarize, if you run xscreensaver and your box boots into X without you moving your mouse, hitting a key on the keyboard, or using the remote, before xscreensaver kicks on and runs your screensaver, you can't get xscreensaver to turn off to use mythfrontend!

I feel that having a screensaver is critical to the success of LinHES because so many plasma/LCD screens are susceptible to burn it. All it would take is your wife, kids, guest, etc. carelessly leaving the screen on with the frontend displaying all day. My grandmother did this on our R5.5 box last time she came to visit. It was on for over 2 days! Glad to see the screensaver was running when we got home.

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 08, 2009 7:17 am 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
I think I figured it out. See my comments in Flyspray #273. Long story short, I think /usr/X11R6/bin/unclutter was to blame :)

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 86 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu