protonscr

Multiple games cause GPU hang

dxvkclosed nvidia proprietaryneeds feedback
doitsujin/dxvk#325 · opened 2018-04-26 by qsniyg · updated 2019-02-28 · 25 comments · github
1 matching comments, n / p to jump
Qqsniyg 2018-04-26 github

Mass effect worked fine for ~5-10 minutes, then it caused the GPU hang. Saints Row was probably close to ~30 minutes to an hour. This was under DXVK 0.42. I'm aware of #252, but this is under an NVIDIA card (Intel CPU). It seems to be similar to #269, but with different games, and an Intel CPU.

I'm going to try soon with master, and attach logs.

Software information

Mass Effect: Andromeda - Ultra settings
Saints Row 3 - Ultra settings

System information

  • GPU: GTX 660 Ti (2GB VRAM)
  • Driver: NVIDIA 390.48
  • Wine version: Wine-staging 3.6
  • DXVK version: 0.42

Apitrace file(s)

  • Put a link here

Log files

  • d3d11.log:
  • dxgi.log:
Jjarrard 2018-04-26 github

You should try also at low graphics settings to see if its a specific setting doing the crashing.

Qqsniyg 2018-04-26 github

Good idea, I'll try that as well. I should also try to find a consistent way to reproduce the crashing.

Ddoitsujin maintainer 2018-04-26 github

Please test with latest master and enable Vulkan validation layers (i.e. export VK_INSTANCE_LAYERS=VK_LAYER_LUNARG_standard_validation).

Wwiniciuscota 2018-04-26 github

@doitsujin playing mk x on playing on 3840x1024 and max settings causes my gpu to hang on x-ray moves and some fatalities. On 1280x1024 the fps drops a lot on these situations but is able to run fine. Settinng VK_INSTANCE_LAYERS=VK_LAYER_LUNARG_standard_validation would help on this situation?

Ddoitsujin maintainer 2018-04-26 github

Enabling the Vulkan validation layers could maybe help debug the issue if it is a DXVK bug. If it's a driver bug then there's not much I can do.

GGuy1524 2018-04-26 github

Have you tried the 396 beta drivers? They work better in general.

Ssambow23 2018-04-26 github

I don't recommend 396.18.05 as it caused performance issues in FC5, and maybe other games.
Your best chance is to use the 396.18.02 drivers.

Jjarrard 2018-04-26 github

Was the performance issue not related to the new shader compiler which can be turned off?

Also run on temperature logger on your GPU to ensure its not overheating, I dunno if VRM can be monitored but sometimes those can overheat faster then GPU core.

Kkas0079 2018-05-04 github

I found a spot in NieR:Automata where the GPU hang happens in a fairly consistent way.

Software information
NieR:Automata with settings Anti-aliasing: x2, effects: High, and Ambient Occlusion: On, are sufficient to cause the crash. (the rest of the graphics settings can be off or low)
Ran the game with DXVK_HUD=1 DXVK_LOG_LEVEL=debug VK_INSTANCE_LAYERS=VK_LAYER_LUNARG_standard_validation WINEARCH=win64
The hang occurs in the level: "Bunker", while running around or sometimes just on exiting the menu.

System information
GPU: GTX 1060 (6GB VRAM)
Driver: NVIDIA 390.48-12
Wine version: Wine-staging 3.7
DXVK version: Master

Log files
d3d11.log: NieRAutomata_d3d11.log
dxgi.log: NieRAutomata_dxgi.log

I tried winetricks vulkansdk with DXVK_DEBUG_LAYERS=1 but then I got the error:

"ERROR : Graphic::Startup() FAILED.
No Graphic Memory"

When launching the game. I can try with a clean wine prefix and look into apitrace tomorrow, if it would help the debugging.

Ddoitsujin maintainer 2018-05-05 github

@kas0079 There's a bit of a game bug with Nier and MSAA enabled. a55bee95548e0c0b2237bb54f6f98ed08f98c112 should hopefully fix this particular issue.

Kkas0079 2018-05-05 github

@doitsujin Thanks, that solved it for me.

Ddoitsujin maintainer 2018-05-07 github

The latest commits (up to release 0.50) fixed a few general issues that were known to cause GPU hangs on Nvidia, might be worth testing the affected games again. Mortal Kombat X was among them (see #342).

Qqsniyg 2018-05-12 github

Sorry for the delay, I finally tried with the new master, and so far, I have only been able to reproduce one hang with Andromeda (when changing the settings), but I was able to play for a significantly longer period of time before and after (originally it was less than 10 minutes). I have yet to try Saints Row again, since I spent much longer before the hang started.

Ssdack 2018-05-28 github

Try disabling "Allow Flipping" in the Nvidia driver settings. This has stopped the hangs for two games so far.

https://github.com/doitsujin/dxvk/issues/341#issuecomment-392338148

Jjarrard 2018-06-07 github

It should be mentioned that some games will hang if you don't enable the new compiler (if you happen to have disabled it). I have noticed that a few times, so now I never disable it (might be 1 exception but I can't remember what).

Ddoitsujin maintainer 2018-07-16 github

Please test if this is still an issue with 396.26.10 (see #433).

Mmmatis 2018-07-29 github

EDIT: Disregard everything below. I ran the game without DXVK and the same freeze happens. Much more frequently, in fact. My quest continues...

I have frequent crashes in Skyrim Special Edition usually during combat involving lots of fire and effects, or when I die. At first I thought it was just one problematic region, but it seems connected to the amount of lights or effects on screen. Sound/music continues to play and system is semi-responsive. I can ctrl-alt-F2 to a tty and kill skyrim from there and then the system is fine. Here are the facts:

  • Linux Mint 19 Cinnamon Edition
  • NVidia GTX 660Ti, 2GB
  • Wine 3.10 (compiled manually)
  • DXVK 0.6.3
  • Binary Driver 396.45
  • GPU temp at time of crash ~60 degrees C
  • VRAM usage at time of crash ~1600MB (on medium settings)

Here is what I have tried with no effect:

  • Setting graphics options as low as they will go.
  • With/Without Sync to Vblank
  • With/Without Full Composition Pipeline
  • With/Without Allow Clipping
  • Rolled back driver to 390.77
  • Tried a nightly build of master from 7/27
  • Tried in windowed/borderless mode
  • Disabled as many mods as possible while still allowing my test save to work.
  • Test save freezes ~7 out of 10 times at some point during battle.
  • See attached debug logs
    EDIT: Also disabled steamoverlayrenderer.dll and switched GL_NextGenCompiler

I'm fairly confident it isn't mods. I remember experiencing this same type of freeze back when I was just trying to get the game to run well before I installed any mods. I just hadn't played long enough to realize at the time how persistent it would be. However, if the log files I've attached don't reveal anything I'll start a new game 100% vanilla and try to reproduce the same behavior consistently.
SkyrimSE_d3d11.log
SkyrimSE_dxgi.log

Please let me know if there is any more information I can provide or other things I could try. Thank you.

Qqsniyg 2018-08-29 github

I have tried Saints Row 3 for a few hours and no crashes so far (Nvidia 396.54). I'll try Andromeda once I get a chance, hopefully with the same results.

Sskipperro 2018-09-03 github

I have a similar problem with Assassin's Creed IV: Black Flag.
In prologue everything is working fine, perfect graphic quality on ultra settings, constant 60 FPS.
As soon as I leave first island and arrive at Abstergo office or Havana, GPU freezes. Trying to load again also freeze GPU in black screen between loading animation and game. Since with frozen GPU there is a massive input lag, often PC reset is the quickest recovery from this freeze.

Only way to actually see Havana is to disable DXVK, but then performance drop unplayable to 2-3 FPS.

Tried following settings:

  • Game settings - everything - low, high, vsync on/off, AA on/off, fog, shadows ect.
  • DXVK versions: from 0.52 to 0.71
  • Wine Versions: from 3.9 staging to 3.14 staging.
  • Driver version: 396.45 and 396.54
  • NVIDIA Setting: Allow flipping on/off, Vsync on/off, Composition Pipeline on/off.
  • VK_INSTANCE_LAYERS=VK_LAYER_LUNARG_standard_validation
  • GL_NextGenCompiler=0/1

System: Linux Mint 18
GPU: Titan Xp

Right now game is unplayable past prologue. 👎

Jjarrard 2018-09-03 github

Tried 396.54.02?

Sskipperro 2018-09-03 github

Tried 396.54.02?

Ummm.... I'm not sure. I've installed 396.54-0ubuntu0~gpu14.04.1 version from repository.
Where can I get this version?

EDIT:
OK, found it here:
https://developer.nvidia.com/vulkan-driver

I will test it and let you know.

Sskipperro 2018-09-03 github

Unfortunately with driver 396.54.2 it works exactly the same. :-1:
As soon as loading game-save is finished everything stops.

dxvk

Qqsniyg 2018-12-03 github

Interestingly enough, other games have worked fine, I haven't had any GPU hangs with Saints Row 3 (one of the two games that were broken), but Mass Effect Andromeda still causes them.

NVIDIA 410.73
DXVK 0.92

SSleepProgger 2019-01-29 github

I am experiencing the exact same problem as @Skipperro is but with an Radeon RX 580 (dxvk 0.96).
Both with amdvlk and radv.

Ddoitsujin maintainer 2019-02-28 github

Refer to #906 for the AC:Black Flag issue.

Launch options

Upstream links

DLLs