[LINUX] CS2 memory leak, FPS drops
Your system information
- System information from steam (
Steam->Help->System Information) in a gist: ryzen 5 5600, rx560/rx580, 16GB/32GB RAM, SSD, manjaro stable branch xfce[xorg], gnome[wayland]
- Have you checked for system updates?: [Yes/No] yes
Please describe your issue in as much detail as possible:
Describe what you expected should happen and what did happen. Please link any large pastes as a Github Gist. Turn on PC, start steam, start cs2, play casual online match with other players. But after 1-3 matches fps drops, game became unplayable, system eat 9-12GB ram. After quit cs2 and steam system eat around 5-6GB RAM. Sometimes game can crash even at first match and not respond with 8GB ram used, mouse cursor became invisible, only after pkill -9 cs2 mouse cursor shown and after pkill -9 steam system eat around 5.5GB ram
Steps for reproducing this issue:
- Turn on PC
- Start steam
- Start cs2
- Play online matches with other players
For me it uses up 11 GB of video memory, beefy game, you could enable mangohud and monitor GPU utilization.
Same issue here, after 2 or 3 matches, the game consume much ram and fps start dropping
I also have this issue recently after 2-3 matches or about an hour the game starts getting choppy requiring a restart.
Same issue here, after 1-2 matches my fps drops to around 30, requiring a reset.
Also when cs2 start lagging like play at 15-30fps i got spamming message in cs2 console: "[InputSystem] Processing SDL events took 50.1ms"
Same here, around half an hour in the game becomes unplayable. If I'm not sending any keyboard or mouse input it's smooth but the moment I hold down a key or move the mouse it goes down to 30fps and the console is flooded with SDL events taking ~50ms. I'm using nvidia gtx1070 on wayland.
Same here, but I find that by replacing the router that the PC connnected to, the spamming message like:"[InputSystem] Processing SDL events took 50.1ms" will less occur
The problem is still relevant. My video card is RX9070XT. After an hour and a half of gaming the vram consumption is more than 13GB! I sympathize with those who have less video memory.
Same here, and when the issue happens you can see this message in the console:
[InputSystem] Processing SDL events took 50.1ms
This issue has been here for at least all of 2025 afaik.
I haven't played CS2 in months and I'm surprised to get notifications for this. How is this still not fixed? I know for a fact that it used to work just fine last year.
Indeed, this bug killed the buzz for me somewhere around new year. After a while off and I come back, the issue is still there.
Same here , 7800X3D + RTX 4090 + Ram 6000mhz. µ
How pro players plays ?
This no longer happens to me at least, close?
@kisak-valve @koreanfan
This no longer happens to me at least, close?
nope, https://github.com/ValveSoftware/csgo-osx-linux/issues/3325#issuecomment-3449942925