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
You can try to use the Flatpak version of Steam. It has some downsides like not creating .desktop files at the right location (by default), but it works on my machine.
Same. I had crashes with the distro version.