ValveSoftware / Proton

Compatibility tool for Steam Play based on Wine and additional components
Other
24.6k stars 1.07k forks source link

Carrie's Order Up (522490) #6152

Open waspennator opened 2 years ago

waspennator commented 2 years ago

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.

Blisto91 commented 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.

waspennator commented 2 years ago

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.

Blisto91 commented 2 years ago

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

waspennator commented 8 months ago

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

download

kisak-valve commented 8 months ago

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.

waspennator commented 8 months ago

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.

steam-522490.log

kisak-valve commented 8 months ago

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.

waspennator commented 8 months ago

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

waspennator commented 8 months ago

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.

waspennator commented 8 months ago

Dxvk regression is fixed as of latest Experimental build.

shinjitumala commented 5 months ago

Are you sure? I still get this error in Skyrim with a freshly created prefix.

waspennator commented 5 months ago

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.

shinjitumala commented 5 months ago

I see. Thanks for the info. In that case, I might be facing a different issue.

waspennator commented 1 month ago

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"