-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CS2] FPS Drops after a few rounds of playing #3845
Comments
Experiencing frame drops after the recent update after playing for a bit too. |
this has been happening since before update |
Just out of curiosity, are you able on Hyprland with NVIDIA to get tearing working? It seems like I cannot get my setup ready for the tearing validations (3070 ti - 12600k, 6.10 Kernel EndeavourOS). If you have set up your system and working tearing, I would love to know what you set up :-D (yes I have modset enabled and all these hyprland nvidia variables from the documentation on + I am on the newest git self compiled version - tried others but nothing changed. Hyprland maintainer just said "if hyprctl monitors doesnt show solitary 1, its not an hyprland issue" - welp) |
Same issue on Pop! OS 22.04 after the new update, fps dips to mid 50's or 60's. My hardware is more than capable just like yours. |
i have my vsync off |
I always play at low preset with disabled fidelity_fx. Recently valve broke cs2 on linux system (game crash at menu when press tab, when alt+tabbing, drop players, massive fps drop). After few weeks they fix it. But again they broke game with new big patch patch. Even at 1024x768 i got now 90-160 fps instead of 280-320fps. At 1920x1080 now i got shitty average 85fps with double increased frame time and its total unplayable at this resolution. They broke game almost with every patch. Qualified developers first test the patch, and if there are no problems with it, it can be used for the official release. Also, I don't want to waste my CPU, GPU, RAM, SSD, LAN resources on any skins and stickers. Make an optimal performance mode that only uses standard models when turned on. |
i had this issue 5 months ago and i came back to game to try it 3 days ago and this shit is still there, |
i recorded when it started dropping frames it occures suddenly and it makes the game unplayable out2.mp4idk what my cursor doing in there
|
Probably related, not sure: |
So its a memory leak issue? |
Could be a problem in EGL (nvidia related) There is also a workaround for nvidia users: create the path Content might be look something like: |
@Dazukodesu it's possible that the memory leak is the cause but it could be something else. There's definitely a memory leak going on though, at least on my end and on casual matches. Just played 3 consecutive self hosted casual matches with bots, cs2 RAM usage started at 33% and never went above 36%, rebooted the game and played 2 casual matches on valve servers, and by the end of the second it was at 45%. VRAM for both of those went up until around 8.9/10 GBs and stayed there. Haven't played a competitive match yet to test so can't comment on that end. If I had to guess I'd say it's potentially related to networking or skins. ps: I'm on X11 + KDE with a Ryzen 5900x & RTX 3080. No wayland here. |
Yeah this happens on both x11 and wayland. Tho after a recent update today the game now instantly crashes |
how do i do this |
i use amd radeon rx6600 and i still have similar fps lose after some time it starts at around 340 fps and suddenly it can't do more than 180 with very clear hangs and frame drops |
Same, but mine worked for 3-5s before crashing |
Not sure if its working, but yesterday games worked bit better without hitting my vram limit of 8 GB create the path Edit the file and paste this content in: & Reboot |
This happened on my PC ever since like... more than half a year ago (can't remember when I started playing CS2). And since it's a lower end PC, it's very noticeable/impactful. I have to restart my game/PC after some matches, otherwise the FPS would suffer. GPU is GTX 1650 4GB, and I have 16 GB of RAM. |
hey itouchdennis, https://wiki.hyprland.org/Configuring/Tearing/ `general { windowrulev2 = immediate, class:^(cs2)$` Also make sure that cs is running in fullscreen mode. |
So i tried screenrecording it today. And i noticed sometimes my weapon gets stuck inspecting. And after i shot a bullet the stuttering started. I am going to test it again soon |
alr that is not the cause |
[](https://youtu.be/b1MuRsDgMFo) |
I am also having this issue (arch linux, X11, rtx 4080s, proprietary drivers). One interesting thing that I have noticed is that the fps count shwon by |
@Dazukodesu IF your issue is related to the memory leak this kind of thing will happen after memory footprint for the game gets too big, the kernel will half the process so it can reallocate and rearrange memory and you'll have some micro freezes and/or massively decreased performance for a short while. (I don't 100% understand how this works so don't quote me on this, but this is what I have been experiencing myself) Would you be able to pay attention to how much mem the game is using throughout your sessions? having htop open on a second monitor should tell you. In case you don't have a second monitor you can use a tool like asciinema to record the terminal output. |
this have been fixed for me after the latest updates its good now , i believe this was related to the memory leak issue which possibly have been fixed also during the latest updates |
Its better for me aswell, but i did have heavy fps drops on 2/5 of my launches, seems like its only partially fixed? |
fixed here as well |
Just played vertigo in premier and the fps was dropping hard to the 60's with 11800H & RTX 3070 |
to be clear, the performance is still absolutely abysmal given my hardware and software setup. But, the random fps drop that would require me to restart the client is fixed. (i imagine running through proton would provide > 1.5x the performance of the native cs2 build) |
i have radeon rx6600 and the performance is very good for me now its almost same as windows i hope it stays like this
i hope valve keeps the game like it is and improve it, and not break it in future updates
|
i forgot to mention i put these lines in my
|
can I ask what cpu you are running? |
core i7 12700f
|
fyi: this issue has returned again for me since the 2nd most recent update. no high vram or ram usage,cl_showfps counter reads 400-500, but game plays ~20-30 fps until i restart. tends to happen after/at round end, no fix found yet. |
Similar issue. Drops from about 70-80 fps to about 30 fps and really choppy. Happens at about round end. Goes away after a restart. |
the game is fixed for me after latest updates but this issue still there when i try to run game stretched using gamescopeUSING THESE LAUNCH OPTIONS
|
same thing like this the game be smooth then frame drops triggered midgame |
this is clearly cs2 + gamescope bug |
Same problem here, on a GTX 970 with 4 Gb of VRAM, after 3 matches on Dust 2 with great smoothness, the game stutters and goes from 3.6 Gb to 3.9 Gb of VRAM. The game becomes unplayable and headache-inducing, with fluctuating image jumps, and has to be restarted. I'm using Xorg with no desktop compositor to make sure there are no layers of synchronization to avoid tearing. |
If you experience stutter after about 30 mins of gameplay, like in this video: #3845 (comment), you need to add this two lines to
then logout and login again.
steam launch options example:
It's a DXVK/VKD3D bug: |
After your comment, I tried LD_PRELOAD=“”, I didn't have the problem for 1h30. In any case, I'm disgusted after all these years, this game is full of cheaters, so I almost don't play it anymore. |
Its mangohud |
I figured it out i am going to play without it today just to be sure |
https://gist.github.com/Dazukodesu/26cf6d9747c1e2ada57c4b1a83a62cab)
OS: EndeavourOS Linux x86_64
Kernel: 6.10.10-arch1-1
DE: Hyprland
CPU: 13th Gen Intel i7-13700K (24) @ 5.300GHz
GPU: NVIDIA GeForce RTX 4070
GPU: Intel Raptor Lake-S GT1 [UHD Graphics 770]
RAM: 32GB
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.
Steps for reproducing this issue:
https://cdn.discordapp.com/attachments/690648583082606645/1291442499658715247/VID_20241003_124634.mp4?ex=67001d0d&is=66fecb8d&hm=75e3eed2c291aa05c44b0eddf888bfc01e1a68eaf362531b80ee0ecdc272c6bd&
https://cdn.discordapp.com/attachments/690648583082606645/1291442500124414034/VID_20241003_124614.mp4?ex=67001d0d&is=66fecb8d&hm=9d271bd448c383045fd85ed19e33347396478e8ca0b5377597b30666bab41aff&
Launch options:
gamescope -w 1280 -h 960 -S stretch -f -e -r 144.0 --force-grab-cursor --adaptive-sync --immediate-flips --mangoapp %command%
The text was updated successfully, but these errors were encountered: