protonscr

[regression, d3d9] Cloudphobia crashing on startup

dxvkclosed d3d9
doitsujin/dxvk#3938 · opened 2024-04-04 by Blisto91 · updated 2024-05-06 · 2 comments · github
BBlisto91 2024-04-04 github

Originally reported at https://github.com/ValveSoftware/Proton/issues/7633

I have bisected this crash to be a regression starting from commit https://github.com/doitsujin/dxvk/commit/1f88ee595f4c3a2300388a1068ab865ea3215277

Software information

Cloudphobia

System information

Apitrace file(s)

Reproduces the issue
https://drive.proton.me/urls/E9FGM9DE4C#Jg93l0R0AgGv

Edit: added a wined3d trace in addition to the dxvk trace captured from before the crashing commit.
I noticed the dxvk trace crashes both when replayed with the dxvk commit (but not prior) and wined3d. The wined3d trace crashes with neither. Maybe the game chooses a different path or something. Credit to @WinterSnowfall for getting me to check

Log files

steam-329340.log

Wwaspennator 2024-04-13 github

I can confirm it happens on my windows laptop too using DXVK with the D3D9 DLL, if I launch it without it, it's fine. Made a trace running through native windows.

cloudphobia.zip

WWinterSnowfall 2024-05-02 github

There's a call to CheckDepthStencilMatch(), using D32 as the depth stencil format, that works with dxvk but returns D3DERR_NOTAVAILABLE with WineD3D, the latter of which should be the correct behavior. I'll PR something to check the depth stencil formats as well during that call, to ensure we actually support them. That's not currently being done.

Proton versions

Upstream links