protonscr

Stray (-dx12, UE4) crashing within a minute or two of gameplay

vkd3dopen
HansKristian-Work/vkd3d-proton#2078 · opened 2024-08-22 by kode54 · updated 2024-09-16 · 4 comments · github
Kkode54 2024-08-22 github

Please describe your issue as accurately as possible. Include screenshots or videos if relevant

The game crashes after a minute or two of runtime, with an amdgpu gfx pipe lockup.

Software information

Stray (Steam AppID 1332010)
Running with -dx12 startup switch

System information

  • GPU: AMD RX 6700 XT
  • Driver: Mesa (24.1.6 from Arch repos, also 24.3.0_devel.193808.4f1c898bb33 built with mesa-tkg from gitlab.freedesktop.org/pixelcluster/mesa vm-explicit-sync branch)
  • Wine version: GE-Proton9-11
  • VKD3D-Proton version: As bundled with GE-Proton9-11

Log files

steam-1332010.log
dmesg.stray.log

Notes

Happens with both Mesa and amdvlk, so it's likely either a game bug or vkd3d bug.

Rrunar-work 2024-08-30 github

I reproduced this on RX 7600. Seems to be related to ray tracing, at least. I didn't see an option to disable it in the game, so I ran with VKD3D_CONFIG=nodxr, and then it worked fine.

Kkode54 2024-08-31 github

Yes, it does indeed appear to be ray tracing related. So whose bug is this now, Mesa's? Or still the game's for having buggy (and undocumented) ray tracing code?

RRareMv 2024-09-09 github

A lot of UE4 games, built on 4.19 or newer, can use -dx12 as a launch command to run in DX12 instead of DX11. To my knowledge, Stray, as a normally DX11 only UE4 title, is the only game where running this launch command also triggers RT effects, assuming the hardware/software is RT capable.

Now, this is clearly a design quirk, given devs don't expect customers to run the game in DX12. But RT effects get triggered and the game doesn't crash on Windows on RT capable GPUs. So it shouldn't crash on Linux either, given DXR is now enabled by default on Mesa.

There was some talks where either Mesa or VKD3D was meant to blacklist RT in Stray in DX12 due to Steam Deck in particular, but I'm not sure how that discussion went.

RT effects can be disabled on Linux either with said command above: VKD3D_CONFIG=nodxr or just UE4 config that disables RT: r.raytracing=0 or smth like that xd.

Sshelterx 2024-09-16 github

Mhhm, didn't know RT in Stray was a thing. Seems to work with Nvidia so perhaps an AMD mesa bug?

Proton versions

Launch options