Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple games cause GPU hang #325

Closed
qsniyg opened this issue Apr 26, 2018 · 25 comments
Closed

Multiple games cause GPU hang #325

qsniyg opened this issue Apr 26, 2018 · 25 comments

Comments

@qsniyg
Copy link

qsniyg commented Apr 26, 2018

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:
@jarrard
Copy link

jarrard commented Apr 26, 2018

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

@qsniyg
Copy link
Author

qsniyg commented Apr 26, 2018

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

@doitsujin
Copy link
Owner

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

@winiciuscota
Copy link

@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?

@doitsujin
Copy link
Owner

doitsujin commented Apr 26, 2018

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.

@Guy1524
Copy link
Contributor

Guy1524 commented Apr 26, 2018

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

@sambow23
Copy link

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.

@jarrard
Copy link

jarrard commented Apr 26, 2018

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.

@kas0079
Copy link

kas0079 commented May 4, 2018

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.

@doitsujin
Copy link
Owner

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

@kas0079
Copy link

kas0079 commented May 5, 2018

@doitsujin Thanks, that solved it for me.

@doitsujin
Copy link
Owner

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).

@qsniyg
Copy link
Author

qsniyg commented May 12, 2018

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.

@sdack
Copy link

sdack commented May 28, 2018

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

#341 (comment)

@jarrard
Copy link

jarrard commented Jun 7, 2018

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).

@doitsujin
Copy link
Owner

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

@mmatis
Copy link

mmatis commented Jul 29, 2018

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.

@qsniyg
Copy link
Author

qsniyg commented Aug 29, 2018

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.

@skipperro
Copy link

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. 👎

@jarrard
Copy link

jarrard commented Sep 3, 2018

Tried 396.54.02?

@skipperro
Copy link

skipperro commented Sep 3, 2018

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.

@skipperro
Copy link

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

dxvk

@qsniyg
Copy link
Author

qsniyg commented Dec 3, 2018

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

@SleepProgger
Copy link

SleepProgger commented Jan 29, 2019

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

@doitsujin
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests