Hot Pursuit’s New Lag Record

Many people this weekend will be unwrapping a copy of Criterion’s latest racer, Need For Speed: Hot Pursuit. However, some people may still be sitting on the sidelines wondering how a game which runs at 30 frames per second can compete with one that runs at the industry’s holy grail of 60fps, like Burnout Paradise did and of course Gran Turismo 5 aims for.

Criterion themselves are champions of 60fps but the Need For Speed franchise has been firmly entrenched in the 30fps camp, aiming for a cinematic rather than arcade feel. For Hot Pursuit, Criterion have adopted the series’ 30fps. This is where a lot of people tuned out, fearing that the halving of the frame rate will lead to a near doubling of controller response.

Firstly, there is the common perception that twice the framerate must automatically mean it’s better – which is fair enough, but there is another spin you can put on it by saying that you have double the amount of time available to  actually render the frame. This doubling of the render time has allowed Criterion to introduce a new range of technologies, like a Killzone 2 style deferred rendering which has allowed them to add an amazing level of detail and a gob-smacking 15km draw distance. It has also allowed for some fantastic looking lighting effects, which don’t have to wait for a replay mode to make an appearance.

The downside of this extra time is of course a potential near doubling of controller response, meaning that despite the graphical advantages of the doubling of the time available to render a frame, the trade-off of a laggy controller response just isn’t worth it.

Criterion have cracked this problem by incorporating some highly technical code-type voodoo, somewhere amongst the game’s code. Digital Foundry, as usual, are on hand to unearth what’s happening, speaking to Criterion’s Alex Fry who had this to say.

“The way the architecture works is to run the game simulation internally at 60FPS, and it’s polling the controller once for every simulation step so you get as up-to-date inputs as possible,”.

“The render code (building display lists for the GPU to consume the next frame) immediately follows the two controller poll/simulate loops, and then it waits for v-sync. Thus on CPU we get two 60FPS updates and one 30Hz render in a total of 33ms.

“When the CPU is done and v-sync is hit, the GPU kicks off and renders the scene while the next simulate/render frame happens in parallel on CPU. Once done the GPU also waits for v-sync (which also syncs it to the CPU), thus adding another 33ms. Then TV scan-out happens to get the final image to screen, which adds a final 16.6ms.”

The total of all this is 83ms which makes it just only one measly extra frame of response time over the industry-leading Burnout Paradise. Pretty astonishing given the graphical advantages of having twice as long to render the frame. This is a new record for a game running at 30fps and probably represents the theoretical limit of controller input, PC owners are also in for a record-breaking treat with a response time of 50ms, which is faster than any other previously tested game.

By running the game internally at 60fps but outputting at 30fps gamers get the best of both worlds. A highly responsive control system but also extra graphical effects, lighting and the incredible 15km draw distance that probably wouldn’t be possible if the rendering time was halved in order to push 60fps.

20 Comments

  1. Nothing to see here. That’s pretty standard procedure. What they have written is a very complicated obfuscated way of saying the controller poll interval isn’t tied to v-sync or the framerate. Loads of games do this.

Comments are now closed for this post.