Opened 11 years ago

Closed 11 years ago

#7641 closed defect (fixed)

blank screen with vdpau after screen saver has activated

Reported by: fracmak Owned by: markk
Priority: minor Milestone: unknown
Component: MythTV - Video Playback Version: head
Severity: low Keywords:
Cc: Ticket locked: no


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.

Attachments (2)

unpause.diff (582 bytes) - added by markk 11 years ago.
unpause2.diff (628 bytes) - added by fracmak 11 years ago.
v2 of fix

Download all attachments as: .zip

Change History (7)

Changed 11 years ago by markk

Attachment: unpause.diff added

comment:1 Changed 11 years ago by markk

Owner: changed from Janne Grunau to markk
Status: newaccepted

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

comment:2 Changed 11 years ago 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.

comment:3 Changed 11 years ago by fracmak

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


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.

Changed 11 years ago by fracmak

Attachment: unpause2.diff added

v2 of fix

comment:4 Changed 11 years ago by anonymous

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

comment:5 Changed 11 years ago by markk

Resolution: fixed
Status: acceptedclosed

(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.

Note: See TracTickets for help on using tickets.