CS2 performance much worse than it should be

I have an RX580 and i7-7820X. Running CS2 gives me roughly 40fps, which is much lower than I should expect. CPU sits at 50 degrees, GPU at 40, so it seems my hardware is not being fully utilized. Mesa is 23.2.1. OS is Mint 21.

Happy to run any diagnostic commands or give other relevant information, just not sure why I’m getting this. I’m at 40fps on LOW settings. The settings has HIGH as “recommended for your hardware”, but selecting that gives me 3fps.

What are the next steps to work out why I’m not getting the performance I expect?

I have similar experiences on low settings, and there’s some other games with similar problems. 200ish fps, 100% GPU util, <70w power on 7600xt. In another more extreme example of rbdoom3bfg, I see 100% util and <50w power, and very low framerates.
High runs more expectedly in the 120~170 range.

Blockquote experience audio desync

Same here, i have to reboot every 2-3 rounds because of the audio lag getting to 1-2 seconds.

same situation im in, makes it really hard to play.

You might want to check if your drivers are up to date, especially for your GPU. Sometimes tweaking the in-game settings, like disabling V-Sync or lowering shadows, can help boost FPS. I’ve had similar issues, and updating drivers usually did the trick. Also, maybe you could change your skins to cheap awp skins to avoid bugs and ensure compatibility with your mods, those are more reliable. Making sure your mods and skins are stable can prevent any extra issues.

Even tho it’s an old thread, I think it’s still relevant as the CS2 linux build is quite horrible and I’m still getting frequent crashes and freezes basically a year after realease. :grimacing:
Here’s hoping they get to fixing the linux build eventually…

The crashes and freezes are “new” bug introduced in mid July update,

Not to veer off topic, but why not try launching using proton compatibility layer within steam? It should theoretically be faster than OpenGL with Vulkan

You will get kicked from servers and no, it’s not any faster, plus you can use vulkan natively so there really is no point. Also doesn’t work any better either last I tried. If anything, it’s worse in every way.

For CS2 do the following:

  1. Use Wayland mode if you are running Wayland. Edit CS2.SH.
    image
  2. Use the latest GPU driver.
  3. And I recommend using VRR (MangoHUD: FPS cap = refresh rate - 3% of refresh rate, Mailbox presentation mode) and exclusive fullscreen mode in-game.
  4. If your framerate is significantly under your refresh rate, you may want to lower the FPS cap to achieve better frametime variance.
  5. Use lower settings or resolution if GPU bottlenecked.

The result on my system (3080, 5900x), obviously with slower hardware it will be slower.

1 Like

that’s what you’re doing when you use proton or dxvk

Unless CS2 was rewritten entirely in Vulkan API and I missed the party…

hearing about anticheat still being in the way is really lame

CS2 is Linux native.

hearing about anticheat still being in the way is really lame

Wdym?

Yes, through OpenGL. Which performs worse than Vulkan on Nvidia cards in most cases

But that was on my 980 a few years ago, it may have gotten better

Well the anti cheat problem appears to be the companies that create the anti cheat software blacklisting Linux installs that run through Vulkan API. Some of it is just lack of support, but a few of the big ones outright block you if you’re running through a linux OS on wine, requiring all sorts of hacks to get it working properly.

1 Like

Pretty sure it’s Vulkan native.

Well the anti cheat problem appears to be the companies that create the anti cheat software blacklisting Linux installs that run through Vulkan API. Some of it is just lack of support, but a few of the big ones outright block you if you’re running through a linux OS on wine, requiring all sorts of hacks to get it working properly.

Oh yeah, I thought you mean CS2 has an anti-cheat issue on Linux.

No, it’s not. Valve would need to re-write the entire game in Vulkan API. They rewrote the counter strike series in OpenGL before Vulkan was ever released to the public.

This is why some bugs on OpenGL don’t exist when translating from DirectX to Vulkan. The translation can be better and the caching results in much better potential performance over time

That’s why I suggested trying it

Are you sure it’s translation?

https://escorenews.com/en/csgo/article/50857-dx11-and-vulkan-best-fps-comparison-for-cs2-beta-how-to-switch-from-directx-to-vulkan

Steam Community :: Guide :: [EN] How to enable Vulkan API in Counter-Strike 2 (I believe it should default to it on Linux)

It does actually use vulkan by default now. :ok_hand:
Also I haven’t been having any crashes or freezes lately, so they must have fixed something… I have only been playing with bots tho, so will need to try online to fully confirm this. I used to not be able to complete a single map online without a crash before, so we’ll see…

Nevermind, I still get crashes even in practice mode…

ok yeah you’re right it does. Nice job Valve