CSGO crashes with the new -vulkan option
Your system information
- System information from steam: https://gist.github.com/YShow/b4b44d2d9f807ba75ac06bf9ca31d047
- Have you checked for system updates?: Yes
Please describe your issue in as much detail as possible:
trying to open csgo with vulkan results in a instant crash as seem in the log bellow
https://gist.github.com/YShow/aa1ba3ac394b5bfe4d9145ca8a244b33
Steps for reproducing this issue:
- Open CSGO with -vulkan
- crash with tcmalloc error
Hello @YShow, src/tcmalloc.cc:390] Attempt to free invalid pointer: 0x8c953a0 in your log hints that you're seeing the same issue as #2659.
Hello @YShow,
src/tcmalloc.cc:390] Attempt to free invalid pointer: 0x8c953a0in your log hints that you're seeing the same issue as #2659.
Could be related to that but im able to play csgo with opengl and there is the workaround to delete the video folder from panorama that makes csgo works just fine but with a ugly start screen but that doesnt work with -vulkan
-vulkan works for me I'm using Fedora 35, I am using this workaround:
dnf install gperftools-libs cd ....Counter-Strike Global Offensive/bin/linux64/ mv libtcmalloc_minimal.so.0 libtcmalloc_minimal.so.0.bak mv libtcmalloc_minimal.so.4 libtcmalloc_minimal.so.4.bak cp /usr/lib64/libtcmalloc_minimal.so.4.5.9 libtcmalloc_minimal.so.0
-vulkan works for me I'm using Fedora 35, I am using this workaround:
dnf install gperftools-libs cd ....Counter-Strike Global Offensive/bin/linux64/ mv libtcmalloc_minimal.so.0 libtcmalloc_minimal.so.0.bak mv libtcmalloc_minimal.so.4 libtcmalloc_minimal.so.4.bak cp /usr/lib64/libtcmalloc_minimal.so.4.5.9 libtcmalloc_minimal.so.0
that could work but im worried about my trust factor
that could work but im worried about my trust factor
is there any proof that something like this would effect trust factor?
that could work but im worried about my trust factor
is there any proof that something like this would effect trust factor?
Not really, valve never says anything so im just speculating at this point
System Information: Gentoo https://github.com/shoober420/rootscripts/blob/main/home/shoober420/sysinfoamd
Im getting the same invalid pointer error, similar to an error when launching Portal 2. Left 4 Dead 2 launches fine with the -vulkan option.
https://github.com/ValveSoftware/portal2/issues/362
src/tcmalloc.cc:390] Attempt to free invalid pointer: 0x885f3a0
EDIT:
Removing the libtcmalloc_minimal.so files from the "Counter-Strike Global Offensive/bin/linux64/" and replacing them with the single libtcmalloc_minimal.so file in the /usr/lib64 directory worked for me as well.
This also fixes Portal 2, except you need to copy the 32bit version of libtcmalloc_minimal.so from /usr/lib and put it into the "Portal 2/bin/linux32" directory.
This does seem to stem from this original issue.
https://github.com/ValveSoftware/csgo-osx-linux/issues/2659
Replying to https://github.com/ValveSoftware/csgo-osx-linux/issues/2887#issue-1080491957
ITs not crashing because of vulkan option , just delete videos folder . This problem exist in every OS . It is because u have to turn of in bios energy SAVING FEATURES like COol N Quiet my friend . Stop Spaming
Replying to https://github.com/ValveSoftware/csgo-osx-linux/issues/2887#issuecomment-995744315
What does it say when you ldd csgo_linux64 (the executable)?
This method worked for me, before it would (when launching with -vulkan) crash to desktop with the tcmalloc invalid pointer error. Flatpak Steam worked with the bundled libraries.
I have libtcmalloc_minimal.so.4.5.9 linked to libtcmalloc_minimal.so.0 in /usr/lib64, which makes ldd csgo_linux64 happy. Then I have just renamed the original libtcmalloc_minimal.so.0 with .old in the csgo directory bin/linux64. This doesn't require adding any files to the csgo directory, so it's slightly different to what you have done.
I'm using Gentoo (glibc-2.34-r3) with pf-sources (5.15_p4), I will try using a different kernel perhaps.
@kisak-valve and all others please keep in mind that setting -threads > 16 crashes the game as soon as the last part of the map loads.
No cached sticky mapping in ActivateActionSetLayer.ERROR: ld.so: object '/home/blackout/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
crash_20211217171502_2.dmp[10174]: Uploading dump (out-of-process)
/tmp/dumps/crash_20211217171502_2.dmp
crash_20211217171502_2.dmp[10174]: Finished uploading minidump (out-of-process): success = yes
crash_20211217171502_2.dmp[10174]: response: Discarded=1
crash_20211217171502_2.dmp[10174]: file ''/tmp/dumps/crash_20211217171502_2.dmp'', upload yes: ''Discarded=1''
pid 10174 != 10173, skipping destruction (fork without exec?)
Replying to #2887 (comment)
ITs not crashing because of vulkan option , just delete videos folder . This problem exist in every OS . It is because u have to turn of in bios energy SAVING FEATURES like COol N Quiet my friend . Stop Spaming
Idk if the reply was for me, but if u scroll 2 comments after this issue u will find that i tried deleting the panorama video folder, that does work for opengl but for vulkan it still crashes
@RealAstolfo @YShow
that could work but im worried about my trust factor
is there any proof that something like this would effect trust factor?
Not really, valve never says anything so im just speculating at this point you can check out in console
trusted_launch_info
After a recent system update which included glibc 2.35 (upgraded from 2.33) I can no longer launch with -vulkan.
Arch Linux, AMDGPU, xorg and wayland, steam-native and runtime tested. verified files, cleared dl cache, deleted video folder, tried with and without shader precaching, with and without steam overlay.
GL still works.
Same error as @henrym11106
Recently updated Arch Linux and now i can't launch CSGO with the -vulkan parameter
And GL works good
-vulkan works for me I'm using Fedora 35, I am using this workaround:
dnf install gperftools-libs cd ....Counter-Strike Global Offensive/bin/linux64/ mv libtcmalloc_minimal.so.0 libtcmalloc_minimal.so.0.bak mv libtcmalloc_minimal.so.4 libtcmalloc_minimal.so.4.bak cp /usr/lib64/libtcmalloc_minimal.so.4.5.9 libtcmalloc_minimal.so.0
Thanks! Works here, after Arch Linux full upgrade ([2022-02-16T17:07:51-0300] [ALPM] upgraded vulkan-headers (1:1.2.203-1 -> 1:1.3.204-1)).
-vulkan works for me I'm using Fedora 35, I am using this workaround: dnf install gperftools-libs cd ....Counter-Strike Global Offensive/bin/linux64/ mv libtcmalloc_minimal.so.0 libtcmalloc_minimal.so.0.bak mv libtcmalloc_minimal.so.4 libtcmalloc_minimal.so.4.bak cp /usr/lib64/libtcmalloc_minimal.so.4.5.9 libtcmalloc_minimal.so.0
Thanks! Works here, after Arch Linux full upgrade ([2022-02-16T17:07:51-0300] [ALPM] upgraded vulkan-headers (1:1.2.203-1 -> 1:1.3.204-1)).
Also on Arch. Got same error,. This solution also worked for me.
Dota2 has the same issue. https://github.com/ValveSoftware/Dota-2/issues/1999
-vulkan works for me I'm using Fedora 35, I am using this workaround:
dnf install gperftools-libs cd ....Counter-Strike Global Offensive/bin/linux64/ mv libtcmalloc_minimal.so.0 libtcmalloc_minimal.so.0.bak mv libtcmalloc_minimal.so.4 libtcmalloc_minimal.so.4.bak cp /usr/lib64/libtcmalloc_minimal.so.4.5.9 libtcmalloc_minimal.so.0
Works on Arch! :) Also, Vulkan gets me better performance than OpenGL.
Replying to https://github.com/ValveSoftware/csgo-osx-linux/issues/2887#issuecomment-1049972940
Manjaro, worked :+1:
The install gperftools and replace the .so file method worked for me :+1: