I am on Fedora Workstation 38 on GNOME Wayland, using a cyberpower pc with an AMD graphics card & cpu. Whenever I try to launch Team Fortress 2, it crashes the moment the actual game’s executable is loaded (hl2_linux). The problem doesn’t seem to be related to graphics (I already used the -soft, -safe, -sw, -dx11, and -dx12 options, still didn’t work), especially since the game’s window doesn’t show up. I also tried rebooting multiple times, didn’t work, same with directly launching the game. Proton isn’t an option, because A: On my machine, it runs at half speed for some reason, and B: Even then, TF2 doesn’t want you to use Proton, it wants you to use the native linux version. (It doesn’t let you join online games if you’re using proton)
Also, no saying “change hardware/distro” as the solution, please.
The problem: Fedora went really quickly when rolling out LLVM-related things, and borked a library TF2 uses for memory allocation. The solution: Flatpak Steam fixes that
Note: I may have found a solution: replacing “libtcmalloc.so.4” with something else. So far i’ve tried linking it to my system’s version of libtcmalloc, but it just gave an error complaining that it wasn’t 32 bit