csgo-osx-linux
csgo-osx-linux copied to clipboard
DM servers are unplayably laggy as of late / Multi-issue thread
Sorry it looks bad. Only way to make it fit and embed

Same for me, the console reports: teamNetworkingSockets lock held for 7.6ms. (Performance warning). SendMessageToConnection SteamNetworkingSockets lock held for 9.6ms. (Performance warning). SendMessageToConnection SteamNetworkingSockets lock held for 9.8ms. (Performance warning). SendMessageToConnection SteamNetworkingSockets lock held for 9.3ms. (Performance warning). SendMessageToConnection Waited 2.1ms for SteamNetworkingSockets lock [ServiceThread] SteamNetworkingSockets lock held for 9.4ms. (Performance warning). SendMessageToConnection SteamNetworkingSockets lock held for 9.6ms. (Performance warning). SendMessageToConnection Waited 2.3ms for SteamNetworkingSockets lock [ServiceThread] SteamNetworkingSockets lock held for 7.2ms. (Performance warning). SendMessageToConnection SteamNetworkingSockets lock held for 8.3ms. (Performance warning). SendMessageToConnection SteamNetworkingSockets lock held for 7.2ms. (Performance warning). SendMessageToConnection SteamNetworkingSockets lock held for 7.5ms. (Performance warning). SendMessageToConnection SteamNetworkingSockets lock held for 9.6ms. (Performance warning). SendMessageToConnection 0: Reinitialized 4 predictable entities
Same for me, the console reports: teamNetworkingSockets lock held for 7.6ms. (Performance warning). SendMessageToConnection SteamNetworkingSockets lock held for 9.6ms. (Performance warning). SendMessageToConnection SteamNetworkingSockets lock held for 9.8ms. (Performance warning). SendMessageToConnection SteamNetworkingSockets lock held for 9.3ms. (Performance warning). SendMessageToConnection Waited 2.1ms for SteamNetworkingSockets lock [ServiceThread] SteamNetworkingSockets lock held for 9.4ms. (Performance warning). SendMessageToConnection SteamNetworkingSockets lock held for 9.6ms. (Performance warning). SendMessageToConnection Waited 2.3ms for SteamNetworkingSockets lock [ServiceThread] SteamNetworkingSockets lock held for 7.2ms. (Performance warning). SendMessageToConnection SteamNetworkingSockets lock held for 8.3ms. (Performance warning). SendMessageToConnection SteamNetworkingSockets lock held for 7.2ms. (Performance warning). SendMessageToConnection SteamNetworkingSockets lock held for 7.5ms. (Performance warning). SendMessageToConnection SteamNetworkingSockets lock held for 9.6ms. (Performance warning). SendMessageToConnection 0: Reinitialized 4 predictable entities
Having the same issue. Console shows the same errors over and over again in red. I tried verifying the game files, but that didn't change anything.
The same thing happens to me, it is impossible to play, I have not found any solution anywhere
https://www.youtube.com/watch?v=plD3-bg62oM voy a probar con este video, los comentarios son positivos
From the small sample of servers I've played on I noticed it seems to happen only Valve official servers.
It doesn't happen in at least some of the community servers.
Hope this info helps.
This happens on all servers for me, tested with a VPN too, same issue.
Anyone found a solution?
From the small sample of servers I've played on I noticed it seems to happen only Valve official servers. It doesn't happen in at least some of the community servers.
Hope this info helps.
Could you provide a specific server that does works? I seem to be having the problem on all servers I tried.
Could you provide a specific server that does works? I seem to be having the problem on all servers I tried.
Yes. I'm not experiencing any networking problem on Banana's retake servers for example : 49.12.128.124:27002
I can confirm this issue on MM servers and there weren't any when I played on Windows. (same pc/hw, same connection)
Banana's retake servers for example : 49.12.128.124:27002
I have lag on this server too.
Things I tried and didn't work:
- Tried Fedora 32 instead of my Ubuntu 20.04, same lag.
- Different kernel version, CPU governor, SMT enabled/disabled, auto/high GPU usage.
- Proprietary AMD driver for my RX580 and also the open source one.
- Playing with ping/connection options in the game.
- Getting a VPN.
- Using a remote server over SSH sockets5.
- Using broadband connection instead of WiFi.
All with no luck. On my Windows 10 there are no problems at all on the same machine.
This is an absolute bug in the CS:GO client for Linux.
The problem sounds to be solved both today and yesterday, I am getting normal ping at 60 again.
Was there any change from Valve's servers? I wonder.
Last update still hasn't fixed this issue for me.
I still get spammed with the error message and the skipped frames are still here.
As I mentioned before, this is happening in competitive matches. Probably I should quit playing.
The same problem has been reported on the /r/globaloffensive subreddit : https://old.reddit.com/r/GlobalOffensive/comments/ix9u7l/my_console_keeps_getting_spammed_with_the_same/
OP runs on Windows 10.
I'm having this issue on Ubuntu 20.04
Same issue on ArchLinux, kernel 5.8.1, game version (by net graph) 1181. I am getting a lot of SteamNetworkingSockets lock held for ~11ms. There is not a huge difference in quality of experience.
Another post on /r/globaloffensive : https://old.reddit.com/r/GlobalOffensive/comments/j4w99i/waited_724_ms_for_steamnetworkingsockets_lock/
I get the bug on both windows and linux, it seems like it is not an OS problem.
I just would like to add that I face the same issue for months now. The output from my Steam system info
If more info is needed, please let me know

This still happens. i just hopped into deathmatch today to take a video of it cause I noticed it yesterday. It'd seem the issue comes from the server var being very high. I asked other people in the lobby and they said it was really laggy for them too. Isn't step 1 of running a cs:go server having enough resources to run a cs:go server? :/
PLEASE FIX THIS!
This doesn't seem to be Linux-exclusive, as I'm experiencing it on both Windows 10 and Arch Linux.
These errors are spamming my console but I'm not experiencing any lag as depicted in the gifs.
Been seeing a lot of these on GOTV lately. They always tie and gain XP Without getting any kills and elo for the tie.
Click the image to see the video. It was impossible to make it small enough to gif.

Seeing this as well, for weeks already. Running through gamemode. Tried to disable other network devices/interfaces, didn't seem to help.
Reinstalling the game made it 3x worse for me (I'm on Win10). It's making the game unplayable and Valve just seems to not care.
Same issue here. MM is unplayable due to 'SteamNetworkingSockets lock held'. I am using archlinux kernel 5.8.14-arch1-1
The DM-issue and 'SteamNetworkingSockets lock held' are completely separate issues. I have DM-issue on both Windows and Linux which I assume is more to do with servers as other players complain too. The SteamNetworkingSockets-issue on my system is only on Linux; may have to do with packet offloading? I've tried console settings net_maxroutable to 576 and net_splitrate 100 (absurdly high, just a guess number) and I think I see less problems with the lock. The lock is held 10+ ms still though which is really making gameplay impossible.
Here is my network adapter config from Windows. if you try these make notes of your previous config:
arp offload : enabled flow control : disabled interrupt moderation : enabled ipv4 checksum offload : disabled jumbo frame : disabled large send offload v2 ipv4 : disabled large send offload v2 ipv6 : disabled ns offload : disabled priority & VLAN : both enabled receive buffers : 512 speed & duplex : 100 Mbps Full tcp checksum offload (ipv4) : disabled tcp checksum offload (ipv6) : disabled transmit buffers : 128 udp checksum offload (ipv4) : disabled udp checksum offload (ipv6) : disabled wake on magic packet : disabled wake on pattern match : disabled wol & shutdown link speed : 10 Mbps first
I've tried emulating it on Linux with ethtool , but no success. I think this SteamNetworkingSockets thing has to do with how cs:go is using the api, something is blocking progress inside the lock... maybe waiting for packets even.
So I've SteamNetworkingSockets lock held on my Pop!_OS 20.04 LTS install for the last few months as well. Only happens when I play on Valve server (MM, DM, watching a MM game). An hour ago I've tried 3 things at the same time, and it seemed to have helped a lot:
-
Set net_maxroutable to 576 and net_splitrate to 100, as per LennyBruh
-
Disable steam overlay
-
Add -threads 3 to my launch options (I have a CPU with 4 cores, 4 threads, so 1 less than that is set.)
I might try to find out which combination of those settings did it exactly. But basically now I don't get the lock held messages in the console, and my game feels a lot smoother in a MM game.
Side notes:
-
I've kept net_client_steamdatagram_enable_override 1 from a previous attempt to fix this.
-
uname -a: Linux pop-os 5.9.0-8.2-liquorix-amd64 #1 ZEN SMP PREEMPT liquorix 5.9-4ubuntu1~focal (2020-11-11) x86_64 x86_64 x86_64 GNU/Linux
@spider3000 these property changes don't seem to change anything in my case. There's possibly a wider set of issues that is causing these error messages.
@spider3000 @timvisee I also just tried using the proposed properties but had no luck. I still got the same network issue massages and lags.