Bug 556642

Summary: radeon [RV370/X600] screen corruption
Product: [openSUSE] openSUSE 11.2 Reporter: Daniel Morris <danielm>
Component: X.OrgAssignee: Egbert Eich <eich>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <xorg-maintainer-bugs>
Severity: Major    
Priority: P3 - Medium CC: forgotten_hCFFy7JqgP, silviu_marin-caea, sndirsch
Version: Final   
Target Milestone: ---   
Hardware: i686   
OS: openSUSE 11.2   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: xorg.conf
log file with DRI 1
screen shot
screen shot
screen shot

Description Daniel Morris 2009-11-18 18:36:56 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.1.4) Gecko/20091016 SUSE/3.5.4-1.1.2 Firefox/3.5.4

I've just updated from 11.1 (with factory for KDE 4.3) and my display is corrupted. In xterms I get clipped characters, stray underlines and pixels missing. Konqueror is completely unusable as when I scoll just the top & bottom lines or so of the page update with the middle area not updated.

I've compared my Xorg.conf, and the only difference was missing Option "DRI" "1" which I've added back in and restarted, with the same results.

I also notice that the graphical boot looks awful, like a very, very low resolution (monitor is 1600x1200) and not the slick boots I've had before.

I'm using the desktop kernel, although tried first with the PAE (installed from zypper dup). During upgrade I deleted all other repos and followed the instructions from the wiki.

Prior to upgrade I was using:-
xorg-x11-7.4-8.20.1 xorg-x11-driver-video-7.4-19.8.2 & 
kernel-pae-2.6.27.37-0.1.1

Now:-
xorg-x11-7.4-35.3 xorg-x11-driver-video-7.4-87.88.1
kernel-desktop-2.6.31.5-0.1.1.i586

Reproducible: Always

Steps to Reproduce:
1. boot
2. login
3.
Actual Results:  
various corruption in X terminals & konqueror (haven't tried much else).
Comment 1 Stefan Dirsch 2009-11-18 19:02:19 UTC
Would it be possible to provide the required information according
to our HOWTO

  http://en.opensuse.org/Bugs:X

for reporting X11 related bugs? Please set the Status back to
ASSIGNED after providing all the required information. Thanks.
Comment 2 Daniel Morris 2009-11-18 22:38:20 UTC
Created attachment 328328 [details]
xorg.conf

xorg.conf with Option "DRI" "1" from xorg.conf.saxsave. I get the same corruption with both.
Comment 3 Daniel Morris 2009-11-18 22:40:13 UTC
Created attachment 328329 [details]
log file with DRI 1
Comment 4 Daniel Morris 2009-11-19 10:09:39 UTC
Created attachment 328400 [details]
screen shot

Note the horizontal tear coming from the lower left hand edge of the xterm's corner on the desktop to the frame of the monitor
Comment 5 Daniel Morris 2009-11-19 10:13:05 UTC
Created attachment 328401 [details]
screen shot

screen shot from cameraphone (distortion disappers from screenshots with ksnaphot).

Note the horizontal lines in both the viewable area and the scrollbar/slider.
Comment 6 Daniel Morris 2009-11-19 10:22:34 UTC
Created attachment 328406 [details]
screen shot

Last one, notice that the blank lines now have .. .... ... in them, all I did was scoll up through the buffer and back down.

Also the the highlighted text has vertical black bars between each character which shows up against the inverse video, but the picture doesn't do it justice. Sorry for poor quality of picture.

These lines remain on the screen from a variety of applications, such as typing a URL into konqui. It is as though the geometry of an offscreen buffer is slightly out and doesn't get completely refreshed. Another example is I had horizontal line through the text "If the attachment is a patch..." above and a vertical bar on the right, as though the box around the Description entry field
has been overlaid below the original. When I clicked in this comment box it was redrawn and the lines disappeared.
Comment 7 Daniel Morris 2009-11-23 14:19:45 UTC
I don't think this is an X bug, but rather KDE related. Observing the problems over time, I think it is the window manager failing to fully update 
over-lapping regions properly, leaving artefacts from a previous draw that haven't quite been overwritten.
Comment 8 Daniel Morris 2009-11-25 14:56:26 UTC
I've changed my mind ;-) I think it is an X bug.

I've tried updating to xorg-x11-driver-video-7.4-138.1 from the build service but the problem remains. I have however narrowed things down to compositing being enabled using OpenGL from the desktop, with this switched off the corruption goes away, as do all the nice productivity enhancements that compositing brings :-( 

Hunting around, I see a similar problem and screenshots at http://bugs.freedesktop.org/show_bug.cgi?id=17041 in the TextureFromPixmap (attachment 26658 [details]) capture. That bug references bug 16123 and an off-by-one error in scissor cliprect. Is it possible that a regression has crept into the radeon video driver between the version in openSUSE 11.1/Factory (ie 7.4-19.8.2)?

I also saw a similar problem being discussed in the thread at http://forums.opensuse.org/pre-release-beta/423841-strange-lines-ati-radeon-x300.html

I also tried (this shows some desperation) to rebuild the evil proprietary ATI driver, but no dice. The legacy driver for X600 doesn't build for 11.2 and their new driver doesn't support these "older" cards.
Comment 9 Stefan Dirsch 2009-11-27 22:33:17 UTC
Another duplicate of Bug #549226?
Comment 10 Stefan Dirsch 2009-11-27 22:52:51 UTC
*** Bug 558817 has been marked as a duplicate of this bug. ***
Comment 11 Stefan Dirsch 2009-11-27 22:54:10 UTC
Let's assume this being a duplicate of Bug #549226.

*** This bug has been marked as a duplicate of bug 549226 ***
Comment 12 Daniel Morris 2009-11-27 23:29:23 UTC
I agree these all seem to stem from the same problem - #558817 is even the same Dell system.
Comment 13 Daniel Morris 2009-11-27 23:31:14 UTC
I agree these all seem to stem from the same problem - #558817 is even the same Dell system. Thanks for taking the time to look into it, sorry I missed it on the first bug search.