Bug 21818

Summary: "scroll bar" image deformation
Product: xorg Reporter: Brian Paterni <bpaterni>
Component: Driver/RadeonAssignee: xf86-video-ati maintainers <xorg-driver-ati>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: bpaterni, freedesktop
Version: git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
bad image
none
xorg.log
none
good image none

Description Brian Paterni 2009-05-19 11:14:45 UTC
Created attachment 26008 [details]
bad image

Using Iceweasel as my browser and the NASA Night Launch theme I'm seeing some image deformation in the area unoccupied by the scroll bar. Usually tiny black and gray boxes appear in that area, but now in latest git I see a series of jagged lines.

git-bisect reveals that the problem code is somewhere in this commit:

http://cgit.freedesktop.org/xorg/driver/xf86-video-ati/commit/?id=026b6f820d6caea17d2a082193e850713d5770a8

Thanks for all the hard work, radeon developers!
Comment 1 Alex Deucher 2009-05-19 11:17:57 UTC
What chip are you using?  Please attach your xorg log.
Comment 2 Brian Paterni 2009-05-19 11:24:46 UTC
Created attachment 26009 [details] [review]
xorg.log

whoops, ya I'm using an rv630 chip :: Radeon HD 2600 XT.
Comment 3 Brian Paterni 2009-05-20 20:31:32 UTC
Created attachment 26046 [details]
good image
Comment 4 Michel Dänzer 2009-05-22 02:36:57 UTC
Looks like it doesn't repeat the pattern (properly) but stretches it.
Comment 5 Michel Dänzer 2009-06-08 06:52:52 UTC
*** Bug 22139 has been marked as a duplicate of this bug. ***
Comment 6 Alex Deucher 2009-06-08 12:33:45 UTC
fixed in ec1a3ccdf61c2226617b571cc4a209a542e9d7e3
Comment 7 Martin Whitaker 2009-06-08 13:13:06 UTC
Can confirm the fix resolves my issue. Thanks for all your work!
Comment 8 Brian Paterni 2009-06-30 20:58:19 UTC
This bug is certainly fixed on my desktop machine, but it apparently isn't on my laptop and I'm not sure why.

My laptop has pretty much the same chip as my desktop (Mobility HD 2600 -- rv630) and is at latest git as well. However the fix presented in ec1a3ccdf61c2226617b571cc4a209a542e9d7e3 doesn't seem to be working on it.

I've attempted to get kms/3d running on my laptop and as a result, I've compiled and installed off-distro programs. So I'm wondering if this could be the problem.
Comment 9 Alex Deucher 2009-07-01 08:17:34 UTC
(In reply to comment #8)
> This bug is certainly fixed on my desktop machine, but it apparently isn't on
> my laptop and I'm not sure why.
> 
> My laptop has pretty much the same chip as my desktop (Mobility HD 2600 --
> rv630) and is at latest git as well. However the fix presented in
> ec1a3ccdf61c2226617b571cc4a209a542e9d7e3 doesn't seem to be working on it.
> 
> I've attempted to get kms/3d running on my laptop and as a result, I've
> compiled and installed off-distro programs. So I'm wondering if this could be
> the problem.
> 

This bug was only present on git master. Make sure you are using the latest git master.  6.12-branch stable releases are not affected.  Also, KMS is not supported yet on r6xx/r7xx chips.
Comment 10 Brian Paterni 2009-07-01 13:01:18 UTC
(In reply to comment #9)
> This bug was only present on git master. Make sure you are using the latest git
> master.  6.12-branch stable releases are not affected.  Also, KMS is not
> supported yet on r6xx/r7xx chips.
> 

I believe I was on latest git master. To be certain however I did a fresh clone in a separate directory and built from there. And the bug is still present when I restart X.

I've also tried out my distro provided package which is at 6.12.2 (I did uninstall my git driver before doing so) and it's still there. I'm not sure what is going on here since the bug is fixed on my desktop. Is there something besides radeon that could be causing this behavior?
Comment 11 Alex Deucher 2009-07-01 13:15:48 UTC
(In reply to comment #10)
> I believe I was on latest git master. To be certain however I did a fresh clone
> in a separate directory and built from there. And the bug is still present when
> I restart X.
> 
> I've also tried out my distro provided package which is at 6.12.2 (I did
> uninstall my git driver before doing so) and it's still there. I'm not sure
> what is going on here since the bug is fixed on my desktop. Is there something
> besides radeon that could be causing this behavior?
> 

Sounds like the versions you've built are not actually being used.  By default the driver installs in /usr/local.  Make sure the correct driver is being used when you start X.  Also make sure you stop and start X rather than just logging out and back in.
Comment 12 Brian Paterni 2009-07-01 13:51:53 UTC
Yep, it turns I needed to remove a ModulePath from xorg.conf to prevent it from loading an old version of the driver.

Thanks for your time Alex, although it did turn out to be human error in the end.

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.