ValveSoftware / Dota-2

Tracker for issues specific to Linux and Mac in the Reborn client. If you have a general issue or non-system-specific feature request please go to dev.dota2.com
469 stars 38 forks source link

Dota 2 completly freezes after random time on Manjaro KDE #2389

Open astyd256 opened 1 year ago

astyd256 commented 1 year ago

Your system information

Please describe your issue in as much detail as possible:

Dota 2 completly freezes after random time. The only thing I can do is move my crusor, changing TTY doesn't work, all alt+tabs, ctrl+alt+del, e.t.c. doesn't work. The only solution is to use REISUB. Here is a much more full info about my system in needed System Information from inxi.

If I try to launch Dota through Proton layer it crashes almost instantly in the main menu.

Steps for reproducing this issue:

  1. Install Manjaro
  2. Install Dota 2
  3. Launch game
  4. Dota never work out of box on my laptop

Addtitional notes

I want to draw attention that I'm using laptop with hybrid graphics intel + NVIDIA and I read about lots of problems with that setup.

Things I tried: Changing Nvidia drivers, changing Kernels, changing lots of launch parameters trying everything from Proton.db, (If anybody intersting here's mine right now -novid -input_button_code_is_scan_code -map_enable_background_maps 0 -autoconfig -vulkan_disable_graphics_pipeline_library) reinstalling everything, launching via proton steam and port proton, launching via steam CLI.

Things I will try: Install Optimus.

I play lots of games on Manjaro via native (i.e. Team Fortress 2) or with proton layer(port proton project) even able to play games from Epic store. But Dota was always kinda special for me in a way. Despite it always been native it never work for me out of the box. There was always these issues with it as long as I used Manjaro.

Previously I did fix it either via launch options or kernel changes or fiddling around long enough. But I spent whole day looking for solutions and never succeed, going to this place was one of my last resort. Really hoping for some help or workaround or advice.

bastienleonard commented 1 year ago

I also have random freezes in some games, on Arch Linux. Some games are completely fine, but some games freeze after a seemingly random duration. Then every time I reconnect, it freezes again after some time. This is reminiscent of this issue: https://github.com/ValveSoftware/Dota-2/issues/2235 I couldn't find any information in the logs shown in the terminal, though.

bastienleonard commented 1 year ago

I played three games recently, two of them had this issue of frequent but random freezes.

Here is the latest one: 7244300153. I often got the impression that fighting Naga Siren causes most of the freezes, but it's difficult to say.

It's especially frustrating because the game starts fine, then it typically starts crashing after the laning phase. Something about fighting with multiple heroes somehow makes the game very likely to freeze. On top of that, the game doesn't work well when reconnecting frequently, but that's another issue.

On top of this, the Windows version doesn't work either via Proton. It would be great to know that Valve is looking at this and is paying some attention to Linux users.

bastienleonard commented 1 year ago

It happened again in game 7252471719.

bastienleonard commented 11 months ago

For what it's worth, I haven't faced this issue after many dozen games now. Not sure what fixed it.

astyd256 commented 11 months ago

So fix/workaround that I find was installing optimus manager and switching to discrete GPU. My only guess that's it's either some bugs related to HP hybrid graphics, or problems from proprietary NVIDIA drivers, or something in dota manages graphics not how it should be, or both. Anyway my issue is resolved (partly).

BTW THO! deleting -vulkan_disable_graphics_pipeline_library breaks my game too on treasure animation at the launching game.

astyd256 commented 11 months ago

The issue started to happen again and even switching with optimus doesn't help, no simular issues with native games or game I emulate via proton layer

gzqx commented 11 months ago

Replicates the issue on Fedora KDE. I don't crush in standard dota2 but crushes on almost all customized games.

I also notice that during such freeze, it creates several dozens GB of file in /var/spool until it use all space in root partition.

I am running Fedora Plasma 38 on AMD Graphics card (wayland).