ValveSoftware / csgo-osx-linux

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

Panorama stutter caused by network issues #1803

Closed nairaner closed 5 years ago

nairaner commented 6 years ago

Your system information

Please describe your issue in as much detail as possible:

After connecting to official csgo servers I get stutter. This doesn't happen on community servers. Console is full of: steamnetworkingsockets_lowlevel.cpp (659) : Assertion Failed: SDR service thread gave up on lock after waiting 52ms. This directly adds to delay of processing of network packets! and steamnetworkingsockets_lowlevel.cpp (88) : Assertion Failed: SteamDatagramTransportLock held for 56.4ms! console log

Steps for reproducing this issue:

  1. Connect to any official server
  2. Watch console output
Spanguole commented 6 years ago

Due to this issue, even on supposedly 30ms ping, I have worse experience than playing on 200ms ping with 10% packet loss. Bloody unplayable. I can't believe valve removed scaleform when this (among with several other) critical issues are still lingering.

nairaner commented 6 years ago

The interesting part in my case is that i have 0% loss and I have no issues related to those network, just stutter

yhoogstrate commented 6 years ago

The interesting part in my case is that i have 0% loss and I have no issues related to those network, just stutter

I am having a similar issue (without package loss too) and it makes it practically impossible to decently play CSGO under linux. I tried the steam-native and steam-runtime (arch-linux) and flatpak installation, all having this problem. I am glad this issue has been reported. system-info I also have the impression that when loads of data are comming in, such as someone fireing up a machine gun an shooting hundreds of rounds, stutter increases.

image

bruenor80 commented 6 years ago

I have the same issue and have not been able to figure it out. I've tried verifying game file integrity, uninstalling/purging files and re-installing, I've verified that the ports are being properly forwarded(and tested), I've disabled SDR and re-enabled it. Prior to scaleform being removed I also tried playing with it instead of panorama - still had the same issue for me. I've downgraded video drivers from the latest to the Nvidia proprietary LTS version. No noticeable changes doing any of that.

System-info

I also get the impression that it happens when a lot is going on. I've noticed the worst by far is when a rush or something happens with a lot of smokes and stuff - it basically feels like I'm warping all over the place. I have not tested on community servers but I'll go do that now.

edit: Confirmed, not seeing the issue in community servers, but that does make sense given that it's an SDR error.

bruenor80 commented 6 years ago

Could this be something specific to Arch? So far everyone that has posted on this issue is running Arch or a derivative

yhoogstrate commented 6 years ago

edit: Confirmed, not seeing the issue in community servers, but that does make sense given that it's an SDR error.

I just tested and also did not experience it on a community server while I did experience it on official deathmatch minutes before that.

Three times Arch makes you indeed wonder whether it is a coincidence. Maybe it is important that we're all running kernel version 4.18, e.g. for reproducing the issue?

nairaner commented 6 years ago

Just tried LTS kernel 4 .14.68 and I didn't get any dropped packets, so it should be reported upstream

bruenor80 commented 6 years ago

Has either of you reported upstream yet? I didn't see anything in the Arch forums or bug tracker but don't want to duplicate reports.

babybeluga commented 6 years ago

I have same issue with Win 10:

untitled

I have same issue since Panorama update. Lag/stutter and lower/unsteady frames overall. The movement is noticeably choppy when walking around, even at 150~200 frames. Game is nearly unplayable now, with no hardware changes. I've noticed its much much worse on deathmatch servers. Other games are fine. I've uninstalled and reinstalled csgo twice. I've uninstalled gpu drivers and rolled back to older versions. Even running csgo on all min settings still stutters/lags, and the hardware isnt running at high load or hot anyway. Nothing works. About ready to give up.

Win10 i7 4790K r9 290x 20gb RAM

pbhj commented 6 years ago

I have same issue, it seems, with Kubuntu 18.04.

"Assertion Failed: SDR service thread gave up on lock after waiting" spammed to console. Jittering but FPS and ping don't show any change.

FWIW I have a couple of other problems, primarily that after 3-4 different maps (used to be 2-3, now I've slimmed back my system as much as possible it takes a little longer to show up) CSGO jitters, sound stutters, then system hangs. Eventually I can usually kill CSGO (eg from TTY) and system recovers fully, don't need to close Steam, just reload CSGO and I'm back to "normal" post-panorama level of performance. This appears to be related, when I check the console when jittering starts then this spamming of "Assertion Failed" is shown.

kiroma commented 6 years ago

I believe this is also directly influencing the frametimes, causing massive FPS drops and stutters. The game is nigh-unplayable on Linux now.

kiroma commented 6 years ago

This was fixed in the 2018-09-03 for me

nairaner commented 6 years ago

Its a lot better than it used to be, but the errors still happen. With kernel 4.14 I dont have any errors, so there is still some kind of issue, but stutter is greatly reduced

kiroma commented 6 years ago

Hm yeah I see it happening from time to time in between rounds. (Server not keeping up?)

yhoogstrate commented 6 years ago

The errors also still happen here.

edit: I did an arch + KDE update and it seems to have been seriously improved

sandikata commented 5 years ago

Not improved, even worst than before.

nairaner commented 5 years ago

I'm currently using linux 5.0.7 and i don't see messages related to networking in console anymore, so I believe this issue was solved either in kernel or in game. I will check latest LTS release (4.19), but if it doesn't happen there I will close the issue as it will be solved in all current releases.

It's also fixed in latest LTS release.

sandikata commented 5 years ago

Nothing fixed, it's even worst. Stutters, input lag, framedrops.. Doesn't matter low, medium or high graphics.