I’ve spent many nights trying to get CS2 to run somewhat smooth in Linux, so I thought I’d share the combination of settings I’ve found to make it run flawlessly.
At 3840 x 1600 @ 160 Hz, my monitor seems to be pushing the limits of what my 6700 XT + i9-9900K desktop is able to handle. Running at monitor native resolution was not a great experience for competitive CS, especially when the FPS was dipping below 160 FPS.
Downscaling to any of the lower native resolutions in CS2 would make the game a blurry mess. With the following settings, my FPS is close to what I’ve been seeing in Windows previously. I no longer dual boot, so I haven’t been able to confirm with actual stats.
Launch parameters
gamescope -W 2560 -H 1440 -w 2560 -h 1440 -f --adaptive-sync --force-grab-cursor -- mangohud %command% -noreflex
On my 3840 x 1600 monitor, this gives me 1440p with black bars.
If you want to stretch the image you could add -S stretch
or even downscale to 1080p:
gamescope -W 2560 -H 1440 -w 1920 -h 1080 -f -S stretch --force-grab-cursor -- %command% -noreflex
Mangohud is optional, so you can run without it if you want.
-noreflex
gave me +20% FPS boost, and as far as I understand my GPU doesn’t even support reflex.
--force-grab-cursors
is necessary, or the mouse will be inverted and locked to a tiny box in the middle of the screen for some reason.
Variable refresh rate
--adaptive-sync
should be enabled if your monitor supports VRR (Freesync / GSync).
Refresh rate is not configured in CS without -r [your refresh rate here]
, but it seems like the game is running at whatever the refresh rate is set to in your DE, even though display settings are saying “60”.
To avoid VRR Range exceedance, it is recommended to set a frame cap to ~3% below your refresh rate. https://forums.blurbusters.com/viewtopic.php?t=12305
I’ve been doing this with MANGOHUD_CONFIG=fps_limit=155,
, but I suspect you will get the same result with -r 155
.
Gamemoderun
made no difference for me, and also env LD_PRELOAD=""
did nothing (except disable steam overlay of course).
If you use Gnome, you have to enable VRR as an experimental feature for now https://wiki.archlinux.org/title/Variable_refresh_rate
Graphics settings
When it comes to the graphic settings in CS2 I use freesync with vsync off. As far as I understand, vsync will only happen if the VRR range is exceeded.
Also, if you don’t have GSync/freesync you should probably disable vsync to avoid judder. Generally tearing is preferred over judder for competitive gameplay.
VRR explained: https://www.youtube.com/watch?v=Ldic94hqLFc
If your framerates are permanently above your refresh rate, you should set vsync to off or set a framerate cap, as explained earlier. VRR works best when fluctuating within the VRR range.
Source: https://forums.blurbusters.com/viewtopic.php?t=5714
Vibrating walls
This strange bug was the last missing piece. The polling rate button on my Logitech G603 was not pushed all the way over, and was stuck in “lo”. This caused stuttering when using the mouse. https://www.reddit.com/r/GlobalOffensive/comments/16fvki6/cs2_shaking_vibrating_walls_anyone/
Advanced graphics settings for balance between quality/visibility
- Boost player contrast: Enabled
- MSAA: 4x
- Global Shadow: High
- Dynamic Shadow: All
- Texture filtering mode: Bilinear (this makes player models more visible)
- Shader detail: Low
- Particle Detail: Low
- Ambient occlusion: Disabled
- HDR: Quality
- FidelityFX: Disabled
Hw for reference
- OS: Fedora Linux 41 (Workstation Edition) x86_64
- Kernel: 6.13.10-200.fc41.x86_64
- Resolution: 3840x1600
- DE: GNOME 47.5
- CPU: Intel i9-9900K (16) @ 5.000GHz
- GPU: AMD ATI Radeon RX 6700 XT
Edit: added explanation about --adaptive-sync.
right, turn off adaptive sync and you’ll objectively agree on the impact
Without adaptive sync is still better than native resolution without gamescope, so I’m not sure why you’re so dismissive. I’m just trying to share a list of tweaks that made the experience better.
my response is that adaptive sync, similar to vsync, is going to give you that smoothness. works for me on my LG 27GX790A
the gamescope piece i get, good work there.
Thanks for the input. I’ve expanded on this point and tried to explain how it works in my original post.