Bug 18864

Summary: 2d corruption with latest radeon git
Product: xorg Reporter: Edward Sheldrake <ejsheldrake>
Component: Driver/RadeonAssignee: xf86-video-ati maintainers <xorg-driver-ati>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: git   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Screenshot showing the problems
none
Xorg log from driver that produced the screenshot
none
Xorg log from last driver without the problem
none
possible fix
none
possible fix none

Description Edward Sheldrake 2008-12-03 05:48:13 UTC
Created attachment 20763 [details]
Screenshot showing the problems

I'm seeing some 2D rendering problems with the latest radeon git driver, there were some horizontal lines under text in metacity window titles and the firefox address bar, and one or two characters in gnome-terminal became messed up. Using EXA.

If I did git bisect correctly, then fc079c5267baf431bbecee7744e484783d393152 was the first bad commit:

commit fc079c5267baf431bbecee7744e484783d393152
Author: Dave Airlie <airlied@redhat.com>
Date:   Tue Dec 2 22:11:57 2008 -0500

    Don't mix 2D and 3D in the same IB
    
    fix from radeon-gem-cs



Radeon 9550 (RV350), Fedora 10, with kernel modesetting disabled:
kernel-2.6.27.5-117.fc10.i686
xorg-x11-server-Xorg-1.5.3-5.fc10.i386
libdrm-2.4.0-0.21.fc10.i386
Comment 1 Edward Sheldrake 2008-12-03 05:50:27 UTC
Created attachment 20764 [details]
Xorg log from driver that produced the screenshot
Comment 2 Edward Sheldrake 2008-12-03 05:51:46 UTC
Created attachment 20765 [details]
Xorg log from last driver without the problem
Comment 3 Alex Deucher 2008-12-03 08:09:56 UTC
Created attachment 20767 [details] [review]
possible fix

Does this patch help?
Comment 4 Edward Sheldrake 2008-12-03 08:40:10 UTC
No, the patch (id 20767) made no noticeable difference.
Comment 5 Alex Deucher 2008-12-03 12:23:58 UTC
Does
Option "BusType" "PCI"
help?
Comment 6 Alex Deucher 2008-12-03 12:25:21 UTC
Created attachment 20769 [details] [review]
possible fix

Can you also try this patch? (remove the previous patch)
Comment 7 Edward Sheldrake 2008-12-03 14:04:59 UTC
BusType "PCI" did not solve the problem but the second patch (id 20769) seems to have fixed it.
Comment 8 Alex Deucher 2008-12-03 14:33:28 UTC
excellent.  fix pushed:
941ac0d3ab839dc5aaaef2f3b7f5c7085b2894c5

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.