Bug 36197 - Graphic Corruption on HD 4570
Summary: Graphic Corruption on HD 4570
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium major
Assignee: xf86-video-ati maintainers
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-13 00:30 UTC by Christian Petrov
Modified: 2011-04-19 12:25 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Xorg log file. (36.54 KB, text/x-log)
2011-04-13 01:55 UTC, Christian Petrov
no flags Details
dmesg output. (39.22 KB, patch)
2011-04-13 01:59 UTC, Christian Petrov
no flags Details | Splinter Review
possible fix (1.46 KB, patch)
2011-04-19 07:57 UTC, Alex Deucher
no flags Details | Splinter Review

Description Christian Petrov 2011-04-13 00:30:03 UTC
When using the latest "radeon" from the repo or the git version on Archlinux x86_64 with ATI Mobility Radeon HD 4570 graphical corruption appears as soon as the driver is loaded with KMS enabled, covering up the whole screen - diagonally moving colorful stripes. They don't appear when software capturing the screen, so I took a photo: http://img849.imageshack.us/i/s8300438.jpg/ .The same happens with the latest Ubuntu 11.04 Live CD.

One more person with the same card is reporting the problem, https://bbs.archlinux.org/viewtopic.php?id=115932 ,who also made a video: http://www.youtube.com/watch?v=s0-kYZSHRG8 . He reports it to be caused by overheating, but I don't think so, because the stripes intensity is random on every boot and sometimes the screen is clear (something like 1 out of 10 boot ups). I don't have overheating issues myself.

The graphics performance is overall great, in spite of the artifacts.
Comment 1 Alex Deucher 2011-04-13 00:38:05 UTC
please attach your xorg log and dmesg output.
Comment 2 Christian Petrov 2011-04-13 01:55:52 UTC
Created attachment 45568 [details]
Xorg log file.
Comment 3 Christian Petrov 2011-04-13 01:59:34 UTC
Created attachment 45569 [details] [review]
dmesg output.
Comment 4 Christian Petrov 2011-04-13 02:00:26 UTC
Hope this helps!
Comment 5 Christian Petrov 2011-04-14 00:09:32 UTC
Found out something interesting:

Even without xf86-video-ati and ati-dri installed I get the same corruption with the proprietary catalyst when starting Archlinux without 'nomodeset' kernel parameter. 

Tried xorg 1.8 and 1.9 - still the same corruption. 

I'm deadly sure that the driver worked fine back in September 2010.
Comment 6 Christian Petrov 2011-04-15 09:39:31 UTC
Okay, this seems to be a kernel issue?
I have no problems at all with kernel versions =< 2.6.37-5 .
Comment 7 Alex Deucher 2011-04-15 11:00:51 UTC
What kernels are problematic?  Can you bisect?
Comment 8 Christian Petrov 2011-04-15 13:09:27 UTC
(In reply to comment #7)
> What kernels are problematic?  Can you bisect?

2.6.37-5 with Arch patchset works fine, the problem is present with 2.6.37.5-1-ARCH and all the 2.6.38 kernels from Arch repository (including the latest one 2.6.38.2-1-ARCH).

The default Ubuntu Natty kernel currently shipping with the Live CD daily builds is also problematic (2.6.38.8.22)
Comment 9 Alex Deucher 2011-04-15 13:21:53 UTC
(In reply to comment #8)
> (In reply to comment #7)
> > What kernels are problematic?  Can you bisect?
> 
> 2.6.37-5 with Arch patchset works fine, the problem is present with
> 2.6.37.5-1-ARCH and all the 2.6.38 kernels from Arch repository (including the
> latest one 2.6.38.2-1-ARCH).

Assuming 2.6.37-5 with Arch patchset and 2.6.37.5-1-ARCH are fairly close, can you track down the problematic change?
Comment 10 Alex Deucher 2011-04-15 13:22:30 UTC
If not, bisecting a vanilla kernel would be helpful.
Comment 11 Christian Petrov 2011-04-17 08:04:06 UTC
Ok, v2.6.37.1 vanilla seems to be good and with v2.6.37.2 vanilla corruption is present. I will bisect as soon as possible.
Comment 12 Christian Petrov 2011-04-19 01:52:46 UTC
(In reply to comment #10)
> If not, bisecting a vanilla kernel would be helpful.

[94a99842f0e2738d338e5256a7cca4b8e30adf94] drm/radeon/kms: hopefully fix pll issues for real (v3)

This seems to cause the corruption.
Comment 13 Alex Deucher 2011-04-19 07:57:19 UTC
Created attachment 45820 [details] [review]
possible fix

Does this patch fix the issue?
Comment 14 Christian Petrov 2011-04-19 12:07:27 UTC
Yes, it does.
Thank you!
Comment 15 Alex Deucher 2011-04-19 12:25:51 UTC
I've sent the patch to Dave.  thanks for testing!


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.