this post was submitted on 08 Jul 2023
4 points (83.3% liked)

Linux Gaming

15834 readers
20 users here now

Gaming on the GNU/Linux operating system.

Recommended news sources:

Related chat:

Related Communities:

Please be nice to other members. Anyone not being nice will be banned. Keep it fun, respectful and just be awesome to each other.

founded 4 years ago
MODERATORS
 

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 are viewing a single comment's thread
view the rest of the comments
[โ€“] Wanderer@lemmy.fmhy.ml 4 points 1 year ago* (last edited 1 year ago) (1 children)

DirectX 11 and 12 don't exist on Linux (TF2 also only uses DirectX 9 on Windows). Anyway, not only TF2 is effected but other not well maintained Source games too. The culprit is the newest version of LLVM (and another package I can't remember the name of, but it's a popular one that is always the problem) and that was two months ago (joys of a rolling distro). This problem can only be fixed by that one guy at Valve who still works at TF2 to adjust to the new LLVM.

Edit: it can also be fixed by the package maintainers by reversing that oopsi

[โ€“] SuperRyn@lemmy.world 2 points 1 year ago* (last edited 1 year ago)

ah, i see, that explains why it'll load on my other computer (which has poor cooling and no dedicated gpu which is why i don't use it for gaming anymore), but not my main. I remember using Godot, looking at version information and seeing it mention LLVM, but then not mentioning it on my other computer which runs NixOS