protonscr

Counter-Strike high latency

steamclosed reviewedMOVED: Counter‐Strike
ValveSoftware/steam-for-linux#875 · opened 2013-01-25 by tananaev · updated 2017-03-29 · 12 comments · github
Ttananaev 2013-01-25 github

Latency in Tab menu is floating from 80 to 200 while net_graph shows stable ~50ms. I have never had such problems while playing using Wine, so I don't think Internet connection is causing this. Also, it seems like more players on the server causing higher latency. I tried different rate/cmdrate/updaterate, but nothing helps.

Ttananaev 2013-01-26 github

Looks like it happens only on some servers. At least it happens for me on this one - 119.252.190.93:27335.

Zz0id 2013-01-26 github

I noticed a general higher latency, too, especially when I'm shooting.
EDIT: when I shoot, choke jumps to 100.

TTheFrozenFire 2013-01-26 github

Having been a CS 1.6 player for many years, I can narrow down at least my own experience of this issue to fine movements. Walking/running and the act of firing itself seems to be unaffected. It is fine movements that seems to increase latency, such as aiming (especially quickly aiming), and responding to recoil.

Here are some images demonstrating the latency increase: http://imgur.com/zram2pj,4OsJMTf,F9EkHUv,tE7mg0Z
The first image is my baseline, when I'm looking directly towards an open space. The next images are taken when I'm moving my mouse to look around. The last is when I'm moving my mouse wildly.

A small increase in latency is to be expected, but 20-25ms increase is a bit much.

Here are my system specs, if it's of any assistance:

Processor Information:
    Vendor:  GenuineIntel
    Speed: 3401 Mhz
    8 logical processors
    4 physical processors
    HyperThreading:  Supported
    FCMOV:  Supported
    SSE2:  Supported
    SSE3:  Supported
    SSSE3:  Supported
    SSE4a:  Unsupported
    SSE41:  Supported
    SSE42:  Supported

Network Information:
    Network Speed:  

Operating System Version:
    Ubuntu 12.04.1 LTS (32 bit)
    Kernel Name:  Linux
    Kernel Version:  3.2.0-36-generic-pae
    X Server vendor:  The X.Org Foundation
    X Server release:  11103000

Video Card:
    Driver:  Intel Open Source Technology Center Mesa DRI Intel(R) Ivybridge Desktop x86/MMX/SSE2

    Driver Version:  3.0 Mesa 9.0
    Desktop Color Depth: 24 bits per pixel
    Monitor Refresh Rate: 60 Hz
    VendorID:  0x8086
    DeviceID:  0x162
    Number of Monitors:  1
    Number of Logical Video Cards:  1
    Primary Display Resolution:  1920 x 1080
    Desktop Resolution: 1920 x 1080
    Primary Display Size: 20.91" x 11.77"  (23.98" diag)
                                            53.1cm x 29.9cm  (60.9cm diag)
    Primary VRAM Not Detected

Sound card:
    Audio device: Intel PantherPoint HDMI

Memory:
    RAM:  16062 Mb

Miscellaneous:
    UI Language:  English
    LANG:  en_CA.UTF-8
    Microphone:  Not set
    Total Hard Disk Space Available:  229981 Mb
    Largest Free Hard Disk Block:  89611 Mb

Installed software:

Recent Failure Reports:
    Sat Jan 26 02:42:48 2013 GMT: file ''/tmp/dumps/assert_20130125184247_1.dmp'', upload yes: ''CrashID=bp-efe3e371-1f43-4b80-a07e-721a12130125''

Zz0id 2013-01-26 github

I put these settings in a cfg and things seem to be MUCH better. Perhaps the defaults are not sane.

rate "25000"
cl_updaterate "25"
cl_cmdrate "101"
cl_lw "1"
cl_lc "1"
cl_download_ingame "0"
ex_interp "0.05"

Ttananaev 2013-01-28 github

Tried those setting, they don't really help... latency is higher when there is a lot of action (shooting/a lot of players moving). For example when there are about 20 people on server at the beginning of the round I'm getting 200ms latency, but close to the end (when few people left alive) I'm getting almost normal latency about 80ms.

Hhasufell 2013-01-30 github

I also got choke problems. It's never 0 and jumps between 80 and 100 on a full server.

Before you say "internet connection" or "bad server": tested on multiple servers and alternatively under wine with the same config (and zero choke).

Aalfred-valve maintainer 2013-02-12 github

Set gl_vsync to 0 and then tell me if things are any better. The update today also had improvements to frame times.

Ttananaev 2013-02-12 github

I found what is causing my problem, looks like it was my mistake. Instead of setting rate to 25000 it was set to 2500. Looks like some servers just force this variable to some higher value, that's why I was getting good results on one servers and not others... sorry for raising this issue

Hhasufell 2013-02-12 github

@alfred-valve I already play with gl_vsync 0 and 100 fps as well as rate 25000

latency is not too bad, but there is still choke. You can see it when you open net_graph
same config, same server, same computer, but under wine: 0 choke

AAnAkkk 2013-02-13 github

@hasufell : what's your cl_updaterate and cl_cmdrate?

Have you tried to set your rate higher, to 50000 for example?

Hhasufell 2013-02-14 github

@AnAkIn1 yes, it seems rate wasn't set correctly although I have it in userconfig.cfg set to "25000" and that config is definitely parsed. I set it manually in the console now and that works

Kkisak-valve maintainer 2017-03-29 github

Closing as the original issue appears to have been resolved.

Nothing extracted yet.