Bug 18864 - 2d corruption with latest radeon git
Summary: 2d corruption with latest radeon git
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: xf86-video-ati maintainers
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-03 05:48 UTC by Edward Sheldrake
Modified: 2008-12-03 14:33 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Screenshot showing the problems (172.89 KB, image/png)
2008-12-03 05:48 UTC, Edward Sheldrake
no flags Details
Xorg log from driver that produced the screenshot (90.65 KB, text/plain)
2008-12-03 05:50 UTC, Edward Sheldrake
no flags Details
Xorg log from last driver without the problem (90.15 KB, text/plain)
2008-12-03 05:51 UTC, Edward Sheldrake
no flags Details
possible fix (7.08 KB, patch)
2008-12-03 08:09 UTC, Alex Deucher
no flags Details | Splinter Review
possible fix (2.28 KB, patch)
2008-12-03 12:25 UTC, Alex Deucher
no flags Details | Splinter Review

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.