-
Notifications
You must be signed in to change notification settings - Fork 69
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 Freezes on opening menus as of 07/11/2024 Update #3803
Comments
Same here, menu works well but is very slow when I press any button :( https://gist.github.com/lou-perret/c62dd00fd5598dfab74bf2ae53f3834a |
Yep, same here. Takes between 15 and 45 seconds before CS2 responds after certain menu selections. The number of open issues I have are starting to pile up. |
Same issue |
This comment was marked as duplicate.
This comment was marked as duplicate.
I also get some freezes in game that i never had before, not sure it's related when it happens, here's what I have in the console
I'd like to diagnose this further to see what the game is trying to access but I'm too afraid to trigger VAC |
I'm also experiencing the same issue with in game freezes. Here with Debian GNU/Linux Trixie. Any workaround? |
Same issue with game freezes. Startup takes a long time with vulkan shader pre caching (not sure if that is related or another open issue). Once my game starts up, every screen freezes first before it loads (the short valve and cs2 screens, then main menu, then match select, etc). Map loading takes more than one minute too. Specs: I get around 100-150 fps in matches with occasional noticable drops. Worse experience than windows with GTX 970 back in the days. A few select errors which showed up on console which i logged. First was during loading of the game:
And right after a freeze ingame:
If you need any more details feel free to let me know, please add detailed instructions though. |
Same issue here, but I'm seeing the freezes not only in menus, but even when opening the scoreboard. |
I've had this a few times for long enough that I get dc'd from matches with "Unable to establish connection to the game server" It sometimes ends up in a severe enough loop that the freezes waiting for the menu to render so I can reconnect doesn't happen quickly enough that I time out and get a MM ban |
I've been having this problem persistently, only managed to join a casual match a single time in the past two days. Didn't want to try comp matches in-case I just timeout the entire time and get a ban. |
Same issue, LMDE 6, all updates, reinstalled game earlier, problem persists and is exactly as described, with freeze sometimes recovering after a few seconds or long enough to disconnect from server. |
Seeing these library errors related to overlay: ERROR: ld.so: object '/home/thijs/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. |
Also getting an error for libpangoft2 (which is used for text rendering), even though it is present in the library directory: Loaded //common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64 libinputsystem.so, got 0x5a91f2938c00 |
Same issue as ones described here. Tried a fresh install of OpenSUSE, changing DEs, swapping graphics cards. Long freezes on TAB or ESC (ie, scoreboard or menus). Hoping this gets fixed soon. |
same here, endevouros, kernel 6.9.9, gnome 46.3.1, ryzen 9 5900x, rx 6700xt i can join a deathmatch but as soon as i press esc the game freezes completely (altho the music still plays) and i get "Unable to establish a connection with game server" after a while (sometimes seconds, sometimes minutes) competitive hangs as soon as i spawn in the world... logs from launching steam from the terminal and then cs2, altho nothing shows up during/after the hangs.
|
hitting this as well, freezing when I open scoreboard or menus. 100% pegged cpu. unplayable really. sigh. |
Happens to me too on Fedora 40 on KDE with wayland and a 6900XT on Mesa. When the game freezes one core gets stuck on 100% usage until the game starts to render again. |
Anyone getting something similar in their journal? kernel: gldriverquery[4884]: segfault at 0 ip 00007ccda039627f sp 00007ffcff2b12d0 error 4 in libxcb.so.1.1.0 |
Seems to have been alleviated for me, I'm not sure what happened. Things that made no difference:
Things that may have "fixed" (?) the issue:
Game is playable again. Oh, right, I'm running Steam in flatpak, is this possibly a common denominator here? |
This is a problem for me as well. EndeavourOS, KDE Plasma 6.1.2 on Wayland In answer to the previous answer: I am running native Steam. Also, shader pre-caching is disabled (as I read its no longer needed). |
Nop, I'm running steam native and the problem persists. |
Shader-caching: I tried to find the (Steam? Game?) setting to enable/disable precaching, but failed to find it, but it didn't really matter anymore, because I just wanted to somehow trigger forcing it to rebuild it, and it was already somehow doing that. Maybe that did the trick as well, maybe shader precaching needs to run more than once because it times out, and only running it multiple times ensures all 100% of shaders are actually precached? EDIT: Or maybe I somehow triggered skipping it, without explicitly pressing on the skip button? |
just tried the flatpak version and have exactly the same symptoms, possibly even more hangs than on the arch steam package. gamemode also didn't improve the situation |
I honestly don't know what's going on over here on my system, there definitely don't seem to be double-digit-second-long freezes anymore, so I'm not getting disconnected from the servers, and in one or two casual games I had no more than a handful of maybe 1-4s freezes that then recovered themselves (although these could still be annoying in critical situations). I wish I could help somehow, but all the system deltas I did on my PC since yesterday I've noted above and I don't think I forgot to mention anything... Software: LMDE 6, Steam Flatpak EDIT: Oh, Steam updated itself, i.e. the small box with the progress bar before it logs you in. EDIT2: Oh, and I changed all the graphic settings to low, I think, and then recorrected some, like full shadows, etc. EDIT3: ./Steam/userdata/$STEAMID/730/local/cfg/cs2_video.txt attached: |
same issue on debian testing XFCE with latest updates, ryzen 5 5600, rx580, 32gb ram, ssd. System freeze for 5-15 seconds in main menu, 1or 2 cores loaded to 100% |
My game crashed on 11-12 winning side because of this bug... My team pulled through but still. :/ |
Close CS2 After resettings settings to default i got 1 sec freeze in main menu. Now its better then before with freezes for 5-15 seconds |
Same Issues here. Ubuntu 24.04 and Nvidia-555. https://gist.github.com/justpie/3518391ea50fd90e6a331dc899c79464 https://gist.github.com/justpie/04a00949ac535310c2e057c00426690f |
You're right, the 100% can be the CPU repeatedly polling something that's still deadlocked. |
I had this issue forever on stock arch with gnome (wayland). I switched to cachyos (because of the cpu tweaks etc) with plasma (wayland), and the issue is resolved for me. RX 6750 XT. Ryzen 7 5700X. |
I'm noticing an improvement after installing linux-cachyos kernel on manjaro, then pressing esc during boot to select the kernel. Surprisingly linux-cachyos-bore seems to lag as bad as stock. Not sure if this is a placebo yet as no one plays in my region from 6am till 5pm unless its low elo... |
alt tabbing to another fullscreen window like firefox seems to help for me
as well btw. I can hear the sound pause when exiting and thats when it
starts running again.
…On Mon, 2 Sept 2024 at 06:20, BOT-Neil ***@***.***> wrote:
I had this issue forever on stock arch with gnome (wayland). I switched to
cachyos (because of the cpu tweaks etc) with plasma (wayland), and the
issue is resolved for me.
RX 6750 XT. Ryzen 7 5700X.
I'm noticing an improvement after installing linux-cachyos kernel on
manjaro, then pressing esc during boot to select the kernel.
Surprisingly linux-cachyos-bore seems to lag as bad as stock.
Not sure if this is a placebo yet as no one plays in my region from 6am
till 5pm unless its low elo...
—
Reply to this email directly, view it on GitHub
<#3803 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD6LRHMVKXTCPFFGMGPYPILZUPRR3AVCNFSM6AAAAABK27NJTGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRTG44DINBSHA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I'm terribly sorry this has taken so long to fix. It turned out to be a very tricky issue to narrow down. Anyway, we have a fix ready and it will ship in the next client update. |
Out of curiosity, any technical explanation what happened? |
Well, it didn't reproduce in our main tree and it didn't reproduce running out of the release tree, only when running the Steam build. So I had to resort to using perf traces on the Steam build to even narrow it down. The part of the code where it was stuck looping was kind of a red herring. It appeared to be related to texture streaming, but nothing had changed there. It wasn't until reviewing changes one-by-one that I noticed some code related to the CS2 workshop that was doing a synchronized load on the main thread that only triggered when loading from a vpk. That is why it was only reproducing in Steam and never in any of our builds from code (because we load from flat files instead of vpks). It's actually still a bit of a mystery why this behavior was so much worse on Linux (the same code executes on Windows), but the synchronized load wasn't supposed to be happening so removing that will fix it. I will still need to dig deeper to understand why the synchronized load behaves so much worse on Linux. |
Thank you so much for looking into this, Mr. Dan! |
I hope the fix by @danginsburg & Co. fixes also the bug I have currently on CS2 / Steam / Arch Linux / AMD RX 7900 GRE: -the picture doesn't update at all during game. I can hear sounds eg. when shooting pistol, but I only get 1 update to the frame if I open up tab-menu or esc-menu, which also works very laggy. If I close that menu, I still don't get any other update to the frame unless firing up another menu and then I can see where I am, what I am pointing at etc. So the game is totally unplayable. I just updated the game, and the latest release notes seems to be for 8/22/2024. EDIT: I don't know what happened before as I tried to restart CS2 twice and it was broken as I described above. But now when I run it, I can play the game at least, even when menus etc. cause freezes. |
He literally said it will get fixed in the next one |
Thank you for this! I tinkered with settings which helped. |
Thank you for fixing this Dan. If you'd like to share, I'd be curious to know the results of your follow up investigation, if you ever figure out why windows users never saw this problem. |
What is the QA test process at Valve before pushing a release? Testing on the actual end user client seems like table stakes. |
Thx 4 explanation. Pls hold on and keep us up to date! |
@danginsburg Thank you very much for your help. Would it have been possible to give a short information like "we are on it but may take some more time because of ..." weeks ago? I think most of the frustration and rumors, that Value may no longer care about Linux, could have been avoided by just posting one or two sentences maybe once every two weeks or so. It is totally normal that fixing tough issues takes its time but without any notice to the community, it feels like being ignored. |
Hi dan. Thanks for tracking down and fixing the issue. So I'm fairly certain, that the main reason for the different severity on windows und linux is the CPU scheduler. CFS is the default scheduler for most distros, and due to it's "fair" design it apparently behaves very poorly in this situation. |
Its fixed as of 03/09/2024. (can confirm in game of course) |
Tried the patch, it works for me ! Thanks a lot |
Works for me. Except the CS2 splash screen hangs for a split second after the animation finishes. Then back to normal. Not sure if its related but I played a couple games of Arms Race and the FPS seems to drop halfway through a game. Goes from 200+ to under 100. |
Can confirm this is fixed! |
Thank you! We appreciate your work. |
Thanks for your patience and the confirmations. I'll close out this bug now. |
System information
OS: Arch Linux
KERNEL: 6.9.9-arch1-1
CPU: AMD Ryzen 7 7800X3D 8-Core
GPU: AMD Radeon RX 7900 XTX (radeonsi, navi31, LLVM 18.1.8, DRM 3.57, 6.9.9-arch1-1)
GPU DRIVER: 4.6 Mesa 24.1.3-arch1.1
RAM: 32 GB
Text file with steam runtime diagnostic print: Runtime.txt
Have you checked for system updates?
Yes, as well as completely reinstalling CS2
Please describe your issue in as much detail as possible:
When switching to a new part of the UI or opening the pause menu in-game CS2 Will hang for a few seconds before recovering. This issue was introduced as of the 07/11/2024 update; Before this update, the game had no issues with freezing in menus!
Steps for reproducing this issue:
Launch CS2, switch to inventory or play, game will freeze.
Or once in game; Open menu via escape, game will freeze.
Below are a few snip its of things that around the game freezing as well as a full log from a game from boot to close with multiple freezes from switching around some menus as well as starting and ending an offline practice game opening and closing the pause menu.
Full developer console log: consolelog.log
[Developer] Failed to find ui preference 'panorama_play_movie_ambient_sound'
[WorldRenderer] CWorldRendererMgr::ServiceWorldRequests long frame: 15.031560ms
Warning: have oustanding per-frame memory stack with 7 allocations
Warning: have oustanding per-frame memory stack with 3 allocations
Warning: have oustanding per-frame memory stack with 5 allocations
Warning: have oustanding per-frame memory stack with 44 allocations
Warning: have oustanding per-frame memory stack with 261 allocations
Warning: have 6 in use and 0 free per-frame memory stacks outstanding. The oldest stack was created at present 1, and we're now on present 3099
Warning: have oustanding per-frame memory stack with 7 allocations
Warning: have oustanding per-frame memory stack with 3 allocations
Warning: have oustanding per-frame memory stack with 5 allocations
Warning: have oustanding per-frame memory stack with 44 allocations
Warning: have oustanding per-frame memory stack with 261 allocations
Warning: have 6 in use and 0 free per-frame memory stacks outstanding. The oldest stack was created at present 1, and we're now on present 3100
Warning: have oustanding per-frame memory stack with 7 allocations
Warning: have oustanding per-frame memory stack with 3 allocations
Warning: have oustanding per-frame memory stack with 5 allocations
Warning: have oustanding per-frame memory stack with 44 allocations
Warning: have oustanding per-frame memory stack with 261 allocations
Warning: have 6 in use and 0 free per-frame memory stacks outstanding. The oldest stack was created at present 1, and we're now on present 3101
Warning: have oustanding per-frame memory stack with 7 allocations
Warning: have oustanding per-frame memory stack with 3 allocations
Warning: have oustanding per-frame memory stack with 5 allocations
Warning: have oustanding per-frame memory stack with 44 allocations
Warning: have oustanding per-frame memory stack with 261 allocations
Warning: have 6 in use and 0 free per-frame memory stacks outstanding. The oldest stack was created at present 1, and we're now on present 3102
Warning: have oustanding per-frame memory stack with 7 allocations
Warning: have oustanding per-frame memory stack with 7 allocations
Warning: have oustanding per-frame memory stack with 3 allocations
Warning: have oustanding per-frame memory stack with 5 allocations
Warning: have oustanding per-frame memory stack with 44 allocations
Warning: have oustanding per-frame memory stack with 261 allocations
Warning: have 6 in use and 0 free per-frame memory stacks outstanding. The oldest stack was created at present 1, and we're now on present 3103
[Developer] Failed to find ui preference 'panorama_play_movie_ambient_sound'
[Developer] Failed to find ui preference 'panorama_play_movie_ambient_sound'
[Developer] Failed to find ui preference 'spec_autodirector_cameraman'
The text was updated successfully, but these errors were encountered: