ValveSoftware / csgo-osx-linux

Counter-Strike: Global Offensive
http://counter-strike.net
766 stars 68 forks source link

Crash (segfault) after black screen at startup #3028

Open Jerroder opened 1 year ago

Jerroder commented 1 year ago

Your system information

Please describe your issue in as much detail as possible:

When starting csgo from steam on Ubuntu 22.04, the screen stays black and closes after ~5 to 10 sec. The game is still running in steam, I have to manually stop it. It used to work flawlessly but not anymore.

When running ~/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/csgo_linux64, I get the error ./csgo_linux64: error while loading shared libraries: libtcmalloc_minimal.so.0: cannot open shared object file: No such file or directory even though, as https://github.com/ValveSoftware/csgo-osx-linux/issues/2659#issuecomment-1118944263 says, the md5 checksum of the packaged libtcmalloc_minimal.so.0 (in bin/linux64/) is 1aed9927e757605ceef443605b8ef7a5.

When running ~/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/csgo.sh I get a segmentation fault.

Steps for reproducing this issue:

  1. Launch csgo

My launch options are -console -refresh 144 -threads 16 -nojoy -novid. I added nojoy and novid following other people comments in the issue linked above but it didn't help. I also tried to run it the the Linux Runtime Environment as a compatibility layer but no luck either. Installing the package libtcmalloc-minimal4 hasn't done anything.

Douile commented 1 year ago

This is also happening on arch (up to date) for versions:

Both openGL and vulkan crash and the following fixes from #2659 haven't worked for me:

Current launch options are MESA_DEBUG=1 __GL_ALLOW_UNOFFICIAL_PROTOCOL=1 __GL_SHADER_DISK_CACHE_SKIP_CLEANUP=1 __GL_SHOW_GRAPHICS_OSD=1 __GL_THREADED_OPTIMIZATIONS=0 LANG=en_GB.UTF-8 LOCALE=en_GB.UTF-8 %command% -novid -nojoy -nosteamcontroller -nohltv -refresh 144 -threads 15 -reuse +cl_forcepreload 1 -full -tickrate 128 -freq 144

But I have tried various permutations of these and no options but no luck.

System info

romalb47 commented 1 year ago

Got the same probleme with manjaro up to date. It's work by doing this: https://github.com/ValveSoftware/csgo-osx-linux/issues/2659#issuecomment-1107677204

tuomO42 commented 12 months ago

just had similar problem but it was user related so not sure if its the same. only one from two accounts encountered the crash. was fixed by deleting folders 730 and config from ~/.steam/debian-installation/userdata//

dmesg gave segmentation fault on client_client.so when crashing. when not using -novid csgo logo was visible