protonscr

Freeze system in GTA5 and Witcher3

dxvkclosed amd radv
doitsujin/dxvk#251 · opened 2018-04-07 by sr-tream · updated 2018-06-09 · 15 comments · github
1 matching comments, n / p to jump
Ssr-tream 2018-04-07 github

This problem occurs after 5-10 minutes, after the game starts.

Software information

GTA5, Witcher3

System information

  • GPU: AMD RX560
  • Driver: RADV, mesa 18.0
  • Wine version: 3.5
  • DXVK version: 0.41

Log files (Witcher 3)

Log files (GTA5)

Ddoitsujin maintainer 2018-04-07 github

It's a known issue for GTA V. Please provide information on how to reproduce this with Witcher 3, this game runs fine on my end. It is likely a driver issue.

Ssr-tream 2018-04-07 github

As a rule, problems occur during the battle, or in cut scenes. If you just run around the world, then the game works well.
At one point there is a small freeze, as when compiling the shader, but at the same time the keyboard and mouse cease to work, and this freeze lasts forever

Ddoitsujin maintainer 2018-04-07 github

Can you provide a save file where this issue occurs? Again, I cannot reproduce it just by fighting stuff, and I have played Witcher 3 for a few hours recently without major issues.

Ssr-tream 2018-04-07 github

Yeah. At the end of the battle with griffin.
The Witcher 3.zip

Ssr-tream 2018-04-07 github

P.S. Im using LLVM 6.0 by default system. Now I building mesa-git (18.1) with LLVM 7.0 for tried. After I'll try use system mesa (18.0) and mesa-git (18.1) with LLVM 5.0

Ssr-tream 2018-04-08 github

With this save a 100% freeze system after oneshot kill.
https://dl.prime-hack.net/The Witcher 3.zip

export RADV_DEBUG=allbos,syncshaders,vmfaults
wine witcher3.exe &> witcher3.out
https://dl.prime-hack.net/witcher3.out

Ddoitsujin maintainer 2018-04-09 github

I updated the instructions in #252 to get a hang report since I apparently messed up there. Anyway, I'll see if I can reproduce this with your saves.

Sshmerl 2018-04-13 github

Are these freezes happening because of bugs in radv / amdgpu, or because of dxvk?

HHi-Angel 2018-04-18 github

Oh, I occasionally stumbled upon the issue, having same problem with GTAⅤ, I think I know the reason.

What happens is that DXVK seems to report too big values as amount of VRAM, screenshot (the Видеопамять means video memory):
screenshot_20180418_204100

So, after some minutes of gameplay the driver takes all available RAM (it can be seen in free output, the field buff/cache), leading to system freeze.

What's interesting, is that the number you see on screenshot, the 5909, never change, so it probably simply some percentage of system RAM. FWIW, total amount of RAM my laptop here have is 8GB.

HHi-Angel 2018-04-18 github

…so, the solution would be to somehow limit the number of VRAM being reported.

Ssr-tream 2018-04-18 github

@Hi-Angel, may be problem in VRAM, but not in RAM 100%. Total amount RAM in my PC - 24GB

HHi-Angel 2018-04-18 github

@sr-tream can you please take a look if for playing GTAⅤ the field buff/cache of the command free on your system is unstoppably increasing, like, 8GB, 10GB, 13GB…?

Kkleest 2018-05-27 github

@Hi-Angel
I also get the freeze in GTA5. My video card has 8GB of VRAM. My system has 16GB of RAM. In graphics settings, GTA5 reports 8GB of VRAM, which is correct. While playing, the system RAM usage does not increase to the point where it fills up. Except for the graphics driver, every part of the system is working fine while freezing: audio, disk, network, etc.

Hhakzsam 2018-06-09 github

I recently fixed a bunch of issues with RADV. You shouldn't be able to reproduce any GPU hangs with GTA V and TW3. If I'm wrong, let me know.

Ddoitsujin maintainer 2018-06-09 github

Closing since these should work with latest mesa-git and llvm-svn. (see #252).