(INTEL ONLY) An easy way to instantly lower input latency

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.
Kyouki
Posts: 193
Joined: 20 Jul 2022, 04:52

Re: (INTEL ONLY) An easy way to instantly lower input latency

Post by Kyouki » 07 Apr 2023, 01:50

timecard wrote:
01 Apr 2023, 22:34
This is interrupt moderation for Intel USB xhci controllers, Windows 8 and 10 both use 50 microsecond (us) interrupt moderation rate by default. It might help if you have mouse with more than 1000hz polling rate otherwise won't do much.
Got any source or backupped article or something relevant like this for this statement?

Been wondering why 1000hz + setting in some games resulted in light -to- massive stutter while moving the mouse.

Edit, nvm:
https://www.techpowerup.com/review/evga-x12/6.html
CPU: AMD R7 5800x3D ~ PBO2Tuner -30 ~ no C states
RAM: Gskill Bdie 2x16gb TridentZ Neo ~ CL16-16-16-36 1T ~ fine tuned latency
GPU: ASUS TUF 3080 10G OC Edition(v1/non-LHR) ~ disabled Pstates ~ max oced
OS: Fine tuned Windows 10 Pro, manual tuned.
Monitor: Alienware AW2521H ~ mix of ULMB/Gsync @ 240hz/360hz
More specs: https://kit.co/Kyouki/the-pc-that-stomps-you

vhagar
Posts: 12
Joined: 27 Sep 2022, 05:10

Re: (INTEL ONLY) An easy way to instantly lower input latency

Post by vhagar » 07 Apr 2023, 11:06

I was curious about the findings and possible uses for this tweak, here's a overclock thread that goes over the steps mentioned in the video:

https://www.overclock.net/threads/usb-p ... t-28661620

dougg0k
Posts: 65
Joined: 06 Jun 2023, 12:11

Re: (INTEL ONLY) An easy way to instantly lower input latency

Post by dougg0k » 26 Jun 2023, 19:50

I built an automated script for this, can anyone test?

https://github.com/dougg0k/gaming_os_tw ... on_usb.ps1

If you find any issues, can you post at https://github.com/dougg0k/gaming_os_tweaker/issues/12

Does anyone know anything about AMD controllers in this matter? If it's the same formatting of the address or something else?

sherifmagdy32
Posts: 121
Joined: 08 Jan 2022, 23:43

Re: (INTEL ONLY) An easy way to instantly lower input latency

Post by sherifmagdy32 » 27 Jun 2023, 01:33

dougg0k wrote:
26 Jun 2023, 19:50
I built an automated script for this, can anyone test?

https://github.com/dougg0k/gaming_os_tw ... on_usb.ps1

If you find any issues, can you post at https://github.com/dougg0k/gaming_os_tweaker/issues/12

Does anyone know anything about AMD controllers in this matter? If it's the same formatting of the address or something else?
RW doesnot work on win 11 do you have a solution for this ?

dougg0k
Posts: 65
Joined: 06 Jun 2023, 12:11

Re: (INTEL ONLY) An easy way to instantly lower input latency

Post by dougg0k » 27 Jun 2023, 08:40

Not yet, it seems that the command itself with no-gui should be working, but the address does not always ends with 2024. So the implementation is not yet 100%.

There is a conversation going here https://github.com/djdallmann/GamingPCSetup/issues/12 and I left information in that issue 12 in my repo.

sherifmagdy32
Posts: 121
Joined: 08 Jan 2022, 23:43

Re: (INTEL ONLY) An easy way to instantly lower input latency

Post by sherifmagdy32 » 27 Jun 2023, 09:25

dougg0k wrote:
27 Jun 2023, 08:40
Not yet, it seems that the command itself with no-gui should be working, but the address does not always ends with 2024. So the implementation is not yet 100%.

There is a conversation going here https://github.com/djdallmann/GamingPCSetup/issues/12 and I left information in that issue 12 in my repo.
This what i get when i run the script
Attachments
Untitled.png
Untitled.png (45.16 KiB) Viewed 2364 times

dougg0k
Posts: 65
Joined: 06 Jun 2023, 12:11

Re: (INTEL ONLY) An easy way to instantly lower input latency

Post by dougg0k » 27 Jun 2023, 09:30

How many USB Controllers do you have? I suppose there are edge cases where the memory range is not available, unless I can get more information on that, I can only add a check and ignore them.

Can you check all other controllers you have and get information about them, like resources tab among other details? If you want, you can post at the github in issues, to not polute the post here.

dougg0k
Posts: 65
Joined: 06 Jun 2023, 12:11

Re: (INTEL ONLY) An easy way to instantly lower input latency

Post by dougg0k » 27 Jun 2023, 12:58

Now I was able to resolve the issue in Win11, I am now able to run the gui version of both tools.

Code: Select all

Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\HypervisorEnforcedCodeIntegrity" -Name "Enabled" -Value 0 -Force -Type Dword -ErrorAction Ignore
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios" -Name "HypervisorEnforcedCodeIntegrity" -Value 0 -Force -Type Dword -ErrorAction Ignore
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\DeviceGuard" -Name "EnableVirtualizationBasedSecurity" -Value 0 -Force -Type Dword -ErrorAction Ignore
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\SystemGuard" -Name "Enabled" -Value 0 -Force -Type Dword -ErrorAction Ignore
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\CI\Config" -Name "VulnerableDriverBlocklistEnable" -Value 0 -Force -Type Dword -ErrorAction Ignore
https://rweverything.com/
https://github.com/Faintsnow/HE

But still I am unable to solve the problem of grabbing the remaining address space value. That is the final piece if the steps from djdallmann are correct.

https://github.com/djdallmann/GamingPCS ... al-bus-usb

Well, for AMD I also would need to confirm, because it could have a different value from 24 and even in memory it could be in a different place, therefore have a different value, but not sure.

I am able to code if I find a way to grab the value, but in the memory matter, I have zero understanding, so unless someone else appears to help, not sure that it can be resolved as to know what is the correct value to grab for AMD that is.

dougg0k
Posts: 65
Joined: 06 Jun 2023, 12:11

Re: (INTEL ONLY) An easy way to instantly lower input latency

Post by dougg0k » 27 Jun 2023, 15:56

I was able to resolve and finish the script for Intel, it should be complete if the instructions from djdallmann are correct.

But still it would be good for others to test and give feedback.

https://github.com/dougg0k/gaming_os_tw ... on_usb.ps1

But not yet for AMD, no info was found.

sherifmagdy32
Posts: 121
Joined: 08 Jan 2022, 23:43

Re: (INTEL ONLY) An easy way to instantly lower input latency

Post by sherifmagdy32 » 27 Jun 2023, 18:11

dougg0k wrote:
27 Jun 2023, 15:56
I was able to resolve and finish the script for Intel, it should be complete if the instructions from djdallmann are correct.

But still it would be good for others to test and give feedback.

https://github.com/dougg0k/gaming_os_tw ... on_usb.ps1

But not yet for AMD, no info was found.
This time it gave the same error i was getting when i tried to open rw
and this was the output
if you want me to find something from the device manager for the controller let me know what you looking for and i will send it
Attachments
Untitled.png
Untitled.png (112.58 KiB) Viewed 2232 times

Post Reply