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

Input lag /инпут лаг

Open vitaliyghost93 opened this issue 1 year ago • 60 comments

Description

Hello, I’ve been experiencing a consistent input lag in Dota 2 for a long time, even though my system runs the game smoothly with high FPS and stable frametime. The delay feels like the hero reacts a bit slower to mouse and keyboard inputs compared to other games such as CS2.

I’ve changed my PC hardware several times over the years, and the issue has been present on every setup. Interestingly, back in 2022 I played on an office laptop with integrated graphics, and the input felt noticeably more responsive there, even at lower FPS.


System specs (current):

GPU: RTX 2060 Super

CPU: Ryzen 5 5600

PSU: Seasonic Focus Gold 550 W

Monitor: ASUS VG259Q3A (180 Hz, DisplayPort connection)

OS: Windows 10 / Windows 11 (tested both)

All drivers, BIOS, and chipset updated


Game settings:

Renderer: tested both Vulkan and DirectX 11

Graphics: all set to Low

V-Sync: Off

FPS max 0 → frametime ~2–3 ms (but uneven line)

FPS max 240 → frametime ~5–6 ms (smoother, but feels slightly delayed)

Raw Input: On

Stable ping: 30–40 ms


What I tested / ruled out:

Clean Windows and driver installs

Different PCs and laptops

Different mice and USB ports (rear motherboard ports)

DisplayPort and HDMI cables

Different frame caps

Monitor Overdrive settings

No background apps running


Expected result: Instant and precise response to input at high FPS and low frametime.

Actual result: Noticeable micro-delay and slightly “rubbery” feeling in input and camera movement, even though performance graphs look perfect.


Request: Please check if there’s an additional input buffer or internal frame queue in Dota 2 that could cause extra delay even under stable conditions.

Example Match ID (and possibly Timestamp)

No response

Screenshots

No response

vitaliyghost93 avatar Oct 10 '25 20:10 vitaliyghost93

Same for me

delesway avatar Oct 11 '25 08:10 delesway

Hello, could You record a video of the issue, please?

Possibly related #24408

IgorHoruzha avatar Oct 11 '25 12:10 IgorHoruzha

Здравствуйте, можете ли Вы записать видео этой проблемы?

Возможно связано с #24408

Hello, the link you provided leads to another topic with exactly the same issue — everything matches one to one. The problem can’t be fixed by any setting or optimization. I can record a video with my smartphone, but I’m sure the delay won’t be visible there, since it’s something you can only feel when sitting at your own PC.

vitaliyghost93 avatar Oct 11 '25 13:10 vitaliyghost93

All the metrics and benchmarks look fine — no overheating, stable internet connection. Frametime is around 2–3 ms, and FPS ranges from 300–400 when uncapped. Limiting it to match the monitor refresh rate (180 Hz/FPS) doesn’t fix the issue, it only increases frame time.

Overall, I believe this problem has existed for about a year or even longer, and it’s still not fixed. I really hope it will be addressed soon.

vitaliyghost93 avatar Oct 11 '25 13:10 vitaliyghost93

There are additional metrics that may be useful to consider.

Image

+dota_debug_change_cursor_during_pending_order 1 +dota_report_order_latency true

First one change cursor while the actions is under way. It helps to identify whether side the latency is (server or client side). Second one shows in numbers the time in console.

Usually 1 action takes 50-100ms(mostly ~60-80ms) in console if ping is ~35ms.

IgorHoruzha avatar Oct 11 '25 13:10 IgorHoruzha

I can record a video with my smartphone, but I’m sure the delay won’t be visible there, since it’s something you can only feel when sitting at your own PC.

It makes sense to use OBS Studio or Graphic card recorder like Nvidia Instant Replay or Radeon Instant Replay.

If the video will be different to You actually see on the screen it makes sense to use Your phone or any third part recorder. This way is possible the issue is monitor related or something unknown at least for Me at least for now. But it does not meter that there are no chances to understand the roots.

IgorHoruzha avatar Oct 11 '25 13:10 IgorHoruzha

Я могу записать видео на свой смартфон, но уверен, что задержка там не будет видна, так как ее можно почувствовать, только сидя за своим компьютером.

Имеет смысл использовать OBS Studio или средство записи видео с графической карты, например Nvidia Instant Replay или Radeon Instant Replay.

Если видео отличается от того, что вы видите на экране, имеет смысл использовать телефон или любой сторонний диктофон. В этом случае проблема может быть связана с монитором или чем-то ещё, что мне пока неизвестно. Но это не означает, что нет никаких шансов понять причину.

Can these two commands be tested during a ranked match, or only in the hero test/lobby? I remember trying the first command, but the cursor didn’t change color at all. I also tried recording a video with OBS to check — it looked the same on the recording. I can’t blame the monitor since it’s new — an ASUS TUF Gaming VG259Q3A 180Hz, only two months old. I’m using the DisplayPort cable that came with it. I also tried using ExitLag, thinking it might be a routing issue or bad route to the server, but it didn’t help — the ping actually got higher. My ping is around 30–40 to Europe, 40 to Russia.

What else would you recommend checking?

vitaliyghost93 avatar Oct 11 '25 14:10 vitaliyghost93

It is not necessarily full match video at first. Just a moment when the issue happened. It may look some like this way.

https://github.com/user-attachments/assets/fcc83f0d-4bbb-4e78-bcd3-92c5ab9b9870

8505817817 22:03-22:04

In fact, the issue on the video became rarely and almost no noticeable. It is the first or the second time in about month of playing. So is possible Ethernet related.

IgorHoruzha avatar Oct 11 '25 14:10 IgorHoruzha

Сначала это не обязательно полное видео. Просто момент, когда возникла проблема. Это может выглядеть примерно так.

Запись.2025-10-11.171808.mp4 8505817817 22:03-22:04

На самом деле, проблема с видео стала проявляться реже и почти незаметна. Это первый или второй раз за месяц игры. Возможно, проблема связана с Ethernet.

The problem occurs throughout the entire match — specifically after the gong when the creeps start moving to the lanes. It’s noticeable in movement, turning, and last hitting, and it lasts until the end of the game. Should I really consider changing my internet provider? If many players are experiencing the same issue — as you yourself shared a topic describing it — then my situation is identical. I can’t check ping to the game servers using third-party apps or run a proper traceroute to the actual in-match server, since Valve keeps those servers hidden. In the “Demo Hero” mode everything feels perfectly smooth and responsive, but I know it’s not just me — my friends have the exact same issue as well.

vitaliyghost93 avatar Oct 11 '25 14:10 vitaliyghost93

There’s no solid reason to blame my internet provider. The game doesn’t show any packet loss, my connection speed is stable according to Speedtest, and I’m using a fiber-optic connection. I also tried connecting directly to the PC through the terminal, bypassing the router, but it didn’t solve the problem.

vitaliyghost93 avatar Oct 11 '25 14:10 vitaliyghost93

Can these two commands be tested during a ranked match, or only in the hero test/lobby? I remember trying the first command, but the cursor didn’t change color at all.

It changes for a very short time if everything is fine. To see it may be useful to rewatch the record in 0.1x - 0.25x speed time.

The commands set globally so You can see one of them in console one of them on the screen.

Example:

https://github.com/user-attachments/assets/8343c611-73ee-4794-a0ab-f3d02ebaf683

IgorHoruzha avatar Oct 11 '25 14:10 IgorHoruzha

Should I really consider changing my internet provider?

Let's start with spotting the side of the issue. If the issue is not ethernet related than it will give no effect.

The fastest way to check different provider is sharing ethernet from Your mobile phone (USB Tethering) and see how it will affect the issue. Be careful with mobile traffic to avoid using all the traffic very fast.

IgorHoruzha avatar Oct 11 '25 14:10 IgorHoruzha

Можно ли протестировать эти две команды во время рейтингового матча или только в тесте героя/лобби? Помню, как попробовал первую команду, но курсор вообще не изменил цвет.

Если всё в порядке, то он меняется на очень короткое время. Чтобы убедиться в этом, полезно пересмотреть запись на скорости 0,1x–0,25x.

Команды заданы глобально, поэтому вы можете увидеть одну из них в консоли, одну из них на экране.

Пример:

Без названия.видео.-.Сделано.с.Clipchamp.2.mp4

I have the same MS values — 30–60 — in the console. But that’s all in demo mode. In an actual match, the situation is completely different — in demo mode there’s no real load from the server or tickrate.

vitaliyghost93 avatar Oct 11 '25 14:10 vitaliyghost93

I have the same MS values — 30–60 — in the console.

Let's check the numbers in an actual match.

IgorHoruzha avatar Oct 11 '25 14:10 IgorHoruzha

I also recommend using Nvidia Instant Replay to be able to record and then review the timings frame by frame and calculate actual latency.

IgorHoruzha avatar Oct 11 '25 14:10 IgorHoruzha

Стоит ли мне действительно задуматься о смене интернет-провайдера?

Давайте начнём с определения стороны проблемы. Если проблема не связана с Ethernet, то это не даст никакого эффекта.

Самый быстрый способ проверить другого провайдера — предоставить общий доступ к Ethernet с вашего мобильного телефона (USB-модем) и посмотреть, как это повлияет на проблему. Будьте осторожны с мобильным трафиком, чтобы не использовать его слишком быстро.

My internet plan here isn’t the best, it’s fine for videos and movies. According to Speedtest, I get around 60–70 Mbps download, and in Dota my ping is 60–80. It’s only gotten worse, I’ve tested this before."

vitaliyghost93 avatar Oct 11 '25 14:10 vitaliyghost93

Pretty high ping. High ping may be the reason. I have latency ~80 with ping of 35. So, Your actual latency in console may be ~125-155 it this ping the effect is essentially much noticeable.

To test whether it is ping related, create a lobby on the server with higher ping. And see whether the effect became much noticeable.

IgorHoruzha avatar Oct 11 '25 14:10 IgorHoruzha

У меня в консоли такие же значения МС — 30–60.

Давайте проверим цифры в реальном матче.

"Okay, I’ll record a video again using OBS or Nvidia Instant, but how do I measure the exact delay? I don’t really understand—do I need to shoot it in slow motion or something? And then calculate it myself? What would that even tell me? How would I know if it’s my PC or the engine/updates at fault?

vitaliyghost93 avatar Oct 11 '25 14:10 vitaliyghost93

Довольно высокий пинг. Высокий пинг может быть причиной. У меня задержка около 80 при пинге 35. Таким образом, ваша реальная задержка в консоли может быть около 125-155, при таком пинге эффект будет весьма заметен.

Чтобы проверить, связано ли это с пингом, создайте лобби на сервере с более высоким пингом. И посмотрите, стал ли эффект заметен.

But this isn’t mobile internet — it’s my regular provider, with a stable 30 ms and no packet loss, at least if we trust the in-game counter.

vitaliyghost93 avatar Oct 11 '25 14:10 vitaliyghost93

  1. The numbers in console.
  2. Exact moment in game when You feel the delay captured on video. The full latency may be calculated by measuring time frame by frame. Just record a video, and then there are some ways to watch it in slow motion.

IgorHoruzha avatar Oct 11 '25 14:10 IgorHoruzha