Bug 23545 - [r300c/UMS] flashing textures in some maps of sauerbraten game
Summary: [r300c/UMS] flashing textures in some maps of sauerbraten game
Status: RESOLVED WONTFIX
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/r300 (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-27 03:51 UTC by Fabio Pedretti
Modified: 2011-03-10 10:54 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Fabio Pedretti 2009-08-27 03:51:23 UTC
When using the thor map of the sauerbraten game version 20080620 many textures are flashing with different colours.

Game options are the default after doing a rm -rf .sauerbraten/ (i.e. shaders enabled). When changing from the game options textures quality to low (from default of high) this problem disappear and this map also gain higher fps.

I am using current git compiled without libdrm_radeon and without KMS:
GL_RENDERER   = Mesa DRI R300 (RV530 71C5) 20090101 x86/MMX/SSE2 TCL
Comment 1 Fabio Pedretti 2009-10-20 02:38:54 UTC
Note that with sauerbraten 20090504 shaders and texture quality are default to off, and the map thor can be loaded with "load map..." -> "3" -> "thor". The bug is still here, however, even with current git master.
Comment 2 Maciej Cencora 2009-11-26 09:45:42 UTC
Are you able to reproduce this bug on current mesa_7_7_branch?
Comment 3 Fabio Pedretti 2009-11-27 00:58:35 UTC
(In reply to comment #2)
> Are you able to reproduce this bug on current mesa_7_7_branch?

Yes.
Comment 4 Fabio Pedretti 2009-12-03 00:20:05 UTC
I just noticed that this problem appears only when libtxc_dxtn.so is *NOT* available.
Comment 5 Fabio Pedretti 2009-12-03 03:31:33 UTC
(In reply to comment #4)
> I just noticed that this problem appears only when libtxc_dxtn.so is *NOT*
> available.

Well, this is not always true for all maps, e.g.:
campaign -> Private Stan Sauer -> Part II
Comment 6 Maciej Cencora 2009-12-03 11:11:49 UTC
Can you check if the problem is still reproducible under KMS?
Comment 7 Fabio Pedretti 2009-12-04 01:46:01 UTC
(In reply to comment #6)
> Can you check if the problem is still reproducible under KMS?

It isn't reproducible with KMS, even while running it with MESA_EXTENSION_OVERRIDE=-GL_EXT_framebuffer_object
Comment 8 Maciej Cencora 2009-12-04 15:04:16 UTC
I suspect the problem is with UMS texture manager, and I don't think that anyone is willing to spend some time to work on this, so I recommend using the KMS.
Comment 9 maximlevitsky 2009-12-04 15:45:54 UTC
Note that I do use KMS here.
My system is i965, and I have latest git branches of everything.
I updated then about week ago though, tomorrow will update again.

This bug happens here.
Comment 10 Maciej Cencora 2009-12-11 12:01:54 UTC
If you're experiencing the same problem on intel hw then it could be a problem in core Mesa. Unfortunately without some simple testcase I don't think we will be able to track down and fix the bug.
Comment 11 maximlevitsky 2010-07-03 18:48:20 UTC
I am closing this, and in my case, textures just appear and disapper, but don't flash with color.

Other that that, this is similiar to 

https://bugs.freedesktop.org/show_bug.cgi?id=25027
Comment 12 Fabio Pedretti 2010-07-05 00:19:35 UTC
Reopening: this could not be a game bug since it doesn't happen with r300/KMS or r300g, only with r300/UMS. If this reveals a mesa core bug or a drm core bug, please mark bug #25027 as a duplicate of this one and change this component according.
Comment 13 almos 2011-03-10 10:48:24 UTC
According to my test on an rv350, r300g of mesa 7.10 seems to be free of this
bug. If r300c is no longer relevant, this report should be closed.
Comment 14 Marek Olšák 2011-03-10 10:54:50 UTC
I think so too. Closing because r300c/UMS is no longer supported.


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.