Bug 700785

Summary: [Bearlake] Regression from FC14, tearing with full screen video
Product: [Fedora] Fedora Reporter: Andy Burns <fedora>
Component: xorg-x11-drv-intelAssignee: Adam Jackson <ajax>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 16CC: ajax, mcepl, xgl-maint
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: [cat:rendering]
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-13 14:54:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Xorg log file
none
/var/log/messages
none
Xorg.0.log
none
dmesg
none
dmesg
none
dmesg with drm debug enabled
none
Xorg.0.log
none
/var/log/messages none

Description Andy Burns 2011-04-29 11:42:34 UTC
Created attachment 495761 [details]
Xorg log file

Description of problem:

Watching MythTV full screen video (1920x1080) produces a tearing with a horizontal band approximately 10% of the way down the screen visible during movement.

Version-Release number of selected component (if applicable):

xorg-x11-drv-intel.x86_64           2.14.0-4.fc15
kernel.x86_64                       2.6.38.2-9.fc15

How reproducible:

100%

Steps to Reproduce:
1. Play TV or recording in MythTV

Actual results:

Torn video

Expected results:

Clean video

Additional info:

Motherboard is P5E-VM HDMI, with Intel 82G35 Express Integrated Graphics using HDMI connection to TV.

The same hardware running under FC14 produces no tearing.

I tried this with gnome-shell and with LXDE, no difference.

Have tried with audio output over the HDMI connection and without (using iec958 instead) but this made no difference.

Comment 1 Matěj Cepl 2011-04-29 23:49:46 UTC
Thanks for the bug report.  We have reviewed the information you have provided above, and there is some additional information we require that will be helpful in our diagnosis of this issue.

Please add drm.debug=0x04 to the kernel command line, restart computer, and attach

* your X server config file (/etc/X11/xorg.conf, if available),
* output of the dmesg command, and
* system log (/var/log/messages)

to the bug report as individual uncompressed file attachments using the bugzilla file attachment link above.

We will review this issue again once you've had a chance to attach this information.

Thanks in advance.

Comment 2 Andy Burns 2011-04-30 00:54:18 UTC
Created attachment 495893 [details]
/var/log/messages

Debug Log files attached as requested

I thought 965 was Broadwater and G35 was Bearlake?

Comment 3 Andy Burns 2011-04-30 00:55:29 UTC
Created attachment 495894 [details]
Xorg.0.log

Comment 4 Andy Burns 2011-04-30 00:58:31 UTC
please note, the cx23885.blacklist=yes is simply to avoid loading a proprietary (tainting) DVB-S2 tuner driver

Comment 5 Andy Burns 2011-04-30 01:08:27 UTC
Created attachment 495895 [details]
dmesg

This machine has no /etc/X11/xorg.conf (and only keyboard configuration under /etc/X11/xorg/conf.d)

Sorry I forgot to capture the dmesg output quickly after the reboot, the initial part is missing, does this contain enough information, or should I reboot and capture the initial parts of dmesg?

Comment 6 Andy Burns 2011-04-30 01:19:48 UTC
Created attachment 495896 [details]
dmesg

Here is the dmesg from another reboot that does include the early debug messages.

Comment 7 Andy Burns 2011-04-30 09:24:46 UTC
additional info:

The tearing only happens when playing HD media (1920x1080 or 1440x1080) it doesn't happen with SD media (720x576)

MythTV is configured to use xv-blit, so I believe the xorg-intel driver is responsible for scaling, if required, from media resolution to screen resolution (1920x1080 in all cases).

Comment 8 Andy Burns 2011-05-05 06:17:01 UTC
I remembered that the FC14 version where the tearing does not happen was using 32bit PAE, but the FC15beta where it does happen is 64bit.

For completeness, I installed FC14 64bit into a spare partition, and can confirm that the tearing does not happen there either.

So the tearing is a regression between FC14 and FC15beta, rather than a difference between 32 and 64 bit architectures.

Comment 9 Andy Burns 2011-05-05 15:49:54 UTC
Though I'd try out the Intel 2011Q1 driver, took a chance and installed the rawhide 

xorg-x11-drv-intel-2.15.0-2.fc16 

package onto the fc15beta and rebooted, driver functions but still exhibits the same tearing with HD video, is it worth also trying a rawhide kernel too, to get updated KMS drivers?

Comment 10 Andy Burns 2011-10-12 20:26:47 UTC
The same video tearing fault is exhibited with F16 Branched (12-OCT-2011) 

xorg-x11-drv-intel.x86_64           2.16.0-2.fc16
kernel.x86_64                       3.1.0-0.rc9.git0.0.fc16
mesa-dri-drivers.x86_64             7.11-4.fc16 
mesa-dri-filesystem.x86_64          7.11-4.fc16
mesa-libGL.x86_64                   7.11-4.fc16                 
mesa-libGLU.x86_64                  7.11-4.fc16 

I appreciate that an initial trage was carried out based on the log files I submitted, but this bug has gone no further for a whole Fedora cycle, I have stuck with F14 which does not have the problem, soon I will be forced to upgrade to either F15 or F16, which both exhibit this fault.

Would I be better reporting this to upstream graphics driver devs?

Comment 11 Andy Burns 2011-10-12 20:35:15 UTC
Created attachment 527780 [details]
dmesg with drm debug enabled

Updated log files attached

Comment 12 Andy Burns 2011-10-12 20:36:51 UTC
Created attachment 527781 [details]
Xorg.0.log

Comment 13 Andy Burns 2011-10-12 20:37:31 UTC
Created attachment 527782 [details]
/var/log/messages

Comment 14 Andy Burns 2011-10-13 12:42:57 UTC
Solved the tearing by going from .conf-less Xorg to using a .conf file with

Xorg :1 -configure

and then adding

Option "XvPreferOverlay" "True"

to the Display section

kudos to chris.uk