csgo-osx-linux icon indicating copy to clipboard operation
csgo-osx-linux copied to clipboard

Crash Wayland

Open VolRencs opened this issue 7 months ago • 20 comments

The game can crash at any time when using the Wayland version of the game, on xwayland everything is fine.

Process 13691 (cs2) of user 1000 dumped core.

Message: Process 13691 (cs2) of user 1000 dumped core.
                
                Stack trace of thread 13762:
                #0  0x00007a7622906e9d n/a (n/a + 0x0)
                ELF object binary architecture: AMD x86-64

VolRencs avatar May 21 '25 15:05 VolRencs

confirming, the game does seem to just crash randomly whilst playing with wayland native.

coredump.txt

fxzzi avatar Jun 09 '25 18:06 fxzzi

Don't know if its related to this issue specifically, but under wayland my game will randomly crash when opening the chat interface ('y' keybind). Happens more often than not.

j-piccolo avatar Jun 22 '25 06:06 j-piccolo

Don't know if its related to this issue specifically, but under wayland my game will randomly crash when opening the chat interface ('y' keybind). Happens more often than not.

Yes, it is related to this, it is most often when opening the interface, along the lines of the game menu on ESC, or the weapon purchase menu on B.

VolRencs avatar Jun 22 '25 09:06 VolRencs

yeah mine sometimes crashes like that also, and sometimes randomly at the start of the round or when switching sides halfway through the match

fxzzi avatar Jun 26 '25 13:06 fxzzi

can confirm this has been happening constantly when i try to open the buy menu

padoruuuu avatar Jun 28 '25 01:06 padoruuuu

buy menu also sometimes causes it. Seems extremely random but quite annoying. This didn't happen prior to the cursor bug in Oct 2024. I was able to play the game perfectly without issues then. Now that the cursor bug is fixed it still seems to have other bugs preventing native wayland support.

fxzzi avatar Jun 29 '25 20:06 fxzzi

after latest few updates after the major, things look partially improved for me. Still crashing but I think the frequency of the crashes has reduced a bit.

Still an issue, it happens during matches still

fxzzi avatar Jul 06 '25 20:07 fxzzi

Lately and in truth less crashes, I have for 3-4 hours of play has not had a single crash, before I have for this time at least 3 times it would crash. But for now, it's worth testing some more.

VolRencs avatar Jul 09 '25 12:07 VolRencs

The problem persists.

VolRencs avatar Jul 16 '25 13:07 VolRencs

hmm, the "forced" xwayland usage was removed from the cs2.sh file in the recent update.

Maybe this means they made some stability changes which allowed them to do this? Any updates from you on whether the crashes are fixed?

fxzzi avatar Jul 29 '25 21:07 fxzzi

Still an issue with new update.

thechitowncubs avatar Aug 14 '25 23:08 thechitowncubs

Yep, just had a crash. Happened during a competitive game just after switching sides.

fxzzi avatar Aug 15 '25 08:08 fxzzi

I was able to play a full competitive game on CS2 with native wayland, without crashing. Anyone had any crashes still?

fxzzi avatar Sep 18 '25 17:09 fxzzi

I was able to play a full competitive game on CS2 with native wayland, without crashing. Anyone had any crashes still?

Still crashing on wayland, usually after entering commands in console, opening buy menu/scoreboard/settings menu, or head shooting an enemy, etc.

found this in game log

(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)IPC function call IClientUtils::SetAppIDForCurrentPipe took too long: 50 msec
IPC function call IClientUtils::SetLauncherType took too long: 50 msec
(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)(null)

sometimes its just a bunch of (null)s

conformally avatar Sep 19 '25 06:09 conformally

anyone getting any crashes after todays update? iv been able to play 2 games in a row without crashing which has not been the case for a while

padoruuuu avatar Sep 26 '25 07:09 padoruuuu

I also played a few games, there were no crashes.

But we need to continue testing, since before that there was such an opportunity to play several games without crashes.

VolRencs avatar Sep 26 '25 10:09 VolRencs

The crashes persist, on 4-5 game crashes when pressing TAB.

VolRencs avatar Sep 29 '25 20:09 VolRencs

confirming the crashes are still there. I had about 3/4 crashes when playing about 5 games of wingman last night

fxzzi avatar Oct 04 '25 17:10 fxzzi

These crashes haven't occurred for myself for quite sometime. Don't remember exactly when, but my current packages are:

linux 6.17.7 Hyprland 0.52.1 nvidia 580.95.05

launch options SDL_VIDEO_DRIVER=wayland %command%

j-piccolo avatar Nov 24 '25 22:11 j-piccolo

can also confirm the same. no crashes as of recently, game has been as smooth as ever. thank you to the devs!

fxzzi avatar Nov 24 '25 22:11 fxzzi