Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

0.22 VDPAU video doesn't reappear after xscreensaver

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


ylee at pobox

Nov 15, 2009, 10:41 AM

Post #1 of 7 (635 views)
Permalink
0.22 VDPAU video doesn't reappear after xscreensaver

Since upgrading to trunk almost a month ago I've been dealing with an
irritating peculiarity.

I run xscreensaver on my frontend. With 0.21 (and every version from
0.18 on, actually), xscreensaver would activate after the set period
of time when I paused the internal player, and it would properly
deactivate and the video would return to the screen when I pushed a
keybaord or remote button. This also worked with Jean-Yves' VDPAU
backport to 0.21.

Once I moved to trunk (and now stock 0.22), I found that the paused
video does not reappear. Whatever xscreensaver module is running
stops, and audio resumes, but the screen remains blank. Exiting
playback properly returns mythfrontend to Watch Recordings, and again
playing the recording also works. This only happens with VDPAU; the
problem does not exist with Xv. The screen also always properly
resumees when exiting xscreensaver after it triggers outside playback.

Something else that may offer a clue: I have a remote button that
calls a script. If the button is pushed once, LIRC uses onscreend
(<URL:http://caladan.nanosoft.ca/onscreend.php>) to print a message on
the screen advising the user to push the button again within three
seconds to kill mythfrontend. That message is set to disappear in
three seconds; however, when playing a recording via 0.22's VDPAU, it
does not. It's as if the frontend does not know it is supposed to
update the portions of the screen the onscreend message overwrote. The
playback itself and the OSD behave normally (other than the
xscreensaver non-resumption issue I mention above).

Suggestions? I have tried moving from Nvidia's 180.18.36 (what I was
using with 0.21-fixes+VDPAU backport) driver to the current stable
190.42 with no change. Neither xorg.conf nor ~/.xscreensaver has
changed in months. I do not run gnome-screensaver and ratpoison is the
window manager, again with no change in its configuration.

--
Yeechang Lee <ylee [at] pobox> | San Francisco CA US
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


list-mythtv at bluecamel

Nov 15, 2009, 11:23 AM

Post #2 of 7 (617 views)
Permalink
Re: 0.22 VDPAU video doesn't reappear after xscreensaver [In reply to]

On Nov 15, 2009, at 1:41 PM, Yeechang Lee wrote:

> Since upgrading to trunk almost a month ago I've been dealing with an
> irritating peculiarity.
>
> I run xscreensaver on my frontend. With 0.21 (and every version from
> 0.18 on, actually), xscreensaver would activate after the set period
> of time when I paused the internal player, and it would properly
> deactivate and the video would return to the screen when I pushed a
> keybaord or remote button. This also worked with Jean-Yves' VDPAU
> backport to 0.21.


I can only confirm I've seen the same thing. No suggested work around yet. At first I thought it was a particular screen saver module but I've seen various problems with all modules. Some screen savers will corrupt the image. Others will not restore the screen on exit.

--
Scott <catfather [at] donpoo>
AIM: BlueCame1

_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


jyavenard at gmail

Nov 15, 2009, 6:33 PM

Post #3 of 7 (595 views)
Permalink
Re: 0.22 VDPAU video doesn't reappear after xscreensaver [In reply to]

Hi

2009/11/16 Yeechang Lee <ylee [at] pobox>:
> seconds to kill mythfrontend. That message is set to disappear in
> three seconds; however, when playing a recording via 0.22's VDPAU, it
> does not. It's as if the frontend does not know it is supposed to
> update the portions of the screen the onscreend message overwrote. The
> playback itself and the OSD behave normally (other than the
> xscreensaver non-resumption issue I mention above).

Yes, it never refreshes the full screen.

If I open a terminal ,and switch back and forth, the playback windon
isn't redrawn and the terminal window would stay above it even with
the focus on mythfrontend.
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


mark.kendall at gmail

Nov 15, 2009, 11:06 PM

Post #4 of 7 (591 views)
Permalink
Re: 0.22 VDPAU video doesn't reappear after xscreensaver [In reply to]

2009/11/16 Yeechang Lee <ylee [at] pobox>:
> Once I moved to trunk (and now stock 0.22), I found that the paused
> video does not reappear. Whatever xscreensaver module is running
> stops, and audio resumes, but the screen remains blank. Exiting
> playback properly returns mythfrontend to Watch Recordings, and again
> playing the recording also works. This only happens with VDPAU; the
> problem does not exist with Xv. The screen also always properly
> resumees when exiting xscreensaver after it triggers outside playback.

fwiw, this is an issue I'm aware of and tried to fix before 0.22 went
out. When using the VDPAU overlay, the colorkey needs to be redrawn
once overwritten by another app, window etc. In the screensaver case I
couldn't find any event that was being posted to tell mythfrontend
that the screensaver had de-activated and hence a re-draw was needed.
I'll have another look - though any suggestions are welcome.

Thanks and regards

Mark
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


ylee at pobox

Nov 16, 2009, 9:36 AM

Post #5 of 7 (574 views)
Permalink
Re: 0.22 VDPAU video doesn't reappear after xscreensaver [In reply to]

Mark Kendall <mark.kendall [at] gmail> says:
> In the screensaver case I couldn't find any event that was being
> posted to tell mythfrontend that the screensaver had de-activated
> and hence a re-draw was needed.

Hi Mark. Does the fact that video resumed properly after xscreensaver
with earlier incarnations of the VDPAU code (the ones that Jean-Yves
backported to 0.21, I mean; Jean-Yves, at what point did you stop
updating the backport with trunk's changes?) help any in tracking down
the issue?

--
Frontend/backend: P4 3.0GHz, 1.5TB software RAID 5 array
Backend: Quad-core Xeon 1.6GHz, 6.6TB sw RAID 6
Video inputs: Four high-definition over FireWire/OTA
Accessories: 47" 1080p LCD, 5.1 digital, and MX-600
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


jyavenard at gmail

Nov 16, 2009, 12:06 PM

Post #6 of 7 (569 views)
Permalink
Re: 0.22 VDPAU video doesn't reappear after xscreensaver [In reply to]

2009/11/17 Yeechang Lee <ylee [at] pobox>:
> Hi Mark. Does the fact that video resumed properly after xscreensaver
> with earlier incarnations of the VDPAU code (the ones that Jean-Yves
> backported to 0.21, I mean; Jean-Yves, at what point did you stop
> updating the backport with trunk's changes?) help any in tracking down
> the issue?

The issue isn't so much in the VDPAU code itself as it is with the
general playback code and Qt

Few months ago, the playback screen was converted to use MythUI. I
can't remember the exact details but since then redraw has been a
problem
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


fracmak at gmail

Nov 18, 2009, 6:59 PM

Post #7 of 7 (515 views)
Permalink
Re: 0.22 VDPAU video doesn't reappear after xscreensaver [In reply to]

Wouldn't the event to redraw the VDPAU overlay be the unpausing of the
video? You already turn off DPMS and ping the screensavers to wake
everything up, why not just redraw the overlay just to be safe?

Jay

>2009/11/16 Yeechang Lee <ylee[at]pobox.com>:
>> Once I moved to trunk (and now stock 0.22), I found that the paused
>> video does not reappear. Whatever xscreensaver module is running
>> stops, and audio resumes, but the screen remains blank. Exiting
>> playback properly returns mythfrontend to Watch Recordings, and again
>> playing the recording also works. This only happens with VDPAU; the
>> problem does not exist with Xv. The screen also always properly
> resumees when exiting xscreensaver after it triggers outside playback.
>
>fwiw, this is an issue I'm aware of and tried to fix before 0.22 went
>out. When using the VDPAU overlay, the colorkey needs to be redrawn
>once overwritten by another app, window etc. In the screensaver case I
>couldn't find any event that was being posted to tell mythfrontend
>that the screensaver had de-activated and hence a re-draw was needed.
>I'll have another look - though any suggestions are welcome.
>
>Thanks and regards
>
>Mark

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.