Performance/Settings

From Sunrust Wiki
Jump to navigation Jump to search

Introduction

In both Garry's Mod and Zombie Survival, performance can be on a case-to-case basis. However, regardless of what specs you have. Performance can already start to be plummeting and there are several reasons why (such as map optimization, game optimization, and much more). There is nothing you can do in terms of map optimization as it really depends on the mapper to optimize it. However, there are settings in this guide that you can use in order to regain most of your FPS.

General Stuff

  • DEBLOAT YOUR OS! If you use WINDOWS, there are plenty of tools to debloat your OS, one of which is WinUtil(it is completely safe. Just make sure you know what you are removing.)
  • FOR LINUX USERS: Make sure the Proton/Proton-GE versions are up to date. Don't use DXVK-ASYNC=1 as "ASYNC" has been replaced. The LINUX NATIVE BUILD is not great as it lacks some features from the non-native build. Check both Linux Build/Proton version and see which runs best for you.
  • MAKE SURE THE DRIVERS ARE STABLE! The latest and greatest driver version for both your cpu and gpu won't automatically mean great performance. Sometimes there can be either performance issues or memory leaks, which can cause major issues especially during gaming or high load workouts. Document what drivers are stable and don't update until the said drivers are stable enough (AMD GPU users can ignore this, as apparently latest and greatest is good for them?)
  • TURN OFF PROGRAMS DURING GAME PLAY! If you use apps that consume hardware resources, make sure you turn them off.
  • FOR GAMING LAPTOP USERS: If you have a feature called MUX SWITCH, make sure you set from "Hybrid Graphics" to "Dedicated Graphics". Doing so will significantly increase performance (regardless if Garry's Mod is CPU bound or not.)
  • RUN THE x86_64 BIT BRANCH This "beta" branch will allow Garry's Mod to use more of your resources, which equals to better performance. To do so, follow these instructions:
- Go to your library in Steam, find Garry's mod. Right-Click the game, then click properties,
- Go to Betas,
- Select X86-64 - Chromium + 64-bit binaries,
- Close the menu and wait for the game to update.
  • GET BETTER HARDWARE! If worst comes to worst, you won't be able to run Garry's Mod with 120+ fps on very old/limited hardware. Even changing to Linux won't give you a good amount of FPS boost.

Gmod.jpg Garry's Mod General Performance

Garry's Mod is a CPU-bound game, therefore it does not use your GPU fully. It really depends on your CPU along with other factors of performance. The more cores and speed the CPU has, the better performance it offers. There are other options as well that also improves your performance such as multicore rendering, graphics settings, and more. However, some of those options may not work as you may think of, simply because of this game is very old and ancient enough to run. However, you may use these settings in your autoexec.cfg (to find it, go to your Garry's Mod folder in your steamapps, garrysmod, and cfg, there you should find the autoexec.cfg in there, start editing it and also, make a backup just in case).

  • This, in theory, should work as this should improve your performance by ~25% or even more, depending on your hardware, but there are more options on the server to gain more performance.
r_3dsky 0
mat_queue_mode -1
gmod_mcore_test 1
r_cheapwaterend 1
r_cheapwaterstart 1
mat_bumpmap 0
cl_forcepreload 1
r_fastzreject 1
studio_queue_mode 1
r_threaded_renderables 1
cl_threaded_client_leaf_system 1
r_threaded_particles 1
cl_threaded_bone_setup 1
r_threaded_client_shadow_manager 1
r_queued_ropes 1
r_occlusion 1
r_ForceWaterLeaf 1
engine_no_focus_sleep 1
r_norefresh 1
mod_offline_hdr_switch 1
mat_requires_rt_alloc_first 0
mat_forcehardwaresync 1
mat_managedtextures 0
mat_forcemanagedtextureintohardware 0
mat_powersavingsmode 0
mod_forcetouchdata 1

730894657692631090.png Sunrust Cosmetics

The cosmetics system that Sunrust uses is PAC3 which uses props to create hats and cosmetics for your character. Depends on the person, how many props they are using, and what they are creating, it can create unnecessary performance drops since it has to render all of the props on screen. By disabling hats, you will gain most of your performance back around 60%.

  • This affects all Sunrust servers so you do not need to turn it off again if you have it disabled on main and vice versa.

Turningoffhats.gif

Zombieheadshot.png Zombie Survival Settings

In Zombie Survival, most of the custom weapons are created with SCK (SWEP Construction Kit) which is similar to PAC3 but for weapons. Most developers will try to use fewer props for performance and even so, it will drop your performance once more. You cannot disable SCK stuff in-person for gameplay purposes (unless you hide your view models in other settings).

  • In performance settings, you will actually find most of the settings that do affect your performance such as enabling multicore rendering, disabling world weapons lights, and much more.

Gmod LgtJo2pPtk.png

The most hitting performance settings are "SCK world radius, particle amount, draw distance, and worldmodel on dropped item render type"

  • SCK world radius determines to render the SCK props to see somebody's weapon, set this to 0 to more performance if you don't care seeing other people weapons.
  • Particle amount and draw distance determine to render the particles that are happening around you. It is best to keep some particles, this is important as some particles give you information, especially if they can damage or affect you.
  • Worldmodel on dropped item render type makes it so that you can see items on the ground. If you don't care about getting the loot on the ground or just spamming E on the ground until you can get it, then it is best to set it to "ENABLE weapon kill icons and DISABLE SCK Worldmodels (more FPS)", otherwise you can set it to other options to see the actual loot worldmodel for a tradeoff of your FPS.
Options that improves your performance while retaining gameplay features








Also in the gameplay settings, there is a new setting named "Transparency Radius (Server)" which moving it to a higher number than 1 will make it so that it won't render human players and gain a ton of performance, both for network and FPS performance.

Gmod U26uGbQP2R.png

  • Please note that this feature is brand new and is a bit buggy (such as the scoreboard not being updated sometimes, etc). If you see anything weird, you may revert it back or set to these settings.

Gmod SI9QO775eE.png

  • If you are too lazy to apply these settings, there is a button on the bottom called "ENABLE MAX PERFORMANCE SETTINGS". This is a bit "drastic" but will do all options above + more to significantly FPS.

Conclusion

At the end of the day, Zombie Survival Gamemode can be taxing on your computer. Once you start changing your settings and fine-tune your game, your performance should be better. Temember that your performance will significantly decrease on high population (60+ players) regardless what hardware you have.

  • Following all of these steps should at least let you have a smooth experience in Zombie Survival.
  • Your performance really depends on your hardware (CPU is important), the settings for both Garry's Mod (autoexec.cfg and more) and Zombie Survival (turning off several things and tuning them down for better performance).

User icon.png Credits

  • Firestorm - creating the guide and provided pictures
  • Tendo - Additional info regarding performance increase methods.

‎‎‎