Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kode54 opened this issue Aug 22, 2024 · 4 comments
Open

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

kode54 opened this issue Aug 22, 2024 · 4 comments

Comments

@kode54
Copy link

kode54 commented Aug 22, 2024

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.

@runar-work
Copy link
Contributor

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.

@kode54
Copy link
Author

kode54 commented Aug 31, 2024

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?

@RareMv
Copy link

RareMv commented Sep 9, 2024

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.

@shelterx
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants