r/programming • • Dec 15 '18

The Best Programming Advice I Ever Got (2012)

http://russolsen.com/articles/2012/08/09/the-best-programming-advice-i-ever-got.html
1.7k Upvotes

313 comments sorted by

View all comments

Show parent comments

1

u/alluran Dec 16 '18

Can you tell the difference between COD and Battlefield?

How about Doom and either of those titles?

Aaand now for the killer: https://www.eurogamer.net/articles/digitalfoundry-2017-console-fps-input-lag-tested

-2

u/[deleted] Dec 16 '18

I havn't played those on console, I only play on PC. I also havn't placed those titles on PC. I use a logitech mouse, which have lower latencies, and a mechanical PS/2 keyboard which has very little latency. I havn't really researched it, but theoretically the input lag ought to be about ~33MS or so on average? That would assume 1 MS of keyboard latency (probably lower, PS/2 is a hardware interrupting protocol, so there is negligible latency unless the control board is shitty, which I doubt because every single key is wired individually in my keyboard AKA no N-key rollover), 8.333MS of "stale-frame" latency (aka the frame drawn to my screen was sitting in the buffer completed for half a frame, while my GPU goes on to work on the next frame), 16.66MS of latency between frames. Of course, I am neglecting to account inter-thread communication of the physics engine and renderer, because I believe most modern games interpolate between syncing. This would leave about ~33MS of average-case latency, on a single-player game. Of course, I don't have the tools to actually measure this, but it's probably a good rough estimate.

Console games are generally targeted towards a more casual user base, who will be using TVs with terrible input latency to boot, and controllers which are god-awful for aiming and need to be paired with a bot to actually aim for you.