This Is How I Fixed My Input Lag

Everything about latency. Tips, testing methods, mouse lag, display lag, game engine lag, network lag, whole input lag chain, VSYNC OFF vs VSYNC ON, and more! Input Lag Articles on Blur Busters.
Foul Play
Posts: 3
Joined: 10 Oct 2023, 19:22

This Is How I Fixed My Input Lag

Post by Foul Play » 28 Feb 2024, 05:42

For some reason, ether there's a bug with Windows' HAL or I found a way to brute-force Windows' to use the CPU Cache over the System RAM etc and but setting the Registry Key values in the attachment and following this Power-shell script fixed my input-lag: viewtopic.php?f=10&t=13044.

The Registry Keys are related to how Windows detects the amount of CPU Cache ether Reg Key Value or HAL.

I'm using a 5800X3D which has 100-ish Megabytes of Cache so this might not benefit lower CPU Cache amount and I have no other systems to test this on, I can't test it out.

That's all the tweaks I did on a fresh Windows 10 and 11 Home.
I've been playing GTA IV and CS2 and mouse is now 1-1 for me. I'm testing more games as I post this.

Maybe this will help people so GLHF.

System:
5800X3D
X570S
32GB @ 3600 CL16-16-16-16-38
RTX A4000/RTX 3060 12GB
980 Pro NVMe 2TB SSD
Windows 11/10 Home
Attachments
reg.1.png
reg.1.png (108.31 KiB) Viewed 4809 times

TooManyPixels
Posts: 52
Joined: 07 Apr 2020, 21:39

Re: This Is How I Fixed My Input Lag

Post by TooManyPixels » 01 Mar 2024, 23:55

The thread that you linked to doesn’t mention the cache registry values - google isn’t telling me much either - can you tell us more about them?

Foul Play
Posts: 3
Joined: 10 Oct 2023, 19:22

Re: This Is How I Fixed My Input Lag

Post by Foul Play » 02 Mar 2024, 17:17

TooManyPixels wrote:
01 Mar 2024, 23:55
The thread that you linked to doesn’t mention the cache registry values - google isn’t telling me much either - can you tell us more about them?
I thought people could see the image attached to the post, my bad.

The Registry names are:

Code: Select all

FirstLevelDataCache

Code: Select all

SecondLevelDataCache

Code: Select all

ThirdLevelDataCache
in:

Code: Select all

Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management
All keys are set to in Hex:

Code: Select all

ffffffff

User avatar
Chief Blur Buster
Site Admin
Posts: 11653
Joined: 05 Dec 2013, 15:44
Location: Toronto / Hamilton, Ontario, Canada
Contact:

Re: This Is How I Fixed My Input Lag

Post by Chief Blur Buster » 03 Mar 2024, 23:21

Foul Play wrote:
02 Mar 2024, 17:17
I thought people could see the image attached to the post, my bad.
It shows up but it's not readable due to small text (image zooms down to small 1080p gaming monitor), unless I do the [URL=link][IMG]link[/IMG][/URL] trick.

Here is the clickable-zoomable version:

Image

I may have to modify the forum software to let people zoom attached images, especially on small screens and mobiles.
Head of Blur Busters - BlurBusters.com | TestUFO.com | Follow @BlurBusters on Twitter

Image
Forum Rules wrote:  1. Rule #1: Be Nice. This is published forum rule #1. Even To Newbies & People You Disagree With!
  2. Please report rule violations If you see a post that violates forum rules, then report the post.
  3. ALWAYS respect indie testers here. See how indies are bootstrapping Blur Busters research!

evmadic
Posts: 53
Joined: 20 Feb 2022, 04:13
Contact:

Re: This Is How I Fixed My Input Lag

Post by evmadic » 04 Mar 2024, 11:06

I have a 5800X3D and play competitive FPS, will test this tonight.

Unrelated: I just upgraded my stream PC's capture card from an HD60 Pro (capturing at 1080p 60fps via cloned desktop) to a 4K60 Pro (capturing at 1080p 240fps via cloned desktop). I upgraded because I wanted to stream at 120fps, I had no idea that my stream PC's capture card could effect input latency on my gaming PC... but after swapping out the old card I'm embarrassed to say that I've been playing with input lag for years.

To other dual PC streamers: Beware.
5800x3d, RTX 4070 ti, Acer Nitro XV252QF 390Hz
https://www.twitch.tv/evmadic

evmadic
Posts: 53
Joined: 20 Feb 2022, 04:13
Contact:

Re: This Is How I Fixed My Input Lag

Post by evmadic » 04 Mar 2024, 11:30

Foul Play wrote:
28 Feb 2024, 05:42
For some reason, ether there's a bug with Windows' HAL or I found a way to brute-force Windows' to use the CPU Cache over the System RAM etc and but setting the Registry Key values in the attachment and following this Power-shell script fixed my input-lag: viewtopic.php?f=10&t=13044.

The Registry Keys are related to how Windows detects the amount of CPU Cache ether Reg Key Value or HAL.

I'm using a 5800X3D which has 100-ish Megabytes of Cache so this might not benefit lower CPU Cache amount and I have no other systems to test this on, I can't test it out.

That's all the tweaks I did on a fresh Windows 10 and 11 Home.
I've been playing GTA IV and CS2 and mouse is now 1-1 for me. I'm testing more games as I post this.

Maybe this will help people so GLHF.

System:
5800X3D
X570S
32GB @ 3600 CL16-16-16-16-38
RTX A4000/RTX 3060 12GB
980 Pro NVMe 2TB SSD
Windows 11/10 Home
Do you have a way to measure CPU cache utilization? I have no doubt this made a difference in your system's performance, I'd just be interested to know why you conclude that your PC now prioritizes L3 cache using these settings.
5800x3d, RTX 4070 ti, Acer Nitro XV252QF 390Hz
https://www.twitch.tv/evmadic

cursed-gamer
Posts: 80
Joined: 16 Aug 2023, 13:07

Re: This Is How I Fixed My Input Lag

Post by cursed-gamer » 04 Mar 2024, 12:30

I have SecondLevelDataCache and LargeSystemCache only. What does it mean in that case?

TooManyPixels
Posts: 52
Joined: 07 Apr 2020, 21:39

Re: This Is How I Fixed My Input Lag

Post by TooManyPixels » 04 Mar 2024, 17:06

Foul Play wrote:
02 Mar 2024, 17:17
I thought people could see the image attached to the post, my bad.
What I meant was that I'd like to know how you found out that you should set these registry values in-particular, because they aren't mentioned in the forum thread you linked to.

ilnazareno
Posts: 4
Joined: 15 Feb 2024, 18:28

Re: This Is How I Fixed My Input Lag

Post by ilnazareno » 05 Mar 2024, 06:52

I'm testing it in like 1 hour, give feedback, same CPU.

RealTweaker
Posts: 27
Joined: 11 Jan 2024, 03:42

Re: This Is How I Fixed My Input Lag

Post by RealTweaker » 05 Mar 2024, 10:20

cursed-gamer wrote:
04 Mar 2024, 12:30
I have SecondLevelDataCache and LargeSystemCache only. What does it mean in that case?
Same for me, what should we change? Should we manually add FirstLevelDataCache and ThirdLevelDataCache values?

Post Reply