Timer Resolution from 15ms to 1ms [Turn 60Hz-feel into 240Hz-feel on 240Hz]

Everything about latency. This section is mainly user/consumer discussion. (Peer-reviewed scientific discussion should go in Laboratory section). Tips, 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.
MatrixQW
Posts: 309
Joined: 07 Jan 2019, 10:01

Re: Timer Resolution from 15ms to 1ms [Turn 60Hz-feel into 240Hz-feel on 240Hz]

Post by MatrixQW » 23 Sep 2024, 23:37

Slender wrote:
22 Sep 2024, 21:59
w11 uses tsc + rtc tick by default but it work better then w10 (tsc + rtc tick).
Why do you think RTC is default? Do you have any source of information?
W10 before 2004 version, timer shows RTC=0,5/1 and TSC=0,496/0,996. W11 shows equal values.

I have W11, bcdedit by default with timer=1,0000, measuresleep shows Sleep=1,996x constantly, and timer=0,5000 shows Sleep=1,494.
Now, I set useplatformtick yes, with timer=1,0000, measuresleep shows Sleep=1,996x but also unstable lower values, and timer=0,5000 shows Sleep=1,5 which is the sum of both. Bcdedit default has Sleep=1,494 which means RTC is not the one being used.
Also, seems RTC can't have Sleep lower than 1,5 with timer at 0,5xxx (0,51 as a safe value). This is what @JimCarry is experiencing.

Anyway, I always felt the timer at 0,5 seems to create a weird delay and games/apps already set the timer to 1ms which is what they need and is enough, so it's kind of pointless to set it any lower.
If TSC is default like I think it is, then 'disabledynamictick yes' should actually help.

User avatar
Slender
Posts: 1548
Joined: 25 Jan 2020, 17:55

Re: Timer Resolution from 15ms to 1ms [Turn 60Hz-feel into 240Hz-feel on 240Hz]

Post by Slender » 23 Sep 2024, 23:39

MatrixQW wrote:
23 Sep 2024, 23:37
Slender wrote:
22 Sep 2024, 21:59
w11 uses tsc + rtc tick by default but it work better then w10 (tsc + rtc tick).
Why do you think RTC is default? Do you have any source of information?
W10 before 2004 version, timer shows RTC=0,5/1 and TSC=0,496/0,996. W11 shows equal values.

I have W11, bcdedit by default with timer=1,0000, measuresleep shows Sleep=1,996x constantly, and timer=0,5000 shows Sleep=1,494.
Now, I set useplatformtick yes, with timer=1,0000, measuresleep shows Sleep=1,996x but also unstable lower values, and timer=0,5000 shows Sleep=1,5 which is the sum of both. Bcdedit default has Sleep=1,494 which means RTC is not the one being used.
Also, seems RTC can't have Sleep lower than 1,5 with timer at 0,5xxx (0,51 as a safe value). This is what @JimCarry is experiencing.

Anyway, I always felt the timer at 0,5 seems to create a weird delay and games/apps already set the timer to 1ms which is what they need and is enough, so it's kind of pointless to set it any lower.
If TSC is default like I think it is, then 'disabledynamictick yes' should actually help.
because only rtc you can set +0.001 tick 1000KHz

MatrixQW
Posts: 309
Joined: 07 Jan 2019, 10:01

Re: Timer Resolution from 15ms to 1ms [Turn 60Hz-feel into 240Hz-feel on 240Hz]

Post by MatrixQW » 24 Sep 2024, 00:00

You either didn't read my post or didn't understand it.
I explained there is a difference with timer=0,5000 in the Sleep value between 'bcdedit default' vs 'bcdedit /set useplatformtick yes' (this one is RTC).
If RTC were the timer being used by default, Sleep should have the same value but it's different.

User avatar
Slender
Posts: 1548
Joined: 25 Jan 2020, 17:55

Re: Timer Resolution from 15ms to 1ms [Turn 60Hz-feel into 240Hz-feel on 240Hz]

Post by Slender » 24 Sep 2024, 00:29

MatrixQW wrote:
24 Sep 2024, 00:00
You either didn't read my post or didn't understand it.
I explained there is a difference with timer=0,5000 in the Sleep value between 'bcdedit default' vs 'bcdedit /set useplatformtick yes' (this one is RTC).
If RTC were the timer being used by default, Sleep should have the same value but it's different.
yes, it 1ms vs 2ms.

syanidi
Posts: 1
Joined: 24 Sep 2024, 01:15

Re: Timer Resolution from 15ms to 1ms [Turn 60Hz-feel into 240Hz-feel on 240Hz]

Post by syanidi » 24 Sep 2024, 01:20

how to fix the issue where the value changes to 0.500 and increases the delta to 1.5ms when games are running? dpclat increases from 0.30 to 999
Attachments
2024-09-24 161649.png
2024-09-24 161649.png (61.29 KiB) Viewed 7723 times

JimCarry
Posts: 586
Joined: 24 May 2024, 20:01
Location: csgo

Re: Timer Resolution from 15ms to 1ms [Turn 60Hz-feel into 240Hz-feel on 240Hz]

Post by JimCarry » 24 Sep 2024, 21:39

since no one is answering i delete all bcdedit commands and delete islc and dpclat.exe.i dont know if it works, or if its placebo or not, but since no one proving or saying anything, i delete them both and return to default bcdedit.

MatrixQW
Posts: 309
Joined: 07 Jan 2019, 10:01

Re: Timer Resolution from 15ms to 1ms [Turn 60Hz-feel into 240Hz-feel on 240Hz]

Post by MatrixQW » 25 Sep 2024, 00:14

JimCarry wrote:
24 Sep 2024, 21:39
since no one is answering i delete all bcdedit commands and delete islc and dpclat.exe.i dont know if it works, or if its placebo or not, but since no one proving or saying anything, i delete them both and return to default bcdedit.
I pretty much answered here:
MatrixQW wrote:
23 Sep 2024, 23:37
Also, seems RTC can't have Sleep lower than 1,5 with timer at 0,5xxx (0,51 as a safe value). This is what @JimCarry is experiencing.

Anyway, I always felt the timer at 0,5 seems to create a weird delay and games/apps already set the timer to 1ms which is what they need and is enough, so it's kind of pointless to set it any lower.
If TSC is default like I think it is, then 'disabledynamictick yes' should actually help.
Also, the problem with having dpclat.exe running is that it eats cpu cycles, has a ton of dpc calls.
You did the right thing, there is no need to set the timer manually and lower than 1ms.
Only thing that might help the system a little bit is 'bcdedit /set disabledynamictick yes' and even this is not really necessary.
On W11 you can use the regedit GlobalTimerResolutionRequests but Microsoft changed this behaviour for a reason and is that each app should have their own timer value.

MatrixQW
Posts: 309
Joined: 07 Jan 2019, 10:01

Re: Timer Resolution from 15ms to 1ms [Turn 60Hz-feel into 240Hz-feel on 240Hz]

Post by MatrixQW » 25 Sep 2024, 05:30

Chief Blur Buster wrote:
18 Sep 2024, 18:32
Timer event granularity is a big rabbit hole, and different motherboards and different OSes (Win10 vs Win11) use different defaults -- but higher timer resolution definitely improves latency in many games, as long as the higher timer resolution is not overloading the computer.

On one hand, high timer-event precision and/or frequencies can thrash a CPU core, slowing framerates down.
On the other hand, 15ms vs 1ms is definitely a human-feelable jitter & latency improvement depending on lag context (see Milliseconds Matters).

In stutter variances, 15ms is like almost four 240Hz refresh cycles, aka a major stutter.
In absolute latency, 15ms is like a 15 pixel lagbehind at 1000 pixels/sec
In latency variance, [0..15ms] is like a [0..15] pixel sudden off-misaim at 1000 pixels/sec
Etc.

Your sawtooth is a proven latency variance and a potential accompanying stutter varance, turning 240Hz into 60Hz-feel. 240Hz monitors can feel worse than 60Hz monitors when given a terrible 15ms timer granularity.

Many people don't need to do this tweak because many computer already ship with 1ms timer resolution by default. But not all do, and that can be a problem oneself needs to solve.
https://youtu.be/BWNBIgByRjM
I made a video that shows the stuttering of the rocket model in the client caused when the local server running on my PC sets 1ms but runs at 15ms instead. This is a case where GlobalTimerResolutionRequests=1 solves it.
I then switch the color of the rocket to green to make the stuttering more visible.

https://learn.microsoft.com/en-us/windo ... eginperiod
"Starting with Windows 11, if a window-owning process becomes fully occluded, minimized, or otherwise invisible or inaudible to the end user, Windows does not guarantee a higher resolution than the default system resolution."

windows-timer-resolution-the-great-rule-change

User avatar
themagic
Posts: 465
Joined: 02 Jul 2024, 08:22

Re: Timer Resolution from 15ms to 1ms [Turn 60Hz-feel into 240Hz-feel on 240Hz]

Post by themagic » 25 Sep 2024, 06:13

for me all this hpet dynamictick and timer reslution tweaks makes no more differences here...everything same bad desynced with random pure shit hitreg experience.

but in early days i remember that it worked here and i knew about this bcdedit tweaks all before the issue become very hard noticeable here and unplayable for me here and those tweaks rly give some improvement and was stable working with my AMD system somewhere in 2018/19 but after even that dont help more and nothing of this don't works more as like I it remeber in old days...

everything started slow like for many guys here who are feel random improvements at night time hours when playing...but after it all suddenly turn into 24/7 pure random hell for me and bad forever and no matter what tweaks and windows OPTIMIZATIONS i tried after with bcdedit...no difference more or any sign of improvement or changes.

just some useless contribute from me to this all topic.

JimCarry
Posts: 586
Joined: 24 May 2024, 20:01
Location: csgo

Re: Timer Resolution from 15ms to 1ms [Turn 60Hz-feel into 240Hz-feel on 240Hz]

Post by JimCarry » 25 Sep 2024, 14:34

MatrixQW wrote:
25 Sep 2024, 00:14
JimCarry wrote:
24 Sep 2024, 21:39
since no one is answering i delete all bcdedit commands and delete islc and dpclat.exe.i dont know if it works, or if its placebo or not, but since no one proving or saying anything, i delete them both and return to default bcdedit.
I pretty much answered here:
MatrixQW wrote:
23 Sep 2024, 23:37
Also, seems RTC can't have Sleep lower than 1,5 with timer at 0,5xxx (0,51 as a safe value). This is what @JimCarry is experiencing.

Anyway, I always felt the timer at 0,5 seems to create a weird delay and games/apps already set the timer to 1ms which is what they need and is enough, so it's kind of pointless to set it any lower.
If TSC is default like I think it is, then 'disabledynamictick yes' should actually help.
Also, the problem with having dpclat.exe running is that it eats cpu cycles, has a ton of dpc calls.
You did the right thing, there is no need to set the timer manually and lower than 1ms.
Only thing that might help the system a little bit is 'bcdedit /set disabledynamictick yes' and even this is not really necessary.
On W11 you can use the regedit GlobalTimerResolutionRequests but Microsoft changed this behaviour for a reason and is that each app should have their own timer value.
Thanks, i did not did benchmarks but i can feel playing cs2,bcdedit default win 10 20H2 (19045)is best. Without islc.exe and without dpclat.exe,i also have hpet off in bios via scewin,and delete from task manager,and i thinks its best,my cpu is i5 6600,gpu rx 580.
Maybe these tweaks are good but for amd cpu.

Post Reply