Summary: | Color Tiling unusable on NI | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | DRI | Reporter: | Aidan Marks <aidan> | ||||||||||||
Component: | DRM/Radeon | Assignee: | Default DRI bug account <dri-devel> | ||||||||||||
Status: | RESOLVED FIXED | QA Contact: | |||||||||||||
Severity: | normal | ||||||||||||||
Priority: | medium | CC: | hysvats, Woebbeking | ||||||||||||
Version: | XOrg git | ||||||||||||||
Hardware: | x86-64 (AMD64) | ||||||||||||||
OS: | Linux (All) | ||||||||||||||
Whiteboard: | |||||||||||||||
i915 platform: | i915 features: | ||||||||||||||
Attachments: |
|
Description
Aidan Marks
2011-06-13 16:47:01 UTC
Created attachment 47918 [details]
Color tiling corruption example
Created attachment 47919 [details]
xorg-color-tile.log
Please attach your dmesg output as well. What 3D driver are you using? r600g or r600c? Are you using a compositor or not? Created attachment 47925 [details]
dmesg
(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: 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. Created attachment 47951 [details]
SuperTuxKart with color tiling, r600g hd5850
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? 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. 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. 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. If I disable KWin's effects there is no more graphics corruption. 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) Created attachment 48299 [details]
glxgears with colortiling on
As of 5ff22ab I no longer experience any problems with color tiling on 6850 (so far at least). (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. (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? (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) ? 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? 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. *** Bug 38744 has been marked as a duplicate of this bug. *** (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. Seems fixed for everybody with r600g. r600c problems would need to be tracked separately, but might never get fixed. The corruption is still present with r600g from mesa 7.10.3 on evergreen. Although it is fixed in recent mesa from git. |
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.