Team Fortress 2 crash when joining match only on nixos

This helps with initial problem, but I’m hitting so many more…

BTW. Why:

  1. Make sure that TF2’s launch options start with LD_PRELOAD="/usr/lib32/libtcmalloc_minimal.so:$LD_PRELOAD" %command%

uses /usr/lib32 which isn’t a thing on NixOS? Seems to work (games starts, at least), but I’m just curious.

Anyway…

I’m setting up a new system with Radeon RX 6700 XT, and after the workaround I’m able to start the native build, but all the letters in the UI are missing. Moreover, while I can attempt to join a game without the UI texts, the process crashes immediately.

The proton build starts, but crashes after attempting to join online game. However, if I quickly switch to native build, it will start automatically rejoin the previously attempted game and I can play. The letters in UI are still missing, which makes things weird, but somewhat playable.