HansKristian-Work / vkd3d-proton

Fork of VKD3D. Development branches for Proton's Direct3D 12 implementation.
GNU Lesser General Public License v2.1
1.94k stars 202 forks source link

Everspace 2 DX12 backend is broken #2146

Open OlegAckbar opened 2 months ago

OlegAckbar commented 2 months ago

Everspace 2 has 2 major issues with its DX12 backend and VKD3D

After some time the game is just crashing Similar issues were reported on ProtonDB: https://www.protondb.com/app/1128920?device=any

Software information

Everspace 2 GOG 1.3.42909 Epic settings with HDR enabled

System information

Log files

steam-default.log

runar-work commented 2 months ago

I can reproduce crashes with both Proton GE 9-15 and Experimental bleeding-edge. steam-1128920_crash_logs.zip

Here's a save file that has reliably caused a crash: ES2_save_file_cutscene.zip Save folder is /compatdata/1128920/pfx/drive_c/users/steamuser/Local Settings/Application Data/ES2/Saved/SaveGames/ After reaching the target there's a cutscene (which doesn't render), then the game crashes about a minute or two after poking around in the menu for a bit.

Shader dump

HansKristian-Work commented 1 month ago

That crash looks like it's in game code, not related to d3d12.

It might be related to video decoding somehow, since the crash happens on the thread shortly after the thread is named to "ElectraPlayer::Video decoder".

tgurr commented 2 weeks ago

Today a patch popped up that judging from the changelog appears to address this specific issue: https://store.steampowered.com/news/app/1128920/view/4454716818605474350

Patch 1.3.43751 Bugfixes:

OlegAckbar commented 2 weeks ago

I think I need to update the situation surrounding these issues: