flood's input lag measurements

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.
User avatar
lexlazootin
Posts: 1251
Joined: 16 Dec 2014, 02:57

Re: flood's input lag measurements

Post by lexlazootin » 03 Dec 2016, 05:08

Yea, i want to test my whole system including my monitor. I would also like to test my mouse in the total latency but i'm not too sure how i would do that.

It doesn't even look like you guys want to test systems and games anymore, your goal is just to achieve a 0us overhead and split the atom while you're at it. :lol:

Ah shit, i forgot to ask what it better/easier? the teensy or Arduino?

Sparky
Posts: 682
Joined: 15 Jan 2014, 02:29

Re: flood's input lag measurements

Post by Sparky » 03 Dec 2016, 11:21

lexlazootin wrote:Yea, i want to test my whole system including my monitor. I would also like to test my mouse in the total latency but i'm not too sure how i would do that.

It doesn't even look like you guys want to test systems and games anymore, your goal is just to achieve a 0us overhead and split the atom while you're at it. :lol:

Ah shit, i forgot to ask what it better/easier? the teensy or Arduino?
They use the same chip(arduino micro/teensy 2.0), so given time they can both get to the same place. In this case Arduino/non arduino is more about the development environment. Many people use the Arduino development tools with a teensy. I think the Arduino development tools try to hide a bit too much from the user, so while it's easier to get started, it's harder to get down to the limits of what the hardware is capable.

In any case, you can look at the code for flood's and my input lag testers and see what's more to your taste.

flood
Posts: 929
Joined: 21 Dec 2013, 01:25

Re: flood's input lag measurements

Post by flood » 03 Dec 2016, 12:25

they're equally capable but teensy is smaller

(since you can install teensyduino whatever on teensy, and it's not entirely necessary to use arduino libraries and stuff for arduino)

flood
Posts: 929
Joined: 21 Dec 2013, 01:25

Re: flood's input lag measurements

Post by flood » 04 Dec 2016, 21:00

dx9test on main pc, using a crt:

https://docs.google.com/spreadsheets/d/ ... =639606112


edit: added lcd results for my viewsonic xg2703-gs (2560x1440, 165Hz :D)

it takes 10-35 white lines on the monitor to detect the light with my setup. brightness is max'd. so the additional input latency due to the sensitivity of my setup for this lcd screen is between 0.05 to 0.15ms.

so i believe this says that there's ~1.5 ms additional input latency from the monitor itself

spacediver
Posts: 505
Joined: 18 Dec 2013, 23:51

Re: flood's input lag measurements

Post by spacediver » 04 Dec 2016, 23:05

Awesome stuff :)

Looks like a mixed distribution (uniform + skewed normal). I'm assuming the uniform component is due to the USB polling (min: 0 us, max: 1000 us).

Any guesses about what's responsible for the skewed normal?

Also, do we know anything about the amount of time it takes for the digital signal in video card to be processed by the DAC, in the case of the CRT?

flood
Posts: 929
Joined: 21 Dec 2013, 01:25

Re: flood's input lag measurements

Post by flood » 05 Dec 2016, 14:14

when you add together distributions, the probabilty density function is a convolution, not summation

usb polling doesn't matter here. (explained in a previous post)

for now, all i know is that the long flat right tail for the crt results' histogram is due to vblank. i.e. when framebuffer is updated just as the screen is in the vblank part

no idea about dac performance. it could buffer a line or a few lines, which would add some 10s of microseconds.

spacediver
Posts: 505
Joined: 18 Dec 2013, 23:51

Re: flood's input lag measurements

Post by spacediver » 05 Dec 2016, 16:03

flood wrote:when you add together distributions, the probabilty density function is a convolution, not summation
Ah, you're right. I was thinking of a mixture distribution, where each trial expresses only one of the underlying phenomena. In this case, however, each trial is the result of multiple phenomena.

User avatar
lexlazootin
Posts: 1251
Joined: 16 Dec 2014, 02:57

Re: flood's input lag measurements

Post by lexlazootin » 06 Dec 2016, 04:55

Hey, would mind compiling the dx9 app for Windows for me please.

I did try and give it ago myself but i'm not really a pro and don't understand what's going on :?:

http://i.imgur.com/A45QQDX.png

flood
Posts: 929
Joined: 21 Dec 2013, 01:25

Re: flood's input lag measurements

Post by flood » 08 Dec 2016, 23:20

you're on 64bit right?

try this
http://www.filedropper.com/showdownload.php/test_343

left click or alt+f4 to close

User avatar
lexlazootin
Posts: 1251
Joined: 16 Dec 2014, 02:57

Re: flood's input lag measurements

Post by lexlazootin » 09 Dec 2016, 03:00

Ah perfect!

I just had to make sure to turn off V-Sync and i'm good to go! My computer does have a 9999fps cap for some reason though but it's good enough!

Thanks mate! :)

Edit: my fault, Fraps only checks up to 9999fps, my fps count was 16000.

Post Reply