Skip to content

b0nete/counter-strike

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

counter-strike

Counter strike config/settings repository.

Source: SteamCommunity

This config/settings was tested in Arch/Manjaro Linux.

GPU Drivers

Nvidia install privative drivers.

Source: Wiki

Privative:

sudo mhwd -a pci nonfree 0300

Return to free drivers:

sudo mhwd -a pci free 0300'

GPU Settings

Set OpenGL and PowerMizer settings in performance mode. image

image

CPU Governor

Install gamemode and configure in game launch options.

Let's use Feral gamemode for this.
Source: Github

Install gamemode

yes | sudo pacman -S gamemode

Set performance mode manually.

The default cpu governor is set to powersave mode.
To change that enter the following command into Teminal:
echo performance | sudo tee /sys/devices/system/cpu/cpu/cpufreq/scaling_governor*

You can also create a script to run this command by following these steps:

Change dir to the dir you want to save it in (In Terminal)
cd /....
(for example cd Documents. Default is HOME)
Create the file nano performanceMode.sh Paste this script

#!/bin/bash echo performance | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor Save Ctrl + X Y Enter Set as executable chmod +x performanceMode.sh

If the last step doesnt work try running it with sudo.

To check it is set, etner: cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor into Terminal.

Mouse Acceleration

Disable mouse acceleration.
Source: Wiki

  • Create file: /etc/X11/xorg.conf.d/50-mouse-acceleration.conf
  • Add follow content:

Section "InputClass" Identifier "My Mouse" Driver "libinput" MatchIsPointer "yes" Option "AccelProfile" "flat" Option "AccelSpeed" "0" EndSection

  • You should restart X.

Digital Vibrance/Saturation

You can use the script digitalVibrance.sh located un global-offensive folder. Just specify the value that you want.

./digitalVibrance 800

Blackbars

The only one way that i find for this, is editing csgo.sh file. Generally located in: ${HOME}/.local/share/Steam/steamapps/common/Counter-Strike\ Global\ Offensive/csgo.sh

Add to the beginning of the file, after to first line.

#!/bin/bash

#Start black-bars xrandr --output HDMI-0 --mode 800x600 xrandr --output HDMI-0 --set "scaling mode" "Center"

Add to the end of file, before exit.

done

#Finish black-bars xrandr --output HDMI-0 --mode 1920x1080 xrandr --output HDMI-0 --set "scaling mode" "Full" exit $STATUS

  • A lot of times, after exit csgo, the blackbars keep appearing. For fix this, execute te blackbars-off.sh each time that exit csgo.

Save to Startup

Some settings such as nvidia refresh rate/PowerMizer settings might revert to default after reboot. To prevent that, we'll add them into our Startup Applications.

Open Startup Applications (might be inside gnome-tweak-tool or standalone) PowerMizer Add new entry with the following command: nvidia-settings -a [gpu:0]/GpuPowerMizerMode=1 Refresh rate and Resolution Add new entry with the following command: xrandr --output DP-1 --mode 1920x1080 --rate 120.00

My full game launch settings.

-noforcemparms -noforcemaccel -noforcemspd -novid -high -tickrate 128

About

Counter strike config/settings repository.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages