https://bugs.freedesktop.org/show_bug.cgi?id=36939
Summary: multitexturing is messed up in quake wars (regression) Product: Mesa Version: git Platform: Other OS/Version: All Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/r300 AssignedTo: dri-devel@lists.freedesktop.org ReportedBy: aaalmosss@gmail.com
With some detail levels only the base texture (diffuse) is drawn on the objects, but no light/bump/specular. With 'Shader Effects' set to low the strogg deployables are like this (from any distance), while setting it to high makes every object (except the ground) that are closer than ~10 meters appear like this.
This message is written to the console a couple of times: Not a native swizzle: 00000e08
https://bugs.freedesktop.org/show_bug.cgi?id=36939
--- Comment #1 from Tom Stellard tstellar@gmail.com 2011-05-07 11:05:34 PDT --- Can you run the program with the environment variable RADEON_DEBUG=fp and post the output.
https://bugs.freedesktop.org/show_bug.cgi?id=36939
--- Comment #2 from almos aaalmosss@gmail.com 2011-05-07 12:24:15 PDT --- Created an attachment (id=46429) --> (https://bugs.freedesktop.org/attachment.cgi?id=46429) etqw_console.txt.gz
(In reply to comment #1)
Can you run the program with the environment variable RADEON_DEBUG=fp and post the output.
Attached full log.
https://bugs.freedesktop.org/show_bug.cgi?id=36939
--- Comment #3 from Tom Stellard tstellar@gmail.com 2011-05-09 22:11:23 PDT --- Created an attachment (id=46516) View: https://bugs.freedesktop.org/attachment.cgi?id=46516 Review: https://bugs.freedesktop.org/review?bug=36939&attachment=46516
Verbose patch
This patch will give me some more verbose output, could you apply it to master and post the output with RADEON_DEBUG=fp
https://bugs.freedesktop.org/show_bug.cgi?id=36939
--- Comment #4 from almos aaalmosss@gmail.com 2011-05-10 02:46:15 PDT --- Created an attachment (id=46526) --> (https://bugs.freedesktop.org/attachment.cgi?id=46526) etqw_log_verbose.txt.gz
As the previous one, this was also done with shader effects = high.
https://bugs.freedesktop.org/show_bug.cgi?id=36939
--- Comment #5 from Tom Stellard tstellar@gmail.com 2011-05-10 03:22:00 PDT --- (In reply to comment #4)
Created an attachment (id=46526)
--> (https://bugs.freedesktop.org/attachment.cgi?id=46526)
etqw_log_verbose.txt.gz
As the previous one, this was also done with shader effects = high.
Thanks. Running with RADEON_DEBUG=noopt should make the problem go away while I'm working on a fix.
https://bugs.freedesktop.org/show_bug.cgi?id=36939
Tom Stellard tstellar@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #46516|0 |1 is obsolete| |
--- Comment #6 from Tom Stellard tstellar@gmail.com 2011-05-10 19:46:04 PDT --- Created an attachment (id=46577) View: https://bugs.freedesktop.org/attachment.cgi?id=46577 Review: https://bugs.freedesktop.org/review?bug=36939&attachment=46577
Possible Fix
I think this patch might fix this. If it doesn't could you post the output of RADEON_DEBUG=fp again.
https://bugs.freedesktop.org/show_bug.cgi?id=36939
Tom Stellard tstellar@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #46526|0 |1 is obsolete| |
--- Comment #7 from Tom Stellard tstellar@gmail.com 2011-05-10 19:46:42 PDT --- Created an attachment (id=46579) View: https://bugs.freedesktop.org/attachment.cgi?id=46579 Review: https://bugs.freedesktop.org/review?bug=36939&attachment=46579
Possible Fix
I think this patch might fix this. If it doesn't could you post the output of RADEON_DEBUG=fp again.
https://bugs.freedesktop.org/show_bug.cgi?id=36939
--- Comment #8 from almos aaalmosss@gmail.com 2011-05-11 03:30:14 PDT --- Created an attachment (id=46595) --> (https://bugs.freedesktop.org/attachment.cgi?id=46595) etqw_log.txt.gz
Unfortunately the fix makes things worse. Now everything is black except the sky, the trees and the weapon projectiles.
https://bugs.freedesktop.org/show_bug.cgi?id=36939
Tom Stellard tstellar@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #46577|0 |1 is obsolete| | Attachment #46579|0 |1 is obsolete| |
--- Comment #9 from Tom Stellard tstellar@gmail.com 2011-05-11 09:10:56 PDT --- Created an attachment (id=46609) View: https://bugs.freedesktop.org/attachment.cgi?id=46609 Review: https://bugs.freedesktop.org/review?bug=36939&attachment=46609
Fix v2
Can you try this patch. If it doesn't work please post the output of RADEON_DEBUG=fp again.
https://bugs.freedesktop.org/show_bug.cgi?id=36939
--- Comment #10 from almos aaalmosss@gmail.com 2011-05-11 11:04:43 PDT --- Fix v2 works perfectly. Thanks. I also tested some other games, and saw no regressions.
https://bugs.freedesktop.org/show_bug.cgi?id=36939
Tom Stellard tstellar@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #11 from Tom Stellard tstellar@gmail.com 2011-05-11 16:55:50 PDT --- Fix in git by commit 95c93651b4023cb070878aee7723d886de8ea19a
https://bugs.freedesktop.org/show_bug.cgi?id=36939
almos aaalmosss@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |
--- Comment #12 from almos aaalmosss@gmail.com 2011-08-13 10:33:30 PDT --- Now this problem appeared again. With medium shader detail all human deployables and the strogg AVT loose detail textures and lightmaps as approached. With high shader detail the wheels of some vehicles do this as well.
https://bugs.freedesktop.org/show_bug.cgi?id=36939
--- Comment #13 from Tom Stellard tstellar@gmail.com 2011-08-15 12:12:00 PDT --- (In reply to comment #12)
Now this problem appeared again. With medium shader detail all human deployables and the strogg AVT loose detail textures and lightmaps as approached. With high shader detail the wheels of some vehicles do this as well.
Can you bisect this?
https://bugs.freedesktop.org/show_bug.cgi?id=36939
--- Comment #14 from almos aaalmosss@gmail.com 2011-08-20 13:13:19 PDT --- (In reply to comment #13)
(In reply to comment #12)
Now this problem appeared again. With medium shader detail all human deployables and the strogg AVT loose detail textures and lightmaps as approached. With high shader detail the wheels of some vehicles do this as well.
Can you bisect this?
217cd216eac65983004ca77a9e49dbfad1b720b6 is the first bad commit commit 217cd216eac65983004ca77a9e49dbfad1b720b6 Author: Tom Stellard tstellar@gmail.com Date: Tue May 17 18:51:20 2011 -0700
r300/compiler: Fix bug in rc_get_variables()
Variables that write to the same source select need to pe paired together otherwise the register allocator might fail.
https://bugs.freedesktop.org/show_bug.cgi?id=36753
:040000 040000 a1d3852986919d6ae3449a06a8b3dc43afe90689 2a8531a9541ae918d70bff7911025fed709e7b6b M src
I think #40062 is a duplicate of this one.
https://bugs.freedesktop.org/show_bug.cgi?id=36939
Tom Stellard tstellar@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED
--- Comment #15 from Tom Stellard tstellar@gmail.com 2011-09-18 18:03:19 PDT --- Fixed in git commit 2d1004d9aa719bb93a4f057b0eefe88f23b44e44
dri-devel@lists.freedesktop.org