Steam for Linux

Steam for Linux

CS2 on Linux w/Unplayable Stutter (what fixed it for me)
I mean UNPLAYABLE. Like, shoot your gun or someone shoots at you and the game literally pauses at 0 FPS for 1 or 2 seconds. Never gets any better.

Tried -threads 8 and it went completely away. I can remove -threads 8 and it comes back. For the record, my specs:

Debian GNU/Linux 12 (Wayland & PipeWire)
MSI Tomahawk B450
AMD Ryzen 7 3700X
AMD Radeon RX 6700 XT
Corsair 32GB DDR4 RAM

Graphics are on the Ultra preset. I still have the tiniest random microstutter once in a while. Not enough to interfere with gameplay anymore, but I'll have to iron that out next if I want to go anywhere in Ranked Play, I imagine. You know how microstutter is... leaves you alone until it's the worst possible time. :tongue:

EDIT #1: I'd also like to further point out that, traditionally, I've had to disable multithreading from within Valve games like CSGO and L4D2 in order to completely remove microstutters... using -threads 1 appears to do just that. I can't see any stuttering at all, macro or micro, but dramatically lowers my FPS. This can be partially countered by running the recommended graphics settings instead of Ultra-everything.

EDIT #2: Finally, I'd like to point out that I've not really had stutter after using -threads 4 and +fps_max 120. So, maybe one more thing to try that might work for you.

If this affects you, hopefully it will help. If not, sorry in advance. I just figured I'd share my experience.
Last edited by Down With The Syndrome; 18 Feb, 2024 @ 10:05am
< >
Showing 1-4 of 4 comments
Zyro 16 Feb, 2024 @ 1:56am 
Sharing is caring, so thanks for the tip!
Cat.meow(); 21 Mar, 2024 @ 4:03pm 
-threads 8 worked for me, thanks for sharing!
Originally posted by Cat.meow():
-threads 8 worked for me, thanks for sharing!
I'm glad it seemed to help you! Hopefully it will be something worth trying for others, as well.
Hey, I had one more issue that reared its ugly head... so check this out...

I'm now using a Sound Blaster AE-5 and everything works wonderfully with it... except for Counter-Strike 2, obviously. I noticed recently that every time I shoot or get hit or anything that makes a sound, the first time it plays there's a 1/4 second to as much as a 2 second pause.

If I re-route sound through to HDMI using my AMD GPU's inherent ability to process sound, the hitching/pausing goes away.

Long story short: It ended up being a PIpewire setting. Behold...

I don't like making system-wide changes, so I first copied the contents of /usr/share/pipewire/ into a new directory in ~/.config/pipewire/ then I edited the pipewire.conf file in there.

I found the line:

default.clock.min-quantum = 16

That's WAY too low!

I changed it from 16 to 1024 and, like magic, no more sound-based hitching. I also haven't experienced any laggy sound, so I guess that's that.

I hope it helps someone else! :tongue:
< >
Showing 1-4 of 4 comments
Per page: 1530 50