[Bug 30960] [r300g][glsl][libtxc_dxtn] Texture corruption in Xonotic with lightmaps

2010-10-26 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=30960 --- Comment #46 from Chris Rankin 2010-10-26 01:29:24 PDT --- (In reply to comment #45) > Assuming that's with your AGP RV350, r300_asic.copy is used. Did you mean that > instead of radeon_asic.copy? Yes, I meant r300_asic.copy really. (Sorry,

[Bug 30960] [r300g][glsl][libtxc_dxtn] Texture corruption in Xonotic with lightmaps

2010-10-26 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=30960 --- Comment #45 from Michel D?nzer 2010-10-26 00:31:06 PDT --- (In reply to comment #42) > I replaced r100_copy_blit with r200_copy_dma in both radeon_asic.copy and > r300_asic_pcie.copy, but didn't notice any significant difference in the >

[Bug 30960] [r300g][glsl][libtxc_dxtn] Texture corruption in Xonotic with lightmaps

2010-10-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=30960 --- Comment #45 from Michel Dänzer mic...@daenzer.net 2010-10-26 00:31:06 PDT --- (In reply to comment #42) I replaced r100_copy_blit with r200_copy_dma in both radeon_asic.copy and r300_asic_pcie.copy, but didn't notice any significant

[Bug 30960] [r300g][glsl][libtxc_dxtn] Texture corruption in Xonotic with lightmaps

2010-10-25 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=30960 --- Comment #44 from Marek Ol??k 2010-10-25 14:15:10 PDT --- (In reply to comment #42) > (In reply to comment #41) > > A simpler test could be to use r200_copy_dma instead of r100_copy_blit for > > the > > .copy hook in radeon_asic.c. (On my

[Bug 30960] [r300g][glsl][libtxc_dxtn] Texture corruption in Xonotic with lightmaps

2010-10-25 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=30960 --- Comment #43 from Tomasz Czapiewski 2010-10-25 14:14:02 PDT --- (In reply to comment #37) > Have you tested whether the corruption happens with r300c too? It does with > WoW > (although r300g has fewer other bugs). On r300c enabling (in

[Bug 30960] [r300g][glsl][libtxc_dxtn] Texture corruption in Xonotic with lightmaps

2010-10-25 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=30960 --- Comment #42 from Chris Rankin 2010-10-25 13:42:16 PDT --- (In reply to comment #41) > A simpler test could be to use r200_copy_dma instead of r100_copy_blit for the > .copy hook in radeon_asic.c. (On my mobile RV350 that seems to perform

[Bug 30960] [r300g][glsl][libtxc_dxtn] Texture corruption in Xonotic with lightmaps

2010-10-25 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=30960 --- Comment #41 from Michel D?nzer 2010-10-25 01:14:35 PDT --- (In reply to comment #39) > Not necessary, it's just a theory. It would be interesting to rewrite that > function to use the 3D engine on r300 and see if it fixes anything. A

[Bug 30960] [r300g][glsl][libtxc_dxtn] Texture corruption in Xonotic with lightmaps

2010-10-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=30960 --- Comment #41 from Michel Dänzer mic...@daenzer.net 2010-10-25 01:14:35 PDT --- (In reply to comment #39) Not necessary, it's just a theory. It would be interesting to rewrite that function to use the 3D engine on r300 and see if it fixes

[Bug 30960] [r300g][glsl][libtxc_dxtn] Texture corruption in Xonotic with lightmaps

2010-10-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=30960 --- Comment #43 from Tomasz Czapiewski xe...@irc.pl 2010-10-25 14:14:02 PDT --- (In reply to comment #37) Have you tested whether the corruption happens with r300c too? It does with WoW (although r300g has fewer other bugs). On r300c

[Bug 30960] [r300g][glsl][libtxc_dxtn] Texture corruption in Xonotic with lightmaps

2010-10-24 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=30960 --- Comment #40 from Tomasz Czapiewski 2010-10-24 22:16:30 PDT --- I've done some more testing in spectate mode (so I can go closer to walls, even fly through them) and my theory about 60->30 FPS drop does not work everytime as there are walls

[Bug 30960] [r300g][glsl][libtxc_dxtn] Texture corruption in Xonotic with lightmaps

2010-10-24 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=30960 --- Comment #39 from Marek Ol??k 2010-10-24 15:38:54 PDT --- (In reply to comment #38) > (In reply to comment #32) > > In the kernel, there is function r100_copy_blit for copying buffers between > > RAM > > and VRAM using the 2D engine, and

[Bug 30960] [r300g][glsl][libtxc_dxtn] Texture corruption in Xonotic with lightmaps

2010-10-24 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=30960 --- Comment #38 from Chris Rankin 2010-10-24 15:31:05 PDT --- (In reply to comment #32) > In the kernel, there is function r100_copy_blit for copying buffers between > RAM > and VRAM using the 2D engine, and it's hooked up in the TTM. The

[Bug 30960] [r300g][glsl][libtxc_dxtn] Texture corruption in Xonotic with lightmaps

2010-10-24 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=30960 --- Comment #37 from Chris Rankin 2010-10-24 15:27:17 PDT --- (In reply to comment #36) > I wish I could enable S3TC on r300g without this library (as it could be done > with r300c) to check if the textures sent to the card without software >

[Bug 30960] [r300g][glsl][libtxc_dxtn] Texture corruption in Xonotic with lightmaps

2010-10-24 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=30960 --- Comment #36 from Tomasz Czapiewski 2010-10-24 14:00:47 PDT --- So, the problematic textures are dxt1_rgb and/or dxt1_rgba. I've done some more testing and I've saw that when I have 60 FPS the problem is gone with S3TC+lightmaps (all

[Bug 30960] [r300g][glsl][libtxc_dxtn] Texture corruption in Xonotic with lightmaps

2010-10-24 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=30960 --- Comment #35 from Tomasz Czapiewski 2010-10-24 13:50:49 PDT --- Created an attachment (id=39744) --> (https://bugs.freedesktop.org/attachment.cgi?id=39744) RADEON_DEBUG=tex log -- Configure bugmail:

[Bug 30960] [r300g][glsl][libtxc_dxtn] Texture corruption in Xonotic with lightmaps

2010-10-24 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=30960 --- Comment #34 from Tomasz Czapiewski 2010-10-24 13:16:39 PDT --- I wonder why does S3TC with libtxc_dxtn.so in Xonotic works properly when lightmaps are disabled? I can use better quality DDS textures (without KWin desktop effects) just fine

[Bug 30960] [r300g][glsl][libtxc_dxtn] Texture corruption in Xonotic with lightmaps

2010-10-24 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=30960 Tomasz Czapiewski changed: What|Removed |Added Summary|[r300g][glsl] Texture |[r300g][glsl][libtxc_dxtn]

[Bug 30960] [r300g][glsl][libtxc_dxtn] Texture corruption in Xonotic with lightmaps

2010-10-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=30960 Tomasz Czapiewski xe...@irc.pl changed: What|Removed |Added Summary|[r300g][glsl] Texture

[Bug 30960] [r300g][glsl][libtxc_dxtn] Texture corruption in Xonotic with lightmaps

2010-10-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=30960 --- Comment #35 from Tomasz Czapiewski xe...@irc.pl 2010-10-24 13:50:49 PDT --- Created an attachment (id=39744) -- (https://bugs.freedesktop.org/attachment.cgi?id=39744) RADEON_DEBUG=tex log -- Configure bugmail:

[Bug 30960] [r300g][glsl][libtxc_dxtn] Texture corruption in Xonotic with lightmaps

2010-10-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=30960 --- Comment #36 from Tomasz Czapiewski xe...@irc.pl 2010-10-24 14:00:47 PDT --- So, the problematic textures are dxt1_rgb and/or dxt1_rgba. I've done some more testing and I've saw that when I have 60 FPS the problem is gone with S3TC+lightmaps

[Bug 30960] [r300g][glsl][libtxc_dxtn] Texture corruption in Xonotic with lightmaps

2010-10-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=30960 --- Comment #37 from Chris Rankin ranki...@googlemail.com 2010-10-24 15:27:17 PDT --- (In reply to comment #36) I wish I could enable S3TC on r300g without this library (as it could be done with r300c) to check if the textures sent to the card

[Bug 30960] [r300g][glsl][libtxc_dxtn] Texture corruption in Xonotic with lightmaps

2010-10-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=30960 --- Comment #39 from Marek Olšák mar...@gmail.com 2010-10-24 15:38:54 PDT --- (In reply to comment #38) (In reply to comment #32) In the kernel, there is function r100_copy_blit for copying buffers between RAM and VRAM using the 2D

[Bug 30960] [r300g][glsl][libtxc_dxtn] Texture corruption in Xonotic with lightmaps

2010-10-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=30960 --- Comment #40 from Tomasz Czapiewski xe...@irc.pl 2010-10-24 22:16:30 PDT --- I've done some more testing in spectate mode (so I can go closer to walls, even fly through them) and my theory about 60-30 FPS drop does not work everytime as there