useplatformtick and/or disabledynamictick on mouse 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.
MatrixQW
Posts: 278
Joined: 07 Jan 2019, 10:01

Re: useplatformtick and/or disabledynamictick on mouse input lag

Post by MatrixQW » 27 May 2021, 15:31

Did you apply any tweaks to Windows?
Are you overclocking cpu/gpu/memory?

I was playing for 1 hour and don't have issues.
Just noticed I'm using RTC (useplatformtick yes).
My CPU is an I5-4690K and no problems as you can see.
Attachments
timers.jpg
timers.jpg (17.96 KiB) Viewed 7641 times

ashrr
Posts: 50
Joined: 21 Jun 2019, 10:12

Re: useplatformtick and/or disabledynamictick on mouse input lag

Post by ashrr » 27 May 2021, 17:15

MatrixQW wrote:
27 May 2021, 15:31
Did you apply any tweaks to Windows?
Are you overclocking cpu/gpu/memory?

I was playing for 1 hour and don't have issues.
Just noticed I'm using RTC (useplatformtick yes).
My CPU is an I5-4690K and no problems as you can see.
Same thing on default BIOS settings and clean Windows install.
CPU at 4.7ghz, Mem at 4000 C16, RTX 3080 undervolted at 1865mhz but had the same issue with a GTX 1080.
I also don't have any issues with my 5th gen intel laptop just my desktop.

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

Re: useplatformtick and/or disabledynamictick on mouse input lag

Post by MatrixQW » 27 May 2021, 17:26

I would start by using stock frequencies for CPU and GPU, and XMP profile for memory.
Also in BIOS disable CPU turbo mode and power savings.
What motherboard do you have?
If it's ASUS you can try a few things.

I'm gonna try with the synthetic timer but it shouldn't cause issues since it was implemented to avoid exactly this type of problem.

1000WATT
Posts: 391
Joined: 22 Jul 2018, 05:44

Re: useplatformtick and/or disabledynamictick on mouse input lag

Post by 1000WATT » 27 May 2021, 18:45

MatrixQW wrote:
27 May 2021, 15:31
Just noticed I'm using RTC (useplatformtick yes).
How is "using RTC" related to "(useplatformtick yes)"?
I often do not clearly state my thoughts. google translate is far from perfect. And in addition to the translator, I myself am mistaken. Do not take me seriously.

MT_
Posts: 113
Joined: 17 Jan 2017, 15:39

Re: useplatformtick and/or disabledynamictick on mouse input lag

Post by MT_ » 27 May 2021, 19:20

1000WATT wrote:
26 May 2021, 10:34
deama wrote:
25 May 2021, 17:03
He's gone ahead and tested the input lag and performance difference of various known tweaks, how more credible can you get?
This will become reliable if everyone in the world has a 100% identical assembly (pc components (one revision), os, drivers, settings).
Precisely because everything is different for everyone, there are so many contradictions over the course of the decades.
MT_ wrote:
23 May 2021, 08:30
pox02 wrote:
22 May 2021, 14:21
this one

Image
Gotta work on that 99th percentile ;-)
What do you have in mind?
99th percentile - Frame time counter 99% of the time.
And by the way, the result of pox02 is better than yours, if you take the jitter of the frame time as a reference point.
MT_ max 5.34 99% 0.97 4.37
pox02 max 4.68 99% 1.27 3.41
MT_ wrote:
21 May 2021, 09:32
If you really want a proper OS with minimal jitter/input latency and overhead, you should start using LTSC and remove/disable any optional/unnecessary elements from the OS to get it down to the bare minimum.
you advertise your art as "minimal jitter / input latency and overhead"
And you don't notice the obvious things.
This was not my best score though, but frametimes fluctuate it's just how it is :-)

If you run dozens of these tests eventually you'll get the lowest possible one :P

Also I was being sarcastic and not really serious lol.
Attachments
TimerBench.png
TimerBench.png (16.07 KiB) Viewed 7586 times
LTSC 21H2 Post-install Script
https://github.com/Marctraider/LiveScript-LTSC-21H2

System: MSI Z390 MEG Ace - 2080 Super (300W mod) - 9900K 5GHz Fixed Core (De-lid) - 32GB DDR3-3733-CL18 - Xonar Essence STX II

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

Re: useplatformtick and/or disabledynamictick on mouse input lag

Post by MatrixQW » 28 May 2021, 04:31

1000WATT wrote:
27 May 2021, 18:45
MatrixQW wrote:
27 May 2021, 15:31
Just noticed I'm using RTC (useplatformtick yes).
How is "using RTC" related to "(useplatformtick yes)"?
It's not related, it is it.
Same way useplatformclock uses HPET.

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

Re: useplatformtick and/or disabledynamictick on mouse input lag

Post by MatrixQW » 28 May 2021, 06:33

MT_ wrote:
23 May 2021, 08:30
pox02 wrote:
22 May 2021, 14:21
this one

Image
Gotta work on that 99th percentile ;-)

Makes no sense to test things in 640x480 windowed since you will never play like that.
Be real and test your monitor's native resolution in fullscreen.

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

Re: useplatformtick and/or disabledynamictick on mouse input lag

Post by MatrixQW » 28 May 2021, 06:55

Here is mine if you want to compare.
Attachments
timerbench.jpg
timerbench.jpg (140.98 KiB) Viewed 7471 times

MT_
Posts: 113
Joined: 17 Jan 2017, 15:39

Re: useplatformtick and/or disabledynamictick on mouse input lag

Post by MT_ » 28 May 2021, 09:53

MatrixQW wrote:
28 May 2021, 06:33
MT_ wrote:
23 May 2021, 08:30
pox02 wrote:
22 May 2021, 14:21
this one

Image
Gotta work on that 99th percentile ;-)

Makes no sense to test things in 640x480 windowed since you will never play like that.
Be real and test your monitor's native resolution in fullscreen.
Excuse me? How would you know my real use case scenario? Most of the games I play, I play CPU bound.

Either way I completely disagree with your statement. GPU/Drivers come way later in the complete OS -> Game -> Screen pipeline.

The chances of frametime fluctuation causes etc are much higher at the beginning of the pipeline. Think OS, game engine, etc.

Hence the reason why investing in a good CPU/Memory, before spending big cash on a GPU has much more impact on frametime stability/smoothness despite the maximum/avg achievable FPS.

It makes perfect sense to
run this at 640x480 unless you specifically want to observe GPU specific attributes, but in that case you're probably better off with a different test utility altogether.

As for windowed/fullscreen I'm pretty sure that's totally out of the scope of timerbench or
this whole thread. You might want to test with presentmon or CapframeX or anything that can actually measure windowed/full screen differences.
LTSC 21H2 Post-install Script
https://github.com/Marctraider/LiveScript-LTSC-21H2

System: MSI Z390 MEG Ace - 2080 Super (300W mod) - 9900K 5GHz Fixed Core (De-lid) - 32GB DDR3-3733-CL18 - Xonar Essence STX II

1000WATT
Posts: 391
Joined: 22 Jul 2018, 05:44

Re: useplatformtick and/or disabledynamictick on mouse input lag

Post by 1000WATT » 28 May 2021, 12:11

MatrixQW wrote:
28 May 2021, 04:31
1000WATT wrote:
27 May 2021, 18:45
MatrixQW wrote:
27 May 2021, 15:31
Just noticed I'm using RTC (useplatformtick yes).
How is "using RTC" related to "(useplatformtick yes)"?
It's not related, it is it.
I have no more questions 8-)
I often do not clearly state my thoughts. google translate is far from perfect. And in addition to the translator, I myself am mistaken. Do not take me seriously.

Post Reply