protonscr

GPU Hang The Witcher 3 (with dxvk 0.90)

dxvkclosed amd radv
doitsujin/dxvk#700 · opened 2018-10-14 by sr-tream · updated 2018-12-04 · 20 comments · github
Ssr-tream 2018-10-14 github

After updating to 0.90, GPU Hang appeared during fights

Software information

The Witcher 3

System information

  • GPU: AMD RX560
  • Driver: RADV (mesa 18.3 (with stream output patches), LLVM 8)
  • Wine version: 3.18-tkg
  • DXVK version: 0.90

Log files

Sshmerl 2018-10-14 github

Do you have a save for it? I can test it with Vega to see if it's Polaris specific or not.

Ssr-tream 2018-10-14 github

@shmerl https://nc.prime-hack.net/index.php/s/yBbmdzGjcsT97mN
Follow the quest, there will be a battle. Do not use a steel sword so that the battle does not end too quickly.

Ddoitsujin maintainer 2018-10-14 github

In case of GPU hangs, please try to generate a hang report as explained in #252.

Sshmerl 2018-10-14 github

Thanks for the reminder, looks like spirv-tools is still stuck in Debian's new queue. I'll ping Debian developers about it.

Ssr-tream 2018-10-14 github

@shmerl, I use archlinux, not debian

Sshmerl 2018-10-14 github

Do you mean the henchmen fight in the save? I fought them all using a silver sword, no hangs. Sapphire Pulse Vega 56, Mesa master + transform feedback patches, latest llvm 8.0 snapshot.

Ssr-tream 2018-10-14 github

@shmerl, need test on GPU with 2GB VRAM. When this problem was before (up to 0.63 it seems), it appears only for users with 2GB VRAM

Sshmerl 2018-10-14 github

Ah, OK. I have 8 GB so can't test such scenario.

Ssr-tream 2018-10-14 github

@doitsujin I can't forward to enemy and fight them with 0.1 fps in debug mode. Sorry

Eedmondo 2018-10-14 github

@sr-tream I also fought all the henchmen and no hangs.
My configuration:
RX470 4 GB RAM

Ssr-tream 2018-10-14 github

@edmondo, does an RX470 with 2GB VRAM exist?

Eedmondo 2018-10-14 github

@sr-tream I don't think so. There were only 4 and 8 GB versions

Sshmerl 2018-10-14 github

2GB VRAM sounds very tight for it to begin with, but crashing is surely a bug if it happens.

Eedmondo 2018-10-14 github

you could try to reduces the graphics settings and see if it's better

Ddoitsujin maintainer 2018-10-14 github

On cards with 2GB VRAM, some resources may need to be allocated in system memory, which will degrade performance. However, this generally works fine and shouldn't cause hangs (tested this by letting dxvk allocate everything in host memory).

Jjrugia 2018-10-15 github

Not AMD here but I have a system with Nvidia GT1030 and it has 2GB VRam. Will give it a shot later today.

Ddoitsujin maintainer 2018-10-15 github

Can't reproduce when simulating 2GB of VRAM. Even when effectively disabling all VRAM, I don't get any hang, although performance is obviously degraded.

Jjrugia 2018-10-15 github

I play tested the OP's savegame using the GT1030 with a medium/high setting combination at 1280x720 / 30fps lock and haven't encountered any crashes or freezes.

Got to the end of the quest and played for an entire hour, even fast traveled in a bunch of places to force the game to load up on resources. GPU used about 1.3GB VRAM so it was far off from the limit. From the looks of it doesn't look like a VRAM issue.

Full System Specs:

Intel G4560
8GB 2400MHZ Ram
Debian 9 (with 9.5 updates)
Wine 3.18 built from source using the Lutris git. - ESync enabled / PBA disabled.

Hhakzsam 2018-11-07 github

Are you still able to reproduce the hang with latest mesa git? I recently pushed VK_EXT_transform_feedback.

Ddoitsujin maintainer 2018-12-04 github

Closing due to the lack of feedback. Feel free to re-open if the problem persists, but it looks like no one is able to reproduce it so far.

Nothing extracted yet.