New: DXT3 and DXT5 broken on Cayman gpu
https://bugs.freedesktop.org/show_bug.cgi?id=38173
Summary: DXT3 and DXT5 broken on Cayman gpu
Product: Mesa
Version: git
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/r600
AssignedTo: [email protected]
ReportedBy: [email protected]
Using linux 3.0-rc2 kernel and mesa@git-eca3e91 + ati-ddx from git
libtxc_dxtn is also installed.
Radeon 6970 using g3d driver.
Runing texcmp test from demos.
DXT1 works fine, DXT3 and DXT5 gives broken image (on both ARGB and RGB modes)
same corruptions can be seen in sauerbraten menu (image on bg - corrupted) or in quake4, unigine tropics.
exactly same system with 6870 gpu - dxt1, dxt3, dxt5 works 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.
[Bug 38173] DXT3 and DXT5 broken on Cayman gpu
https://bugs.freedesktop.org/show_bug.cgi?id=38173
Alex Deucher <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #1 from Alex Deucher <[email protected]> 2011-12-06 05:56:36 PST --- *** Bug 42067 has been marked as a duplicate of this bug. ***
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.
[Bug 38173] DXT3 and DXT5 broken on Cayman gpu
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=38173
Alexandre Demers <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected] | |m
--- Comment #2 from Alexandre Demers <[email protected]> 2011-12-20 15:33:46 PST --- *** Bug 43954 has been marked as a duplicate of this bug. ***
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.
[Bug 38173] DXT3 and DXT5 broken on Cayman gpu
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=38173
--- Comment #3 from Andre Maasikas <[email protected]> 2011-12-20 23:49:55 PST --- Created attachment 54625
--> https://bugs.freedesktop.org/attachment.cgi?id=54625
proposed
Here's a thing to try ( we should set non_disp_tiling in CB for > 128bpp formats)
Makes UINT32 FLOAT32 work a bit better here.
There's still some alignment issues at small mipsizes thoug
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.
[Bug 38173] DXT3 and DXT5 broken on Cayman gpu
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=38173
--- Comment #4 from Harald Judt <[email protected]> 2011-12-21 02:34:25 PST --- I confirm that the patch helps with the problem. The textures start to look recognizable again, but parts of them are still displaced or corrupted.
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.
[Bug 38173] DXT3 and DXT5 broken on Cayman gpu
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=38173
--- Comment #5 from Alexandre Demers <[email protected]> 2011-12-27 21:18:15 PST --- Created attachment 54878
--> https://bugs.freedesktop.org/attachment.cgi?id=54878
test02 with applied patch
Result with patch applied, there is still visual errors: matrix is not correctly ordered
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.
[Bug 38173] DXT3 and DXT5 broken on Cayman gpu
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=38173
--- Comment #6 from Alexandre Demers <[email protected]> 2011-12-27 21:24:12 PST --- Created attachment 54879
--> https://bugs.freedesktop.org/attachment.cgi?id=54879
test02 without patch
This the result without the patch applied.
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.
[Bug 38173] DXT3 and DXT5 broken on Cayman gpu
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=38173
--- Comment #7 from Alexandre Demers <[email protected]> 2011-12-27 21:33:54 UTC --- The expected image should be like Test02 from this serie:
http://unbirthgame.com/files/feat_test_images_round2.jpg
I hope this will help you in better figuring out other changes and fixes needed.
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.
[Bug 38173] DXT3 and DXT5 broken on Cayman gpu
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=38173
--- Comment #8 from Alexandre Demers <[email protected]> 2012-02-05 17:48:37 PST --- I'm adding an apitrace of RendererFeatTest64 is you want to play with it:
http://www.mediafire.com/?mnlmwe6x4j305zm
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.
[Bug 38173] DXT3 and DXT5 broken on Cayman gpu
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=38173
--- Comment #9 from Andre Maasikas <[email protected]> 2012-02-10 09:02:04 PST --- agd5f has commited patches which should fix this 5e1495b2d9311fa2b320766a1d299053904bd9c3
andacca690c259824636ef1ff684a10bd1caca4751f
these may also appear in stable branches sometime
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.
[Bug 38173] DXT3 and DXT5 broken on Cayman gpu
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=38173
--- Comment #10 from Alexandre Demers <[email protected]> 2012-02-10 22:06:49 PST --- It seems to be rendering correctly now for me. Textures and texts that were corrupted are now 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.
[Bug 38173] DXT3 and DXT5 broken on Cayman gpu
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=38173
Alex Deucher <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXEDSignature · 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.