Why my Timer Resolution is off by 0.0001 ms?

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.
Post Reply
RealTweaker
Posts: 27
Joined: 11 Jan 2024, 03:42

Why my Timer Resolution is off by 0.0001 ms?

Post by RealTweaker » 30 Jan 2024, 17:17

No matter what CMD prompts i use or whatever i do, my timer resolution is always 0.0001 lower than what i set it to.
This is really really weird and idk if it affects anything, but i really wanna know how to fix that or the reason.
timerresolution.png
timerresolution.png (3.92 KiB) Viewed 2296 times
MeasureSleep.png
MeasureSleep.png (24.69 KiB) Viewed 2296 times
Also in LatencyMon the latency is measured down to decimals 0.16546 0.56323 etc. and i remember before fresh windows install (i have windows 10) it was just natural numbers (im not sure though)
latencymon.png
latencymon.png (3.29 KiB) Viewed 2292 times
I use SetTimerResolution following this guide: https://github.com/amitxv/PC-Tuning/blo ... -precision by amitxv

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

Re: Why my Timer Resolution is off by 0.0001 ms?

Post by evmadic » 31 Jan 2024, 01:27

Looks like you need to disable synthetic timers and the high precision event timer. Make sure your running cmd prompt as administrator.
5800x3d, RTX 4070 ti, Acer Nitro XV252QF 390Hz
https://www.twitch.tv/evmadic

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

Re: Why my Timer Resolution is off by 0.0001 ms?

Post by RealTweaker » 31 Jan 2024, 16:16

evmadic wrote:
31 Jan 2024, 01:27
Looks like you need to disable synthetic timers and the high precision event timer. Make sure your running cmd prompt as administrator.
Yes brother i have HPET off in BIOS and device manager (On in bios + disabled in windows gives the same 0.0001 issue) and had synthetic timers disabled.
bcdedit enum.png
bcdedit enum.png (2.26 KiB) Viewed 1847 times
HPET.png
HPET.png (1.22 KiB) Viewed 1847 times
"bcdedit /deletevalue useplatformclock" does nothing as i don't have it in my windows (AtlasOS) -
An error occurred while attempting to delete the specified data element.
Element not found.
However "bcdedit /set useplatformclock no" turns it off, but does not help with my issue or change anything(?)
measuresleep2.png
measuresleep2.png (23.07 KiB) Viewed 1847 times
I had HPET ON before in BIOS as Fr33thy said u should (source)
However this dude says otherwise so i turned HPET OFF both windows and BIOS and found out that now i can lower my resolution to 5060 instead of 5120 with even better delta. Still of by 0.0001 though :roll:

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

Re: Why my Timer Resolution is off by 0.0001 ms?

Post by evmadic » 01 Feb 2024, 05:14

Disable HPET - bcdedit /deletevalue useplatformclock
I think this only works when you leave HPET on in bios?

My current and Max timers are both synced at .5 and I only used the above and:
Remove synthetic timers - bcdedit /set useplatformtick yes
5800x3d, RTX 4070 ti, Acer Nitro XV252QF 390Hz
https://www.twitch.tv/evmadic

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

Re: Why my Timer Resolution is off by 0.0001 ms?

Post by RealTweaker » 01 Feb 2024, 11:23

evmadic wrote:
01 Feb 2024, 05:14
Disable HPET - bcdedit /deletevalue useplatformclock
I think this only works when you leave HPET on in bios?

My current and Max timers are both synced at .5 and I only used the above and:
Remove synthetic timers - bcdedit /set useplatformtick yes
"Disable HPET - bcdedit /deletevalue useplatformclock" that's what i get in return: "An error occurred while attempting to delete the specified data element.
Element not found."
As you can see in my bcdedit /enum screenshot "useplatformtick" is set to yes
Turning HPET on/off in BIOS doesn't fix my issue

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

Re: Why my Timer Resolution is off by 0.0001 ms?

Post by evmadic » 02 Feb 2024, 08:27

RealTweaker wrote:
01 Feb 2024, 11:23
evmadic wrote:
01 Feb 2024, 05:14
Disable HPET - bcdedit /deletevalue useplatformclock
I think this only works when you leave HPET on in bios?

My current and Max timers are both synced at .5 and I only used the above and:
Remove synthetic timers - bcdedit /set useplatformtick yes
"Disable HPET - bcdedit /deletevalue useplatformclock" that's what i get in return: "An error occurred while attempting to delete the specified data element.
Element not found."
As you can see in my bcdedit /enum screenshot "useplatformtick" is set to yes
Turning HPET on/off in BIOS doesn't fix my issue
If you turn HPET on in bios and then "bcdedit /deletevalue useplatformclock", do you still get the error?
5800x3d, RTX 4070 ti, Acer Nitro XV252QF 390Hz
https://www.twitch.tv/evmadic

flowrush
Posts: 1
Joined: 03 Feb 2024, 18:22

Re: Why my Timer Resolution is off by 0.0001 ms?

Post by flowrush » 03 Feb 2024, 18:40

I presume this be because of the great rule change that started in Windows 10 2004+. The tweaker Amit explains this in his Github as well.

Post Reply