Bug 37696 - [RADEON:KMS:PLL] frequent colored lines appear on screen
Summary: [RADEON:KMS:PLL] frequent colored lines appear on screen
Status: RESOLVED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Radeon (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-28 08:41 UTC by Joshua Roys
Modified: 2017-10-17 17:17 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
possible fix (573 bytes, patch)
2013-03-22 14:18 UTC, Alex Deucher
no flags Details | Splinter Review

Description Joshua Roys 2011-05-28 08:41:24 UTC
Hello,

I'm back again!  This bug is about the same hardware as in https://bugs.freedesktop.org/show_bug.cgi?id=19960 .  ASUS monitor VH226H, ASUS motherboard M3A78-E, HD3200 (rs780).

01:05.0 VGA compatible controller [0300]: ATI Technologies Inc Radeon HD 3200 Graphics [1002:9610] (prog-if 00 [VGA controller])

I just upgraded from f14 to f15 (2.6.38.6-27.fc15.x86_64) and some frequently occurring but not frequent in number colored lines have appeared on my screen...  they don't necessarily go all the way across the screen either.

I grabbed the "good" registers from bug 19960 and diff'd them to the current regs:
[...]
258c258
< 00000404	00000002 (2)
---
> 00000404	00000003 (3)
269c269
< 00000430	00910032 (9502770)
---
> 00000430	00da0030 (14286896)
275c275
< 00000448	159ec704 (362727172)
---
> 00000448	1593a704 (361998084)
278c278
< 00000454	6c012003 (1812013059)
---
> 00000454	6c010003 (1812004867)
[...]

Settings these regs gets rid of the red/white/blue/etc lines:
# ./avivotool regset 0x404 0x2 ; ./avivotool regset 0x430 0x910032
OLD: 0x404 (0404)	0x00000003 (3)
NEW: 0x404 (0404)	0x00000002 (2)
OLD: 0x430 (0430)	0x00da0030 (14286896)
NEW: 0x430 (0430)	0x00910032 (9502770)

And 0x43c was already set to 7:
# ./avivotool regmatch 0x43c
0x43c	0x00000007 (7)

Thanks!
Comment 1 Alex Deucher 2011-05-31 09:48:29 UTC
Can you try with 2.6.39?
Comment 2 Joshua Roys 2012-03-22 17:08:25 UTC
They are still visible with 3.3.0.
Comment 3 Joshua Roys 2013-03-02 20:47:07 UTC
Still visible in 3.7.9-205.fc18.x86_64.  The same regset commands still fix the lines.
Comment 4 Alex Deucher 2013-03-22 14:18:27 UTC
Created attachment 76913 [details] [review]
possible fix

Does the attached patch help?
Comment 5 Joshua Roys 2013-03-30 18:43:25 UTC
(In reply to comment #4)
> Created attachment 76913 [details] [review] [review]
> possible fix
> 
> Does the attached patch help?

Yes, that patch fixes the lines.  Double-checking with avivotool shows the registers set to the values I otherwise would have set manually:

# avivotool regmatch 0x00000430
0x00000430	0x00910032 (9502770)
# avivotool regmatch 0x00000404
0x00000404	0x00000002 (2)

Thanks!
Comment 6 mirh 2017-10-17 17:17:55 UTC
Fixed in 411678288d61ba17afe1f8afed92200be6bbc65d then I guess.


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.