https://bugs.freedesktop.org/show_bug.cgi?id=36527
Summary: [wine] Wolfenstein: Failed to translate rgb instruction. 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: sa@whiz.se
Running in Wine, the game Wolfenstein gives this error:
r300 FP: Compiler Error: Failed to translate rgb instruction. Using a dummy shader instead.
I'm attaching the log from RADEON_DEBUG=fp
System environment: -- system architecture: 32-bit -- Linux distribution: Debian unstable -- GPU: RV570 -- Model: Asus EAX1950Pro 256MB -- Display connector: DVI -- xf86-video-ati: 6.14.1 -- xserver: 1.10.1 -- mesa: c2c44f2641cc71a8f77d887e9f2753eadda07d4c -- drm: 2.4.25 -- kernel: 2.6.38.2
https://bugs.freedesktop.org/show_bug.cgi?id=36527
--- Comment #1 from Sven Arvidsson sa@whiz.se 2011-04-23 10:00:15 PDT --- Created an attachment (id=45994) --> (https://bugs.freedesktop.org/attachment.cgi?id=45994) RADEON_DEBUG=fp log
https://bugs.freedesktop.org/show_bug.cgi?id=36527
--- Comment #2 from Tom Stellard tstellar@gmail.com 2011-04-23 12:40:12 PDT --- Created an attachment (id=45999) View: https://bugs.freedesktop.org/attachment.cgi?id=45999 Review: https://bugs.freedesktop.org/review?bug=36527&attachment=45999
More Verbose Log
Can you apply this patch and post the output with RADEON_DEBUG=fp ?
https://bugs.freedesktop.org/show_bug.cgi?id=36527
Sven Arvidsson sa@whiz.se changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #45994|0 |1 is obsolete| |
--- Comment #3 from Sven Arvidsson sa@whiz.se 2011-04-23 12:59:02 PDT --- Created an attachment (id=46000) --> (https://bugs.freedesktop.org/attachment.cgi?id=46000) fp log with patch applied
(In reply to comment #2)
Created an attachment (id=45999)
View: https://bugs.freedesktop.org/attachment.cgi?id=45999 Review: https://bugs.freedesktop.org/review?bug=36527&attachment=45999
More Verbose Log
Can you apply this patch and post the output with RADEON_DEBUG=fp ?
Sure!
https://bugs.freedesktop.org/show_bug.cgi?id=36527
Tom Stellard tstellar@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #45999|0 |1 is obsolete| |
--- Comment #4 from Tom Stellard tstellar@gmail.com 2011-04-23 14:38:34 PDT --- Created an attachment (id=46012) View: https://bugs.freedesktop.org/attachment.cgi?id=46012 Review: https://bugs.freedesktop.org/review?bug=36527&attachment=46012
Possible Fix
This patch might fix this. If it doesn't can you post the output of RADEON_DEBUG=fp again.
https://bugs.freedesktop.org/show_bug.cgi?id=36527
--- Comment #5 from Sven Arvidsson sa@whiz.se 2011-04-23 15:03:01 PDT --- Yes, this seems to have fixed it! Thanks :)
https://bugs.freedesktop.org/show_bug.cgi?id=36527
--- Comment #6 from Tom Stellard tstellar@gmail.com 2011-04-23 21:50:35 PDT --- Does this bug exist in Mesa 7.10?
https://bugs.freedesktop.org/show_bug.cgi?id=36527
--- Comment #7 from Sven Arvidsson sa@whiz.se 2011-04-24 05:11:07 PDT --- (In reply to comment #6)
Does this bug exist in Mesa 7.10?
The game doesn't start in 7.10. I did a bisect and this is the commit which fixed it: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8e28d842d192e69ba8cae4f9754...
So I guess it needs the floating stuff.
https://bugs.freedesktop.org/show_bug.cgi?id=36527
Sven Arvidsson sa@whiz.se changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #46000|0 |1 is obsolete| |
--- Comment #8 from Sven Arvidsson sa@whiz.se 2011-04-24 05:54:50 PDT --- Created an attachment (id=46016) --> (https://bugs.freedesktop.org/attachment.cgi?id=46016) fp log with fix applied
(In reply to comment #5)
Yes, this seems to have fixed it! Thanks :)
Sigh, apologies, it seems I changed something in the game setup which caused it to go away, it's still there if I use the standard settings.
Attaching a new log.
https://bugs.freedesktop.org/show_bug.cgi?id=36527
--- Comment #9 from Tom Stellard tstellar@gmail.com 2011-04-24 15:46:05 PDT --- Created an attachment (id=46031) View: https://bugs.freedesktop.org/attachment.cgi?id=46031 Review: https://bugs.freedesktop.org/review?bug=36527&attachment=46031
Fix
There was a typo in the first patch. Hopefully this new patch will fix the problem.
https://bugs.freedesktop.org/show_bug.cgi?id=36527
Tom Stellard tstellar@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #46012|0 |1 is obsolete| |
https://bugs.freedesktop.org/show_bug.cgi?id=36527
Sven Arvidsson sa@whiz.se changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #46016|0 |1 is obsolete| |
--- Comment #10 from Sven Arvidsson sa@whiz.se 2011-04-25 12:51:52 PDT --- Created an attachment (id=46063) --> (https://bugs.freedesktop.org/attachment.cgi?id=46063) fp log
Hmm, I'm still getting the same error. Attaching a new log.
https://bugs.freedesktop.org/show_bug.cgi?id=36527
Tom Stellard tstellar@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #46031|0 |1 is obsolete| |
--- Comment #11 from Tom Stellard tstellar@gmail.com 2011-04-25 16:48:36 PDT --- Created an attachment (id=46071) View: https://bugs.freedesktop.org/attachment.cgi?id=46071 Review: https://bugs.freedesktop.org/review?bug=36527&attachment=46071
Fix v3
Does this patch fix it?
https://bugs.freedesktop.org/show_bug.cgi?id=36527
--- Comment #12 from Sven Arvidsson sa@whiz.se 2011-04-27 09:27:07 PDT --- Yes, this seems to have finally fixed it!
https://bugs.freedesktop.org/show_bug.cgi?id=36527
Tom Stellard tstellar@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #46071|0 |1 is obsolete| |
--- Comment #13 from Tom Stellard tstellar@gmail.com 2011-05-09 00:11:49 PDT --- Created an attachment (id=46461) View: https://bugs.freedesktop.org/attachment.cgi?id=46461 Review: https://bugs.freedesktop.org/review?bug=36527&attachment=46461
Fix v4
I found a bug in the previous patch (v3). Can you try this new one and make sure it still works.
https://bugs.freedesktop.org/show_bug.cgi?id=36527
--- Comment #14 from Sven Arvidsson sa@whiz.se 2011-05-12 13:08:43 PDT --- (In reply to comment #13)
Created an attachment (id=46461)
View: https://bugs.freedesktop.org/attachment.cgi?id=46461 Review: https://bugs.freedesktop.org/review?bug=36527&attachment=46461
Fix v4
I found a bug in the previous patch (v3). Can you try this new one and make sure it still works.
Yep, still works!
https://bugs.freedesktop.org/show_bug.cgi?id=36527
Tom Stellard tstellar@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #15 from Tom Stellard tstellar@gmail.com 2011-05-13 23:52:54 PDT --- Fixed in git commit 612554dce5d787fca9c85a67378024b336bd6ad
dri-devel@lists.freedesktop.org