Dota2-Gameplay icon indicating copy to clipboard operation
Dota2-Gameplay copied to clipboard

[Crash][Linux] Game crashed ~14 times during one match

Open h21n opened this issue 1 year ago • 14 comments

Description

Ever since skilling E as venomancer (might not actually be the cause), my game crashed on almost every interaction with enemy heroes, most frequently the exact moment I'm silencing someone with Bloodthorn. Even though I reconnected as soon as I could every time the game crashed, I was assessed with an abandon. The game crashed well over 10 times...

I am on Fedora Linux, using Vulkan (obviously). Kindly fix the bug before removing me from low-priority queue.

Example Match ID (and possibly Timestamp)

8304246464

Screenshots

Image

h21n avatar May 23 '25 13:05 h21n

Seconded on fedora 42.

Happened to me in game 8304431243

The game freezes for 15 seconds and then either crashes or disconnects me with the "remote host connection interrupted" error message

Happens especially when :

  • Using an item,
  • Using a spell,
  • Panning the camera over a teamfight,
  • Hovering over a spell description,
  • Right clicking items in the shop menu

W055 avatar May 23 '25 15:05 W055

Possibly the same as https://github.com/ValveSoftware/Dota-2-Vulkan/issues/463? Could you check if you see these logs in the console

MasterAwesome avatar May 23 '25 15:05 MasterAwesome

Seconded on fedora 42.

Happened to me in game 8304431243

The game freezes for 15 seconds and then either crashes or disconnects me with the "remote host connection interrupted" error message

Happens especially when :

  • Using an item,
  • Using a spell,
  • Panning the camera over a teamfight,
  • Hovering over a spell description,
  • Right clicking items in the shop menu

Hi! I have exactly the same issue her, i use Fedora 42 to. Started occurring after this update. RX 7600 Ryzen 5 5600X

JMoratelli avatar May 23 '25 15:05 JMoratelli

Possibly the same as ValveSoftware/Dota-2-Vulkan#463? Could you check if you see these logs in the console

Hello,

Tried to recreate it in demo and didn't got the crashes anymore.

I can't see if the lines you ask for are present in console because it is flooded with the following line :

[RenderSystem] vkQueuePresentKHR failed with error 1000001003

W055 avatar May 23 '25 15:05 W055

hi, got the same issue on ubuntu 25.04. i suspect it's a memory issue on dota 2 linux console as i got an OOM warning from the steam client itself, and my memory got hogged by mostly dota 2. currently running on 16GB RAM, but it wasn't really a problem until 7.39 came

Image 2GB idle with browser

image.png 14GB with dota 2 (almost full)

Image top showing dota 2 hogging the memory (including the virtual memory)

game is unplayable with frequent disconnects, got abandon on (luckily) turbo game just now thanks to this shenanigans. please fix this

black0803 avatar May 23 '25 23:05 black0803

Same here. Got only 1 crush during dota game, but constant freezes leading to crashes in custom games. Especially autochess. Also constant LOSS IN with values of 20-40ms. Maybe unrelated, but started with this patch.
Image

SoiledBrush avatar May 24 '25 18:05 SoiledBrush

any update?

endotrizine avatar May 24 '25 21:05 endotrizine

if someone runs into the same issue setting SDL_VIDEO_DRIVER=x11 %command% launch option will probably help you

endotrizine avatar May 24 '25 23:05 endotrizine

SDL_VIDEO_DRIVER=x11 %command% works.

nithisaran1999 avatar May 25 '25 07:05 nithisaran1999

if someone runs into the same issue setting SDL_VIDEO_DRIVER=x11 %command% launch option will probably help you

So is the issue because of wayland?

asakshat avatar May 25 '25 10:05 asakshat

if someone runs into the same issue setting SDL_VIDEO_DRIVER=x11 %command% launch option will probably help you

So is the issue because of wayland?

Technically, yes. I think this release removed the explicit setting of SDL_VIDEO_DRIVER=x11, so now it will default to x11 when running via X11 and wayland when running in Wayland. Prior to this everyone was either running native Dota2->X11 or Dota2->Xwayland->Wayland. I'm guessing everyone affected is running wayland, and we're all beta testers for Dota2->Wayland (no more X11 dependency).

ghjnut avatar May 27 '25 04:05 ghjnut

Setup:

Image

Was getting same thing where I would randomly crash once or continuously. Tried

SDL_VIDEO_DRIVER=x11 %command%

but that did nothing, Force Compatibilty to run using Steam Linux Runtime 3.0 (Sniper) which got me the following error: Image "Linux Kernel Memory Shortage Avoided Steam has been terminated by the Linux kernel because the system is low on memory. Consider closing unused applications or browser tabs."

With my Swap almost full

Image

I've now disabled my Swap, crashes less.

Image

I tested on both Wayland and X11, both would just randomly crash before I disabled Swap. Also got this error at one point:

Image

"Decode 201 86/0/3; m_vecItemSlots at offset 8, 0x0x7fdda0ae6b48 array true struct true: index ◊ array size in CDOTAPlayerPawn"

Gigarange avatar May 30 '25 05:05 Gigarange

Been running SDL_VIDEO_DRIVER=wayland for a couple of days, seems mostly fixed. Using the hero voice lines wheel causes a hard crash. Regular chat wheel seems fine.

ghjnut avatar Jun 18 '25 06:06 ghjnut

I'm having crashes very randomly, sometimes multiple times per game and this is the console log:

Logging [RenderSystem] vkQueuePresentKHR failed with error 1000001003 nonstop.

https://github.com/user-attachments/assets/9d7d690a-bab1-40c3-9f82-165a3273a27b

ahmafi avatar Dec 06 '25 16:12 ahmafi