Skip to contentSkip to conversation

New: [wine] Wolfenstein: Failed to translate rgb instruction.

Bug 36527 [email protected] 1 participant 17 messages Apr 23, 2011 – May 14, 2011

lore
Share & tools
lore
#0 lore raw

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: [email protected]
ReportedBy: [email protected]

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

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.
#1 lore raw

[Bug 36527] [wine] Wolfenstein: Failed to translate rgb instruction.

https://bugs.freedesktop.org/show_bug.cgi?id=36527

--- Comment #1 from Sven Arvidsson <[email protected]> 2011-04-23 10:00:15 PDT --- Created an attachment (id=45994)
--> (https://bugs.freedesktop.org/attachment.cgi?id=45994)
RADEON_DEBUG=fp log

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.
#2 lore raw

[Bug 36527] [wine] Wolfenstein: Failed to translate rgb instruction.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=36527

--- Comment #2 from Tom Stellard <[email protected]> 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 ?

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.
#3 lore raw

[Bug 36527] [wine] Wolfenstein: Failed to translate rgb instruction.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=36527

Sven Arvidsson <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #45994|0                           |1

is obsolete| |

--- Comment #3 from Sven Arvidsson <[email protected]> 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)

Quoted 1 line

Created an attachment (id=45999)

View: https://bugs.freedesktop.org/attachment.cgi?id=45999
Review: https://bugs.freedesktop.org/review?bug=36527&attachment=45999

Quoted 3 lines

More Verbose Log

Can you apply this patch and post the output with RADEON_DEBUG=fp ?

Sure!

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.
#4 lore raw

[Bug 36527] [wine] Wolfenstein: Failed to translate rgb instruction.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=36527

Tom Stellard <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #45999|0                           |1

is obsolete| |

--- Comment #4 from Tom Stellard <[email protected]> 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.

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.
#5 lore raw

[Bug 36527] [wine] Wolfenstein: Failed to translate rgb instruction.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=36527

--- Comment #5 from Sven Arvidsson <[email protected]> 2011-04-23 15:03:01 PDT --- Yes, this seems to have fixed it! Thanks :)

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.
#6 lore raw

[Bug 36527] [wine] Wolfenstein: Failed to translate rgb instruction.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=36527

--- Comment #6 from Tom Stellard <[email protected]> 2011-04-23 21:50:35 PDT --- Does this bug exist in Mesa 7.10?

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.
#7 lore raw

[Bug 36527] [wine] Wolfenstein: Failed to translate rgb instruction.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=36527

--- Comment #7 from Sven Arvidsson <[email protected]> 2011-04-24 05:11:07 PDT --- (In reply to comment #6)

Quoted 1 line

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=8e28d842d192e69ba8cae4f9754766a26ae8c739

So I guess it needs the floating stuff.

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.
#8 lore raw

[Bug 36527] [wine] Wolfenstein: Failed to translate rgb instruction.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=36527

Sven Arvidsson <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #46000|0                           |1

is obsolete| |

--- Comment #8 from Sven Arvidsson <[email protected]> 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)

Quoted 1 line

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.

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.
#9 lore raw

[Bug 36527] [wine] Wolfenstein: Failed to translate rgb instruction.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=36527

--- Comment #9 from Tom Stellard <[email protected]> 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.

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.
#10 lore raw

[Bug 36527] [wine] Wolfenstein: Failed to translate rgb instruction.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=36527

Tom Stellard <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #46012|0                           |1

is obsolete| |

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.
#11 lore raw

[Bug 36527] [wine] Wolfenstein: Failed to translate rgb instruction.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=36527

Sven Arvidsson <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #46016|0                           |1

is obsolete| |

--- Comment #10 from Sven Arvidsson <[email protected]> 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.

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.
#12 lore raw

[Bug 36527] [wine] Wolfenstein: Failed to translate rgb instruction.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=36527

Tom Stellard <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #46031|0                           |1

is obsolete| |

--- Comment #11 from Tom Stellard <[email protected]> 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?

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.
#13 lore raw

[Bug 36527] [wine] Wolfenstein: Failed to translate rgb instruction.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=36527

--- Comment #12 from Sven Arvidsson <[email protected]> 2011-04-27 09:27:07 PDT --- Yes, this seems to have finally fixed it!

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.
#14 lore raw

[Bug 36527] [wine] Wolfenstein: Failed to translate rgb instruction.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=36527

Tom Stellard <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #46071|0                           |1

is obsolete| |

--- Comment #13 from Tom Stellard <[email protected]> 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.

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.
#15 lore raw

[Bug 36527] [wine] Wolfenstein: Failed to translate rgb instruction.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=36527

--- Comment #14 from Sven Arvidsson <[email protected]> 2011-05-12 13:08:43 PDT --- (In reply to comment #13)

Quoted 1 line

Created an attachment (id=46461)

View: https://bugs.freedesktop.org/attachment.cgi?id=46461
Review: https://bugs.freedesktop.org/review?bug=36527&attachment=46461

Quoted 4 lines

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!

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.
#16 lore raw

[Bug 36527] [wine] Wolfenstein: Failed to translate rgb instruction.

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=36527

Tom Stellard <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #15 from Tom Stellard <[email protected]> 2011-05-13 23:52:54 PDT --- Fixed in git commit 612554dce5d787fca9c85a67378024b336bd6ad

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.