https://bugs.freedesktop.org/show_bug.cgi?id=38270
Summary: Color Tiling unusable on NI Product: DRI Version: XOrg CVS Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium Component: DRM/Radeon AssignedTo: dri-devel@lists.freedesktop.org ReportedBy: aidan@cisco.com
latest d-r-t/mesa/ddx that picked up the default change to on for color tiling now causes total screen corruption on NI with KDE 4.6.4.
For the first couple of seconds of KDE startup the display is clean then switches to garbage.
The workaround is to disable color tiling manually.
https://bugs.freedesktop.org/show_bug.cgi?id=38270
--- Comment #1 from Aidan Marks aidan@cisco.com 2011-06-13 16:49:28 PDT --- Created an attachment (id=47918) --> (https://bugs.freedesktop.org/attachment.cgi?id=47918) Color tiling corruption example
https://bugs.freedesktop.org/show_bug.cgi?id=38270
--- Comment #2 from Aidan Marks aidan@cisco.com 2011-06-13 16:50:51 PDT --- Created an attachment (id=47919) --> (https://bugs.freedesktop.org/attachment.cgi?id=47919) xorg-color-tile.log
https://bugs.freedesktop.org/show_bug.cgi?id=38270
--- Comment #3 from Alex Deucher agd5f@yahoo.com 2011-06-13 21:18:27 PDT --- Please attach your dmesg output as well.
https://bugs.freedesktop.org/show_bug.cgi?id=38270
--- Comment #4 from Alex Deucher agd5f@yahoo.com 2011-06-13 21:19:53 PDT --- What 3D driver are you using? r600g or r600c? Are you using a compositor or not?
https://bugs.freedesktop.org/show_bug.cgi?id=38270
--- Comment #5 from Aidan Marks aidan@cisco.com 2011-06-14 01:26:38 PDT --- Created an attachment (id=47925) --> (https://bugs.freedesktop.org/attachment.cgi?id=47925) dmesg
https://bugs.freedesktop.org/show_bug.cgi?id=38270
--- Comment #6 from Aidan Marks aidan@cisco.com 2011-06-14 01:28:20 PDT --- (In reply to comment #4)
What 3D driver are you using? r600g or r600c? Are you using a compositor or not?
vanilla kwin with r600c.
$ glxinfo |grep OpenGL OpenGL vendor string: Advanced Micro Devices, Inc. OpenGL renderer string: Mesa DRI R600 (BARTS 6738) TCL DRI2 OpenGL version string: 2.1 Mesa 7.11-devel (git-a128355) OpenGL shading language version string: 1.20 OpenGL extensions:
https://bugs.freedesktop.org/show_bug.cgi?id=38270
--- Comment #7 from nizze86@hotmail.com 2011-06-14 03:58:09 PDT --- I get corruption with color tiling turned on too. My system is up to date debian sid linux 2.6.39/ddx 6.14.2/mesa 7.10.2 with a 5850 using r600g. Attaching a screenshot of stk with color tiling enabled.
https://bugs.freedesktop.org/show_bug.cgi?id=38270
--- Comment #8 from nizze86@hotmail.com 2011-06-14 03:59:54 PDT --- Created an attachment (id=47951) --> (https://bugs.freedesktop.org/attachment.cgi?id=47951) SuperTuxKart with color tiling, r600g hd5850
https://bugs.freedesktop.org/show_bug.cgi?id=38270
--- Comment #9 from nizze86@hotmail.com 2011-06-14 13:29:55 PDT --- mesa from current git works fine wit color tiling enabled so it seems an old bug still present in 7.10.2 for cypress/evergreen at least. Still a check for a recent enough mesa might be a good idea before enabling by default?
https://bugs.freedesktop.org/show_bug.cgi?id=38270
--- Comment #10 from Aidan Marks aidan@cisco.com 2011-06-14 17:01:39 PDT --- pulling latest mesa/libdrm/ddx again still has the corruption with color tiling on with r600c. I tried r600g and the corruption is not seen.
https://bugs.freedesktop.org/show_bug.cgi?id=38270
--- Comment #11 from Wojciech Pyczak nissarin@gmail.com 2011-06-16 03:13:01 PDT --- That's strange, I'm using 6850 with r600g and still experience corruption, in fact I've had those errors for a long time but didn't bother to report since I assumed it's still work in progress.
https://bugs.freedesktop.org/show_bug.cgi?id=38270
André Wöbbeking Woebbeking@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |Woebbeking@web.de
--- Comment #12 from André Wöbbeking Woebbeking@web.de 2011-06-16 23:29:28 PDT --- I also have this problem on Debian Sid (x86_64) with self compiled ddx (6.14.99) and KDE (effects enabled). Switching back to Sid's 6.14.2 fixes the problem.
I've
OpenGL vendor string: X.Org OpenGL renderer string: Gallium 0.4 on AMD REDWOOD OpenGL version string: 2.1 Mesa 7.10.3 OpenGL shading language version string: 1.20 Driver: R600G GPU class: EVERGREEN
As already noted the corruptions happens a few seconds after login so probably related to KWin effects.
https://bugs.freedesktop.org/show_bug.cgi?id=38270
--- Comment #13 from André Wöbbeking Woebbeking@web.de 2011-06-18 01:53:56 PDT --- If I disable KWin's effects there is no more graphics corruption.
https://bugs.freedesktop.org/show_bug.cgi?id=38270
--- Comment #14 from Gregor Galwas g.galwas@highantdev.de 2011-06-22 11:30:36 PDT --- on my AMD Radeon 6850 I've got that corruption with *when I enable* colortiling too. There is no problem without.
Linux 3.0.0-rc4 #36 SMP Tue Jun 21 18:01:59 CEST 2011 x86_64 GNU/Linux
r600g mesa git ddx git drm git
Xserver-Xorg from debian unstable (7.6+7) (as is the rest of my system)
https://bugs.freedesktop.org/show_bug.cgi?id=38270
--- Comment #15 from Gregor Galwas g.galwas@highantdev.de 2011-06-22 11:32:07 PDT --- Created an attachment (id=48299) --> (https://bugs.freedesktop.org/attachment.cgi?id=48299) glxgears with colortiling on
https://bugs.freedesktop.org/show_bug.cgi?id=38270
--- Comment #16 from Wojciech Pyczak nissarin@gmail.com 2011-06-22 12:44:02 PDT --- As of 5ff22ab I no longer experience any problems with color tiling on 6850 (so far at least).
https://bugs.freedesktop.org/show_bug.cgi?id=38270
--- Comment #17 from Aidan Marks aidan@cisco.com 2011-06-22 16:04:47 PDT --- (In reply to comment #10)
pulling latest mesa/libdrm/ddx again still has the corruption with color tiling on with r600c. I tried r600g and the corruption is not seen.
I see there are recent commits so I pulled libdrm/mesa/ddx again just now. Same as above for me, r600c with kwin is showing corruption still, r600g is clean.
https://bugs.freedesktop.org/show_bug.cgi?id=38270
--- Comment #18 from Gregor Galwas g.galwas@highantdev.de 2011-06-22 23:28:24 PDT --- (In reply to comment #16)
As of 5ff22ab I no longer experience any problems with color tiling on 6850 (so far at least).
I've just pulled mesa+ddx git again. Nothing changed.
To make it clear, I am using
http://cgit.freedesktop.org/mesa/mesa/ http://cgit.freedesktop.org/xorg/driver/xf86-video-ati/ http://cgit.freedesktop.org/mesa/drm/
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=summary
are you using any other drm stuff perhaps?
https://bugs.freedesktop.org/show_bug.cgi?id=38270
--- Comment #19 from Wojciech Pyczak nissarin@gmail.com 2011-06-23 05:41:12 PDT --- (In reply to comment #18)
(In reply to comment #16)
As of 5ff22ab I no longer experience any problems with color tiling on 6850 (so far at least).
I've just pulled mesa+ddx git again. Nothing changed.
To make it clear, I am using
http://cgit.freedesktop.org/mesa/mesa/ http://cgit.freedesktop.org/xorg/driver/xf86-video-ati/ http://cgit.freedesktop.org/mesa/drm/
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=summary
are you using any other drm stuff perhaps?
No, I'm using latest git versions, 64bit Gentoo, 2.6.39 (git) + some stuff from airlied repo (radeon-testing/fixes; I'm waiting for some 'stable' rc to test 3.0), Xfce4/xffw4 with composition enabled but I should note that I'm stick to r600g, I didn't tried r600c in months.
It's just a guess but perhaps your system is overwriting some files or you are using 32bit version of mesa (things like flash for example - I'm using chroot environment to create 32bit packages) ?
https://bugs.freedesktop.org/show_bug.cgi?id=38270
--- Comment #20 from Gregor Galwas g.galwas@highantdev.de 2011-06-26 06:18:07 PDT --- Just to be sure, I've just updated
my linux kernel Linux 3.0.0-rc4+ #37 SMP Sun Jun 26 13:34:27 CEST 2011 x86_64 drm ddx mesa mcgreg@pegasos:~$ glxinfo | grep Open OpenGL vendor string: X.Org OpenGL renderer string: Gallium 0.4 on AMD BARTS OpenGL version string: 2.1 Mesa 7.10.3 OpenGL shading language version string: 1.20
I still have the "corruption" with color tiling, nothing changed. Anything else I can paste/check?
https://bugs.freedesktop.org/show_bug.cgi?id=38270
--- Comment #21 from Wojciech Pyczak nissarin@gmail.com 2011-06-26 15:07:26 PDT --- radscorpion nissarin # glxinfo | grep Open OpenGL vendor string: X.Org OpenGL renderer string: Gallium 0.4 on AMD BARTS OpenGL version string: 2.1 Mesa 7.11-devel (git-5ff22ab) <--- here OpenGL shading language version string: 1.20 OpenGL extensions:
radscorpion nissarin # ls /usr/lib64/dri/ -l razem 0 lrwxrwxrwx 1 root root 21 06-22 21:23 libdricore.so -> ../mesa/libdricore.so lrwxrwxrwx 1 root root 18 06-22 21:23 libglsl.so -> ../mesa/libglsl.so lrwxrwxrwx 1 root root 20 2010-10-06 r300_dri.so -> ../mesa/r300g_dri.so lrwxrwxrwx 1 root root 20 06-22 21:23 r300g_dri.so -> ../mesa/r300g_dri.so lrwxrwxrwx 1 root root 20 06-16 11:46 r600_dri.so -> ../mesa/r600g_dri.so lrwxrwxrwx 1 root root 20 06-22 21:23 r600g_dri.so -> ../mesa/r600g_dri.so lrwxrwxrwx 1 root root 22 2010-10-06 swrast_dri.so -> ../mesa/swrastg_dri.so lrwxrwxrwx 1 root root 22 06-22 21:23 swrastg_dri.so -> ../mesa/swrastg_dri.so
Above might be gentoo specific but anyway I suggest you to check what's in /usr/lib[64]/dri and what `make install` (or whatever you use to install mesa) do on your system.
https://bugs.freedesktop.org/show_bug.cgi?id=38270
Alex Deucher agd5f@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hysvats@gmail.com
--- Comment #22 from Alex Deucher agd5f@yahoo.com 2011-06-29 06:07:36 PDT --- *** Bug 38744 has been marked as a duplicate of this bug. ***
https://bugs.freedesktop.org/show_bug.cgi?id=38270
--- Comment #23 from Gregor Galwas g.galwas@highantdev.de 2011-07-02 07:30:31 PDT --- (In reply to comment #21)
Above might be gentoo specific but anyway I suggest you to check what's in /usr/lib[64]/dri and what `make install` (or whatever you use to install mesa) do on your system.
You were right. There was something wrong with the system. Being uptodate now with drm/ddx/mesa gives me NO MORE corruption with colortiling.
https://bugs.freedesktop.org/show_bug.cgi?id=38270
Michel Dänzer michel@daenzer.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #24 from Michel Dänzer michel@daenzer.net 2011-07-04 09:48:52 PDT --- Seems fixed for everybody with r600g. r600c problems would need to be tracked separately, but might never get fixed.
https://bugs.freedesktop.org/show_bug.cgi?id=38270
--- Comment #25 from nizze86@hotmail.com 2011-07-04 15:34:30 PDT --- The corruption is still present with r600g from mesa 7.10.3 on evergreen. Although it is fixed in recent mesa from git.
dri-devel@lists.freedesktop.org