Opened 12 years ago
Closed 11 years ago
#6312 closed defect (invalid)
Screen tearing on h.264 vdpau playback starting with version 19969 through current trunk. (20088)
Reported by: | anonymous | Owned by: | markk |
---|---|---|---|
Priority: | minor | Milestone: | 0.22 |
Component: | MythTV - Video Playback | Version: | head |
Severity: | low | Keywords: | |
Cc: | Ticket locked: | no |
Description
Begining with commit 19969 I have screen tearing on the top third of the screen when playing back h.264 (720p) using vdpau. This is using the intergrated motherboard video 8200 chipset. I have tracked it down to just two lines of code causing the problem. If I remove these two lines playback is perfect. Of course I have no idea what other problems removing the two lines might cause.
--- libs/libmythtv/videoout_xv.cpp.org 2009-03-02 13:43:45.000000000 -0600 +++ libs/libmythtv/videoout_xv.cpp 2009-03-02 13:44:50.000000000 -0600 @@ -3327,7 +3327,6 @@
if (XVideoVDPAU == VideoOutputSubType?()) {
- if (windows[0].IsRepaintNeeded?())
{
X11L; XSetForeground(XJ_disp, XJ_gc, vdpau_colorkey);
@@ -3337,7 +3337,6 @@
display_visible_rect.width(), display_visible_rect.height());
X11U;
- windows[0].SetNeedRepaint?(false);
} return;
}
Attachments (4)
Change History (16)
Changed 12 years ago by
Attachment: | fix-vdpau-tearing-v2.patch added |
---|
comment:1 Changed 12 years ago by
Owner: | changed from Isaac Richards to markk |
---|---|
Status: | new → accepted |
comment:2 Changed 12 years ago by
Status: | accepted → infoneeded |
---|
Changed 12 years ago by
Attachment: | mythfrontend.log added |
---|
comment:3 Changed 12 years ago by
Nvidia driver version is 180.29 Composite is turned off.
Tested video modes all using vdpau playback. 1080i mpeg2 - no tearing 720p mpeg2 - no tearing 480i mpeg2 - no tearing 720p h.264 - tearing
mythfrontend -v playback log attached (mythfrontend.log)
comment:4 Changed 12 years ago by
Status: | infoneeded → assigned |
---|
comment:5 Changed 12 years ago by
Status: | assigned → accepted |
---|
Changed 12 years ago by
Attachment: | fix-vdpau-tearing-v3.patch added |
---|
comment:7 Changed 12 years ago by
As of 20650 it still happens. I could update to the latest trunk this weekend if you want me to. Version 3 is the patch I am currently using to fix it.
comment:8 Changed 12 years ago by
Ok I just updated from 20650 to 20787 and the problem has disappeared. :) Tried a lot of different recordings and never saw any tearing. Thanks.
comment:9 Changed 12 years ago by
Looks like I spoke to soon. I didn't notice before because I only let the videos play for a short time. But I am now seeing the tearing after the video is playing for a while. Fast forwarding or rewinding the video fixes it for a while and then it returns. I have updated the patch since it has been moved to videoout_vdpau.cpp.
Changed 12 years ago by
Attachment: | fix-vdpau-tearing-v4.patch added |
---|
comment:10 Changed 12 years ago by
I get rapid full screen flickering/tearing with this when use with my IGP 8200 Asus M3N78-VM at the standard GPU clock rate of 500 MHz. This is with 720p content on a 1080p display (changing the de-interlacer doesn't help.)
If I overclock the GPU to 550 MHz, the video is solid, without even the normal slight tearing I experience in panning/fast motion scenes.
comment:11 Changed 11 years ago by
This bug can be closed. It was a bug in nvidia-drivers. Nvidia-drivers version 185.18.29 fixed it but introduced another nasty bug that caused audio drop outs on the spdif output.
Nvidia-drivers 185.18.36 works like a charm. No tearing and no audio drop outs.
comment:12 Changed 11 years ago by
Resolution: | → invalid |
---|---|
Status: | accepted → closed |
Closing per the reporter, nVidia driver issue. Thank you very much for reporting back.
Can you provide a playback log (mythfrontend -v playback) and confirm your driver version and whether or not composite is enabled.
And for the sake of clarity, can you check/confirm that you only see this with h.264 720p?
Thanks
Mark