
Laser Bread
Published
The memes are working here
Controller must be connected before launch for the game to recognize it.
One of the levels forces the game into windowed mode and moves it around to create a visual spectacle. The native Linux version only offers a simulated version of this in game. Using the Windows version and having it actually move a window around works, suprisingly well, but kwin doesn't quite know what to make of the game when it goes offscreen, leading to dropped inputs. I'm guessing a tiling WM like i3 would just explode.
I can forgive that Linux DEs have a hard time with this, since the game is intentionally abusing a feature in Windows to force the player to rely on the music, not the visual cues.
Sometimes the game loses track of which player is tied to which controller. This only happens if a controller gets disconnected.
The game has infrequent crashes due to running out of memory while trying to load multiple huge workshop mods (eg, very gimmicky characters, large stages, etc.), not present on the Windows version, but not necessarily the fault of the game itself.
SELinux blocks execheap heaping by default, which prevents TF2 from playing character voices. To fix:
Run TF2 and get try to play a voice line. Taunting works quickest. We need to have SELinux log that it blocked the game from doing this.
On a console with root access, we tell SELinux to make an exception for TF2 doing execheap:
ausearch -c 'hl2_linux' --raw | audit2allow -M my-hl2linux
semodule -X 300 -i my-hl2linux.pp
A better fix for this would be for Valve to not use execheap, because it's a security vulnerability.
SELinux on Fedora blocks TF2 from playing voice lines, due to the insecure way the game decompresses them. Fixed by getting SELinux to make an exception for TF2.