Anti-Alialising and lag

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.
treach
Posts: 9
Joined: 06 Mar 2014, 15:37

Anti-Alialising and lag

Post by treach » 20 Aug 2014, 12:58

How much input lag does msaa, ssaa etc actually add to a game? Is it also dependent on the multiplier?

In know that fxaa doesnt have a real impact but what about the others?

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

Re: Anti-Alialising and lag

Post by flood » 20 Aug 2014, 14:44

basically depends on how long it takes to render a frame

for instance if aa drops your fps from 1000 to 500 then you get 1ms more input lag

treach
Posts: 9
Joined: 06 Mar 2014, 15:37

Re: Anti-Alialising and lag

Post by treach » 20 Aug 2014, 16:16

Youre sure? What if i have a frame cap like in csgo of 300 and it stays the same with or without AA. What happens then?

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

Re: Anti-Alialising and lag

Post by RealNC » 20 Aug 2014, 16:57

treach wrote:Youre sure? What if i have a frame cap like in csgo of 300 and it stays the same with or without AA. What happens then?
In theory, input lag would be the same. In practice, you can still get more input lag compared to AA off, since AA needs more time to render, so with a framerate cap, the rendered frames will be based on somewhat older input.

Usually this is totally unnoticeable. However, bugs or bad design in the game can actually lead to more input lag than there should be if you crank up the graphics details.
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.

User avatar
Chief Blur Buster
Site Admin
Posts: 11653
Joined: 05 Dec 2013, 15:44
Location: Toronto / Hamilton, Ontario, Canada
Contact:

Re: Anti-Alialising and lag

Post by Chief Blur Buster » 21 Aug 2014, 01:45

This is correct.

GPU share of input lag is proportional to frametime -- the amount of time it takes to render a frame. Enabling AA increases frametime, which reduces framerate.

Thus, the lower the framerate (during VSYNC OFF) on the same GPU, the more input lag you will get.

However, at 300fps, the input lag share is pretty tiny (300fps = 1/300th of a second per frame) and if you can maintain 300fps with AA, then you can keep it on if you really like it. If you slow down from 500fps (2ms per frame) to 300fps (3ms per frame) during AA, then you'd be adding only 1ms input lag from enabling AA. Also, there are also many settings that will increase framerate, like reducing shadow detail, less shader effects, etc.

Capping framerate versus uncapping framerate, doesn't affect frametime.
Head of Blur Busters - BlurBusters.com | TestUFO.com | Follow @BlurBusters on Twitter

Image
Forum Rules wrote:  1. Rule #1: Be Nice. This is published forum rule #1. Even To Newbies & People You Disagree With!
  2. Please report rule violations If you see a post that violates forum rules, then report the post.
  3. ALWAYS respect indie testers here. See how indies are bootstrapping Blur Busters research!

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

Re: Anti-Alialising and lag

Post by flood » 21 Aug 2014, 03:59

treach wrote:Youre sure? What if i have a frame cap like in csgo of 300 and it stays the same with or without AA. What happens then?
if the game's framerate cap works like this (and I sure hope it does):

Code: Select all

infinte loop:
    get input, mouse location, keys pressed, etc..
    draw frame and swap buffers
    sleep until it's time to draw next frame
then the input lag will be related to how long it takes to draw the frame. so if it takes 1ms to draw without AA and 2ms to draw with AA, then AA will add 1ms of input lag, even if fps is capped to 300 or whatever

treach
Posts: 9
Joined: 06 Mar 2014, 15:37

Re: Anti-Alialising and lag

Post by treach » 22 Aug 2014, 03:46

Thats what i mean flood, it cant be only dependent on frametime because the picture is processed, the actual time it takes is unknown?

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

Re: Anti-Alialising and lag

Post by flood » 22 Aug 2014, 22:16

you can estimate by running it completely uncapped where there is no sleep involved.

paulemannsen
Posts: 4
Joined: 18 Sep 2014, 06:42

Re: Anti-Alialising and lag

Post by paulemannsen » 18 Sep 2014, 06:46

there must be more to it. the mouse for instance becomes considerably more sluggish with aa on. nearly in every game. the framedrop alone cant explain that.

User avatar
Chief Blur Buster
Site Admin
Posts: 11653
Joined: 05 Dec 2013, 15:44
Location: Toronto / Hamilton, Ontario, Canada
Contact:

Re: Anti-Alialising and lag

Post by Chief Blur Buster » 20 Sep 2014, 18:31

paulemannsen wrote:there must be more to it. the mouse for instance becomes considerably more sluggish with aa on. nearly in every game. the framedrop alone cant explain that.
Single-GPU setup or SLI setup? SLI setups have some additional complex considerations relating to input lag, as frame rendertime can actually exceed (1/fps), which complicates the input lag math a little.

Also, if you're running a framerate cap while having AA on, then this can definitely happen as frame rendertime goes dramatically up even if the framerate is the same.

Also, if your framerate is usually consistent but drops more frequently to unplayable levels during busy moments, it will obviously affect lag. e.g. 20fps versus 30fps during slowdown -- can have a dramatic difference in input lag feel, even if normal framerate is usually consistently high.

Also, certain types of AA, that uses a high resolution framebuffer and downsampling, you may have scaling-related input lag. So that might be what you are seeing. Certain forms of AA may add input lag via that step.
Head of Blur Busters - BlurBusters.com | TestUFO.com | Follow @BlurBusters on Twitter

Image
Forum Rules wrote:  1. Rule #1: Be Nice. This is published forum rule #1. Even To Newbies & People You Disagree With!
  2. Please report rule violations If you see a post that violates forum rules, then report the post.
  3. ALWAYS respect indie testers here. See how indies are bootstrapping Blur Busters research!

Post Reply