New: [r300g bisected] Starcraft 2: circles around units are corrupted
https://bugs.freedesktop.org/show_bug.cgi?id=30337
Summary: [r300g bisected] Starcraft 2: circles around units are
corrupted
Product: Mesa
Version: unspecified
Platform: Other
OS/Version: All
Status: NEW
Keywords: regression
Severity: normal
Priority: medium
Component: Drivers/DRI/r300
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Created an attachment (id=38895)
--> (https://bugs.freedesktop.org/attachment.cgi?id=38895)
comparison of good (left) bad (right) behaviour
When running Starcraft 2, there should be thin circle around selected units or buildings, however big square filled with colour is being drawn instead. This is with Wine 1.3.3 (also happens with other versions) and GLSL disabled in Wine.
564653b9f196b9bf91fe772fd1ca1e131ff33774 is the first bad commit commit 564653b9f196b9bf91fe772fd1ca1e131ff33774
Author: Tom Stellard <[email protected]> Date: Mon Sep 6 10:57:20 2010 -0700
r300/compiler: Add peephole optimization for the 'sub' presubtract
operation
:040000 040000 a0618411740d18c4769e6284bb943fb583c29d2d02240349d7832ff252896acce15da24964f0a462 M src
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 30337] [r300g bisected] Starcraft 2: circles around units are corrupted
https://bugs.freedesktop.org/show_bug.cgi?id=30337
Tom Stellard <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|Drivers/DRI/r300 |Drivers/Gallium/r300
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 30337] [r300g bisected] Starcraft 2: circles around units are corrupted
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=30337
--- Comment #1 from Tom Stellard <[email protected]> 2010-09-23 16:06:39 PDT --- Can you post the output of RADEON_DEBUG=fp? You can probably get around this bug for now by running with RADEON_DEBUG=noopt
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 30337] [r300g bisected] Starcraft 2: circles around units are corrupted
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=30337
--- Comment #2 from Pavel Ondračka <[email protected]> 2010-09-23 23:16:26 PDT --- Created an attachment (id=38922)
--> (https://bugs.freedesktop.org/attachment.cgi?id=38922)
output with RADEON_DEBUG=fp, mesa 59276b8541049a2d07d32fbb139fb14e21e387fc
BTW workaround with RADEON_DEBUG=noopt indeed fixes this.
Signature · 7 lines
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 [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 30337] [r300g bisected] Starcraft 2: circles around units are corrupted
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=30337
--- Comment #3 from Tom Stellard <[email protected]> 2010-09-23 23:48:58 PDT --- Created an attachment (id=38923)
View: https://bugs.freedesktop.org/attachment.cgi?id=38923
Review: https://bugs.freedesktop.org/review?bug=30337&attachment=38923
Possible Fix
Here is a possible fix. If it doesn't work, please post the output of RADEON_DEBUG=fp with this 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 30337] [r300g bisected] Starcraft 2: circles around units are corrupted
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=30337
--- Comment #4 from Pavel Ondračka <[email protected]> 2010-09-24 01:02:49 PDT --- Created an attachment (id=38924)
--> (https://bugs.freedesktop.org/attachment.cgi?id=38924)
RADEON_DEBUG=fp output with patch applied
Signature · 7 lines
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 [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 30337] [r300g bisected] Starcraft 2: circles around units are corrupted
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=30337
Tom Stellard <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #38923|0 |1
is obsolete| |
--- Comment #5 from Tom Stellard <[email protected]> 2010-09-24 17:34:12 PDT --- Created an attachment (id=38942)
View: https://bugs.freedesktop.org/attachment.cgi?id=38942
Review: https://bugs.freedesktop.org/review?bug=30337&attachment=38942
Fix v2
Can you try this patch? Apply it to directly to master.
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 30337] [r300g bisected] Starcraft 2: circles around units are corrupted
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=30337
Tom Stellard <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #38942|0 |1
is obsolete| |
--- Comment #6 from Tom Stellard <[email protected]> 2010-09-24 23:32:26 PDT --- Created an attachment (id=38948)
View: https://bugs.freedesktop.org/attachment.cgi?id=38948
Review: https://bugs.freedesktop.org/review?bug=30337&attachment=38948
Fix v3 - This one should work.
Apply this directly to master.
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 30337] [r300g bisected] Starcraft 2: circles around units are corrupted
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=30337
--- Comment #7 from Pavel Ondračka <[email protected]> 2010-09-25 00:22:02 PDT --- (In reply to comment #3)
Quoted 1 line
Created an attachment (id=38923)
View: https://bugs.freedesktop.org/attachment.cgi?id=38923
Review: https://bugs.freedesktop.org/review?bug=30337&attachment=38923
Quoted 4 lines
Possible Fix
Here is a possible fix. If it doesn't work, please post the output of RADEON_DEBUG=fp with this patch applied.
Thank you, with this patch there is no more corruption.
Signature · 7 lines
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 [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 30337] [r300g bisected] Starcraft 2: circles around units are corrupted
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=30337
Tom Stellard <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED--- Comment #8 from Tom Stellard <[email protected]> 2010-09-25 22:40:05 PDT --- Fixed in git by commit 522e994a22e8b46c8a41f2920af88c5ebad43cd8
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.