Garry's Mod

Garry's Mod

Not enough ratings
How To Play Garry's Mod on Linux With Or Without Proton
By Zero
Gmod's internal Chromium Embedded Framework hasn't been patched to work on Linux recently and that's the reason why you get booted out of the game. Plus,the main menu doesn't show up with Proton.
   
Award
Favorite
Favorited
Unfavorite
How To Fix it Without Proton
1. Make sure you're on the x86-64 Branch

2. Download and Use https://github.com/solsticegamestudios/GModCEFCodecFix

3. Run CEFCodecFix. Make sure you're launching GMod through CEFCodecFix at all times, otherwise Steam might overwrite the patched files. Make sure it's run through your terminal.

Notice: If you're still experiencing crashes then it's likely you've didn't run it through CEFCodecFix at all times. Also check this out: https://wiki.archlinux.org/title/Steam/Game-specific_troubleshooting#Game_does_not_start_6

Notice 2: Arch Steam Native Runtime doesn't work with Garry's Mod and will crash it.

Notice 3: Please don't attack the project as a way to get back at me for anything. It'll just make everybody's day worse as I have zero connection to the project itself.
How to Fix With Proton
1. Make sure you're on the x86-64 Branch and Force the use of a specific Steam Play compatibility

2. Go to https://github.com/robotboy655/gmod-lua-menu OR go to https://github.com/solsticegamestudios/GModCEFCodecFix

3. Download the zip file and open it or use the codec to fix it

4. Extract contents of gmod-lua-menu-master folder ( folders lua and materials ) to your SteamApps/common/GarrysMod/garrysmod/ folder. This step isn't needed if you're using the codec fix itself.
Solution for those on Steam Flatpak
Your menu is likely not showing.

1. Make sure you're on the x86-64 Branch

2. Download and Use https://github.com/solsticegamestudios/GModCEFCodecFix

3. Run CEFCodecFix. Do not start yet.

4. Go to https://github.com/robotboy655/gmod-lua-menu

5. Download the zip file and open it

6. Extract contents of gmod-lua-menu-master folder ( folders lua and materials ) to your SteamApps/common/GarrysMod/garrysmod/ folder. You should be able to play without issues now.
The Pros and Cons of the solutions
Pros for Linux build: You will not experience any crashes or any bugs related to sprays in my experience as long you follow what I've said.
Cons: You will not get the Steam overlay because Facepunch hasn't patched it to work. Also only uses OpenGL instead of Vulkan which is the cause of a lot of bugs not stated here. Text might look strange due to the fact you don't have the MS fonts downloaded.

Pros For The Proton Version: Should run perfectly fine regardless of anything stated here. Steam overlay also works with this method.

Cons: Low FPS and crashes have been experienced by me with this method. Plus you won't be able to see sprays ingame if that is something important to you.
3 Comments
Rost1DaG4m0r 13 Nov, 2024 @ 8:57pm 
Oh okay. At least Gmod works fine on Linux through Proton, but initial map loading can take some time. But I can tolerate it.
Zero  [author] 13 Nov, 2024 @ 5:56pm 
Said patcher from my experience just focuses on fixing a lot of the issues with Gmod on Linux.
Rost1DaG4m0r 7 Nov, 2024 @ 5:48am 
Since I don't use multimedia-related mods, I think x86_64 branch via Proton and Lua menu will do!

That menu is different than Vanilla one, but I think I will get used to it.