Lower latency with a PS/2 adapter?

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.
DICKTracy
Posts: 50
Joined: 15 Mar 2014, 16:04

Lower latency with a PS/2 adapter?

Post by DICKTracy » 05 Jul 2014, 16:45

I know that PS/2 has a lower input lag than USB, but if I have a mechanical USB keyboard, will I get the benefit of lower input lag if I simply use a PS/2 adapter?

Q83Ia7ta
Posts: 761
Joined: 18 Dec 2013, 09:29

Re: Lower latency with a PS/2 adapter?

Post by Q83Ia7ta » 05 Jul 2014, 18:40

Yes and the difference is so tiny that hardly can be noticed.
Last edited by Q83Ia7ta on 05 Jul 2014, 20:38, edited 2 times in total.

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

Re: Lower latency with a PS/2 adapter?

Post by flood » 05 Jul 2014, 19:40

imo main advantage of ps2 is full nkro

User avatar
RealNC
Site Admin
Posts: 3757
Joined: 24 Dec 2013, 18:32
Contact:

Re: Lower latency with a PS/2 adapter?

Post by RealNC » 05 Jul 2014, 21:18

Most keyboards don't work with a PS/2 adapter. The adapter only works with keyboards that actually support PS/2. Many USB keyboards these days have dropped PS/2 support and won't work with an adapter. Keyboards that do work with PS/2 usually state that clearly in their spec and in most cases already ship with a USB-to-PS/2 adapter included.

Also, you won't get n-key rollover just by connecting to PS/2. The keyboard itself must support this feature. PS/2 merely allows this, it doesn't guarantee it. My keyboard is a pure PS/2 one that doesn't support USB at all (I bought it in 2001, 13 years ago) and it can't handle more than three simultaneous key presses.

And last but not least, the difference in input lag between 1000Hz USB gaming keyboards and PS/2 is virtually non-existent.
SteamGitHubStack Overflow
The views and opinions expressed in my posts are my own and do not necessarily reflect the official policy or position of Blur Busters.


silikone
Posts: 57
Joined: 02 Aug 2014, 12:27

Re: Lower latency with a PS/2 adapter?

Post by silikone » 16 Aug 2014, 18:44

What is the polling rate of USB keyboards? As USB mice go up to 1000Hz, they should in theory be more responsive than PS/2 mice at 200Hz, but I never see people talk about this when it comes to keyboards.

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

Re: Lower latency with a PS/2 adapter?

Post by flood » 16 Aug 2014, 20:19

probably 125hz

silikone
Posts: 57
Joined: 02 Aug 2014, 12:27

Re: Lower latency with a PS/2 adapter?

Post by silikone » 19 Oct 2014, 18:05

I've studied the USB HID specification, and it turns out that the polling rate is set by a byte in the device ROM. A USB 1.0 frame is 1ms, hence the max of 1000Hz for gaming mice. Most mice I tested had bytes set to something higher, correlating with microseconds, but interestingly, a mouse was set to 10ms, but it updated as if it were set to 8ms. Probably rounding by Windows. I checked my keyboard, and I was pleasantly surprised when I saw that it was set to 1ms.
Still, might as well use PS/2 just to save some CPU cycles.

blargg
Posts: 66
Joined: 20 Sep 2014, 03:59

Re: Lower latency with a PS/2 adapter?

Post by blargg » 19 Oct 2014, 20:04

I've casually made some USB HID devices *using low-speed USB mode* (using V-USB) and found that the OS generally limits the polling rate for HID devices to 8ms (125Hz), even if the device specifies less. It also polls it at 8ms even if the device specifies 10ms. Linux (and Windows and possibly OS X I've read) can be told to ignore this and poll at 1ms (1000Hz), which tends to work for many things.

EDIT: the above applies only to low-speed USB devices. I've found that others aren't affected and work at whatever polling rate the device requests.
Last edited by blargg on 20 Oct 2014, 17:40, edited 2 times in total.

silikone
Posts: 57
Joined: 02 Aug 2014, 12:27

Re: Lower latency with a PS/2 adapter?

Post by silikone » 20 Oct 2014, 17:03

Are you sure? Because my G400 reports at 1000Hz without installing any drivers.

Post Reply