[mythtv-commits] Ticket #12311: tearing on full-screen video playback when 2D glamor accell is enabled
MythTV
noreply at mythtv.org
Fri Aug 11 09:47:20 UTC 2017
#12311: tearing on full-screen video playback when 2D glamor accell is enabled
-------------------------------------+-----------------------------
Reporter: warpme@… | Owner: pbennett
Type: Bug Report - General | Status: assigned
Priority: minor | Milestone: unknown
Component: MythTV - Video Playback | Version: Master Head
Severity: medium | Resolution:
Keywords: tearing glamor | Ticket locked: 0
-------------------------------------+-----------------------------
Comment (by warpme@…):
Peter, I think we can make whole thing easier to work on by doing it steep
by steep.
First thing I think we need to verify is misalignment between Xroot window
and myth window in FS mode.
Currently I see 2ps misalignment - and this causes issue with tearing in
case when Xorg 2D accell is based on OpenGL (glamour way of things) (DDX
way has workaround for such cases built-in in Xorg server - that's why
issue popup with glamour).
This issue is more Xwindows aspect than HW accell decode - so You probably
can catch/test this issue on any system. Simply use xwininfo tool to
verify how myth draws it's FS window into X root window. I used this in
#comment:10 and there You can see 2px shift.
In MiniMyth2 I have workaround which plays with window coordinates and
workarounds issue (so users of mm2 don't have tearing) - but this patch is
crude workaround - not proper solution...
Path is here: https://github.com/warpme/minimyth2/blob/master/script/myth-
master/mythtv/files/0212-ticket12311-v2.patch
it is possible when we fix misalignment issue - whole page flipping issue
causing tearing will go away...
--
Ticket URL: <https://code.mythtv.org/trac/ticket/12311#comment:12>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list