protonscr

Apex Legends: Crash within 5 minutes of entering game

dxvkclosed d3d11nvidia proprietaryneeds feedback
doitsujin/dxvk#3012 · opened 2022-10-26 by git-iso · updated 2023-06-16 · 17 comments · github
Ggit-iso 2022-10-26 github

Apex Legends crashes within 5 minutes once entering a game. Logs give err: DxvkSubmissionQueue: Failed to sync fence: VK_ERROR_DEVICE_LOST err: DxvkDevice: waitForIdle: Operation failed.

Running sudo dmesg after crash gives NVRM: Xid (PCI:0000:01:00): 31, pid=13799, name=R5Apex.exe, Ch 00000063, intr 10000000. MMU Fault: ENGINE GRAPHICS GPCCLIENT_T1_1 faulted @ 0x0_bb3ad000. Fault is of type FAULT_PDE ACCESS_TYPE_READ

System information

  • GPU: GTX 1060 6G
  • Driver: NVIDIA 520.56.06
  • Wine version: Proton 7.0-4
  • DXVK version: 1.10.3

Log files

BBlisto91 2022-10-26 github

@git-iso Could you also give proton experimental a spin just for good measure? 🙂

Ggit-iso 2022-10-26 github

@Blisto91 Same crash within a few minutes of entering a game.
steam-1172470.log

Xxpander69 2022-10-26 github

Probably some sort of GPU driver/Pascal GPU combination problem or similar. Have you checked if you maybe running out of VRAM on your card?
Works without issues here with the 520.56.06 driver and RTX 3080. Can play hours without issues.

Ggit-iso 2022-10-26 github

@xpander69 GPU memory hovers around 20%, GPU usage around 98%

Xxpander69 2022-10-26 github

@xpander69 GPU memory hovers around 20%, GPU usage around 98%

Does it also crash like that with older nvidia drivers or vulkan betas?. It surely sounds more like some sort of hardware issue, OC going wrong. RAM being broken or whatnot. There sould be alot of pascal gpu users and apex players around. Havent heard any other talk about having this issue.
I remember i had that Xid31 issue on my 1080Ti with Dirt Rally 2.0 way back also, but it turned out to be my unstable RAM OC. Not trying to say its exactly same thing for you, but yeah...

Ggit-iso 2022-10-27 github

@xpander69 I only had occasional crashes with previous NVIDIA drivers but 520.56.06 seems to always crash. I don't have any OC on my hardware and other Vulkan games seem fine. If I had to guess it has something to do with the shaders, I'll try to experiment and see if I can fix it.

Ggit-iso 2022-10-31 github

After much experimentation and testing withDXVK_HUD I was able to stop my crashing. In the first few minutes of loading a game, there seems to be a stutter in the frametime that sometimes goes as high as 1200. By limiting my fps with +fps_max 60 I was able to stop the stutter from instantly crashing my game. Once in a game, if my GPU usage goes too high (above 70%) my game crashes, so keeping the framelimiter on is necessary. I also let the shaders compile in the menu fully instead of in game.

If I had to guess it has something to do with shader compilation, and since it only started after the latest NVIDIA driver it may be that VK_EXT_graphics_pipeline_library that was introduced in it makes the shader process too heavy on my GPU.

KK0bin maintainer 2022-10-31 github

If I had to guess it has something to do with shader compilation, and since it only started after the latest NVIDIA driver it may be that VK_EXT_graphics_pipeline_library that was introduced in it makes the shader process too heavy on my GPU.

Shader compilation happens entirely on the CPU and if the generated shaders crash the GPU despite being valid, that would be a major driver bug.

BBlisto91 2022-11-28 github

@git-iso Can you try again with the new Nvidia driver and latest dxvk? :slightly_smiling_face:

Ssewnie 2022-11-29 github

i have never had this happen to me, since 520 and onwards.

KK0bin maintainer 2022-11-29 github

@git-iso Does it still crash on newer (520+) drivers?

Ggit-iso 2022-12-02 github

Running DXVK 2.0 on Proton Experimental with driver 520.56.06 still quickly crashes above 60 fps in-game. It can also occasionally crash with 60 fps limit if GPU usage goes too high.

KK0bin maintainer 2022-12-02 github

if GPU usage goes too high.

Make sure you're not running an unstable OC.

BBlisto91 2023-03-10 github

@git-iso are you still having this issue?

BBlisto91 2023-06-10 github

@git-iso Friendly ping

Ggit-iso 2023-06-16 github

@Blisto91 I upgraded to a 3060 TI recently and it seems fine, maybe Pascal GPU wasn't working well. I'll close the thread.

BBlisto91 2023-06-16 github

Coolio :+1:
Good luck with your new GPU :slightly_smiling_face:

Proton versions

Launch options