Skip to content

[Linux] Dota2 client started randomly freezing #3551

Open

Description

@Bodyash

Description

For the last few days Dota 2 has been randomly freezing during gameplay on Linux. It's started BEFORE 7.41f patch (7.41e???) . And it still here in 7.41f.

The game does not crash and no crash dump is generated. The process stays running, but the game is completely unresponsive and has to be killed manually.

Additional information

  • Linux / Arch Linux (kernel linux 7.2.6) (7.2.5 also affected)
  • AMD GPU (RX 6600M), mesa 1:26.2.2-1
  • No obvious GPU reset, OOM, or segfault in journalctl, nothing on /tmp/dumps, no logs, just freeze
  • Shader cache reset did not resolve the issue
  • Files checksum validation - no problems found

There is high chance in can freeze when out of focus in main menu, just can wait for 5-10 min. (I'm using 2 monitors, GNOME 50). It can freeze when accepting game, when loading into game. It's not freezing while playing.

Mangohud is also frozen on screenshot, it froze when game was out of focus like this:
Image

Launch params:

mangohud %command% -novid -map dota2 -sdlaudiodriver pulseaudio

(I'm using sdlaudiodriver cause there was a problem with dissapearing sound)

Any way I can help fix that?

Tried to run game from terminal, but got

./dota.sh                             

FATAL: It appears dota.sh was not launched within the Steam for Linux sniper runtime environment.
FATAL: Please consult documentation to ensure correct configuration, aborting.

Not sure how to run in properly.

Other games work just fine.

Activity

  1. svl10 commented on Sep 20, 2026

    @svl10

    Did you manage to find a fix?
    This also happens to me to after switching from an rtx 4060 to an rx 9060xt 16GB last week. I'm on CachyOS Niri(wayland). It keeps randomly freezing even during game which was annoying, I got 2 abandoned matches because of it. It even crashed once and just stayed on Downloading Content 0% for around 10-15mins.

  2. JamesKulrich commented on Sep 22, 2026

    @JamesKulrich

    I'm experiencing the same issues with no launch params.

    Using:

    • AMD Ryzen 5 5600X
    • AMD Radeon RX 6650XT
    • 32GB DDR4 ram
    • Fedora Linux 44 (kernel 7.2.5-200.fc44.x86_64, KDE Plasma, Wayland)

    My whole computer gets extremely slow when the game is running in the menu and unfocused. Seems to happen randomly.
    Had the game suddenly crash while in-game too.

  3. Bodyash commented on Sep 23, 2026

    @Bodyash
    Author

    Low fps when in menu and when unfocused - is expected i guess

    But permanent freezes - could it be something related to AMD drivers / shaders?

  4. rattones commented on Oct 5, 2026

    @rattones

    I have the same problem, so I investigated it as hard as I could, and I described all of it in this issue:
    #3558

    It's closed cause I found the problem ,and it is not caused by Dota.

  5. Bodyash commented on Oct 12, 2026

    @Bodyash
    Author

    @rattones Your issue seems to be different. From what I understand, you're experiencing occasional freezes lasting around 3 seconds.

    In my case, I can play several games without any issues, but sometimes, when I click something on my second monitor (causing the game to lose focus), Dota 2 freezes permanently. It never recovers, and I have to kill the process manually.

    However, there's one similarity: only the rendering thread seems to be frozen. The game itself appears to keep running.

    For example, I was dead in-game and switched to my second monitor to change the YouTube video I was listening to. The game froze, but I could still hear the respawn sound and other in-game events.

    And it's easy to reproduce, kinda.. even in main menu. Lose focus - game freeze. Seems to be related to some game update, cause I didn't update my system too often and I clearly remember that game patch introduced this problem. Still not solved :(

  6. Bodyash commented on Oct 13, 2026

    @Bodyash
    Author

    Updated kernel to 7.2.9
    Gnome DE to 51.0
    Mesa to 26.2.4

    Nothing changed. Problem is 100% in game client.

    Dear Valve, is there any way I can help u to solve this?

    System info: https://pastebin.com/EY9HnfXv
    System details: https://pastebin.com/ib5n7Krf
    HW Info: https://pastebin.com/Mv7xxH82

    UPD: Deadlock game also freezing on alt-tabing, maybe it's some shared lib problem between 2 games? Like SDL? At Least Deadlock is freezing in a way that system suggests to stop process and i don't need to kill it from terminal.

    UPD2: Tried to test it with windows version over proton stable (11.0-2), but dota anticheat wasn't working (wow), so I can't play games. It wasn't freezing in main menu like Linux version, but it instantly froze when I clicked anticheat more info button. It was on -dx11. On -vulkan with proton stable - game instantly crashing. So the only way I can play on Linux - is native Linux client which is freezing on losing focus like almost every time.

  7. Bodyash commented on Oct 13, 2026

    @Bodyash
    Author

    Update: Possible Steam Overlay Vulkan presentation hang

    https://pastebin.com/czUZC9MR - thats what i got with gdb on frozen game in main menu. (Please, check thread 26)

    I captured a GDB backtrace while Dota 2 was frozen. The VKRenderThread was inside VulkanSteamOverlayPresent() → gameoverlayrenderer.so → connect(), called through vkQueuePresentKHR().

    After disabling Steam Overlay (while keeping MangoHud enabled), I kept switching focus without reproducing the freeze.

    This suggests a possible issue involving Steam Overlay's Vulkan presentation hook, potentially related to GNOME/Wayland focus changes.

    I'll continue testing with Steam Overlay disabled to confirm whether the freeze is gone.

    UPD: After 3 matches and many alt-tabs - 0 freezes. Enabled steam overlay is causing this. Confirmed.

  8. neverwhatlose commented on Oct 15, 2026

    @neverwhatlose
    Independent reproduction of the same Steam Overlay presentation hang on KDE Plasma Wayland.

    Environment

    • CachyOS, kernel 7.2.8-2-cachyos
    • KDE Plasma / KWin 6.7.5, Wayland session
    • AMD Radeon RX 5700 XT, RADV / Mesa 26.2.4
    • Native Linux Dota 2 client through Steam Linux Runtime (sniper), Vulkan

    Reproduction
    Switch focus away from Dota 2 to another window and return. With Steam Overlay enabled, the game became unresponsive less than a minute after launch during repeated focus switching. The process remained alive.

    Launch arguments for this reproduction:

    +@panorama_min_comp_layer_dimension 0 -prewarm_panorama -condebug
    

    Captured evidence
    The console log ends with:

    10/15 08:43:30 [RenderSystem] Vulkan swapchain recreated succesfully.  Attempting to acquire next image...vkAcquireNextImageKHR returned VK_SUCCESS
    10/15 08:43:31 [RenderSystem] Vulkan swapchain recreated succesfully.  Attempting to acquire next image...vkAcquireNextImageKHR returned VK_SUCCESS
    10/15 08:43:31 [RenderSystem] Vulkan swapchain recreated succesfully.  Attempting to acquire next image...vkAcquireNextImageKHR returned VK_SUCCESS
    10/15 08:43:31 CSwapChainBase::QueuePresentAndWait() looped for 21 iterations without a present event.
    

    (Timestamps are local time, UTC+03:00, October 15, 2026.)

    Two GDB snapshots taken separately while the process was frozen showed VKRenderThread at the same location:

    Thread 22 ("VKRenderThread"):
    #0  ?? () from libc.so.6
    #1  connect () from libc.so.6
    #2  ?? () from gameoverlayrenderer.so
    #3  ?? () from gameoverlayrenderer.so
    #4  VulkanSteamOverlayPresent () from gameoverlayrenderer.so
    #5  vkQueuePresentKHR () from steamoverlayvulkanlayer.so
    #6  ?? () from librendersystemvulkan.so
    

    The main thread was waiting in ThreadAtomicWait() in libtier0.so. No GPU reset, OOM kill, or Dota segfault was found in the system journal around this freeze.

    Workaround test
    After disabling Steam Overlay and restarting Dota 2, I have not been able to reproduce the freeze with further focus switching so far. This is still a short test, not a long-term stability confirmation.

    This matches the VulkanSteamOverlayPresent() → connect() stack reported above, and shows that the same symptom also occurs on KDE rather than only GNOME.

  9. rattones commented on Oct 16, 2026

    @rattones

    5. In my case, I can play several games without any issues, but sometimes, when I click something on my second monitor (causing the game to lose focus), Dota 2 freezes permanently. It never recovers, and I have to kill the process manually.

    I have this same problem when I'm using BIOS in discrete mode (both GPUs active), I solve this by changing BIOS to use only the dedicated GPU

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions