Bug 74811

Summary: screen corruption with XVideo output in VLC
Product: xorg Reporter: Kamil Páral <kamil.paral>
Component: Server/Acceleration/glamorAssignee: Dave Airlie <airlied>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: medium CC: zhigang.gong
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
image corruption in VLC
none
Xorg log none

Description Kamil Páral 2014-02-10 21:56:10 UTC
Created attachment 93807 [details]
image corruption in VLC

In Fedora 20 and Fedora Rawhide I see screen corruption for certain videos in VLC, once I run two or more of them (consecutively). I identified the problem is in glamor. By using git bisect, I found the offending commit is:

commit 16c86bd3d8ba92c50fc96efb5a39a7725a16d785
Author: Alex Deucher <alexdeucher@gmail.com>
Date:   Fri Sep 27 17:47:14 2013 -0400

    glamor: enable Xv by default
    
    Also move the configure option out of the middle of
    the debug option handling.
    
    Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
    Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>


In the attachment, you can see a VLC screenshot playing Gladiator, but displaying Black Mirror snapshot as a green overlay. Black Mirror was the last movie I played _before_ Gladiator.

It doesn't happen for all videos (for example Big Buck Bunny seems to be always fine). Also it usually happens just for the second (or further) video played. Once it happens, I can't get rid of the image corruption even by restarting VLC. I need to restart whole X.

Totem and Smplayer don't seem to be affected. Also, when I force other than Automatic/XV output in VLC, the image looks fine.

My system:
Fedora Rawhide
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Curacao PRO [Radeon R9 270] [1002:6811]
mesa-dri-drivers-10.1-0.rc1.20140208.fc21.x86_64
mesa-filesystem-10.1-0.rc1.20140208.fc21.x86_64
mesa-libEGL-10.1-0.rc1.20140208.fc21.x86_64
mesa-libEGL-devel-10.1-0.rc1.20140208.fc21.x86_64
mesa-libgbm-10.1-0.rc1.20140208.fc21.x86_64
mesa-libgbm-devel-10.1-0.rc1.20140208.fc21.x86_64
mesa-libGL-10.1-0.rc1.20140208.fc21.x86_64
mesa-libglapi-10.1-0.rc1.20140208.fc21.x86_64
mesa-libGL-devel-10.1-0.rc1.20140208.fc21.x86_64
mesa-libGLES-10.1-0.rc1.20140208.fc21.x86_64
mesa-libGLU-9.0.0-4.fc21.x86_64
mesa-libGLU-devel-9.0.0-4.fc21.x86_64
mesa-libwayland-egl-10.1-0.rc1.20140208.fc21.x86_64
mesa-libxatracker-10.1-0.rc1.20140208.fc21.x86_64
xorg-x11-drv-ati-7.3.0-0.20140210git8de6f7.fc21.kparal.1.x86_64
xorg-x11-glamor-0.6.0-0.20140210gite734e1.fc21.kparal.1
Linux rawhide 3.14.0-0.rc1.git4.2.fc21.x86_64 #1 SMP Sat Feb 8 19:48:58 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Comment 1 Kamil Páral 2014-02-10 22:01:07 UTC
Created attachment 93808 [details]
Xorg log
Comment 2 Alex Deucher 2014-04-07 02:38:21 UTC

*** This bug has been marked as a duplicate of bug 72821 ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.