ValveSoftware / csgo-osx-linux

Counter-Strike: Global Offensive
http://counter-strike.net
787 stars 69 forks source link

CS2 Freezes on opening menus as of 07/11/2024 Update #3803

Closed Doomguy1364 closed 2 months ago

Doomguy1364 commented 4 months ago

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'

ianliu commented 4 months ago

@koreanfan I tried with Proton Experimental, and had the same freezes

amaanq commented 4 months ago

This might be helpful if people are a little comfortable using the terminal to implement a bodge that fixes the freezing (but requires you to do it once every single time it happens, but hey no more 20 seconds+ of waiting). I was curious about the freezing and decided to poke around with strace to see what it might be stuck on (missing file that failed to open maybe?), but somehow strace caused it to unfreeze.. :sweat_smile:

pgrep -f "cs2 " | xargs -I{} strace -p {}

Explanation:

pgrep searches for the PID (process ID) that matches cs2, we add a space to specify the PID that is not PID of the cs2.sh script being executed.

we pipe it to xargs to build a command to execute, in this case, strace -p $PID where $PID is the pid of the cs2 process

hope it somewhat helps in mitigating this extremely annoying bug... :sweat_smile: don't forget to ctrl-c/cancel it after you're unfrozen, it does lag the game a bit.

K1ngjulien commented 4 months ago

@amaanq that helps? wow that's weird 😅 I have noticed that the game does sometimes unfreeze itself with the right combination of focusing and unfocusing of the game window.

it's far from working consistently tho...

lou-perret commented 4 months ago

I wouldn't use strace on CS2's process without launching it with -insecure, I've seen anticheats ban because of that (look at Elden Ring)

amaanq commented 4 months ago

I wouldn't use strace on CS2's process without launching it with -insecure, I've seen anticheats ban because of that (look at Elden Ring)

I would say strace alone is pretty useless when it comes to cheating, but sure, some (questionable) anticheats might not like that because of what it does - so I probably should have mentioned to be cautious if you are on the more paranoid side of things 😅 Personally, I doubt valve would ban for this

justpie commented 4 months ago

I don't suggest trying to play until this is fixed.

It seems that its 50/50 on if I can join a competitive game. Lots of times I get randomly disconnected and unable to reconnect due to this bug.

Rip: Screenshot from 2024-07-24 14-56-30

nyllong commented 4 months ago

Video Memory | 0 N/A N/A 5624 C+G ...fensive/game/bin/linuxsteamrt64/cs2 7237MiB | | 0 N/A N/A 6603 G ...39,262144 --variations-seed-version 59MiB

fagnerln commented 3 months ago

it's strange how this issue is inconsistent, sometimes the menu opens just fine, other times it struggle so much that even disconnect from the server. It's dangerous to play competitive and get a ban because of this (well, nowadays I prefer to just play casual anyway).

I hope that this get fixed soon, this happens for weeks now.

I'm using Fedora 40, Kernel 6.9, Ryzen 5600, RX580, Mesa 24.1, running the RPM version of Steam

grownassben commented 3 months ago

Still happening for me and suggested workarounds aren't fixing it. Hey @kisak-valve does this remain the recommended method of reporting issues on Linux? 730_5

sacrelege commented 3 months ago

clean install debian 12 + updates, nvidia 550.100 ryzen 3900x, rtx 3070, 32gb ram (running at 2400mhz) tested with kernel 6.1 and 6.9 from debian backports. exactly the same behavior as all above

PNunesDev commented 3 months ago

It's also happening to me. Clean Install Linux Mint 22, It might be a coincidence, but I think I haven't had this issue in Linux Mint 21.3 (Kernel 5.15) Now I'm sporting the Linux Kernel 6.8 And still the same Nvidia drivers 535.

Here's my system Ryzen 5 3600X 16GB Dual Channel 3600MHZ GTX 1650 Super Kioxia 256GB SSD.

Had no issues before, now I just have big stalls, that can range from 5 seconds to 3 minutes. I do all the shader compilations from beginning to the end, doesn't seem to help much.

I had disconnects from competitive matchs because of this.

I'm willing to provide any feedback, just let me know how.

Palku commented 3 months ago

Is there anyone using Linux that doesn't have this issue? I think this happens to everyone so it seems you can count cs2 as completely borked for all Linux users. And not a word from anyone if it's looked at or worked on.

GenocideStomper commented 3 months ago

Might be better to post this to the global offensive subreddit, if it hasn't already. Valve devs are known to look there every once in a while, not sure if I've seen any interactions or acknowledgements from github issues.

urbenlegend commented 3 months ago

Also getting this issue with the latest update on my Arch box. If I press Esc to access the menu while in-game, it almost always freezes up. The game is basically unplayable now.

Operating System: Arch Linux KDE Plasma Version: 6.1.3 KDE Frameworks Version: 6.4.0 Qt Version: 6.7.2 Kernel Version: 6.10.2-arch1-1 (64-bit) Graphics Platform: Wayland Processors: 24 × AMD Ryzen 9 3900X 12-Core Processor Memory: 31.3 GiB of RAM Graphics Processor: NVIDIA GeForce RTX 3090/PCIe/SSE2 Product Name: X570 Taichi

koreanfan commented 3 months ago

Also you often disconnect from the game server and fps can drop after alt+tabbing or fps drops after a match(if you got 120fps in main menu on first launch then after match/matches you got 70-80 fps in main menu). Also fps can drops if you change resolution in game menu

ariebesehl commented 3 months ago

I concur, (spamming) ALT+Tab seems to alleviate the problem.

I have the occasional freeze, but the game is playable, and when a freeze happens, I've already habitually started ALT+Tab'ing.

Has signs it could be a race condition bug. I suppose it's not unlikely, since we Linux users are the guinea pigs for Vulkan, whose core tenet is more parallelism, and the Windows users are AFAIK running DX12. It would be interesting if the few (if any) Windows Vulkan users experience the same symptoms, although the underlying operating systems and their libraries and drivers may be different enough for the bug to never materialize.

3zet commented 3 months ago

I found it happens when game tries to load avatars, at least on my rig (3700x, 6800XT, Manjaro with kernel 6.9) Some of the avatars when game freezes are pink. And when game unfreezes they are loaded fine.

sacrelege commented 3 months ago

I found it happens when game tries to load avatars, at least on my rig (3700x, 6800XT, Manjaro with kernel 6.9) Some of the avatars when game freezes are pink. And when game unfreezes they are loaded fine.

I thought the same thing, so I disabled animated avatars -> no more pink avatars but still freezes

lou-perret commented 3 months ago

when I start the game and go to my inventory, I get a huge freeze. I really think it's caused by something with the filesystem (as I said here

Which would also explain why people have different freezes: my game is on a fast SSD, so I don't get huge lags. If your drive is slower, it may lag more, thus causing the game to disconnect in MM

koreanfan commented 3 months ago

when I start the game and go to my inventory, I get a huge freeze. I really think it's caused by something with the filesystem (as I said here

Which would also explain why people have different freezes: my game is on a fast SSD, so I don't get huge lags. If your drive is slower, it may lag more, thus causing the game to disconnect in MM

i got same lags on ssd and hdd on linux systems. No problems on windows. Also i install wine, run winecfg in terminal and configure it as windows 10, then download vcredist latest for x86 and x64 from microsoft site, made them executable as program and install with command "wine vcredist_x86_filename.exe", "wine vcredist_x64_filename.exe", install steam via wine(download steam app exe file from steam site, made executable as program via thunar file manager, launch "wine steam_installer.exe in terminal") , install winetricks, then install dxvk via winetricks(launch in terminal "winetricks dxvk"). Launch steam from whisker menu(whisker menu->wine->steam). Go to steam settings and disable hardware video decoding, disable gpu accel rendering, disable steam overlay, disable run steam when my computer start. Download cs2 from steam client. Launch cs2 with launch settings "-console -vulkan". Game working on menu, but when you try to play match then cs2 crash when downloaded map resources after finding match. So cs2 working on windows without problems. Also i got another issue and this issue not connected with cs2. On my old rig am3+ mouse change speed by itself on windows/linux. I swap many mouses and got the same issue. So i thought that problem in my old mobo(bios firmware) form 2013 year. Few month ago i buy new am4 rig and got the same problem - "mouse change speed by itself randomly on linux/windows". I Changed few mouses and got the same effect. I got only monitor and video card from my old pc and all other parts are absolutely new. I also send new cpu+mobo+ram+mouse to local shop and after 2 days they answer to me "we dont find this issue, you can take your parts". I take my pc parts back, build rig again and on next day i got this issue again. I spend money on this new rig and i cant play on it cuz mouse changed speed by itsel and its unplayable in competitive games as cs2/dota2/etc. And i cant even rma this rig. Is this only amd platform problem? Or problem in monitor or video card(also amd)? Or its uefi firmware bug or etc?

Poltergeisen commented 3 months ago

It's definitely not related to SSD. I'm on a m.2 and I still lag inconsistently. Sometimes it barely lags at all, sometimes it makes me disconnect from the match entirely. I can't find a single thing that seems to set it off more than the other.

The only way to consistently avoid being kicked is to not open ANY menu, including the scoreboard sometimes.

unenergizer commented 3 months ago

I am having the same issue. Also this (network packet issue): https://steamcommunity.com/app/730/discussions/0/4517758149621294634/

neofetch --backend --off

OS: Pop!_OS 22.04 LTS x86_64 
Kernel: 6.9.3-76060903-generic 
Packages: 1993 (dpkg), 37 (flatpak) 
Shell: bash 5.1.16 
Resolution: 1050x1680, 1920x1080, 1920x1080 
DE: GNOME 42.9 
WM: Mutter 
WM Theme: Pop 
Theme: Pop-dark [GTK2/3] 
Icons: Pop [GTK2/3] 
Terminal: gnome-terminal 
CPU: AMD Ryzen 7 5800X (16) @ 3.800GHz 
GPU: AMD ATI Radeon RX 6600/6600 XT/6600M 
Memory: 6080MiB / 32006MiB 

I have completely wiped my system and did a fresh install of PopOs. Only installed Steam and CS2. Still having the same issue.

Poltergeisen commented 3 months ago

Seems like there was another patch today, well, at least my game downloaded something and recompiled shaders. This issue still isn't fixed

Just opening loadout in the main menu gives me this:


[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 'panorama_play_movie_ambient_sound'
Inventory filter setting 'undefined' unhandled
[ResourceSystem] Failed loading resource "panorama/images/icons/equipment/equipment3.vsvg_c" (ERROR_FILEOPEN: File not found)
[Developer] Failed to find ui preference 'panorama_play_movie_ambient_sound'
[Developer] Failed to find ui preference 'panorama_play_movie_ambient_sound'
mull0r commented 3 months ago

Same issue here. It's been over 3 weeks. Sometimes it's barely playable. And the console always seems to let me know that some file in /panaroma/* hasn't been found / couldn't be loaded.

Stutters occur almost evertime switching menu and pressing ESC during gameplay. Sometimes they also occur when viewing scoreboard ingame and occasionally when you get killed.

It happens everytime on loading into a game, the final loading screen hangs for a few seconds up to 30 seconds. Sometimes it fails to connect and results into competitive cooldowns. During a match, nothing out of the ordinary, except for when you get killed. It hangs for a bit.

I'm using an up-to-date Ubuntu 24.04 with kernel 6.8. AMD Ryzen 7 5800X3D AMD Radeon RX 7800 XT 32GB of RAM.

I have tried reinstalling, verifying game files, shader compilation, low graphics settings. It doesn't make the problem go away.

ariebesehl commented 3 months ago

Have any of you tried -threads 1? I haven't got the time to play now, but I just tried it out, and it does make a difference in FPS and the game feels different, those menu lags have a different... "tone" to them?

nelwa commented 3 months ago

Using Linux Mint 21.3 & I have the exact same issue, it's super frustrating.

rashadgasimli commented 3 months ago

same issue, using steam flatpak on fedora 40 (workstation edition)

jb55 commented 3 months ago

3 weeks and no response for a bug that breaks CS2 for all linux users? I guess valve doesn't give a shit about linux users anymore?

grego9 commented 3 months ago

Just submitted a ticket to Steam Support linking this issue. Don´t known if that gonna give this problem some visibility, but had to try.

jrubrkletern commented 3 months ago

Same issue here on Fedora 40

IMarkoMC commented 3 months ago

Any updates/workarounds to this? Has been long enough

IMarkoMC commented 3 months ago

Have any of you tried -threads 1? I haven't got the time to play now, but I just tried it out, and it does make a difference in FPS and the game feels different, those menu lags have a different... "tone" to them?

Same result

ianwijma commented 3 months ago

Please only post if you have an ACTUAL workaround. Leave a 👍 on the original post or this comment to let valve know you have the same issue... I don't like getting tonnes of emails from this thread 🧵 without an solution, it gets my hopes up.

Thanking you 🙏

IMarkoMC commented 3 months ago

I don't like getting tonnes of emails from this thread 🧵 without an solution, it gets my hopes up

Sounds like a you issue

telometto commented 3 months ago

Game is unplayable at the moment. Jeez.

Best "patch" I've seen in a while.

grownassben commented 3 months ago

I was initially referred back to github for what was interpreted as a "Steam on Linux" issue, but expressed that it was in fact a CS2 issue seemingly impacting all Linux users and got a more reasonable reply. Fairly certain this github is abandoned with the exception of merging duplicates. image

spikederailed commented 3 months ago

So for a few weeks i have been experiencing this myself, Ive had a few instances tonight of massive lag happening in game too and noticed a few things on console, not sure if at all helpful. Two seperate incidents from the same match

CAnimGraphNetworkedVariables::UpdateHistoryElementFromNetworkData( 28444 ) Rewinding time on animgraph interpolation history entries for entity 490 "hegrenade_projectile". 444.437500 < 11556673128408121287148930626517442900737519527754570655680430080.000000
[SoundSystem] Created a VOIP stream without an associated player slot.
[SteamNetSockets] [#35089993 SDR server steamid:90200594371140631 vport 0 'server'] recv queue overflow 1000 messages already queued.
[SteamNetSockets] [#35089993 SDR server steamid:90200594371140631 vport 0 'server'] recv queue overflow 1000 messages already queued.
[SteamNetSockets] [#35089993 SDR server steamid:90200594371140631 vport 0 'server'] recv queue overflow 1000 messages already queued.
Excessive frame time of 11234.28ms clamped.  Acting as if the frame only took 100.00ms
11216.33ms Client Simulation
11213.51ms FileSystem
  13.88ms Client Rendering
  13.27ms Frame Boundary
   1.29ms Unaccounted
   1.21ms PanoramaUI
[Client] Receiving 68.6K non-incremental update from server
CAnimGraphNetworkedVariables::UpdateHistoryElementFromNetworkData( 29568 ) Rewinding time on animgraph interpolation history entries for entity 67

and


"smokegrenade_projectile". 542.562500 < 8055199069679929183508342077832012043506551920789976315800322048.000000
[SteamNetSockets] [#35089993 SDR server steamid:90200594371140631 vport 0 'server'] recv queue overflow 1045952 + 3160 bytes exceeds limit of 1048576.
[SteamNetSockets] [#35089993 SDR server steamid:90200594371140631 vport 0 'server'] recv queue overflow 1046434 + 3313 bytes exceeds limit of 1048576.
[SteamNetSockets] [#35089993 SDR server steamid:90200594371140631 vport 0 'server'] recv queue overflow 1046434 + 3132 bytes exceeds limit of 1048576.
[SteamNetSockets] [#35089993 SDR server steamid:90200594371140631 vport 0 'server'] recv queue overflow 1047858 + 2738 bytes exceeds limit of 1048576.
[SteamNetSockets] [#35089993 SDR server steamid:90200594371140631 vport 0 'server'] recv queue overflow 1047858 + 4032 bytes exceeds limit of 1048576.
[SteamNetSockets] [#35089993 SDR server steamid:90200594371140631 vport 0 'server'] recv queue overflow 1047858 + 2758 bytes exceeds limit of 1048576.
Excessive frame time of 11406.62ms clamped.  Acting as if the frame only took 100.00ms
11398.82ms Client Simulation
11395.16ms FileSystem
   4.10ms Client Rendering
   3.39ms Frame Boundary
   1.60ms PanoramaUI
   1.01ms Prediction
[Client] Last server executed command is 32846 on tick 34825.  Duplicating command 32843 3x to catch up.  New outgoing command is 32846
CAnimGraphNetworkedVariables::UpdateHistoryElementFromNetworkData( 35019 ) Rewinding time on animgraph interpolation history entries for entity 71 "molotov_projectile". 547.171875 < 19055812547585117111066413242562566422528.000000
[SndOperators] Error: Operator set_soundevent_block, EntryMatchList has no free slots!
Excessive frame time of 128.00ms clamped.  Acting as if the frame only took 100.00ms
  51.12ms Frame Boundary
  33.83ms Client Simulation
  23.34ms FileSystem
  15.19ms Networking
  13.73ms Client Rendering
  11.23ms PanoramaUI
[SoundSystemLowLevel] Audio device starved 365 samples 
[SoundSystemLowLevel] Increased audio mix latency to 2 buffers
[Networking] server @ =[A:1:1912953879:29942]:  high packet loss detected flow incoming:    0ms engine latency,   296/ 1262 dropped (23.5%)
[SoundSystem] Created a VOIP stream without an associated player slot.
[SoundSystemLowLevel] Decreased audio mix latency to 1 buffers
mariog0ncalves commented 3 months ago

Edit: Sorry, it's not a solution, but it might shed some extra light to whoever may be analyzing this problem.

Edit2 : S̶o̶m̶e̶ p̶e̶o̶p̶l̶e̶ r̶e̶c̶o̶m̶m̶e̶n̶d̶ d̶i̶s̶a̶b̶l̶i̶n̶g̶ N̶v̶i̶d̶i̶a̶ R̶e̶f̶l̶e̶x̶ / A̶M̶D̶ A̶n̶t̶i̶-̶l̶a̶g̶, b̶u̶t̶ I̶'v̶e̶ n̶o̶t̶ s̶e̶e̶n̶ a̶n̶y̶ i̶m̶p̶r̶o̶v̶e̶m̶e̶n̶t̶s̶. At least from my part, this doesn't seem to affect nothing.

Edit3: Also got this little gift a couple of minutes ago, possibly because of the freeze, vac detects "loop deactivation": 20240805222509_1 I'l try to not play it until they fix this. Tried to even play some game against bots and got tripped on Steam Vac yet again.

Edit4: My Specs: image


Also have the same issue.As others stated, this is recent.

On gameplay, If i open the scoreboard window, it drops the fps by half, gives a little freeze and the following text is printed onto the console:

[Developer] Failed to find ui preference 'spec_autodirector_cameraman

However, opening the main menu is the real problem. It freezes completely the game, and most of the times disconnects me or blocks completely and I need to kill it via Steam.

Console output:

ChangeGameUIState: CSGO_GAME_UI_STATE_INGAME -> CSGO_GAME_UI_STATE_PAUSEMENU
[Developer] Failed to find ui preference 'spec_autodirector_cameraman'
CCSGO_BlurTarget - Unable to find panel with the given id "CSGOLoadingScreen"! Panel is possibly created dynamically.
[SteamNetSockets] [#1624829735 SDR server steamid:90200661748687898 vport 0 'server'] recv queue overflow 1000 messages already queued.
[SteamNetSockets] [#1624829735 SDR server steamid:90200661748687898 vport 0 'server'] recv queue overflow 1000 messages already queued.
[SteamNetSockets] [#1624829735 SDR server steamid:90200661748687898 vport 0 'server'] recv queue overflow 1000 messages already queued.
[SteamNetSockets] [#1624829735 SDR server steamid:90200661748687898 vport 0 'server'] recv queue overflow 1000 messages already queued.
[SteamNetSockets] [#1624829735 SDR server steamid:90200661748687898 vport 0 'server'] recv queue overflow 1000 messages already queued.
[SteamNetSockets] [#1624829735 SDR server steamid:90200661748687898 vport 0 'server'] recv queue overflow 1000 messages already queued.
[SteamNetSockets] [#1624829735 SDR server steamid:90200661748687898 vport 0 'server'] recv queue overflow 1000 messages already queued.
[SteamNetSockets] [#1624829735 SDR server steamid:90200661748687898 vport 0 'server'] recv queue overflow 1000 messages already queued.
[SteamNetSockets] [#1624829735 SDR server steamid:90200661748687898 vport 0 'server'] recv queue overflow 1000 messages already queued.
[SteamNetSockets] [#1624829735 SDR server steamid:90200661748687898 vport 0 'server'] recv queue overflow 1000 messages already queued.
[SteamNetSockets] [#1624829735 SDR server steamid:90200661748687898 vport 0 'server'] recv queue overflow 1000 messages already queued.
[SteamNetSockets] [#1624829735 SDR server steamid:90200661748687898 vport 0 'server'] recv queue overflow 1000 messages already queued.
[SteamNetSockets] [#1624829735 SDR server steamid:90200661748687898 vport 0 'server'] recv queue overflow 1000 messages already queued.
[SteamNetSockets] [#1624829735 SDR server steamid:90200661748687898 vport 0 'server'] recv queue overflow 1000 messages already queued.
[SteamNetSockets] [#1624829735 SDR server steamid:90200661748687898 vport 0 'server'] recv queue overflow 1000 messages already queued.
[SteamNetSockets] [#1624829735 SDR server steamid:90200661748687898 vport 0 'server'] recv queue overflow 1000 messages already queued.
[SteamNetSockets] [#1624829735 SDR server steamid:90200661748687898 vport 0 'server'] recv queue overflow 1000 messages already queued.
[SteamNetSockets] [#1624829735 SDR server steamid:90200661748687898 vport 0 'server'] recv queue overflow 1000 messages already queued.
[SteamNetSockets] [#1624829735 SDR server steamid:90200661748687898 vport 0 'server'] recv queue overflow 1000 messages already queued.
[SteamNetSockets] [#1624829735 SDR server steamid:90200661748687898 vport 0 'server'] recv queue overflow 1000 messages already queued.
[SteamNetSockets] [#1624829735 SDR server steamid:90200661748687898 vport 0 'server'] recv queue overflow 1000 messages already queued.
[SteamNetSockets] [#1624829735 SDR server steamid:90200661748687898 vport 0 'server'] recv queue overflow 1000 messages already queued.
[SteamNetSockets] [#1624829735 SDR server steamid:90200661748687898 vport 0 'server'] recv queue overflow 1000 messages already queued.
[SteamNetSockets] [#1624829735 SDR server steamid:90200661748687898 vport 0 'server'] recv queue overflow 1000 messages already queued.
Excessive frame time of 36298.84ms clamped.  Acting as if the frame only took 100.00ms
36272.86ms Client Simulation
36267.77ms FileSystem
  19.73ms Frame Boundary
   7.99ms Client Rendering
   5.22ms PanoramaUI
   2.43ms Javascript
[Client] Receiving 49.4K non-incremental update from server
[Entity System] m_16ByteOrLessStack out of space, falling through after 20000 entries, consider upping NETWORKFIELDSCRATCHDATA_16BYTE_COUNT
CAnimGraphNetworkedVariables::UpdateHistoryElementFromNetworkData( 80681 ) Rewinding time on animgraph interpolation history entries for entity 168 "c_cs_player_for_precache". 1260.640625 < 231322209302447499771904.000000
[SndOperators] Error: Operator set_soundevent_block, EntryMatchList has no free slots!
[SteamNetSockets] [#1624829735 SDR server steamid:90200661748687898 vport 0 'server'] closed by peer (2029): NETWORK_DISCONNECT_TIMEDOUT
[NetSteamConn] Steam Net connection #1624829735 SDR server steamid:90200661748687898 vport 0 'server' closed by peer, reason 2029: NETWORK_DISCONNECT_TIMEDOUT
[Networking] NETWORK_DISCONNECT_TIMEDOUT
[NetSteamConn] Closing Steam Net Connection on socket 'client' to =[A:1:571024410:29958], handle #1624829735 (0 (null))
[NetSteamConn] CloseSteamNetConnection handle #1624829735 (userdata 0)
[NetSteamConn] Disassociating NetChan server @ =[A:1:571024410:29958] (=[A:1:571024410:29958]) from Steam Net Connection handle #1624829735 (userdata 0)
[NetSteamConn] Removing Steam Net Connection for =[A:1:571024410:29958], handle #1624829735
[Client] Disconnection during connection phase. Sign-on state: 6 (SIGNONSTATE_FULL). Disconnect reason: 29 (NETWORK_DISCONNECT_TIMEDOUT).
[Client] CL:  Server disconnected: 29: NETWORK_DISCONNECT_TIMEDOUT
[Client] Sent vprof lite summary to server.  5729 frames, 30 detailed line items
[VProf] 
[VProf] -- Performance report --
[VProf] Summary of 5729 frames.  (7388 frames excluded from analysis.)
[VProf] FPS: Avg=65.9, P1=53.7
[VProf] 
[VProf]                                                       All frames         Active frames   
[VProf]                                                         Avg    P99        N    Avg    P99
[VProf] ---------------------------------------------------- ------ ------   ------ ------ ------
[VProf]                                           FrameTotal  15.17  18.64     5729  15.17  18.64
[VProf]                                    Client Simulation   8.52   4.00     5729   8.52   4.00
[VProf]                                           FileSystem   6.33   0.00       172134.2230465.38
[VProf]                                     Client Rendering   4.23   8.04     5729   4.23   8.04
[VProf]                                       Frame Boundary   3.23   6.47     5729   3.23   6.47
[VProf]                                      LowLatencySleep   0.79   3.70     5729   0.79   3.70
[VProf]                                           Prediction   0.72   2.20     5729   0.72   2.20
[VProf]                                           PanoramaUI   0.69   2.89     5729   0.69   2.89
[VProf]                                                  HUD   0.56   1.94     5729   0.56   1.94
[VProf]                                        Interpolation   0.35   0.51     5729   0.35   0.51
[VProf]                                          Unaccounted   0.31   1.48     5729   0.31   1.48
[VProf]                                     Client_Animation   0.30   0.78     3177   0.55   0.81
[VProf]                                           Networking   0.28   1.51     3177   0.51   1.68
[VProf]                                       Client Physics   0.21   0.72     5729   0.21   0.72
[VProf]                                  Client Input/Output   0.16   0.25     5729   0.16   0.25
[VProf] LatchAndSaveLastSimulationValuesForInterpolationList   0.14   0.43     3177   0.26   0.69
[VProf]                                           Javascript   0.07   1.07      878   0.45   4.53
[VProf]                                  Particle Simulation   0.01   0.12      278   0.11   0.50
[VProf]                                                Magic   0.00   0.20      156   0.13   0.44
[VProf] 
[VProf] VProfLite stopped.
**** Unable to localize '#GenericConfirmText_Label' on panel descendant of 'PopupManager'
ChangeGameUIState: CSGO_GAME_UI_STATE_PAUSEMENU -> CSGO_GAME_UI_STATE_INGAME
[Client] CL:  Disconnecting from server: NETWORK_DISCONNECT_TIMEDOUT
[Networking] Closing 'client' poll group
[HostStateManager] CHostStateMgr::QueueNewRequest( Idle (levelload), 3 )
[Console] Unknown command 'end_single_player_pause'!
ChangeGameUIState: CSGO_GAME_UI_STATE_INGAME -> CSGO_GAME_UI_STATE_MAINMENU

Also, I noticed for the pause menu, it "unfreezes" faster for me when I have the game in the background.Might not be a certain thing, but I've tested it and at least on my case it seems to be true.

spikederailed commented 3 months ago
Excessive frame time of 36298.84ms clamped.  Acting as if the frame only took 100.00ms
36272.86ms Client Simulation
36267.77ms FileSystem
  19.73ms Frame Boundary
   7.99ms Client Rendering
   5.22ms PanoramaUI
   2.43ms Javascript

Im not a dev, just someone also experiencing the same issue. 36267.77ms FileSystem 32.2seconds for file system access on that transaction. Im seeing 11-20seconds myself when this kinda thing is happening, probably related.

mclegrand commented 3 months ago

Problem became much worse for me since this week - pressing tab now has a 10% chance of freezing the game between 2 and 20 seconds

GenocideStomper commented 3 months ago

Edit2 : Some people recommend disabling Nvidia Reflex, but I've not seen any improvements.

I didn't know Nvidia Reflex was in the Linux build. Is it only available for newer GPUs?

spikederailed commented 3 months ago

I have no had reflex enabled ever. So on my side thats a no go.

ariebesehl commented 3 months ago

The issue affects users with AMD GPUs as well, most likely, it has nothing to do with nVidia drivers and/or software (or is coincidentally correlated, such as people using nVidia on Linux probably consciously choosing more GPU-horsepower, and if higher performance leads to more freezes, because of a deadlock/race condition issue...).

I have had the issue occuring more often again (est. up to 5x in 1h), but I am unable to tell if this is due to the latest update (coincidenting with me reenabling XMP on my RAM after a week on JEDEC after a CMOS reset, and my FPS going from 60-90 to 120-150). Spamming ALT+Tab still seems to kind of resolve the issue (or maybe not, who knows; but if it freezes for 10s without input and starts working within 1s of spamming ALT+Tab, that's probably correlated).

My Markdown-fu is a bit rusty; looking at the most recently posted console output above, it's possible the ALT+Tabbing triggers redrawing the UI until it finds a state in which it doesn't error out and the blur target can be found.

Addendum: Regarding email notifications, you may want to unsubscribe from this thread, it's not uncommon for a bug affecting many users to get hundreds of replies, and users poking around in the dark can contribute to a developer finding a solution as well, and those users need a place to discuss and coordinate as well. Please correct me, however, if I am wrong, there are those kind of developers, who just want posts with nothing but technical details on issues, and others see them as a place to also discuss the issue.

mariog0ncalves commented 3 months ago

I didn't know Nvidia Reflex was in the Linux build. Is it only available for newer GPUs?

Well, it's a possibility. I 'm running the official proprietary drivers with version: 555.42.02 on a RTX 3060.

The issue affects users with AMD GPUs as well, most likely, it has nothing to do with nVidia drivers and/or software

Yeah, I concur on this also. Some people on steam forums were stating that those reflex techs(Nvidia reflex/AMD Anti-Lag) could be the issues. Even so, I've had reflex activated prior to these last updates, and didn't have any issues with it.Enabling or disabling it doesn't change anything.

Spamming ALT+Tab still seems to kind of resolve the issue (or maybe not, who knows; but if it freezes for 10s without input and starts working within 1s of spamming ALT+Tab, that's probably correlated).

Yeap, I can also confirm this is exactly what happens with me when opening the pause menu. If I leave it on the foreground it just gets blocked, however spamming alt tab makes it work back again in a couple of seconds.

I've also sent a new ticket for Steam support, alongside the link to this issue thread, but they didn't give any helpful comment.

Lastly, I'm sorry to hear that you're experiencing decreased performance in Counter-Strike 2. We're limited in how we can help resolve performance issues, but there are few things we recommend you try.

First, you'll want to set the game to automatically configure its settings based on your specific hardware. To do this: Open Steam and browse to your Library Right click the game you're having trouble with and select the 'Properties' option Under the 'General Tab' enter the following into the 'Launch Options' box: -autoconfig Run the game and re-test your FPS issue

I don't know if they did any update over night, but this morning the issue seems to be a little less critical. Opening the main menu freezes the game for 1-2 seconds, and then unfreezes.No need to alt tab. I've ran it this morning with only the -autoconfig option. And then with nothing. On both ocasions resulted in less freeze time. Maybe that did something? I don't know.

Console output below:

hangeGameUIState: CSGO_GAME_UI_STATE_INGAME -> CSGO_GAME_UI_STATE_PAUSEMENU
[Developer] Failed to find ui preference 'spec_autodirector_cameraman'
Excessive frame time of 540.18ms clamped.  Acting as if the frame only took 100.00ms.  (Last amnesty was 'ConsoleVisible', 0.93s ago)
 532.16ms Client Simulation
 528.62ms FileSystem
   5.31ms Client Rendering
   4.96ms Frame Boundary
   1.50ms PanoramaUI
   1.29ms HUD
[Client] Last server executed command is 1775 on tick 31321.  Duplicating command 1772 3x to catch up.  New outgoing command is 1775
[Client] Last server executed command is 1836 on tick 31340.  Duplicating command 1834 2x to catch up.  New outgoing command is 1836
ChangeGameUIState: CSGO_GAME_UI_STATE_PAUSEMENU -> CSGO_GAME_UI_STATE_INGAME

This morning for me it seems the Excessive frame time is much smaller.

M-Reimer commented 3 months ago

I guess everyone having this issue should start opening support tickets. And you shouldn't just report "performance issues" but game breaking freezes causing timeouts.

fagnerln commented 3 months ago

CSGO had an issue that made it literally unplayable, it simply didn't boot, the user needed to keep trying over and over again until it starts, it took many months until they fixed.

This issue sound like it's simpler and affect a lot more users, maybe they do something sooner if we keep complaining, who knows?

I think that there's nothing that we can do, isn't DE/compositor specific, isn't x11/Wayland specific, isn't vendor specific, isn't distro specific.

It's an issue on a proprietary game, which only the owners can fix.

Anyway it's funny that alt+tab helps sometimes, we at least give some tips where they should look at.

Palku commented 3 months ago

Ping @kisak-valve Some feedback would be nice, is anyone at Valve aware that the game has been more or less broken for all Linux users for 3 weeks?

M-Reimer commented 3 months ago

Yeah but I more and more feel like that's exactly what this GitHub is for. Users discussing potential workarounds. Not much feedback from developers to find here. So probably the way to really be heard is the way also used by Windows users: Support tickets.

mariog0ncalves commented 3 months ago

I guess everyone having this issue should start opening support tickets. And you shouldn't just report "performance issues" but game breaking freezes causing timeouts.

Well that's what I did, and they closed the ticket indicating that they gave all the possible recommendations and I should take my PC to a technician shop so that he could review my Windows installation 🥹... (when I've specifically exhausted that I was on linux, and this was a linux version issue)

I don't like to bash on CS teams but this one takes the cake... I'm opening a new ticket to try my luck. For now, best we can do is spamming that Alt+Tab i guess 🤣

Petteri-R commented 3 months ago

Game has 30% change to crash every time the UI is drawn after the update. Getting into the match seems impossible. Playing on stock Ubuntu.