Dota-2 icon indicating copy to clipboard operation
Dota-2 copied to clipboard

Dota Crashing or Freezing at random intervals while in match [ Debian Linux ]

Open McKraska opened this issue 5 years ago • 32 comments

Your system information

https://gist.github.com/McKraska/9fa173bb11c1ea7e96e3737ee570cc33

  • Have you checked for system updates?: [Yes]
  • Are you using the latest stable video driver available for your system? [Yes][Nvidia Driver 460]
  • Have you verified the game files?: [Yes][Even fresh install]

Please describe your issue in as much detail as possible:

Crashes happened prioer to dawnbreaker too. Random crashes while game is runnig, the game fully closes. Random long interval freezes that the game sometimes recoveres from. I have benchmarked all hardware, updated my kernel to 5.8, cleaned GRUB command line to make sure there are no weird start up paramenters. I have tried open gl or Vulkan I have stress tested the game, by running a bot game as invoker, and with -wtf, spamming spells as fast my my fingers allowed, it showed not issues and no signs of slowing down I then started another bot game with spectre, and while just walking, it crashed.

Steps for reproducing this issue:

  1. Running dota running opengl or vulkan
  2. Starting a match

McKraska avatar Apr 10 '21 00:04 McKraska

I've also been getting this behaviour for a very long time with both gl and vulkan. Hard to describe exactly how long, but I'm under the impression stability has steadily degraded since the release of Reborn. Some patches are better than others, but typically I get at least one crash per game.

LuyeT avatar Apr 27 '21 10:04 LuyeT

Crashes so frequent now ive simply set up a dual boot with Windows 10 home, simply to play DotA

McKraska avatar Apr 27 '21 15:04 McKraska

I dont get exactly a "crash" but game stucks mid game. and this is also since soo long, even before diretide update. This is mid game or sometimes even in pick screen, i have a fast ssd so I can reboot and rc quickly but I have also had abandons because of this.

Saladin1812 avatar Apr 29 '21 15:04 Saladin1812

If this is Fedora / Debian specific libinput version 1.16 can also be an issue as these 2 distros use 1.6.4 and 1.6.3 version of libinput. If no one in Arch is experiencing this which has libinput 1.17.2.

libinput 1.17 just got pushed into fedora 34 testing repos, I will see if that helps once it arrives in stable.

Saladin1812 avatar Apr 30 '21 11:04 Saladin1812

Its not a libput issue, I tested it with 1.17.1 on Fedora 34. So it can be due to some other dependency. I will try gathering live logs as its very hard due to It doesn't even allow Clicking anywhere as Mouse still remains Dota 2 one after Alt + Tab. However I will try launching it with terminal and quickly get logs on an alt tab, the next time it happens.

Saladin1812 avatar Apr 30 '21 16:04 Saladin1812

Have been facing same issues on arch 5.12.13-arch1-2 and nvidia Driver Version: 465.31. Random crashes after the last battle pass update.

nabing8 avatar Jun 30 '21 05:06 nabing8

Not sure if I have the same issue, started happening a month ago maybe around battle pass launch

-game freezes up after 30mins or so -if i press buttons the screen shakes -sound stops and starts a bit -after a few seconds whole screen has glitching images come up -I don't think it happens on OpenGL will test further

If I press ctrl+alt+delete I can get to the login screen and reboot

Manjaro XFCE AMD 6700XT Kernel 5.12 Mesa 21.1.4

Not sure where to check for logs but happy to dig them up if it helps

regulator-g avatar Jul 17 '21 07:07 regulator-g

I've given up on the DotA linux version, setting up a dualboot was less of a hassle than trying to get it to run on Linux

McKraska avatar Jul 17 '21 09:07 McKraska

This has been fixed for me, either from a monthly system update or Mesa 21.1.5.

regulator-g avatar Jul 25 '21 02:07 regulator-g

A fix that seems to work has been brought to my attention in #1983 by Kisak. Vulkan backend on linux will default to AMDVLK driver, which seems to cause crashes for dota. I've not had any crashes with Dota since switching to the RADV driver. Still fairly recent, so hard to say for certain that it's fully stable, but for illustrative purposes, I was unable to sustain more than 10 minutes of in game time with AMDVLK, and I've done multiple games without crashes with RADV. Hope this helps and leads to a once again thriving linux community on dota. :) EDIT: Would like to point out this applies to AMD cards. I'm not familiar enough with Nvidia drivers to comment on those cases.

LuyeT avatar Oct 14 '21 12:10 LuyeT

Replying to https://github.com/ValveSoftware/Dota-2/issues/1916#issuecomment-881850735

I got exactly the same problem. If I open Firefox, for example, the game immediately crashes my entire system (the screen gets stucked, the sound keeps playing and blocking, and I can't ALT + TAB or anything else). Sometimes, it happens even without opening any other application (hopefully not ingame). The only solution is to reboot my system.

Here are my system info: https://gist.github.com/D3XT3RY0NuT/e04effd35627aca8db375948a48f5f8e

ghost avatar Dec 22 '21 01:12 ghost

I got exactly the same problem. If I open Firefox, for example, the game immediately crashes my entire system (the screen gets stucked, the sound keeps playing and blocking, and I can't ALT + TAB or anything else). Sometimes, it happens even without opening any other application (hopefully not ingame). The only solution is to reboot my system.

Here are my system info: https://gist.github.com/D3XT3RY0NuT/e04effd35627aca8db375948a48f5f8e

You are using Ubuntu LTS so thankfully you should get some official support.. The version of Mesa in use is quite old it could be worth adding Kisak's PPA which will install the latest Mesa drivers. I think Kisak might chime in with his own recommendation though

https://launchpad.net/~kisak/+archive/ubuntu/kisak-mesa

regulator-g avatar Dec 22 '21 01:12 regulator-g

Not really interested in self-promoting, and looking at https://gist.github.com/D3XT3RY0NuT/e04effd35627aca8db375948a48f5f8e#file-system-info-L48, X is running on the NVIDIA gpu and the integrated AMD gpu chipset can't render. Updating mesa won't make a difference in this specific case since the game can only use the NVIDIA proprietary driver.

kisak-valve avatar Dec 22 '21 01:12 kisak-valve

i'm having the same problem. Playing on gigabyte g5 KC. My only "solution" is hold the power button when it crashed. Got something in .xsessionerror

[2022-01-16 15:34:01] Verification complete
src/common/pipes.cpp (883) : fatal stalled cross-thread pipe.
src/common/pipes.cpp (883) : fatal stalled cross-thread pipe.
src/common/pipes.cpp (883) : Fatal assert; application exiting
src/common/pipes.cpp (883) : Fatal assert; application exiting
Installing breakpad exception handler for appid(steam)/version(1639697812)
assert_20220116155821_74.dmp[144730]: Uploading dump (out-of-process)
/tmp/dumps/assert_20220116155821_74.dmp
_ExitOnFatalAssert
assert_20220116155821_74.dmp[144730]: Finished uploading minidump (out-of-process): success = yes
assert_20220116155821_74.dmp[144730]: response: CrashID=bp-e7b1eed0-0c3d-490b-83d5-5256b2220116
assert_20220116155821_74.dmp[144730]: file ''/tmp/dumps/assert_20220116155821_74.dmp'', upload yes: ''CrashID=bp-e7b1eed0-0c3d-490b-83d5-5256b2220116''
src/common/pipes.cpp (883) : fatal stalled cross-thread pipe.
src/common/pipes.cpp (883) : fatal stalled cross-thread pipe.
src/common/pipes.cpp (883) : Fatal assert; application exiting
ERROR: ld.so: object '/home/dmknght/.steam/debian-installation/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
assert_20220116160439_23.dmp[144766]: Uploading dump (out-of-process)
/tmp/dumps/assert_20220116160439_23.dmp
src/common/pipes.cpp (883) : fatal stalled cross-thread pipe (pipe is disconnected).
src/common/pipes.cpp (883) : Fatal assert; application exiting
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)
assert_20220116160442_7.dmp[144774]: Uploading dump (out-of-process)
/tmp/dumps/assert_20220116160442_7.dmp
assert_20220116160439_23.dmp[144766]: Finished uploading minidump (out-of-process): success = yes
assert_20220116160439_23.dmp[144766]: response: Discarded=1
assert_20220116160439_23.dmp[144766]: file ''/tmp/dumps/assert_20220116160439_23.dmp'', upload yes: ''Discarded=1''
pid 144766 != 144763, skipping destruction (fork without exec?)
assert_20220116160442_7.dmp[144774]: Finished uploading minidump (out-of-process): success = yes
assert_20220116160442_7.dmp[144774]: response: Discarded=1
assert_20220116160442_7.dmp[144774]: file ''/tmp/dumps/assert_20220116160442_7.dmp'', upload yes: ''Discarded=1''

The funny part is I can't do anything to open terminal and get the dump files, so after reboot, all dump files were gone. Nvidia version: 470.57.02

dmknght avatar Jan 16 '22 09:01 dmknght

Replying to https://github.com/ValveSoftware/Dota-2/issues/1916#issuecomment-1013838911

Hi, can't really address the crash itself as I don't play much dota these days, but thought I'd leave this here in case you were not familiar (instructions should be relevant even if your not using arch, but double check with your distro). https://wiki.archlinux.org/title/Keyboard_shortcuts#Killing_a_memory-hogging_process Should help you get a copy of dump, though in some cases truly nothing but the power button works.

LuyeT avatar Jan 16 '22 09:01 LuyeT

Replying to #1916 (comment)

Hi, can't really address the crash itself as I don't play much dota these days, but thought I'd leave this here in case you were not familiar (instructions should be relevant even if your not using arch, but double check with your distro). https://wiki.archlinux.org/title/Keyboard_shortcuts#Killing_a_memory-hogging_process Should help you get a copy of dump, though in some cases truly nothing but the power button works.

Thank you for your URL. I used the reboot until i figure it out i can just use combo (on my laptop is Alt + SysRq + K to restart everything LoL. I'm using LUKS so it's a little pain rebooting and waiting system to boot up.

Anyway, Dota is not only game has this problem, however i got more crashes than other games. I can play total war 3k 6 hours straight without having any problem. My last 2 dota game crashes after about 20 mins.

Luckily, this time i can get the dump file. dumps.zip

dmknght avatar Feb 22 '22 14:02 dmknght

I have an other different crash today while game is playing. After a while, I think this crash is not really dota 2 specific, but other games as well. It looks like cloud syncing problem crashes game while playing (maybe?)

Fatal IO error 0 (Success) on X server :0.0.
src/common/pipes.cpp (665) : m_pInternalPipe->BRead failed
src/common/pipes.cpp (665) : m_pInternalPipe->BRead failed
src/common/pipes.cpp (665) : m_pInternalPipe->BRead failed
src/common/processpipe_posix.cpp (507) : CCrossProcessPipe::BWrite: 32 (Broken pipe)
src/common/pipes.cpp (862) : CClientPipe::BWriteAndReadResult: BWrite failed
src/common/pipes.cpp (862) : Fatal assert; application exiting
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)
assert_20220326224138_10.dmp[39024]: Uploading dump (out-of-process)
/tmp/dumps/assert_20220326224138_10.dmp
assert_20220326224138_10.dmp[39024]: Finished uploading minidump (out-of-process): success = no
assert_20220326224138_10.dmp[39024]: error: Couldn't resolve host name
assert_20220326224138_10.dmp[39024]: file ''/tmp/dumps/assert_20220326224138_10.dmp'', upload no: ''Couldn't resolve host name''

Dump files dumps.zip

P/s: idk why but i got 2 crashed matches play Grim Stroke. IDK if this hero creates crash when cast skills.

dmknght avatar Mar 26 '22 15:03 dmknght

the same here. CPU ryzen 1700 GPU: rx 580 OS: Arch Linux DE: GNOME 42 Driver: Mesa API: OpenGl (bc vulkan is unplayable)

issue: game freeze randomly and shuts down. I can play any other games without issues. dota2 is the only game that crashs.

ladsoftware avatar Jul 02 '22 11:07 ladsoftware

CPU ryzen 1700 GPU: rx 570 OS: Arch Linux

Same behavior. The game completely freezes and I have to kill the dota2 process to recover. I have tons of dump files if needed.

lewisdiamond avatar Jul 13 '22 02:07 lewisdiamond

Hi guys, I sugget opening a new ticket with your issue, I have similar setup and it never ever crashes: 3900x Rx6700xt Arch

Again pls confirm you are using mesa's Vulkan not AMDs and are also using Mesa drivers not AMDs. This is what I have installed, none of the AMD packages:

amd: amd-ucode 20220610.7b71b75-1

mesa: lib32-mesa 22.1.3-1 lib32-mesa-vdpau 22.1.3-1 libva-mesa-driver 22.1.3-1 mesa 22.1.3-1 mesa-demos 8.5.0-2 mesa-utils 8.5.0-2 mesa-vdpau 22.1.3-1

vulkan: lib32-vulkan-icd-loader 1.3.217-1 lib32-vulkan-radeon 22.1.3-1 vulkan-headers 1:1.3.217-1 vulkan-icd-loader 1.3.217-1 vulkan-radeon 22.1.3-1 vulkan-tools 1.3.217-1

regulator-g avatar Jul 13 '22 05:07 regulator-g

The most common factor I can see here is that a lot of us have a Ryzen 1700 CPU. Not sure how helpful it is for you to say you have no issue with different hardware. Gathering similar issues in the same thread seems more manageable than spraying the forum with them. It's typically encouraged?

On Wed, 13 Jul 2022, 07:26 regulator-g, @.***> wrote:

Hi guys, I sugget opening a new ticket with your issue, I have similar setup and it never ever crashes 3900x Rx6700xt Arch Again pls confirm you are using mesa's Vulkan not AMDs and are also using Mesa drivers not AMDs, hope that makes sense

— Reply to this email directly, view it on GitHub https://github.com/ValveSoftware/Dota-2/issues/1916#issuecomment-1182780849, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAMPR2XIKFC74ZWBXYXJHP3VTZHRFANCNFSM42V5FY5Q . You are receiving this because you commented.Message ID: @.***>

LuyeT avatar Jul 14 '22 04:07 LuyeT

You all use Arch which doesn't ship with every dependency needed for games, it has to be setup correctly. I'll stop helping if you don't find my suggestions useful.

regulator-g avatar Jul 14 '22 05:07 regulator-g

It happens on OpenGL as well, not specific to Vulkan.

With mesa-utils as well as vulkan-radeon and vulkan-tools, I tested running using vulkan and saw no crashes (limited sample).

lewisdiamond avatar Jul 22 '22 00:07 lewisdiamond

Tested with all the packages listed by @regulator-g and got a few games without crashes but then a game where it crashed literally 10 times.

I have a bunch of coredumps, will someone from valve look into this? I can upload the dumps.

lewisdiamond avatar Jul 23 '22 00:07 lewisdiamond

Tested with all the packages listed by @regulator-g and got a few games without crashes but then a game where it crashed literally 10 times.

I have a bunch of coredumps, will someone from valve look into this? I can upload the dumps.

That's a very interesting question. Idk if you heard this: Valve creates a new repository to collect Dota 2's bugs. Should we all send at least 1 email to our Lord, Gaben?

dmknght avatar Jul 23 '22 04:07 dmknght

omg, thought i was the only person, dota 2 is the only native linux game im playing right now its basically unplayable crash after crash.

Ryzen 5 1500x nvidia 1070

markmorris avatar Aug 02 '22 20:08 markmorris

Turn off Compute Shaders. This should fix the issue, ive had this issue for weeks, turning settings to low (i normally play low anyway but i always have Compute Shaders and AA Checked). I unchecked Compute Shaders and ive had no crash since my last post.

markmorris avatar Aug 03 '22 20:08 markmorris

Was talking rubbish, its still crashing, i just had a few lucky games, 3 crashes so far on this game, lowering all the settings definitely helped.

markmorris avatar Aug 08 '22 19:08 markmorris

Any updates on fixes, ive lost 300 mmr lol its just crash after crash. clean install of ubuntu GTX 1070 (nvidia drivers all setup) AMD Ryzen 5 1500X. Thats all you need to reproduce, what makes it worse is that its the only native linux game i play and its unplayable.

markmorris avatar Aug 12 '22 19:08 markmorris

You made me play on windows...

markmorris avatar Aug 12 '22 20:08 markmorris