* [Bug 34030] New: [bisected] Starcraft 2: some effects are corrupted or too big
@ 2011-02-08 12:15 bugzilla-daemon
2011-02-08 12:17 ` [Bug 34030] " bugzilla-daemon
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: bugzilla-daemon @ 2011-02-08 12:15 UTC (permalink / raw)
To: dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=34030
Summary: [bisected] Starcraft 2: some effects are corrupted or
too big
Product: Mesa
Version: git
Platform: Other
OS/Version: All
Status: NEW
Keywords: regression
Severity: minor
Priority: medium
Component: Drivers/Gallium/r300
AssignedTo: dri-devel@lists.freedesktop.org
ReportedBy: pavel.ondracka@email.cz
Created an attachment (id=43092)
--> (https://bugs.freedesktop.org/attachment.cgi?id=43092)
screenshot of the problem
With latest mesa git there are some messed up effects in Starcraft 2
(harvesting drones, vespene geysers, and some surfaces have solid background
color insted transparent). This is with Wine 1.3.13 and GLSL disabled in Wine.
(GLSL codepath works fine)
I did a regression test:
68b701f5ded5f6b73a6b07cf37d862fab4836607 is the first bad commit
commit 68b701f5ded5f6b73a6b07cf37d862fab4836607
Author: Tom Stellard <tstellar@gmail.com>
Date: Sat Feb 5 22:39:58 2011 -0800
r300/compiler: Disable register rename pass on r500
The scheduler and the register allocator are not good enough yet to deal
with the effects of the register rename pass. This was causing a 50%
performance drop in Lightsmark. The pass can be re-enabled once the
scheduler and the register allocator are more mature. r300 and r400
still need this pass, because it prevents a lot of shaders from using
too many texture indirections.
NOTE: This is a candidate for the 7.10 branch.
However this looked like unlikely to cause this regression, I was quite sure it
worked before register rename pass was introduced and indeed commit
bbe49bc585c4fed46f55d184b463d13bddd97f1b (r300/compiler: Use presubtract
operations as much as possible) was working fine. Also commit
8833f53e659e079e7ab74bb9197f9b44b1eeefe0 (r300/compiler: Enable rename_reg pass
for r500 cards) alone or with 68b701f5ded5f6b73a6b07cf37d862fab4836607 manually
applied worked fine, so this have led me to an idea that the actual regression
happened somewhere between 8833f53e659e079e7ab74bb9197f9b44b1eeefe0 and
68b701f5ded5f6b73a6b07cf37d862fab4836607 and was hidden by the register rename
pass. Finally bisecting between mentioned commits and manually applying
68b701f5ded5f6b73a6b07cf37d862fab4836607 in each step led to:
8f32c6cfc6503dd234f09fb06941803866c23c65 is the first bad commit
commit 8f32c6cfc6503dd234f09fb06941803866c23c65
Author: Tom Stellard <tstellar@gmail.com>
Date: Sat Jan 29 14:37:58 2011 -0800
r300/compiler: Standardize the number of bits used by swizzle fields
Swizzles are now defined everywhere as a field with 12 bits that contains
4 channels worth of meaningful information. Any channel that is unused is
set to RC_SWIZZLE_UNUSED. This change is necessary because rgb
instructions
and alpha instructions were initializing channels that would never be used
(channel 3 for rgb and channels 1-3 for alpha) with 0 (aka RC_SWIZZLE_X).
This made it impossible to use generic helper functions for swizzles,
because sometimes a channel value of 0 meant unused and other times it
meant RC_SWIZZLE_X.
All hacks that tried to guess how many channels were relevant have
also been removed.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug 34030] [bisected] Starcraft 2: some effects are corrupted or too big
2011-02-08 12:15 [Bug 34030] New: [bisected] Starcraft 2: some effects are corrupted or too big bugzilla-daemon
@ 2011-02-08 12:17 ` bugzilla-daemon
2011-02-09 5:12 ` bugzilla-daemon
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2011-02-08 12:17 UTC (permalink / raw)
To: dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=34030
--- Comment #1 from Pavel Ondračka <pavel.ondracka@email.cz> 2011-02-08 04:17:13 PST ---
Created an attachment (id=43093)
--> (https://bugs.freedesktop.org/attachment.cgi?id=43093)
screenshot without corruption for comparison
BTW reverting 8f32c6cfc6503dd234f09fb06941803866c23c65 from current mesa master
makes the problem go away.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug 34030] [bisected] Starcraft 2: some effects are corrupted or too big
2011-02-08 12:15 [Bug 34030] New: [bisected] Starcraft 2: some effects are corrupted or too big bugzilla-daemon
2011-02-08 12:17 ` [Bug 34030] " bugzilla-daemon
@ 2011-02-09 5:12 ` bugzilla-daemon
2011-02-09 8:34 ` bugzilla-daemon
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2011-02-09 5:12 UTC (permalink / raw)
To: dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=34030
--- Comment #2 from Tom Stellard <tstellar@gmail.com> 2011-02-08 21:12:48 PST ---
Can you post the output of RADEON_DEBUG=fp,vp with the master branch and with
8f32c6cfc6503dd234f09fb06941803866c23c65 reverted?
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug 34030] [bisected] Starcraft 2: some effects are corrupted or too big
2011-02-08 12:15 [Bug 34030] New: [bisected] Starcraft 2: some effects are corrupted or too big bugzilla-daemon
2011-02-08 12:17 ` [Bug 34030] " bugzilla-daemon
2011-02-09 5:12 ` bugzilla-daemon
@ 2011-02-09 8:34 ` bugzilla-daemon
2011-02-09 8:35 ` bugzilla-daemon
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2011-02-09 8:34 UTC (permalink / raw)
To: dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=34030
--- Comment #3 from Pavel Ondračka <pavel.ondracka@email.cz> 2011-02-09 00:34:57 PST ---
Created an attachment (id=43151)
--> (https://bugs.freedesktop.org/attachment.cgi?id=43151)
output of RADEON_DEBUG=fp,vp with mesa master
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug 34030] [bisected] Starcraft 2: some effects are corrupted or too big
2011-02-08 12:15 [Bug 34030] New: [bisected] Starcraft 2: some effects are corrupted or too big bugzilla-daemon
` (2 preceding siblings ...)
2011-02-09 8:34 ` bugzilla-daemon
@ 2011-02-09 8:35 ` bugzilla-daemon
2011-02-09 9:46 ` bugzilla-daemon
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2011-02-09 8:35 UTC (permalink / raw)
To: dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=34030
--- Comment #4 from Pavel Ondračka <pavel.ondracka@email.cz> 2011-02-09 00:35:42 PST ---
Created an attachment (id=43152)
--> (https://bugs.freedesktop.org/attachment.cgi?id=43152)
output of RADEON_DEBUG=fp,vp with mesa master and
8f32c6cfc6503dd234f09fb06941803866c23c65 reverted
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug 34030] [bisected] Starcraft 2: some effects are corrupted or too big
2011-02-08 12:15 [Bug 34030] New: [bisected] Starcraft 2: some effects are corrupted or too big bugzilla-daemon
` (3 preceding siblings ...)
2011-02-09 8:35 ` bugzilla-daemon
@ 2011-02-09 9:46 ` bugzilla-daemon
2011-02-09 10:05 ` bugzilla-daemon
2011-02-12 4:07 ` bugzilla-daemon
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2011-02-09 9:46 UTC (permalink / raw)
To: dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=34030
--- Comment #5 from Tom Stellard <tstellar@gmail.com> 2011-02-09 01:46:08 PST ---
Created an attachment (id=43154)
View: https://bugs.freedesktop.org/attachment.cgi?id=43154
Review: https://bugs.freedesktop.org/review?bug=34030&attachment=43154
Possible Fix
This patch should be applied to the master branch. Does it fix the problem?
If not can you post the output of RADEON_DEBUG=fp,vp with this patch applied.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug 34030] [bisected] Starcraft 2: some effects are corrupted or too big
2011-02-08 12:15 [Bug 34030] New: [bisected] Starcraft 2: some effects are corrupted or too big bugzilla-daemon
` (4 preceding siblings ...)
2011-02-09 9:46 ` bugzilla-daemon
@ 2011-02-09 10:05 ` bugzilla-daemon
2011-02-12 4:07 ` bugzilla-daemon
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2011-02-09 10:05 UTC (permalink / raw)
To: dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=34030
--- Comment #6 from Pavel Ondračka <pavel.ondracka@email.cz> 2011-02-09 02:05:40 PST ---
(In reply to comment #5)
> Created an attachment (id=43154)
View: https://bugs.freedesktop.org/attachment.cgi?id=43154
Review: https://bugs.freedesktop.org/review?bug=34030&attachment=43154
> Possible Fix
>
> This patch should be applied to the master branch. Does it fix the problem?
> If not can you post the output of RADEON_DEBUG=fp,vp with this patch applied.
Yes, this patch fixes the problem. Thank you.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug 34030] [bisected] Starcraft 2: some effects are corrupted or too big
2011-02-08 12:15 [Bug 34030] New: [bisected] Starcraft 2: some effects are corrupted or too big bugzilla-daemon
` (5 preceding siblings ...)
2011-02-09 10:05 ` bugzilla-daemon
@ 2011-02-12 4:07 ` bugzilla-daemon
6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2011-02-12 4:07 UTC (permalink / raw)
To: dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=34030
Tom Stellard <tstellar@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #7 from Tom Stellard <tstellar@gmail.com> 2011-02-11 20:07:05 PST ---
Fix in git by commit 9106b98766e36b04daf738bd81c4f86eedfa1b8d
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2011-02-12 12:22 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-08 12:15 [Bug 34030] New: [bisected] Starcraft 2: some effects are corrupted or too big bugzilla-daemon
2011-02-08 12:17 ` [Bug 34030] " bugzilla-daemon
2011-02-09 5:12 ` bugzilla-daemon
2011-02-09 8:34 ` bugzilla-daemon
2011-02-09 8:35 ` bugzilla-daemon
2011-02-09 9:46 ` bugzilla-daemon
2011-02-09 10:05 ` bugzilla-daemon
2011-02-12 4:07 ` bugzilla-daemon
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.