protonscr

Pathfinder: Wrath of the Rightous freezes in some loading screens

dxvkclosed game bug
doitsujin/dxvk#2286 · opened 2021-09-10 by mkalte666 · updated 2021-09-19 · 12 comments · github
1 matching comments, n / p to jump
Mmkalte666 2021-09-10 github

In some areas in the game (namely, third floor of the gray garrison) the game freezes in the loading screen.
It must be killed (via steams stop button or command line).
The issue also occurs if you load a save that is in said location.

I have thrown current master (as of writing this) into the games proton prefix and could still replicate the error. See the logs below.

Note that the issues does not occuur if i set PROTON_USE_WINED3D=1.

Software information

Pathfinder: Wrath of the Rightous.
I have tried this on multiple graphics settings (fullscreen, borderless window, window, multiple quality settings).

System information

  • GPU: NVIDIA GeForce GTX 980 Ti
  • Driver:470.63.01
  • Wine version: 6.16 (staging)
  • DXVK version: master (827c7a892ca399fd1ddda3051ee51f7b59af2cdd)

Apitrace file(s)

I should not be surprised that the files are huge.
This is the last bit i can see, but i will throw an upload on as soon as im not blocking the whole flats internet doing so and provide a link.
https://i.imgur.com/LNHDj0U.png

EDIT: https://mkalte.me/share/public/Wrath.trace.tar.gz

Log files

Put them in a gist here: https://gist.github.com/mkalte666/04061f2074252c19f8708adfebe1ef17

Ddoitsujin maintainer 2021-09-10 github

Does it actually freeze or is it just compiling a metric arsetonne of shaders?

Edit:

VK_ERROR_DEVICE_LOST

Yeah, driver crash. Will take a look once you get your trace uploaded, but there's probably not much we can do here.

Mmkalte666 2021-09-10 github

Yeah, driver crash.

sudo dmesg 
[...]
[24210.679811] NVRM: Xid (PCI:0000:26:00): 8, pid=2826, Channel 0000005b
[24322.296885] NVRM: Xid (PCI:0000:26:00): 8, pid=4165, Channel 0000005b
[25048.319677] NVRM: Xid (PCI:0000:26:00): 8, pid=8128, Channel 0000005b
[30189.871206] NVRM: Xid (PCI:0000:26:00): 8, pid=26819, Channel 0000002b

Oh well.. thanks for having a look.
Trace is uploading.

Mmkalte666 2021-09-10 github

Trace is here. https://mkalte.me/share/public/Wrath.trace.tar.gz

I cant get vulkan validation layers to work when launching from within steam, or i would check if anything happens there as well.

Ddoitsujin maintainer 2021-09-10 github

I can't connect to the server for some reason.

Getting Vulkan validation to work is a mess since the new Steam runtime got introduced, so yeah, don't bother with that.

Mmkalte666 2021-09-10 github

I can't connect to the server for some reason.

Woops sorry, should work now. forgot to restart it

Ddoitsujin maintainer 2021-09-10 github

Hm, trace replays fine here. Can you share a savegame so I can install the game and have a look?

Mmkalte666 2021-09-10 github

If i try to replay the trace, qapitrace.exe crashes for me. let me see if i can get something out of that.

EDIT: no it was something else that crashed it (probably me pushing other buttons). if i just replay it, i get the same driver crash as running the game directly.

Save file: https://mkalte.me/share/public/Quick_3.zks
Put here: [...]/steam/steamapps/compdata/1184370/pfx/drive_c/users/steamuser/AppData/LocalLow/Owlcat Games/Pathfinder Wrath Of The Righteous/Saved Games

Mmkalte666 2021-09-10 github

Jap i can reliably reproduce it using the trace.

Output of
DXVK_LOG_LEVEL=debug VK_LAYER_PATH=/usr/share/vulkan/explicit_layer.d/ VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation WINEPREFIX="/media/fastGames/STEAM/steamapps/compatdata/1184370/pfx/" wine /tmp/apitrace-10.0-win64/bin/d3dretrace.exe /media/fastGames/STEAM/steamapps/compatdata/1184370/pfx/drive_c/users/steamuser/Desktop/Wrath.trace > d3dretrace.log 2>&1

is here: https://mkalte.me/share/public/d3dretrace.log

Mmkalte666 2021-09-11 github

I can confirm that this patch fixes the issue for me. Thanks for putting in the work and putting up with me!

Ccrabel 2021-09-12 github

Thanks, I can also confirm that the issue is fixed with this commit. Thank you!

Tt3hbunbun 2021-09-19 github

I report that this patch did not fix the issue for me. I got through one loading screen, played through the area (drezen before chapter 3), and as I try to load into chapter 3, the same loading screen crash persists. With this patch X11 does not glitch out but the game is still unplayable.

Ddoitsujin maintainer 2021-09-19 github

That's a different issue and not a DXVK bug. Players have been reporting this on Windows as well, please check the Steam forums.

The patch in question is strictly for fixing a GPU hang.