protonscr

[d3d10] Renegade Ops: hangs on launch with a black screen

dxvkclosed wine bugd3d10not our bug
doitsujin/dxvk#4095 · opened 2024-06-29 by ranplayer · updated 2024-06-30 · 2 comments · github
Rranplayer 2024-06-29 github

Renegade Ops fails to launch with a black screen. By the Proton log it seems something related to the D3D compiler:

1241.129:012c:01b0:err:d3dcompiler:D3DCompile2 Failed to compile shader, vkd3d result -4.
1241.129:012c:01b0:err:d3dcompiler:D3DCompile2 Shader log:
1241.129:012c:01b0:err:d3dcompiler:D3DCompile2     <anonymous>:6:121: W5300: Implicit truncation of vector type.
1241.129:012c:01b0:err:d3dcompiler:D3DCompile2     <anonymous>:6:225: W5300: Implicit truncation of vector type.
1241.129:012c:01b0:err:d3dcompiler:D3DCompile2     <anonymous>:6:160: W5017: Loop unrolling is not implemented.
1241.129:012c:01b0:err:d3dcompiler:D3DCompile2     <anonymous>:6:243: E5002: Expected literal sample index.
1241.129:012c:01b0:err:d3dcompiler:D3DCompile2 

The current workaround I've found to make it work is to download d3dcompiler_47 (32bit) to the game's folder. I'm not sure if this is Wine or DXVK related. Is there any DXVK property I could try with this one ?

Software information

  • Game: Renegade Ops (Steam Id: 99300)
  • Settings: default

System information

  • GPU: RX 6700 XT
  • Driver: Mesa 24.1.1
  • Wine version: Proton Experimental (2024/06/28), 9.0-2, 8.0-5
  • DXVK version: Proton's build

Log files

KK0bin maintainer 2024-06-29 github

D3DCompiler is a separate DLL that's not implemented by DXVK but by Wine. So the log warnings and errors you posted are not caused by DXVK either.

If Microsofts d3dcompiler DLL fixes it, that proves it's a problem with the d3dcompiler implementation provided by Wine and not a DXVK issue.

Rranplayer 2024-06-30 github

@K0bin Thank you for the explanation. I completely forgot to test this one with WineD3D. There is an open bug on the Wine tracker: https://bugs.winehq.org/show_bug.cgi?id=54973. Sorry, folks...

Proton versions

Upstream links