Skip to contentSkip to conversation

New: Massive screen corruption on Cayman

Bug 54002 [email protected] 1 participant 17 messages Aug 24, 2012 – Aug 25, 2012

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=54002

Bug #: 54002
Summary: Massive screen corruption on Cayman
Classification: Unclassified
Product: DRI
Version: unspecified
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Severity: critical
Priority: medium
Component: DRM/Radeon
AssignedTo: [email protected]
ReportedBy: [email protected]

Created attachment 66058
--> https://bugs.freedesktop.org/attachment.cgi?id=66058
Corrupted desktop

I just updated mesa, libdrm snd the xf86-video-radeon to the newest git versions and now my screen is massivly corrupted (see the attached image). As you see this corruption isn't everywhere. By writing this text it flashed (sometimes more corrupt, sometimes less, sometimes not at all).

No information at dmesg nor Xorg.0.log available.

Kernel in use: Unpatched 3.6-rc3

BTW: It's hard to write a bug report with a corrupted screen (will attach a screenshot, too, so you got something to laugh).

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#1 lore raw

[Bug 54002] Massive screen corruption on Cayman

https://bugs.freedesktop.org/show_bug.cgi?id=54002

--- Comment #1 from Thomas Rohloff <[email protected]> 2012-08-24 11:25:09 UTC --- Created attachment 66059
--> https://bugs.freedesktop.org/attachment.cgi?id=66059
bugs.freedesktop.org with the corruption

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#2 lore raw

[Bug 54002] Massive screen corruption on Cayman

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=54002

--- Comment #2 from Thomas Rohloff <[email protected]> 2012-08-24 11:34:30 UTC --- Created attachment 66060
--> https://bugs.freedesktop.org/attachment.cgi?id=66060
radeontop

I just noticed that the GPU usage is very high (radeontop), so high that the desktop gets unusable in the LOW power profile. It spins between 20 and 80%

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw

[Bug 54002] Massive screen corruption on Cayman

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=54002

--- Comment #3 from Michel Dänzer <[email protected]> 2012-08-24 12:02:27 UTC ---

Quoted 2 lines

I just updated mesa, libdrm snd the xf86-video-radeon to the newest git versions and now my screen is massivly corrupted (see the attached image).

Can you isolate which update caused the problem?

Quoted 1 line

No information at dmesg nor Xorg.0.log available.

Please always attach them to bug reports anyway.

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#4 lore raw

[Bug 54002] Massive screen corruption on Cayman

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=54002

--- Comment #4 from Thomas Rohloff <[email protected]> 2012-08-24 12:11:38 UTC --- Created attachment 66062
--> https://bugs.freedesktop.org/attachment.cgi?id=66062
Xorg.0.log

(In reply to comment #3)

Quoted 1 line

Can you isolate which update caused the problem?

I don't remember the version of mesa before and it's not in the emerge.log (gentoo). But I'll try my best to get it. If you have any ideas feel free to share them.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#5 lore raw

[Bug 54002] Massive screen corruption on Cayman

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=54002

--- Comment #5 from Thomas Rohloff <[email protected]> 2012-08-24 12:12:28 UTC --- Created attachment 66063
--> https://bugs.freedesktop.org/attachment.cgi?id=66063
dmesg

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#7 lore raw

[Bug 54002] Massive screen corruption on Cayman

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=54002

--- Comment #7 from Thomas Rohloff <[email protected]> 2012-08-24 16:53:47 UTC --- Created attachment 66074
--> https://bugs.freedesktop.org/attachment.cgi?id=66074
My .drirc

The bad commit is e7c177ec9e37d0c406c3b0ef8f228159d7ee5d69 ( st/dri: use driver name for driconf section lookup ) which sounds a bit weird.
So I'm uploading my .drirc

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#8 lore raw

[Bug 54002] Massive screen corruption on Cayman

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=54002

--- Comment #8 from Thomas Rohloff <[email protected]> 2012-08-24 17:00:50 UTC --- If I set "pp_jimenezmlaa_color" to "0" everything is fine.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#9 lore raw

[Bug 54002] Massive screen corruption on Cayman

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=54002

--- Comment #9 from Thomas Rohloff <[email protected]> 2012-08-24 17:04:04 UTC --- Well, it's reduced to a minimum, not solved. Need some more testing.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#10 lore raw

[Bug 54002] Massive screen corruption on Cayman

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=54002

--- Comment #10 from Thomas Rohloff <[email protected]> 2012-08-24 17:39:49 UTC --- with both, ""pp_jimenezmlaa_color" and "pp_jimenezmlaa" setted to 0 it seems to be fixed completely. But I don't think activated MLAA should cause this.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#11 lore raw

[Bug 54002] Massive screen corruption with MLAA on Cayman

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=54002

Thomas Rohloff <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

            Summary|Massive screen corruption   |Massive screen corruption
                   |on Cayman                   |with MLAA on Cayman
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#12 lore raw

[Bug 54002] Massive screen corruption with MLAA on Cayman

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=54002

--- Comment #11 from Vadim Girlin <[email protected]> 2012-08-24 18:26:44 UTC --- (In reply to comment #7)

Quoted 6 lines

Created attachment 66074 [details]
My .drirc

The bad commit is e7c177ec9e37d0c406c3b0ef8f228159d7ee5d69 ( st/dri: use driver name for driconf section lookup ) which sounds a bit weird.
So I'm uploading my .drirc

That commit makes mesa use real driver name ("r600") when it selects the device section from drirc. Before that patch "dri" was used instead. As long as your drirc doesn't have "dri" section (there are "r600" and "dri2"), then I think it was not used at all, so defaults were used. And now the settings from the "r600" section were activated after that commit.

Probably you tried to enable MLAA earlier, that's why it was turned on in your drirc (but not active before that patch). I'm not sure how the MLAA should work, but your screenshot looks really antialiased, so probably it works now.

You might want to try removing/renaming '.drirc' to use default settings again, if you aren't sure how to restore correct settings manually. Also you might use 'driconf' utility that will create '.drirc' with default settings for you if it doesn't exist.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#13 lore raw

[Bug 54002] Massive screen corruption with MLAA on Cayman

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=54002

--- Comment #12 from Thomas Rohloff <[email protected]> 2012-08-24 18:43:22 UTC --- (In reply to comment #11)
I fully understand what the commit did. But I don't think MLAA should make the screen look like this, else nobody should enable it, so it's useless. Don't you agree?

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#14 lore raw

[Bug 54002] Massive screen corruption with MLAA on Cayman

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=54002

--- Comment #13 from Vadim Girlin <[email protected]> 2012-08-24 19:24:25 UTC --- (In reply to comment #12)

Quoted 4 lines

(In reply to comment #11)
I fully understand what the commit did. But I don't think MLAA should make the screen look like this, else nobody should enable it, so it's useless. Don't you agree?

I think it should be enabled for some graphical applications only (games etc), not for all applications by default. drirc allows to use different settings for specific apps based on the executable name.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#15 lore raw

[Bug 54002] Massive screen corruption with MLAA on Cayman

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=54002

--- Comment #14 from Alexandre Demers <[email protected]> 2012-08-25 03:56:27 UTC --- MLAA seems to be doing exactly as under Windows. I saw the same thing with Catalyst on Windows 7 mostly in Messenger. See
http://www.sevenforums.com/software/182520-msn-live-messenger-browser-problem.html,
http://www.sevenforums.com/software/182520-msn-live-messenger-browser-problem.html
and comments in
http://www.sevenforums.com/graphic-cards/166423-text-looks-if-water-has-been-poured.html

So, for some reason, MLAA doesn't behave as expected with some applications (2D content where it "shouldn't")

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#16 lore raw

[Bug 54002] Massive screen corruption with MLAA on Cayman

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=54002

Alex Deucher <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |NOTABUG

--- Comment #15 from Alex Deucher <[email protected]> 2012-08-25 13:09:46 UTC --- (In reply to comment #14)

Quoted 9 lines

MLAA seems to be doing exactly as under Windows. I saw the same thing with Catalyst on Windows 7 mostly in Messenger. See
http://www.sevenforums.com/software/182520-msn-live-messenger-browser-problem.html,
http://www.sevenforums.com/software/182520-msn-live-messenger-browser-problem.html
and comments in
http://www.sevenforums.com/graphic-cards/166423-text-looks-if-water-has-been-poured.html

So, for some reason, MLAA doesn't behave as expected with some applications (2D content where it "shouldn't")

When you turn on MLAA in your drirc, it applies to all 3D applications. If you are using a 3D compositor (compiz, gnome shell, kwin, etc.) as a window manager, it will also apply to X apps. If you want to enable MLAA you'll need to specify what apps you want it to apply to in your drirc.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.