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

Mailing List Archive: MythTV: Commits

Ticket #7641: blank screen with vdpau after screen saver has activated

 

 

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


mythtv at cvs

Nov 22, 2009, 10:38 PM

Post #1 of 6 (470 views)
Permalink
Ticket #7641: blank screen with vdpau after screen saver has activated

#7641: blank screen with vdpau after screen saver has activated
-------------------------------------+--------------------------------------
Reporter: fracmak | Owner: janne
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - Video Playback | Version: head
Severity: low | Mlocked: 0
-------------------------------------+--------------------------------------
From what I've gathered from the mythtv-users list, it seems that when a
screensaver has activated, it draws over the vdpau colorkey, so when
playback resumes, the video no longer displays. Seems the simplest way to
do this is to refresh the colorkey when coming out of pause (seems to make
sense since that's also when we turn off the screen saver/DPMS). I'm not
100% familiar with the code, but it seems like we could call
videoOutput->DrawUnusedRects() from inside the NuppleVideoPlayer() which
might solve the issue.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7641>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Nov 23, 2009, 2:34 AM

Post #2 of 6 (433 views)
Permalink
Re: Ticket #7641: blank screen with vdpau after screen saver has activated [In reply to]

#7641: blank screen with vdpau after screen saver has activated
-------------------------------------+--------------------------------------
Reporter: fracmak | Owner: markk
Type: defect | Status: accepted
Priority: minor | Milestone: unknown
Component: MythTV - Video Playback | Version: head
Severity: low | Mlocked: 0
-------------------------------------+--------------------------------------
Changes (by markk):

* owner: janne => markk
* status: new => accepted


Comment:

Can you try the attached patch. I can't test myself as the Gnome
screensavers seem to be broken on both my systems.

thnks, Mark

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7641#comment:1>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Nov 23, 2009, 8:57 AM

Post #3 of 6 (430 views)
Permalink
Re: Ticket #7641: blank screen with vdpau after screen saver has activated [In reply to]

#7641: blank screen with vdpau after screen saver has activated
-------------------------------------+--------------------------------------
Reporter: fracmak | Owner: markk
Type: defect | Status: accepted
Priority: minor | Milestone: unknown
Component: MythTV - Video Playback | Version: head
Severity: low | Mlocked: 0
-------------------------------------+--------------------------------------

Comment(by anonymous):

I'm actually seeing this with xscreensaver (since gnome is busted on my
system as well due to ubuntu 9.10). But I'll try out the patch tonight and
let you know if that fixes things.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7641#comment:2>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Nov 23, 2009, 8:38 PM

Post #4 of 6 (441 views)
Permalink
Re: Ticket #7641: blank screen with vdpau after screen saver has activated [In reply to]

#7641: blank screen with vdpau after screen saver has activated
-------------------------------------+--------------------------------------
Reporter: fracmak | Owner: markk
Type: defect | Status: accepted
Priority: minor | Milestone: unknown
Component: MythTV - Video Playback | Version: head
Severity: low | Mlocked: 0
-------------------------------------+--------------------------------------

Comment(by fracmak):

Nope, does not fix the issue. I was able to get it to work by added

videoOutput->ExposeEvent();

But I don't know if that's a hack or not, seems to be the only way to tell
the window it needs to be redrawn. Not certain what the ramifications are
for other renderers either.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7641#comment:3>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Nov 23, 2009, 8:42 PM

Post #5 of 6 (435 views)
Permalink
Re: Ticket #7641: blank screen with vdpau after screen saver has activated [In reply to]

#7641: blank screen with vdpau after screen saver has activated
-------------------------------------+--------------------------------------
Reporter: fracmak | Owner: markk
Type: defect | Status: accepted
Priority: minor | Milestone: unknown
Component: MythTV - Video Playback | Version: head
Severity: low | Mlocked: 0
-------------------------------------+--------------------------------------

Comment(by anonymous):

I've attached the patch that fixes the issue on my system

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7641#comment:4>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Nov 25, 2009, 12:13 AM

Post #6 of 6 (418 views)
Permalink
Re: Ticket #7641: blank screen with vdpau after screen saver has activated [In reply to]

#7641: blank screen with vdpau after screen saver has activated
-------------------------------------+--------------------------------------
Reporter: fracmak | Owner: markk
Type: defect | Status: closed
Priority: minor | Milestone: unknown
Component: MythTV - Video Playback | Version: head
Severity: low | Resolution: fixed
Mlocked: 0 |
-------------------------------------+--------------------------------------
Changes (by markk):

* status: accepted => closed
* resolution: => fixed


Comment:

(In [22905]) Ensure the VDPAU colorkey is repainted when unpausing video
playback.
Prevents blank screens after a pause in which the screensaver has
overwritten the colorkey. Closes #7641.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7641#comment:5>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits

MythTV commits 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.