Skip to contentSkip to conversation

New: [wine] Devil May Cry 4: TXD tgsi opcode unsupported / translation from TGSI failed / missing vertex shader

Bug 37476 [email protected] 4 participants 5 messages May 22, 2011 – Jun 15, 2011

lore
Share & tools
lore
#0 lore raw

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

Summary: [wine] Devil May Cry 4: TXD tgsi opcode unsupported /
translation from TGSI failed / missing vertex shader
Product: Mesa
Version: git
Platform: Other
URL: http://www.gamershell.com/download_27216.shtml
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/r600
AssignedTo: [email protected]
ReportedBy: [email protected]

The demo of the game Devil May Cry 4 (running in Wine) isn't rendering correctly, quite a few objects are missing. The following errors are printed on the terminal:

EE r600_shader.c:829 tgsi_unsupported - TXD tgsi opcode unsupported EE r600_shader.c:118 r600_pipe_shader_create - translation from TGSI failed ! EE r600_state_common.c:564 r600_draw_vbo - missing vertex shader EE r600_shader.c:829 tgsi_unsupported - TXD tgsi opcode unsupported EE r600_shader.c:118 r600_pipe_shader_create - translation from TGSI failed ! EE r600_state_common.c:564 r600_draw_vbo - missing vertex shader

I used apitrace to capture the game, even though the trace ends in a segfault it's enough to reproduce the above errors.
http://dl.dropbox.com/u/28577999/dmc4.trace.7z (93M)

(To run the game in Wine native versions of WMASF.DLL and WMVCORE.DLL needs to be used)

System environment:
-- system architecture: 32-bit
-- Linux distribution: Debian unstable
-- GPU: REDWOOD
-- Model: XFX Radeon HD 5670 1GB
-- Display connector: DVI
-- xf86-video-ati: 6.14.1
-- xserver: 1.10.1
-- mesa: git-fd6f2d6
-- drm: 2.4.25
-- kernel: 2.6.39

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 37476] [wine] Devil May Cry 4: TXD tgsi opcode unsupported / translation from TGSI failed / missing vertex shader

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

Mike Kaplinskiy <[email protected]> changed:

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

           Platform|Other                       |x86 (IA32)
         AssignedTo|[email protected] |[email protected].
                   |.org                        |org
                 CC|                            |[email protected]

--- Comment #1 from Mike Kaplinskiy <[email protected]> 2011-06-05 22:32:34 PDT --- [changing assignee as this is clearly a mesa bug]

piglit arb_shader_texture_lod-texgrad shows the problem (using texture2DGradARB).
Currently running it may also get you a fortify crash due to TXD having 4 inputs (the max in the context structure is 3).

I'm attaching a patch that has an implementation. Unfortunately I can't seem to get it to work entirely correctly. The piglit test looks almost correct but has several artifacts in random places. If someone could point me in the right direction (as I'm completely clueless), I would be happy to finish it. In case it matters, piglit does not show any new failures from this patch.

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

r600g TXD opcode (was: ... translation from TGSI failed / missing vertex shader)

Quoted 5 lines · On Sun, Jun 05, 2011 at 10:32:34PM -0700, [email protected] wrote:

I'm attaching a patch that has an implementation. Unfortunately I can't seem to get it to work entirely correctly. The piglit test looks almost correct but has several artifacts in random places. If someone could point me in the right direction (as I'm completely clueless), I would be happy to finish it. In case it matters, piglit does not show any new failures from this patch.

Did you make any progress? This also affects EVE Online btw.

-David

#3 lore raw

Re: r600g TXD opcode (was: ... translation from TGSI failed / missing vertex shader)

Quoted 8 lines · David Lamparter
Quoted 5 lines · On Sun, Jun 05, 2011 at 10:32:34PM -0700, [email protected] wrote:

I'm attaching a patch that has an implementation. Unfortunately I can't seem to get it to work entirely correctly. The piglit test looks almost correct but has several artifacts in random places. If someone could point me in the right direction (as I'm completely clueless), I would be happy to finish it. In case it matters, piglit does not show any new failures from this patch.

Did you make any progress? This also affects EVE Online btw.

AFAIK, you need to use the web interface to comment on bugs. Otherwise Mike will miss this (unless he follows dri-devel):
https://bugs.freedesktop.org/show_bug.cgi?id=37476

Signature · 4 lines
Cheers,
Sven Arvidsson
http://www.whiz.se
PGP Key ID 760BDD22

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw

Re: r600g TXD opcode (was: ... translation from TGSI failed / missing vertex shader)

Quoted 8 lines · Sven Arvidsson
Quoted 7 lines · David Lamparter
Quoted 5 lines · On Sun, Jun 05, 2011 at 10:32:34PM -0700, [email protected] wrote:

I'm attaching a patch that has an implementation. Unfortunately I can't seem to get it to work entirely correctly. The piglit test looks almost correct but has several artifacts in random places. If someone could point me in the right direction (as I'm completely clueless), I would be happy to finish it. In case it matters, piglit does not show any new failures from this patch.

Quoted 5 lines
Quoted 1 line

Did you make any progress? This also affects EVE Online btw.

AFAIK, you need to use the web interface to comment on bugs. Otherwise Mike will miss this (unless he follows dri-devel):
https://bugs.freedesktop.org/show_bug.cgi?id=37476

Should all be fixed now in master.

Dave.