


HOST_LC_ALL=ru_RU.UTF-8 __GL_SHADER_DISK_CACHE_SIZE=10737418240 __GL_SHADER_DISK_CACHE_SKIP_CLEANUP=1 DXVK_HUD=compiler gamemoderun %command%
Уж не знаю, что конкретно мне помогло (доп.параметры или патчи), но до этих всех действий игра жутко лагала (с тем же протоном, на нативе просто вылетала игра), пролаги на несколько секунд и низкий фпс. Решил прогуглить, поставил gmod-linux-patcher через скрипт и доп. параметры - все залетало. после сталкнулся с проблемой ввода русских символов, они отображались как ???
. Помог параметр HOST_LC_ALL=ru_RU.UTF-8
.


Works quite better than on Windows, although the initial loading times are quite tolerable.
The loading times are also better than on Fedora when ran through Proton, even the game itself performs better! The Native also works, but it's best to play with Proton anyway. Use the x86_64 branch and don't forget to install the GmodCEFCodecFix to fix the menu issues!

Switched to x86-64 - Chromium + 64-bit binaries build with GModCEFCodecFix installed.

Switched to x86-64 - Chromium + 64-bit binaries build.
Opening the "Legacy Server Browser" through the "Multiplayer Game" menu seems to crash the game entirely upon getting closed. It seems to also take away access from accessing the rest of the game, which is really odd. No other VGUI menus seem to do this. This is easily mitigated by using the new server browser, or using Steam's game servers window.
The Native Client with 64-bit+Chromium support is not great, servicable, but nowhere near the quality you'd get by playing with Proton or on a Windows device. The normal client should be fine, however, but no one should use that anymore, as a good chunk of Garry's Mods content will be blocked off because of that.

SDL_VIDEODRIVER=x11 gamemoderun %command%
I use GModCEFCodecFix (https://github.com/solsticegamestudios/GModCEFCodecFix/releases).
The laser pointer on the rocket launcher is surrounded by a small black box.
Occasional stuttering and some weird audio glitches, probably just my addons not working.
When playing peer-to-peer, the game will randomly freeze and crash, sometimes requiring me to force restart my PC in order for it to stop freaking out.

(none)
Sometimes slows down when spawning in models, npcs and weapons. It freezes for a second or two before it goes back to normal
Sometimes loading a model list that has over 100 models and moving around as it loads crashes the whole game, complaining that it's out of memory.
If you love messing around and sandbox games, this certainly is a great game to try.

Native build crashed at startup, used this fix to make it work
Native build crashes everytime on loading screen, managed to make it work using this:
- Running the x86-64 branch of the game
- And doing this fix https://github.com/solsticegamestudios/GModCEFCodecFix

Works almost completely the same as Windows when running in Hotfix and using GModCEFCodecFix.
Certain Steam Workshop add-ons can cause the game to crash due to the differences between locating files on Linux and Windows.

Didn't try to use Proton because I wanted to use the native version. I made the following steps to make the game more stable:
- Enable the x86-64 Beta in the properties of the game.
- Install the following fix: https://github.com/solsticegamestudios/GModCEFCodecFix
- Enable Steam Linux Runtime 1.0 in the Compatibility section of the game's properties. (I don't know if this step is 100% required).

On proton hotfix without GModCEFCodecFix your keyboard won't send any input.
On steam linux runtime 1.0, after tinkering with GModCEFCodecFix the game runs perfectly fine. But on proton(probably without the tinker) you won't have any input from your keyboard reaching the game, and your console font will be bugged.
If you'll be using too many addons(~300) - your game and Linux GUI might crash.

When you make a long session the game can start have little lags just restart the game and it will be gone

The game does not open
A respective error regarding the compatibility tools occurs.

game works without any problems, native version crashes at initializing game data, windows version works without any problems

https://github.com/solsticegamestudios/GModCEFCodecFix https://github.com/ret-0/gmod-linux-patcher Установите их
Шрифт багованный
После этих патчей игра реально становится как на винде
Works natively on linux:
- Use the "x86_64 - Chromium (...)" beta branch (in "Properties -> Betas")
- Force compatibility tool "Legacy runtime 1.0"
- Apply fix from https://github.com/solsticegamestudios/GModCEFCodecFix
Any other combination on native crashed for me in some stage of the flow.
Major performance issues if using Proton, but it works. Wouldn't recommend, since native is available.

Фикс запуска Garrys Mod!
Затем откройте Steam и щелкните правой кнопкой мыши Garry's Mod в списке игр вашей библиотеки. В меню выберите пункт "Свойства". В окне свойств выберите "Betas", затем щелкните по выпадающему меню и выберите "x86-64 - Chromium + 64-bit Binaries"
После этих патчей игра будет летать как в WIndows! полный гайд https://discord.com/channels/1131593192588984320/1229119300472930367/1369712980840943708
шрифт немного поехавший и текстуры

Game Crashes on startup. Switch to the Chromium branch and install this fix (link above).

fonts are broken on native, with them only being different on proton

It also works in Native, but those who live in a multibyte character area may prefer to use Proton.
At least in my environment, it worked in Native, so people in single-byte character sphere do not need to force it to work in Proton if it works properly in Native.

Change to x86-64 branch. Install GModCEFCodecFix.
With the native version, it would crash on the initial loading scrren with my system. I needed to change to the x86-64 branch and install the GModCEFCodecFix patch to be able to get to the main menu and start the game.
I also tried the game using Proton and that worked straight away. So that's another option.

Text is kinda small on the item spawnlist
Sometimes, garry's mod will freeze completely, and become a top-most application, so the steam menu wouldn't show up, and would need a whole console restart
Everything on high, antialiasing and motion blur disabled cause i dont like them, it runs at ~75 fps constantly, with some drops to 60, and sometimes reaching 90fps (which i limited it to). If too many entities or objects are displayed at once, it may even drop to 35 sometimes, but its mostly playable
Without any battery optimizations, and with some mods (not performance), it hovers around 12.5w, although you could drop that down to ~9w by enabling TDP limit (6w) and half rate shading, getting you ~6 hours of playtime (if not more. Steam is reporting 03:58 at 64%)
I haven't tried multiplayer yet, but singleplayer works fine out of the box

DRI_PRIME=1 %command% -freq 144 +fps_max 144 -nojoy -nosteamcontroller -vulkan
Used the following fix for the Native version: https://github.com/wayzaction/gmod-linux-fix
Some texture glitches, weird skyboxes on certain maps, fonts render differently and unicode characters missing. Also, the flashlight doesn't illuminate the props, but some of them can be illuminated and ragdolls are visible when used the flashlight on them.
Raw input can't be turned off and some server functions behave differently. Also, there is surely minor differences with how the engine recognizes the mouse position.
It is recommended to use the x86_64 branch and gmod-linux-fix for improving the performance on the Native Linux build.
Do NOT use Proton, since it has slower map loading times when Native loads them instantly. Although if you want to use the mods that go beyond LUA and use DLL files, then you have to use the Proton version, but be prepared for the different loading times than Native.
Overall, the game is pretty playable on Native, and I did not encounter any serious issues other than some minor artifacts that do not affect my experience!

Worked for me as long as I swapped over to Proton
Playing natively I was crashing about 5-6 times per session, my friends and I play with a decent amount of mods, around 300-400, so that could definitely be the cause for the crashing.
However, it seems like the Windows verion run through proton fairs much better, and after swapping over I haven't experienced a single crash.

HOST_LC_ALL=ru_RU.UTF-8 mangohud %command%
Loading map slower than native windows but its tolerable
Get some patience at map loading and install CEFCodecFix

Native version will not run, using the Windows version with Proton is the only way it works.
For whatever reason, the native linux version will not run. However, the Windows version, when run with the default version of Proton, works just fine minus the usual Source engline jankiness.

Addons install fine, custom map materals/custom materials will not install.
This is probably my fault as I'm new to linux.

GMod can not allocate much memory, even with -heapsize parameter being changed
Limited by it's RAM allocation capabilities (the binary is 32-bit when using Proton, or is Proton 32-bit only in this setup?), the game can't allocate more than about 3 GB of memory. That causes frequent crashes on servers with a lot of addons or on bigger maps.
The game is limited by it's RAM allocation capabilities for an unknown reason. Because of that, it frequently crashes even after stressing it under a medium load. Changing the heapsize launch parameter did not help, it crashes still after getting to about 3 GB of RAM consumption.

DO NOT USE PROTON, Native works just fine and will provide significantly better performance!

-novid -fullscreen -high -con_enable 1 +fps_max 240 +cl_showfps 1 -freq 240 +exec autoexec
Some texture glitches & fonts render differently. Unicode characters missing.
Raw input cannot be turned off & some server functions behave differently; minor differences with how the engine recognizes mouse position.
Switch to 64bit branch.
https://github.com/solsticegamestudios/GModCEFCodecFix - Fixes crashing.
GMod recieves updates frequently & Facepunch resolves crash reports quickly.
I do not recommend proton, takes minutes to load while native takes seconds.
Be aware the native port of this game does not work for me. Proton ran it absolutely perfectly though!

Startup menu fails to load + font issues. A manual patch is needed: https://github.com/solsticegamestudios/GModCEFCodecFix

PROTON_SET_GAME_DRIVE=1 gamemoderun %command% -gl_enablesamplerobjects -gl_nv_bindless_texturing
При первом запуске Гаррис Мода на ге-протоне9-22 у меня были дикие фризы при поворачивании камеры персонажа, после всё встало в норму.
GModCEFCodecFix крашал мне игру при загрузке (лично у меня так было, на других системах может быть по другому, но я просто констатирую факт)

Doesn't work out of the box in Flatpak. Additionally, the Steam overlay doesn't work too.
LD_PRELOAD=/app/lib32/libtcmalloc_minimal.so.4 %command%
Had to change beta to x86-64; install GModCEFCodecFix to make the menu work.
Would not recommend.

menus load fine, crashes when loading into singleplayer
could be the fact that I have a lot of addons but this is an unfortunate bug

Main Menu will not show up every other launch.
64-bit branch crashes on launch, using Proton works well (I haven't noticed much of a performance hit, but tbf my hardware is already not great)

Runs perfectly with Proton. Similar performance to Windows (x86-64 branch). Native version is borked (especially the 64-bit version)
gamemoderun %command% -tickrate 182 -freq 165 -gl_enablesamplerobjects -gl_nv_bindless_texturing
Cursor is invisible in steam overlay unless you do it while in the Q menu.

Native 32-bit version is incredibly unstable, and 64-bit version crashes immediately. Running the Windows version through Proton works much better.
Had abnormally long connection times when joining a P2P server

-vulkan
32-bit native Linux works fine, but 64-bit native Linux seems to be busted, hence the need for Proton. I wouldn't use it if I didn't have to, but it seems to work well enough, albiet with a performance hit.

gamemoderun %command%
Game's in 10 fps until you change from fullscreen to borderless or form borderless to fullscreen
For some people even GModCEFCodecFix doesn't change the situation on native version. This fix combines GModCEFCodecFix and gmod-linux-patcher: