Open waspennator opened 2 years ago
d9vk has been removed from winetricks (at least in latest version) since it has been incorporated into dxvk long ago.
So for people to get this to work people just need to install d3dcompiler_43
with winetricks or protontricks.
I see there was some helper script for d9vk in winetricks that might have installed the above, which is what is needed and not d9vk in itself.
I was mostly just going off the latest protondb report that got it working with it like 10 months ago. https://www.protondb.com/app/522490
Looking through reports though, I don't think this game ever worked with proton past the title screen.
Ye it was more a message for anyone to get it working in the future since d9vk seems to have been removed from the latest winetricks release. The specific component needed is just d3dcompiler_43
Game seems to have regressed more. On my oled deck with latest Experimental proton build, it not only does not render visuals anymore, but pressing start crashes the game with a slightly different error
Hello @waspennator, your recent Proton log does not appear to be for this game. Besides that, same tex2Dlod note as https://github.com/ValveSoftware/Proton/issues/6324#issuecomment-1975167944.
Hello @waspennator, your recent Proton log does not appear to be for this game. Besides that, same tex2Dlod note as #6324 (comment).
Oh damn, sorry. Was in the middle of a retesting spree and accidentally uploaded the wrong logs, was uploading from my phone.
Some additional D3DCompile2 lines to ponder from the log:
err:d3dcompiler:D3DCompile2 Failed to compile shader, vkd3d result -5.
err:d3dcompiler:D3DCompile2 Shader log:
err:d3dcompiler:D3DCompile2 memory:86:13: E5017: Aborting due to not yet implemented feature: SM1 non-float expression.
err:d3dcompiler:D3DCompile2 memory:86:1: E5017: Aborting due to not yet implemented feature: Instruction type HLSL_IR_IF.
err:d3dcompiler:D3DCompile2 memory:94:37: E5017: Aborting due to not yet implemented feature: SM1 non-float expression.
err:d3dcompiler:D3DCompile2 memory:94:35: E5017: Aborting due to not yet implemented feature: SM1 non-float expression.
err:d3dcompiler:D3DCompile2 memory:94:35: E5017: Aborting due to not yet implemented feature: Dereference with non-constant offset of type HLSL_IR_EXPR.
err:d3dcompiler:D3DCompile2 memory:94:62: E5017: Aborting due to not yet implemented feature: SM1 non-float expression.
err:d3dcompiler:D3DCompile2 memory:94:62: E5017: Aborting due to not yet implemented feature: SM1 non-float expression.
err:d3dcompiler:D3DCompile2 memory:94:54: E5017: Aborting due to not yet implemented feature: SM1 non-float expression.
err:d3dcompiler:D3DCompile2 memory:94:54: E5017: Aborting due to not yet implemented feature: Dereference with non-constant offset of type HLSL_IR_EXPR.
err:d3dcompiler:D3DCompile2 memory:94:93: E5017: Aborting due to not yet implemented feature: SM1 "cast" expression.
err:d3dcompiler:D3DCompile2
The game looks like it would benefit from https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/671 and https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/608 coming from upstream.
https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/396 and https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/435 might help with the dereference with non-constant offset, but I wouldn't hold my breath on that since those merge requests are wiring it up for SM4 instead of SM1.
Title screen does render on proton 9.0 beta, I retried it with Experimental and using the command to force Wined3d seems to fix the title screen being invisible, so that narrows it down to being a dxvk problem.
Curious if this is the same issue that effected #6383
Seems like it was a different dxvk issue that effected a few other games, but a pr seems to have been merged now that should fix it. Guess that resolves 2 out of 3 regressions I ran into testing out proton 9.0/experimental.
Dxvk regression is fixed as of latest Experimental build.
Are you sure? I still get this error in Skyrim with a freshly created prefix.
Are you sure? I still get this error in Skyrim with a freshly created prefix.
The error where the game renders completely black or the error where the game crashes when pressing start? Cause I retried Carrie's Order Up on my deck right now with Proton Experimental, the black screen issue was fixed as I said in my comment.
I see. Thanks for the info. In that case, I might be facing a different issue.
Game still doesn't work on proton Experimental, seems to now be asking for "Jump type HLSL_IR_JUMP_DISCARD_NZ" and "Instruction type HLSL_IR_LOOP"
Compatibility Report
System Information
Steam deck 512 Gb specs
I confirm:
Symptoms
Game boots to the title screen fine and dandy, but crashes with a vertex shader error whether you press space to start or press start before the title screen pops up saying
FATAL ERROR in Vertex Shader compilation
ShaderName: shd_pal_swapper
memory:67:25: E5005: Function "transpose" is not defined.
at gml_Script_pal_swap_set
Also should be marked as unsupported on deck until fixed. steam-522490.log
Reproduction
Just start up the game and press start on the title screen or start before it pops up. Though looking on protondb, if you use d9vk through protontricks, the issue stops.