Dota2-Gameplay icon indicating copy to clipboard operation
Dota2-Gameplay copied to clipboard

Input lag 28/3/2024

Open Bliddddddd3 opened this issue 2 years ago • 32 comments

Description

28/3/2024 20:42 Match 7659229790

There was an increased input delay last night.

  1. The character was delayed in responding after a left mouse button click
  2. When moving an item to a different slot, the action was delayed, which can be seen in the video.

Twitch recording Time: 6 sec /// The moment I move the wind waker (slot X) to replace the Hex (slot C). https://github.com/ValveSoftware/Dota2-Gameplay/assets/135523246/3821509f-95c4-476f-8161-bb5e93675abe

Dota 2 demo On a Dota 2 replay, it looks like this: https://github.com/ValveSoftware/Dota2-Gameplay/assets/135523246/4d11a62e-d85a-4aff-8b0c-4fe3614987af

• Also please note that this was before and after the recent notorious problem with input lag.

• I also tested on the standard values of console commands and on other values, the problem is exactly different

I'll also remind you of the problems we had earlier. (8-9 Feb.)

• Also before when there were packet losses (ultra rare), • it was always in/out 1/1, now 1/0.

• After the update, there was a problem, now when you change the language all binds do not work, if you check the box "use key position", which fixes the work of binds, the game sometimes behaves strangely

• Before the problems with input lag (8-9 feb), after a few alt-tabs the The responsiveness of the game was getting unpleasant, though not as much

Example Match ID (and possibly Timestamp)

No response

Screenshots

No response

Bliddddddd3 avatar Mar 29 '24 20:03 Bliddddddd3

I've noticed that some games have immediate lag and usually the longer the game lasts, the worse the responsiveness in the game is

Bliddddddd3 avatar Mar 29 '24 21:03 Bliddddddd3

#15559 Possible related same issue.

IgorHoruzha avatar Mar 30 '24 06:03 IgorHoruzha

Could You provide Your PC Settings, please?

IgorHoruzha avatar Mar 30 '24 06:03 IgorHoruzha

Could You provide Your PC Settings, please?

What settings we're talking about, I don't quite understand. I can send you my computer configuration and Dota 2 settings

Windows 10 Pro 22H2 buil 19044.1288 RTX 3070 Msi gaming z trio Ryzen 7 5700X OEM 4475 ghz 16gb ram 3600 14/14/14/14/28 m2 samsung 970 evo plus nvme

Dota 2 settings image

Bliddddddd3 avatar Mar 30 '24 12:03 Bliddddddd3

compute shaders checked, in my case 0 positive effects

Bliddddddd3 avatar Mar 30 '24 12:03 Bliddddddd3

Internet driver is up to date, video driver is up to date.

Bliddddddd3 avatar Mar 30 '24 12:03 Bliddddddd3

I've also noticed that from game to game, the lag feels different.

Aeswaaaaa avatar Mar 30 '24 21:03 Aeswaaaaa

@Bliddddddd3 Do You experience the issue without streaming on Twitch?

IgorHoruzha avatar Mar 31 '24 09:03 IgorHoruzha

@Aeswaaaaa @Bliddddddd3 @jeffhill

It appears that uploading excessive data can cause a spike in ping. If this spike is brief, it might not be visible in the network information display located in the top right corner of Dota. (In my case spike was not brief).This could explain the discrepancy. I managed to replicate the input lag that closely resembles this behavior by utilizing Speedtest.net. My upload latency is 50-300 some why and 160 in average but Ping is only 1(25-37 to Dota 2 servers). And uploading a lot of data makes ping up to ~400.

IgorHoruzha avatar Mar 31 '24 09:03 IgorHoruzha

@Aeswaaaaa @Bliddddddd3 @jeffhill

It appears that uploading excessive data can cause a spike in ping. If this spike is brief, it might not be visible in the network information display located in the top right corner of Dota. (In my case spike was not brief).This could explain the discrepancy. I managed to replicate the input lag that closely resembles this behavior by utilizing Speedtest.net. My upload latency is 50-300 some why and 160 in average but Ping is only 1(25-37 to Dota 2 servers). And uploading a lot of data makes ping up to ~400.

I can't say exactly how the lag is felt without streaming, I've been running a broadcast almost every time I start Dota for a long time now, I'll be actively testing today and will be able to give an accurate answer

But I can confidently say that when I start the broadcast, playing Dota 2, will continuously feel the added lag, it is not big, but it is there. And in single player and in other online games (cs, valorant, etc.) the impact of the stream is not felt. I spend the most time on dota and it's a shame that this is what's happening to it.

I also tested running the stream via OBS on very low settings and on high, the negative effect on latency will be either way. What I showed in the video is not the default during the broadcast, it is already abnormal in my experience

Again I remind you, after Dragon Hoard update, in/out graphs started to show different information, before I had losses (very rare), it was 1/1, now it's 1/0.

Bliddddddd3 avatar Mar 31 '24 14:03 Bliddddddd3

[Client] cl_ticktiming. . . . . TOTAL: 138.1ms (directly measured, may not be sum of below) [Client] Sending User Commands . . : 28.1ms [Client] FirstInput -> NetSend . : 0.0ms [Client] Network latency . . . . : 19.5ms (assumed, RTT=39ms) [Client] Server recv margin. . . : 8.5ms (cl_tickpacket_desired_queuelength = 1) [Client] Server sim. . . . . . . . : 8.5ms [Client] Receiving server updates. : 100.5ms [Client] Network latency . . . . : 19.5ms (assumed, RTT=39ms) [Client] Client recv margin. . . : 8.3ms (6.5ms + 1.8ms due to frame quantization) [Client] Client interpolation. . : 33.3ms (cl_interp_ratio = 1) [Client] Render interpolation. . : 33.3ms [Client] Client sim + other . . .: 3.7ms [Client] Render. . . . . . . . . : 2.3ms [Client] Server tick 73116 was not available when we needed it, arrived -72.9ms too late [Client] Server tick 73117 dropped and we were not able to hide it using interpolation [Client] cl_ticktiming. . . . . TOTAL: 138.9ms (directly measured, may not be sum of below) [Client] Sending User Commands . . : 28.4ms [Client] FirstInput -> NetSend . : 0.0ms [Client] Network latency . . . . : 19.5ms (assumed, RTT=39ms) [Client] Server recv margin. . . : 8.9ms (cl_tickpacket_desired_queuelength = 1) [Client] Server sim. . . . . . . . : 8.3ms [Client] Receiving server updates. : 102.3ms [Client] Network latency . . . . : 19.5ms (assumed, RTT=39ms) [Client] Client recv margin. . . : 9.8ms (6.7ms + 3.1ms due to frame quantization) [Client] Client interpolation. . : 33.3ms (cl_interp_ratio = 1) [Client] Render interpolation. . : 33.3ms [Client] Client sim + other . . .: 3.9ms [Client] Render. . . . . . . . . : 2.4ms [Client] cl_ticktiming. . . . . TOTAL: 138.9ms (directly measured, may not be sum of below) [Client] Sending User Commands . . : 27.6ms [Client] FirstInput -> NetSend . : 0.0ms [Client] Network latency . . . . : 19.5ms (assumed, RTT=39ms) [Client] Server recv margin. . . : 8.1ms (cl_tickpacket_desired_queuelength = 1) [Client] Server sim. . . . . . . . : 8.4ms [Client] Receiving server updates. : 102.3ms [Client] Network latency . . . . : 19.5ms (assumed, RTT=39ms) [Client] Client recv margin. . . : 8.2ms (6.0ms + 2.2ms due to frame quantization) [Client] Client interpolation. . : 33.3ms (cl_interp_ratio = 1) [Client] Render interpolation. . : 33.3ms [Client] Client sim + other . . .: 4.9ms [Client] Render. . . . . . . . . : 3.0ms [Client] Server tick 73506 was not available when we needed it, arrived 9.6ms too late [Client] Server tick 73507 was not available when we needed it, arrived 22.2ms too late [Client] Server tick 73508 was not available when we needed it, arrived -13.7ms too late [Client] Server tick 73509 dropped and we were not able to hide it using interpolation

Bliddddddd3 avatar Apr 02 '24 02:04 Bliddddddd3

I two days testing played a lot of mm and lobby, yet in different games, the lag is also felt differently, although I always play with an identical set-up, network settings in dota did not touch, always ping stable, but responsiveness varies

Bliddddddd3 avatar Apr 02 '24 13:04 Bliddddddd3

Could You check Your latency, please? Were all the games with stream or any other background processes that use Network(Like Google Chrome or so on)?

IgorHoruzha avatar Apr 02 '24 14:04 IgorHoruzha

I also have a lot of messages like. 04/02 17:43:48 [Client] Server tick 354 dropped and we were not able to hide it using interpolation.

IgorHoruzha avatar Apr 02 '24 14:04 IgorHoruzha

image

Bliddddddd3 avatar Apr 03 '24 01:04 Bliddddddd3

@Bliddddddd3 It looks really nice. Could You please check the latency when this issue occurs? Additionally, could You verify if the issue arises concurrently with Your ping checks? Have You experienced similar issues in any other online games? I would also recommend trying a continuous ping test to steamcommunity.com (using the Windows Command Prompt with the command ping steamcommunity.com -t) while You are playing, to monitor if Your Ping remains stable.

319099107-01044a3b-0bbe-47de-8016-988312b43f9b Green Block is what happened when I had started checking ping using SpeedTest.

The purpose is to understand where is the issue. On Your PC, Ethernet... or in Dota 2 application. Do You use WiFi or cable Ethernet?

IgorHoruzha avatar Apr 03 '24 08:04 IgorHoruzha

Here is the result of ping test with speedtest enabled: https://youtu.be/rr4_2C2yWq0 I'm using an ethernet cable

The latency is always different in Dota, I don't even need to restart Dota 2 itself, I can play in any game mode (all pick / custom lobby) and there and there the latency will always be different.

I logged into Valorant, with speedtest enabled the ping is the same as in cmd.exe

While doing this, the responsiveness of the game is still as nice

In Dota 2, as I checked and wrote above, I don't even need to run broadcast or Speedtest, it just happens by itself

If I can provide more detailed information, please advise how I can do so, I'm not too strong in data collection

And just for the record the internet driver latency and driver latency in general is excellent for me

Bliddddddd3 avatar Apr 04 '24 01:04 Bliddddddd3

@IgorHoruzha I decided to do the same as you, play dota with speedtest enabled, it couldn't artificially cause the lag. As I said it happens at completely random moments and seems to be for completely different reasons

Bliddddddd3 avatar Apr 04 '24 05:04 Bliddddddd3

@Bliddddddd3 Your Ethernet latency is nice. Could You also attempt to play Dota 2 while running the command 'ping steamcommunity.com -t' in the CMD, and, if any lag occurs, could You check whether the ping remains stable, please? We're looking for any spikes in ping.

Which server do you usually play on?

IgorHoruzha avatar Apr 04 '24 13:04 IgorHoruzha

@Bliddddddd3 Your Ethernet latency is nice. Could You also attempt to play Dota 2 while running the command 'ping steamcommunity.com -t' in the CMD, and, if any lag occurs, could You check whether the ping remains stable, please? We're looking for any spikes in ping.

Which server do you usually play on?

Ok, I'll play dota with cmd.exe enabled, I'll report the results tomorrow

I play on stockholm server, on other servers the difference in ping is almost double for me

I also heard information, but it's just a rumor, one streamer absolutely refuses to play on Stockholm servers, he thinks they are unstable/laggy.

Bliddddddd3 avatar Apr 04 '24 13:04 Bliddddddd3