r/GlobalOffensiveLinux • • Nov 12 '16
CS:GO tweaks sticky?
[EDIT: I'm just going to write out the tweaks here. PLEASE HELP ME OUT! Submit your own tweaks in the comments.]
My system:
OS: Debian testing stretch
Kernel: x86_64 Linux 4.7.0-1-amd64
CPU: Intel Pentium CPU G3258 @ 3.2GHz (stock)
GPU: GeForce GT 640/PCIe/SSE2
RAM: 711MiB / 7872MiB (8 GB ram)I am running CS:GO without any custom cvars, but I do run everything on low [Multicore rendering: enabled, FXAA: disabled]
uLLeticaL benchmark with i3 seems to be the best so far: ~77.30 FPS
GNOME classic and LXDE are also very similar in performance, but just a bit off. (76.66 avg FPS)
Linux tweaks
- Use a light, non-compositing desktop, such as the following:
- i3 - tested
- LXDE - tested
- GNOME - tested
- Awesome - tested*
*Awesome should have performed better because it's a wm. Not sure what happened but it performed the worst. Yet, somebody else benchmarked it and it came out on top for him.
2. Or configure your compositing desktop:
- XFCE -
Window Manager Tweak > Compositor > uncheck "enable display compositing" - UNTESTED: the
intel-microcodepackage may yield more performance on your machine. - UNTESTED: check out this page [https://wiki.archlinux.org/index.php/gaming#For_everything_else] about scheduling policies. Untested, but there's a good chance that it may unlock some additional performance on your machine, assuming you don't have a MAJOR gpu bottleneck.
WARNING: steam-login script on github will not yield more performance any more
NVIDIA tweaks
- Install your driver. You can install the package
nvidia-detectto find out which driver to install. It will most likely besudo apt-get install nvidia-driver[on debian-based distros] - RESULTS MAY VARY: Run
nvidia-settingsand adjust the OpenGL settings slider to high performance. If you play on a laptop that supports bumblebee, remove the 60 FPS cap using this command in the steam launch settings:
vblank_mode=0 optirun -b primus %command%
AMD tweaks
One user had lockups with an RX 480. This may fix it for you!
/r/linux_gaming/comments/5feykd/rx_480_users_can_you_play_csgo_soma_without/dakkhyk/
The fix, in case the thread goes down:
echo manual > /sys/class/drm/card0/device/power_dpm_force_performance_level
echo 3 > /sys/class/drm/card0/device/pp_dpm_sclkBe careful and understand what it's doing before just pasting it in! It's setting your GPU's clock down one level from default, but that position may not be at position 3 for your card. ;)
Game tweaks
Launch options:
-threads 2- try different settings here depending on the number of cores in our system.
Console options:
cl_forcepreload 1
I might include an Intel / AMD section if there's a major difference between using an AMD CPU vs intel CPU. ;)
To be tested:
- intel p_state for performance vs powersave
2
u/[deleted] Nov 13 '16 edited Nov 14 '16
Here's one last bit of info that I want to cover outside of my main thread... how I set up my system. Currently, for the most performance I can squeeze right now, I use debian testing with i3. Here's a quick guide on how to set it up:
[https://www.debian.org/devel/debian-installer/]
You may pick any configuration, for my PC I installed LXDE, GNOME, and XFCE. It doesn't matter which you get because you will be using i3. Just pick one that you want to use when you're not gaming.
There's a step about firmware that you can ignore if you download the firmware yourself and copy them onto your USB.
sudo dpkg --add-architecture i386You need to allow i386 packages to be installed in order for you to install steam.
sudo nano /etc/apt/sources.listUpdate your
/etc/apt/sources.listand addmain contrib non-freeto everydebanddeb-sourceline.You can't install most of the things on this list without doing this.sudo apt-get update && sudo apt-get dist-upgradeCurrently, on Debian Stretch, your nvidia configuration will be set up with mismatched version numbers or something. Otherwise, the next boot will hang at:
[ OK ] Started Update UTMP about System Runlevel Changes.sudo apt-get install firmware-linux-nonfreeIt's best to install any firmware your system has. This should install any required firmware packages, but there's never a guarantee. You may need to install additional packages. You can find them on the Debian website.
This does include the CPU microcode that I have now edited out. :)
[https://wiki.debian.org/GraphicsCard]
I'd rather have you follow the instructions here than mess up your system :)
sudo apt-get install i3 suckless-toolsThe debian wiki recommends suckless-tools. I couldn't recommend anything else because I've only used i3 for a few hours now. :)
sudo apt-get install steamAnd that's it! Make sure you reboot your system otherwise steam probably won't launch. Tweak away :)
Extra packages to consider with your system:
msttcorefontsttf-liberation2
u/SkullMasher Nov 13 '16
Thanks for making this thread.
XFCE Users needs to disable compositing
Window Manager Tweak > Compositor > uncheck "enable display compositing"1
u/[deleted] Nov 14 '16
I might add:
1
u/globaloffensivelinux Nov 17 '16
Thank you, do you want to be a global offensive linux mod? I created this sub when it was first released determined to switch to linux, It hasn't gone as planned and I know linux but I'm not dedicated enough to it. also moved on from CSGO (for a time). looking for someone who can sticky posts and maybe add in a banner or some stuff
1
u/rage_311 Nov 19 '16
You asked for benchmarks of DEs on my machine. Here are my results:
i5-4460 @ 3.2GHz
nvidia 375.10
16GB DDR3-1600 RAM
Arch 64-bit 4.8.8
Average FPS:
awesome wm, no compositor: 214.82
awesome wm, with compositor: (compton --backend glx --unredir-if-possible --paint-on-overlay) 199.79
i3wm, no compositor: 209.84
EDIT: The thing that surprised me the most though was that when I went from using all 3 monitors (only the center monitor displaying CS), to disabling the other 2 and just using a single monitor, my FPS went up by about 10.
1
u/Coffee2Code Dec 13 '16 edited Dec 13 '16
When using Bumblebee, use the following launch option via a game's properties in steam:
That will remove the 60FPS cap when using Bumblebee :)
Happy fragging on those laptops!
2
u/rage_311 Jan 13 '17
I posted my Linux-specific tweak script that I use for CS:GO in r/linux_gaming a little while ago, but I thought I'd put it here since it's very relevant in this sub :). Link to original post:
https://www.reddit.com/r/linux_gaming/comments/5ln4ky/script_to_perform_various_tweaks_for_a_better/
I run this from Steam's "Launch Options" for CS:GO to enable the tweaks before launching the game, and disable them after:
Original post text copied: