Endless shader recompilation is causing severe performance issues
After the 2026/09/22 engine update, I've had severe hitching and extreme CPU load (consistent with shader compilation) basically the whole time I play, unless I'm offline on an empty map. worst case scenario is online DM with a lot of player and weapon skins active, presumably because the game is recompiling shaders for every skin whenever one (re)enters the scene and then seemingly discarding them.
usually such spikes are to be expected for the first few minutes of gameplay after a big update or a new mesa build, but this time it's just going on forever, recompiling shaders every time I connect to a map or something happens on-screen e.g. shooting something, engaging players, even just turning around. loading the main menu also causes a sustained 80-95% CPU load for 5-10 seconds, which usually only occurs once after a new mesa build is installed.
To reproduce: an easy way to check for this issue is to load a map offline and note whether the game says its compiling shaders while the map loads, then after the map is loaded for a while, disconnect, then return to the map; if it has to compile again the issue is present.
the other tell is CPU load, especially with RT priority; I see up to 80-90% total usage and unusual lagginess with cs2 running nice 0, but 85-95%+ load and brutal hitching (30-400ms+ frame times) with RR and crashes with FIFO.
I've heard from one other player on Linux who is experiencing this, and possibly one or two on Windows.
this is occurring both with and without shader pre-caching enabled.
up-to-date CachyOS, AMDGPU, zen2 CPU, Mesa-git here.
Oh hey, I just saw this after I posted. I was having the same issue and did end up with a work around. https://github.com/ValveSoftware/csgo-osx-linux/issues/4625
I have a 14400f and rx 7800 xt and have this same issue, DM is a slideshow
cachyos v3 on KDE
Same here: RX 7900 GRE + Ryzen 7 5800X3D, Bazzite 44 (Fedora 44), KDE Plasma 6.7.4 Wayland, RADV Mesa 26.2.2 (VK_KHR_shader_abort exposed). 300-400 fps but periodic hitches, from micro-stutters to full stops, since the 22.09. update. Didn't try the layer workaround from here (https://github.com/ValveSoftware/csgo-osx-linux/issues/4625) because of VAC concerns, so a fix on Valve's side (shaderAbort off in release builds) would be much appreciated.
Confirming this on RDNA4 as well — another data point since the reports so far are all RDNA3 (7800 XT / 7900 XT / 7900 GRE).
System: RX 9070 XT (RADV GFX1201), Ryzen 7 9800X3D, Mesa 26.2.2, kernel 7.2.5, Arch (Omarchy)
Symptoms match exactly: random hitches every few seconds, GPU sitting idle (0% load, floor clock) during every stutter while CPU stays busy — consistent with the shaderAbort/pipeline-cache-disabled root cause identified in #4625. Reproduces in offline bot matches just as much as online, so it's not network/matchmaking related. Confirmed it's not Mesa-version-dependent on my end either — same behavior on 26.2.1 and 26.2.2.
Measured with MangoHud over a ~3 minute live session: median frametime 1.4ms (~700+ fps) most of the time, but 53 distinct stutter bursts in that window, ranging from single-frame blips up to one 5.6-second stall, all with gpu_load=0 and gpu_core_clock parked at its minimum throughout the stall — matches the "pipeline cache disabled, recompiling from scratch" theory in #4625 exactly.
Would also appreciate a fix on Valve's side (not enabling shaderAbort in release builds) — the Vulkan-layer workaround in #4625 isn't something I'm comfortable running given uncertainty around how CS2's anti-cheat treats Vulkan layer injection.
Same here, CachyOS 6900XT 5800x3d latest drivers.
Upvoted for visibility. Stuttering a lot. Shaders compiling on every map load. Huge slow on end of match. Bad frame time.
Confirming this on RDNA4 as well — another data point since the reports so far are all RDNA3 (7800 XT / 7900 XT / 7900 GRE). System: RX 9070 XT (RADV GFX1201), Ryzen 7 9800X3D, Mesa 26.2.2, kernel 7.2.5, Arch (Omarchy) Symptoms: random hitches every few seconds...
I'm following this issue because I have the symptom that the map shaders compile on every map load. What I find strange is that I have similar but slightly worse hardware compared to you, but I'm not getting these massive hitches/stutters everyone here seems to face.
My system: RX 9070 XT, Ryzen 7 5800X3D, 32 GB, Mesa 26.2.3, kernel 7.2.5-1-cachyos-bore, KDE Plasma 6 Wayland, Steam via pacman, endeavouros
I run the game with launch options similar to (and a bunch more that are probably even less relevant):
LD_PRELOAD="" SDL_VIDEO_DRIVER=wayland SDL_AUDIO_DRIVER=pulseaudio LOW_LATENCY_LAYER=1 ENABLE_LAYER_MESA_ANTI_LAG=1 MESA_VK_WSI_PRESENT_MODE=immediate MESA_SHADER_CACHE_MAX_SIZE=16G gamemoderun %command% -nojoy -vulkan +engine_low_latency_sleep_after_client_tick true +cl_net_buffer_ticks 0
and use sudo scx_lavd --performance
I wonder if in all those options there's something that mitigates the stuttering issue for me
I think the severity of the hitching depends on the CPU scheduling used; default scheduler, nice 0, I get heavy CPU spikes though little stutter, but giving cs2 realtime priority (e.g. chrt -r 5 %command% if the user has realtime privileges) causes my whole system (including mouse input) to briefly lock up whenever shaders are compiled.
I suspect the scx_lavd --performance scheduler aims to prevent such CPU starvation from load spikes but there could be something else going on.
as of now, issue persists after the last bunch of updates, and it looks like this might be limited to AMD GPUs. I guess AMDGPU/RADV handles shaders differently from proprietary nvidia.
(btw everyone else here has such nice hardware)
7800x3D & RX 7800 XT here
Issue seems to get worse the longer you are in the server. Opening tab makes it way way worse. After about 30 mins on DM it becomes unplayable due to the stutter amount.
Downgrading Mesa and vulkan-radeon to 26.1.8-1 fixes the issue on my RX 9070.
Get downgrade helper from AUR then run sudo downgrade mesa lib32-mesa vulkan-radeon lib32-vulkan-radeon
Downgrading Mesa and vulkan-radeon to 26.1.8-1 fixes the issue on my RX 9070.
Get downgrade helper from AUR then run
sudo downgrade mesa lib32-mesa vulkan-radeon lib32-vulkan-radeon
can confirm this fixed the issue
I have a 9800X3D and 9070 XT on CachyOS (Linux 7.2.7-1-cachyos). I tried deleting the shader cache in ~/.steam/steam/steamapps/shadercache/730/ and ~/.cache/mesa_shader_cache and I was still having some random frame spikes. I also tried the downgrading Mesa and vulkan-radeon to 26.1.8-1 (as well as deleting ~/.steam/steam/steamapps/shadercache/730/ and ~/.cache/mesa_shader_cache again), and I can confirm that things do feel smoother.
The game is unplayable for me ATM 😢 Same issue here on Arch with vulkan-radeon 26.2.2 on a 9700 XT
Yeah unplayable for me as well, 5800x3d, 9070xt, all latest updates on CachyOS
looks like support for VK_KHR_shader_abort was added to RADV for mesa 26.2.0, so if the current CS2 build runs ok on the mesa version before that this is more evidence that something in the last big cs2 update is running afoul of that functionality.
so far, no other games are having this issue on my end and CS2 seemed to be fine before 2026-09-22 on my current mesa-git build from 2026-09-20 and before that on a build from late August, so the presence of VK_KHR_shader_abort in RADV itself was not apparently a problem until the recent engine update.
also I just tested an older version of CS2 from July (1.41.6.7 in game versions and betas) and the issue does not appear to be present with my current mesa-git build. a couple freezes when loading the main menu at first but I don't see any hitching while playing or shader issues at all. maps load in a couple seconds and run DM with bots stutter-free.
This seems to be a lot better for me today/fixed?
I don't see any difference on my side.
Downgrading Mesa and vulkan-radeon to 26.1.8-1 fixes the issue on my RX 9070.
Get downgrade helper from AUR then run
sudo downgrade mesa lib32-mesa vulkan-radeon lib32-vulkan-radeon
im on 9800x3d + 9070xt and i have constant hitching, happened on both arch and fedora but mesa downgrade fixed it for me for now.
A new update arrived, but after installing it, my computer won't boot up; it stays on a black screen. I've tried many things but couldn't fix it. I even tried upgrading to x11, but that failed too, so I reverted back to Snapshots. Did I make a mistake, or was there a problem with the update?