Bug 31037 - [r300g] Unwanted checkerboard effect on sprites / textures
Summary: [r300g] Unwanted checkerboard effect on sprites / textures
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/r300 (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-21 14:54 UTC by Gerwin
Modified: 2010-12-20 12:01 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
chckerboard effect in nexuiz (840.35 KB, image/png)
2010-10-21 14:54 UTC, Gerwin
Details
bug in webgl (chromium and firefox) (653.87 KB, audio/ogg)
2010-10-21 14:59 UTC, Gerwin
Details
with realtime dynamic lighting (645.97 KB, application/octet-stream)
2010-10-30 06:15 UTC, Gerwin
Details
without realtime dynamic lighting (456.00 KB, application/octet-stream)
2010-10-30 06:16 UTC, Gerwin
Details
without realtime dynamic lighting, with flash blend approximation (550.13 KB, application/octet-stream)
2010-10-30 06:33 UTC, Gerwin
Details
log of the issue in webgl (270.35 KB, text/x-log)
2010-11-04 09:59 UTC, Gerwin
Details

Description Gerwin 2010-10-21 14:54:27 UTC
Created attachment 39619 [details]
chckerboard effect in nexuiz

In nexuiz and in this webgl demo: 

https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/sdk/demos/google/particles/index.html , 

there is a checkerboard effect (not black and white, but black and alpha) which should not be there (see attached screenshot)

In the webgl demo, the checkerboard effect is in the black smoke (screencast attached).

I am using the r300g driver from xorg-edgers ppa with my R350 radeon card.
Comment 1 Gerwin 2010-10-21 14:59:23 UTC
Created attachment 39620 [details]
bug in webgl (chromium and firefox)
Comment 2 Gerwin 2010-10-29 10:51:00 UTC
In nexuiz, the distortion and squares only appear when the "real dynamic lighting" setting is turned on (under settings / effects).
Comment 3 Tom Stellard 2010-10-29 17:23:57 UTC
(In reply to comment #2)
> In nexuiz, the distortion and squares only appear when the "real dynamic
> lighting" setting is turned on (under settings / effects).

Can you run nexuiz with RADEON_DEBUG=fp,vp,pstat with and without "real dynamic lighting" and post the output?

Also, does running with RADEON_NO_TCL=1 help?
Comment 4 Gerwin 2010-10-30 06:15:07 UTC
Created attachment 39902 [details]
with realtime dynamic lighting
Comment 5 Gerwin 2010-10-30 06:16:04 UTC
Created attachment 39903 [details]
without realtime dynamic lighting
Comment 6 Gerwin 2010-10-30 06:25:47 UTC
I posted the logs, with and without 

The problem is especially visible when I shoot with gun number 1

I clicked on single player, level 2 and selected gun 1 and shot a few times.
With "realtime dynamic lighting" the checkerboard effect occurs. (the 'with' log)
With "flash blend approximation" there is no problem. (the 'without' log)

The RADEON_NO_TCL=1 setting caused a problem, I saw distorted pixels on the whole screen and heard the music, so i was unable to do anything.
Comment 7 Gerwin 2010-10-30 06:33:57 UTC
Created attachment 39904 [details]
without realtime dynamic lighting, with flash blend approximation
Comment 8 Gerwin 2010-11-04 09:59:37 UTC
Created attachment 40048 [details]
log of the issue in webgl
Comment 9 Gerwin 2010-11-04 10:00:12 UTC
I also added the log of the issue in webgl (see the ogg file)
Comment 10 Gerwin 2010-12-20 11:51:36 UTC
Today I updated from xorg edgers ppa and the bug in Nexuiz is fixed! Maybe this patch fixed it? http://cgit.freedesktop.org/mesa/mesa/commit/?id=daffaca53e47faeaaefb98ca46fe4870133d9f02
Comment 11 Marek Olšák 2010-12-20 12:01:19 UTC
Most probably, yes.


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.