ValveSoftware / csgo-osx-linux

Counter-Strike: Global Offensive
http://counter-strike.net
784 stars 69 forks source link

Dangerzone game mode frequently crashing #3035

Open dancrn opened 2 years ago

dancrn commented 2 years ago

System information

nothing particularly fancy. it's a largely stock ubuntu 20.04 install, with a mainline kernel - v5.18.10 - compiled for low-latency.

Please describe your issue in as much detail as possible:

i've been playing the danger zone a little bit lately. i find that the game mode often causes the game to crash just after the map has been loaded. there's no apparent reason, and broadly speaking, if it successfully starts, it doesn't crash in-game at all. it's been happening for a while, but i'd held off on reporting until i could find some pattern to the issue. unfortunately, it doesn't seem to matter which map it is, nor have i seen anything that reliably causes it to crash. i really don't have much else to detail about the issue..!

anecdotally, i have been experiencing quite a few more crashes during map loads in regular game modes, but these are far less frequent (perhaps because the maps are smaller?). in fact, i've had quite a few crashes mid-game too - a recent match on inferno had my client crash 3 times in one game, all by arch/long, but i don't think these mid-game crashes are related to the map-load crashes.

Steps for reproducing this issue:

  1. start a danger zone match search.
  2. once a match has been confirmed, after the map begins to load, the game will crash with about 40% chance. it feels like it's crashing just about the time where loading is complete, and warmup is about to start ~and you're to be presented with the drop point and perk selection.~
  3. that is all.
JesusXD88 commented 2 years ago

Can confirm this happens on other gamemodes like Arms Race or Deathmatch. In fact it seems to happen only when using the Vulkan backend with the -vulkan parameter, as the game would crash or become unresponsive within the first minute of loading the match (or even when loading the match). When using the OpenGL backend I could not find any issues. The console output says something about a DXVK error:

err:   DxvkSubmissionQueue: Failed to sync fence: VK_ERROR_DEVICE_LOST
err:   DxvkDevice: waitForIdle: Operation failed
err:   DxvkSubmissionQueue: Failed to sync fence: VK_ERROR_DEVICE_LOST
err:   DxvkDevice: waitForIdle: Operation failed
err:   DxvkSubmissionQueue: Failed to sync fence: VK_ERROR_DEVICE_LOST
err:   DxvkDevice: waitForIdle: Operation failed
err:   DxvkSubmissionQueue: Failed to sync fence: VK_ERROR_DEVICE_LOST
err:   DxvkDevice: waitForIdle: Operation failed
err:   DxvkSubmissionQueue: Failed to sync fence: VK_ERROR_DEVICE_LOST
err:   DxvkDevice: waitForIdle: Operation failed
err:   DxvkSubmissionQueue: Failed to sync fence: VK_ERROR_DEVICE_LOST
err:   DxvkDevice: waitForIdle: Operation failed
err:   DxvkSubmissionQueue: Failed to sync fence: VK_ERROR_DEVICE_LOST
err:   DxvkDevice: waitForIdle: Operation failed
err:   DxvkSubmissionQueue: Failed to sync fence: VK_ERROR_DEVICE_LOST
err:   DxvkSubmissionQueue: Command submission failed: VK_ERROR_DEVICE_LOST
err:   DxvkDevice: waitForIdle: Operation failed
/home/jesusxd88/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/csgo.sh: line 88:  7593 Killed                  ${DEBUGGER} "${GAMEROOT}"/${GAMEEXE} "$@"
Game process removed: AppID 730 "gamemoderun /home/jesusxd88/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=730 -- '/home/jesusxd88/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/csgo.sh' -steam -vulkan -high -novid -threads 12 -nojoy", ProcID 7593 

System details OS: Arch Linux Kernel: 5.18.14-zen1-1-zen Windowing system: Xorg 21.1.4 DE: GNOME 42.3.1 GPU: NVIDIA GeForce RTX 2060M NVIDIA Driver Version: 515.57 Launch params: gamemoderun mangohud %command% -vulkan -high -novid -threads 12 -nojoy

dancrn commented 2 years ago

some more anecdote;

random crashing seems to be getting a lot worse. a lot of my regular matchmaking games are crashing out. i'm able to rejoin quickly, but it's very problematic when it happens when still alive.

i'm not using vulkan, either (i wasn't aware there was a functional vulkan renderer for linux). the portal 2 vulkan backend runs too quickly on my machine (mhm, a true first-world problem), and makes the physics and/or game clock quite unstable.

the launch options in use for csgo are;

-novid -nojoy +fps_max 0 -tickrate 128
daxcore commented 1 year ago

I have this crashes since libx11 problems, so i guess that is the same error here? https://github.com/ValveSoftware/csgo-osx-linux/issues/3105 you should try to downgrade libx11 to version 1.8.2: https://github.com/ValveSoftware/csgo-osx-linux/issues/3105#issuecomment-1356809465