Bug 688303

Summary: X redraw failure/display corruption
Product: [Fedora] Fedora Reporter: David Howells <dhowells>
Component: xorg-x11-serverAssignee: X/OpenGL Maintenance List <xgl-maint>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 14CC: jglisse, xgl-maint
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-16 16:37:34 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
Before running holer
none
Desktop after running holer
none
holer.c: the testcase
none
Desktop X server log
none
Desktop dmesg
none
Desktop X config none

Description David Howells 2011-03-16 18:54:25 UTC
Description of problem:

Under some circumstances, X fails to redraw correctly, corrupting windows on the screen that have been exposed.  The corruption shows itself as areas of underlying windows or backdrop showing through.

I have a testcase now that shows the problem happening on my laptop running Gnome and my desktop running KDE.  The testcase is a simple Xlib/Xrender program from comment 11 of:

    https://bugs.freedesktop.org/show_bug.cgi?id=22566

My laptop and my desktop both have Radeon chipset graphics cards and are both running the radeon driver.

01:00.0 VGA compatible controller: ATI Technologies Inc M22 [Mobility Radeon X300]
02:00.0 VGA compatible controller: ATI Technologies Inc Mobility Radeon HD 3600 Series

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

Multiple.  The bug has been around over a year and on previous versions of Fedora.  The problem became noticeable after Fedora switched to KDE4.

The version I'm reproducing it on:

libXrender-0.9.6-1.fc14.x86_64
libXrender-0.9.6-1.fc14.i686
libX11-1.3.4-3.fc14.x86_64
libX11-1.3.4-3.fc14.i686
xorg-x11-server-Xorg-1.9.4-1.fc14.x86_64
xorg-x11-drv-ati-6.13.1-0.4.20100705git37b348059.fc14.x86_64


How reproducible:

100%

Steps to Reproduce:
1. Grab the attached testcase program (as /tmp/holer.c).
2. Set your display size in the macros near the top of the file.
3. make holer LDLIBS="-lX11 -lXrender"
4. run for a short while.
  
Actual results:

Bleed through from stuff underlying windows that become uncovered, corrupting what you can see of the exposed windows.

Expected results:

The redraw should fill in the exposed regions from the uppermost remaining window.

Additional info:

Comment 1 David Howells 2011-03-16 18:59:44 UTC
Created attachment 485812 [details]
Before running holer

This is a snapshot of my desktop before running holer

Comment 2 David Howells 2011-03-16 19:01:15 UTC
Created attachment 485813 [details]
Desktop after running holer

This is what my desktop looks like after running holer for a few seconds.

Comment 3 David Howells 2011-03-16 19:02:47 UTC
Created attachment 485815 [details]
holer.c: the testcase

The testcase, obtained from comment 11 of https://bugs.freedesktop.org/show_bug.cgi?id=22566

Comment 4 David Howells 2011-03-16 19:07:01 UTC
Created attachment 485816 [details]
Desktop X server log

Comment 5 David Howells 2011-03-16 19:09:47 UTC
Created attachment 485817 [details]
Desktop dmesg

Comment 6 David Howells 2011-03-17 01:34:49 UTC
Created attachment 485877 [details]
Desktop X config

Comment 7 David Howells 2011-08-30 13:50:44 UTC
I've now got an NVidia card in my system and it shows the same problem with that, both with nouveau driver and NVidia's own driver.  I'm now running the following packages:

kernel-2.6.35.14-95.fc14.x86_64
xorg-x11-server-Xorg-1.9.5-1.fc14.x86_64
xorg-x11-drv-nouveau-0.0.16-11.20100826git065576d.fc14.x86_64

[    73.279] (--) NOUVEAU(0): Chipset: "NVIDIA NVc3"

02:00.0 VGA compatible controller: nVidia Corporation Device 0dc4 (rev a1)

Comment 8 David Howells 2011-08-31 08:19:56 UTC
I've now upgraded to F15 and I still see it there.  I'm using the following packages:

kernel-2.6.40.3-0.fc15.x86_64
xorg-x11-server-Xorg-1.10.3-1.fc15.x86_64
xorg-x11-drv-nouveau-0.0.16-24.20110324git8378443.fc15.x86_64

Comment 9 David Howells 2011-10-10 08:50:12 UTC
There's a potential fix posted:

http://article.gmane.org/gmane.comp.freedesktop.xorg.devel/25664

Comment 10 Fedora End Of Life 2012-08-16 16:37:38 UTC
This message is a notice that Fedora 14 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 14. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained.  At this time, all open bugs with a Fedora 'version'
of '14' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this 
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen 
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we were unable to fix it before Fedora 14 reached end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" (top right of this page) and open it against that 
version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping