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

can't start dota2 after update [ArchLinux] #2660

Open Bodyash opened 7 months ago

Bodyash commented 7 months ago

Your system information

Almost every time dota getting major update - i'm unable to launch it or play a game without crashes Now I have this when trying to launch dota.sh: image

CS2 is working, but when game is losing focus - it's crashing. It's strange, cause when CS2 released - Dota2 had similar issues as CS2. (Sound problems, wayland/x11, SDL, etc.. it was the same)

Memoframe commented 7 months ago

Manjaro, can't start either. Window opens up, I see Dota logo, mouse changes style like it should, logo disappears, black screen for a few seconds, window closes. Checked for updates, verified files. Restarted Steam, restarted system, removed launch options, tried with gamescope. Tried few other games, they works.

Yesterday it was working, did nothing on my end.

Memoframe commented 7 months ago

Was able to launch by restarting Steam and deleting shadercache /home/username/.local/share/Steam/steamapps/common/dota 2 beta/game/dota/shadercache/ To launch again I need to restart steam again and clear cache again and do not use launch options.

Bodyash commented 7 months ago

Was able to launch by restarting Steam and deleting shadercache /home/username/.local/share/Steam/steamapps/common/dota 2 beta/game/dota/shadercache/ To launch again I need to restart steam again and clear cache again and do not use launch options.

Also worked for me. What is this file for? And I have launch options, like mangohud, gamemode, -map dota, etc...

Bodyash commented 7 months ago

crashed after watching replay for 30 seconds and can't launch a game again :D

Memoframe commented 7 months ago

Also worked for me. What is this file for? And I have launch options, like mangohud, gamemode, -map dota, etc...

Shaders, they determine how skills and effects and other stuff looks. Usually it's better to not delete them, because their calculation cause micro-stutters first time they appear on the screen. But sometimes they glitch (which normally should not happen) like this time I guess and it's a reason to try to make them generate from scratch.

crashed after watching replay for 30 seconds and can't launch a game again :D

I played two games and watched live game, it was ok.

Bodyash commented 7 months ago

game is working fine right now, but crashing sometimes when changing volume level or alt-tabing

Memoframe commented 7 months ago

game is working fine right now, but crashing sometimes when changing volume level or alt-tabing

For me it's still deleting shaders and restarting steam.

DevGrohl commented 7 months ago

Fixed for me with 7.35c update

vkghc commented 4 months ago

Hello, I'm running 6.8.9-arch1-2 .

Dota 2 won't launch since yesterday with the same error messages as described above. I've tried running in XFCE4 with X, and in wayland with sway. Tried both the native and flatpak Steam apps. Same issue persists.

Starting steam with steam %U STEAM_RUNTIME_PREFER_HOST_LIBRARIES=0 does not fix the issue (suggested here https://github.com/ValveSoftware/Dota-2/issues/1705)

I get the following messages every time when running either the above command or starting Dota 2 from the Steam UI. Has anyone got an alternative solution to the issue?

The only way to make the game launch is to force with Proton-Experimental compatibility tool. However, doing this won't allow me play online as it triggers "Valve Anti Cheat was unable to verify your system is secure"

[...]
ERROR: ld.so: object '/home/me/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/me/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/me/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/me/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/me/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.

[...]

/usr/share/themes/Adwaita-dark/gtk-2.0/main.rc:733: error: unexpected identifier 'direction', expected character '}'
/usr/share/themes/Adwaita-dark/gtk-2.0/hacks.rc:28: error: invalid string constant "normal_entry", expected valid string constant
[...]
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 72: non-double matrix element
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 72: non-double matrix element
[...]
Loaded libpangoft2-1.0.so, got (nil)
 failed to dlopen "libpangoft2-1.0.so" error=libpangoft2-1.0.so: cannot open shared object file: No such file or directory
[...]
~/.local/share/Steam/steamapps/common/dota 2 beta/game/dota.sh: line 122: 15171 Bus error          
czhunor commented 4 months ago

Replying to https://github.com/ValveSoftware/Dota-2/issues/2660#issuecomment-2108096957

Just had the same issue with 6.8.9, downgraded to 6.8.4 and it works now. I used the guide to downgrade from https://arcolinux.com/how-to-downgrade-a-linux-kernel/ The AUR package downgrade is used there.