Steam overlay does not work with this applied.
Are you on Linux? Steam Overlay tends to be unreliable on it regardless
Steam Overlay certainly doesn't work on macOS as well.
It's an enigma, honestly.
As far as I can tell, this is a Facepunch issue related to OpenGL on Linux. Other overlays (such as MangoHud) also do not work.
This is actually just due to unset LD_PRELOAD in hl2.sh. Comment that out and it should work
Commenting out unset LD_PRELOAD in hl2.sh on the current game patch and 20240926 fix causes the game to freeze for a long period at startup and then crash after rendering the first frame of the loading progress bar. Is there another workaround for getting the overlay? It is a requirement for the relatively new game recording feature.
Carefully controlling LD_PRELOAD yourself so whatever's needed for Steam Overlay can load but nothing else
This is now available/fixable through setting GMOD_ENABLE_LD_PRELOAD=1 %command% in GMod's Launch Options with the Latest Release:
https://github.com/solsticegamestudios/GModPatchTool/releases
Please read the Advanced Options section of our official linux guide if you need help setting it up: https://www.solsticegamestudios.com/fixmedia/linux/