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

All information about input lag in Dota 2

Open Bliddddddd3 opened this issue 11 months ago • 0 comments

Description

I have been studying dota behavior for about a year and a half or two years, including trying to understand what causes delays and I will say that not only after February 8-9 things got bad, I would like to share information, I will divide it into 5 blocks for convenience 1 - other problems that may be related to the delay that has occurred 2 - a questionable method that sometimes helps a little bit. 3 - what were the problems before February 8-9 4 - how the game feels after the fixes from the developers 5 - it's just the whole story after February 8-9, just for the sake of completeness.

block 1

Along with the input lag in Dota 2, several other things broke in the game, perhaps they are related to the problem

  1. The move attack animation trick is broken https://github.com/ValveSoftware/Dota2-Gameplay/issues/15886

  2. Сhanges in video settings, it's may have something to do with input lag https://github.com/ValveSoftware/Dota2-Gameplay/issues/15884

Why video.txt and video.txt.bak were moved from the root folder of the game. C:\Program Files (x86)\Steam\steamapps\common\dota 2 beta\game\dota\cfg. to the path C:\Program Files (x86)\Steam\userdata\userid\570\local\cfg.

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

  2. 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

Bonus: There is another change, it was before Feb 8-9, but it also changed the behavior of the game, perhaps the input lag problem has an earlier start, so I thought I'd mention this change

approximate date 16.07.2023 5) Not working game trivia, which can also be related to input lag https://github.com/ValveSoftware/Dota2-Gameplay/issues/15885

some more guesswork 6. New commands are added to the game and the values of old ones are changed, maybe they are the reason?

  1. I'm using full screen mode, can the display modes have any effect on the problems with dota itself? I'm writing for a reason. Why does dota initially put the "window without frames" mode, is it poorly optimized for full screen?

Block 2

• When you change the graphics in the game, the situation may improve a little bit, but the lag is somehow in a bad condition

Block 3

• Previously in Dota 2 things were not so good either. If you created different lobbies, then in each game the delay could be felt differently, somewhere stronger, somewhere weaker, but it was always felt. It feels like the servers have change jitter or they just have different quality

• 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 • In cs2 by the way the same problem (after alt-tab the physics of shooting and movement changed). Not the most pleasant feature of the engine

Block 4

After jeffhill's post "2 weeks ago" We just shipped a client update that we believe fixes the client input latency bug. Please let me know if you see the problem in any new matches!

The game has started working much better, but it's not perfect yet, also I started to play on the values of rate 1000000; cl_updaterate 60; cl_interp_ratio 0; cl_clock_recvmargin_enable 0.

Perhaps they also affected something, in general I would like the developers to designate the best values for the minimum delay, or if necessary update these values, fix them and hide them from the console. and also updated the values in the video.txt config.

And in general I checked both singly and together such variations of values:

rate 1000000/80000/0; cl_updaterate 30/60; cl_interp_ratio 0/1/2; +cl_clock_recvmargin_enable 0/1; cl_lagcompensation true/false; cl_clock_correction true/false;

Block 5 (My story)

• On February 8-9, Dota 2 started having problems with input lag.

• In hero tryout mode the problem is less noticeable, in online matches it hurts as much as possible.

• Strafes have become longer, the character takes longer to react to presses, takes longer to turn around, it feels like the hero's projectile is flying longer. •The moment you kill the creeps and the moment you get paid for it seem out of sync. • Pressing a lot of buttons also feels very uncomfortable for example: spell+strife+attack, etc. / combo of spells + items, now feels with a big delay

• For understanding, sometimes before I had to change the region and my ping grew almost 2 times from 39 to +-70, this difference was not pleasant to me, BUT. • Now playing on a ping of 39, I feel the lag is PERceptibly more than when from 39 it grew to +-70. It's absurd.

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

• How has the game changed these days? what files were uploaded/changed? Is there a build of the game before this update? Have new commands been added or have existing commands been changed from old to new values? Has the network code of the game been changed?

• I checked on two computers, installed different operating systems (standard configured and optimized), different versions of drivers, just in case I checked with my provider that I have a stable Internet connection, the problem is definitely in the game.

• When you change the graphics in the game, the situation may improve a little bit, but the lag is somehow in a bad condition

• Can there be dependencies on values in console commands, especially if new ones are added?

I really want the developers to be able to fix all the problems, both old and recent, I wish you luck, I hope we can help you in some way

Example Match ID (and possibly Timestamp)

No response

Screenshots

No response

Bliddddddd3 avatar Mar 13 '24 08:03 Bliddddddd3