Board 8 > Interesting post about video and input latency [John Carmack]

Topic List
Page List: 1
OmarsComin
05/11/12 1:17:00 AM
#1:


I can send an IP packet to Europe faster than I can send a pixel to the screen. How f’d up is that?

John Carmack is one of the dudes in the game industry who has expressed concerned with how much an issue latency and input/display lag is becoming as we move forward in video game technology. And that it's not really receiving that much attention. Which lead to the above quote, and this thread:

http://superuser.com/questions/419070/transatlantic-ping-faster-than-sending-a-pixel-to-the-screen/419167#419167

After some skepticism was expressed by other people, he posted this:

The time to send a packet to a remote host is half the time reported by ping, which measures a round trip time.

The display I was measuring was a Sony HMZ-T1 head mounted display connected to a PC.

To measure display latency, I have a small program that sits in a spin loop polling a game controller, doing a clear to a different color and swapping buffers whenever a button is pressed. I video record showing both the game controller and the screen with a 240 fps camera, then count the number of frames between the button being pressed and the screen starting to show a change.

The game controller updates at 250 Hz, but there is no direct way to measure the latency on the input path (I wish I could still wire things to a parallel port and use in/out Sam instructions). As a control experiment, I do the same test on an old CRT display with a 170 Hz vertical retrace. Aero and multiple monitors can introduce extra latency, but under optimal conditions you will usually see a color change starting at some point on the screen (vsync disabled) two 240 Hz frames after the button goes down. It seems there is 8 ms or so of latency going through the USB HID processing, but I would like to nail this down better in the future.

It is not uncommon to see desktop LCD monitors take 10+ 240 Hz frames to show a change on the screen. The Sony HMZ averaged around 18 frames, or 70+ total milliseconds.

This was in a multimonitor setup, so a couple frames are the driver's fault.

Some latency is intrinsic to a technology. LCD panels take 4-20 milliseconds to actually change, depending on the technology. Single chip LCoS displays must buffer one video frame to convert from packed pixels to sequential color planes. Laser raster displays need some amount of buffering to convert from raster return to back and forth scanning patterns. A frame-sequential or top-bottom split stereo 3D display can't update mid frame half the time.

OLED displays should be among the very best, as demonstrated by an eMagin Z800, which is comparable to a 60 Hz CRT in latency, better than any other non-CRT I tested.

The bad performance on the Sony is due to poor software engineering. Some TV features, like motion interpolation, require buffering at least one frame, and may benefit from more. Other features, like floating menus, format conversions, content protection, and so on, could be implemented in a streaming manner, but the easy way out is to just buffer between each subsystem, which can pile up to a half dozen frames in some systems.

This is very unfortunate, but it is all fixable, and I hope to lean on display manufacturers more about latency in the future.


Interesting stuff. On the bright side, it means that solutions are available if an effort is made to focus on making a latency-free environment for gaming. If this interests you at all, I suggest reading the link. It's good stuff.

--
http://www.youtube.com/watch?v=npHDxSvwCE0
... Copied to Clipboard!
Rad Link 5
05/11/12 1:21:00 AM
#2:


This interests me a ton. Thanks.

--
Ace Detective in Sir Chris' Police
http://i1189.photobucket.com/albums/z430/RadLink5/valdez.gif
... Copied to Clipboard!
OmarsComin
05/11/12 1:24:00 AM
#3:


np

I'm curious about the OLED displays he mentioned, and how they should be able to match CRT in display lag and pixel response time. gotta do some research.

--
http://www.youtube.com/watch?v=npHDxSvwCE0
... Copied to Clipboard!
Ngamer64
05/11/12 1:24:00 AM
#4:


Hmmm, neat.

--
thengamer.com/guru thengamer.com/xstats board8.wikia.com
Best Show ever? Our interview of Guru Champ SuperNiceDog!
... Copied to Clipboard!
Rad Link 5
05/11/12 1:30:00 AM
#5:


One day, we'll be able to play fighting games by streaming the visuals right into our brain.

--
Ace Detective in Sir Chris' Police
http://i55.tinypic.com/2e1ubuw.gif
... Copied to Clipboard!
OmarsComin
05/11/12 1:33:00 AM
#6:


if we did that we would think our characters were moving before we pushed any buttons

our nervous system + brain has like half a second of delay before it can synthesize information? something like that. I remember there being a test where they wired people up so that brain impulses would activate a button as people decided to push it. and that the result of that was that people thought the button was pushed before they decided to do it. crazy!

--
http://www.youtube.com/watch?v=npHDxSvwCE0
... Copied to Clipboard!
Rad Link 5
05/11/12 1:36:00 AM
#7:


Brings a completely different meaning to yomi.

Also "something-something UmeShoryu."

--
Ace Detective in Sir Chris' Police
http://fast1.onesite.com/capcom-unity.com/user/jgonzo/large/4958fc9d9dfd6917713402cae21a3e0e.png
... Copied to Clipboard!
Topic List
Page List: 1