Someone say this guys about "Large VT" [input lag reductions]

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.
User avatar
DukeDice929
Posts: 81
Joined: 02 Nov 2019, 08:33

Someone say this guys about "Large VT" [input lag reductions]

Post by DukeDice929 » 01 Apr 2020, 21:55

Please tell me if I'm wrong, but AFAIK using lower resolution/refresh rate makes "pixel clock" and "VT" really low leading to increased input lag, especially on BenQ monitors (with older scaler). Currently I'm using XL2546 and tweaked all of my resolutions+custom refresh rates to match native VT/pixel clock (as much as possible) to gain better latency and Blur Reduction quality. https://ibb.co/tLvy3X3
As you can see on the video, guys just entered default values without tweaking VT and pixel clock values (750VT/297MHz).
Again, maybe I'm wrong and it makes no sense, but I can clearly see the difference on my BenQ.
https://www.youtube.com/watch?v=5HeSp0x ... .be&t=1812
My bad English :0

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

Re: Someone say this guys about "Large VT"

Post by Chief Blur Buster » 01 Apr 2020, 23:43

<Advanced Thread>
This discussion thread is not for new users -- this is an advanced latency decision.

Large vertical totals can increase or decrease input lag depending on sync technology.

Useful Purposes of Custom Resolutions containing Large Vertical Totals But you need to correctly use the right tool for the right job.

Default VSYNC ON usually flips at beginning of VBI (so large VBI is a long delay to next refresh cycle = adds input lag)

This default Windows behaviour needs to be overriden. You need RTSS Scanline Sync, combined with full screen exclusive mode, to create a tearingless VSYNC OFF mode (put the hidden tearline above edge of screen, near end of VBI). to inputdelay the pageflip to end of VBI to have lag-savings of Quick Frame Transport. It mainly benefits works with fps=Hz frame delivery (global frame delivery mechanism, so not VSYNC OFF). Useful for VSYNC ON or VR or RTSS Scanline Sync.

See Quick Frame Transport to understand the concept better. You can use the HOWTO in RTSS Scanline Sync to create a custom low-lag VSYNC ON mode that piggybacks on large vertical totals as a Quick Frame Transport mechansim.

Image

TL;DR: Do not tweak large VT without understanding how to tweak large VT

Also you don't need Large Vertical totals with VRR. If you're already using G-SYNC or FreeSync, it's already doing the equivalent of large vertical totals via variable-size VBI to temporally space apart the dynamic refresh cycles.

(For computer programmers, the monitor is slaving to the software's frame presentation timing whenever the intervals between frame presentation is still within a VRR monitor's refresh rate range)

Image

So G-SYNC and FreeSync are an easier form of large vertical totals.

However, if you have to use fixed-Hz because of a feature (such as strobing), you can use Large Vertical Totals + RTSS Scanline Sync as an equivalent of "Quick Frame Transport".

Please tell any confused YouTuber (asking about Large Vertical Totals) about this thread.
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!

User avatar
DukeDice929
Posts: 81
Joined: 02 Nov 2019, 08:33

Re: Someone say this guys about "Large VT"

Post by DukeDice929 » 02 Apr 2020, 00:40

Thanks for such a detailed response, Chief!
Your explanation about Large Vertical Totals is very useful and informative. :)

Yes, I was talking about less input lag as possible without any sync (240Hz) and with RTSS Scanline Sync + DyAc (custom res).
I gotta share a link to this thread.
My bad English :0

senny22
Posts: 94
Joined: 03 May 2019, 17:40

Re: Someone say this guys about "Large VT"

Post by senny22 » 02 Apr 2020, 01:33

Chief Blur Buster wrote:
01 Apr 2020, 23:43
Large vertical totals can increase or decrease input lag depending on sync technology.
How do you configure Vertical totals if there isn't any known value for your particular monitor? I own a XF252Qx that's 240hz and was wondering which value to use?

Also, is there any benefit of a Large VT whatsoever, if i would use 240hz non-strobing?

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

Re: Someone say this guys about "Large VT" [input lag reductions]

Post by Chief Blur Buster » 02 Apr 2020, 01:51

senny22 wrote:
02 Apr 2020, 01:33
How do you configure Vertical totals if there isn't any known value for your particular monitor? I own a XF252Qx that's 240hz and was wondering which value to use?

Also, is there any benefit of a Large VT whatsoever, if i would use 240hz non-strobing?
Metaphorically, this is like a Grade 5 math class asking a Grade 9 math question -- which would require me to write 100 pages of reply -- so it will help to sequence this first, with some links to other articles. Hope I can cram this into just 2 pages!

First, study for a better understanding of Custom Resolution Utility.

The shape of a refresh cycle on a video cable (VGA, HDMI, DisplayPort) is actually bigger than the resolution of your screen. Hidden overscan beyond left edge, top edge, bottom edge, and right edges. Your video signal has a width equalling Horizontal Total, and your video signal has a height equalling Vertical Total.

Image

VBI = Vertical Front Porch + Vertical Sync + Vertical Back Porch.
Vertical Total = Vertical Visible Resolution + VBI

-- Blur Busters Custom Resolution Utility Glossary
-- High Speed Videos of Scanout (read the bottom half)
-- Blur Busters Custom Resolution Utility Glossary

Click on the links first, and come back. Do you understand the above articles yet? Good. Now you understand better what those numbers in Custom Resolution Utility stands for.

Next, compare a 100Hz Auto Timings signal, versus a 100hz Large Vertical Total signal:

Image

Now, to begin tweaking large VTs, you have to have an experimenter's gene. Some monitors will be inflexible (rejects large vertical totals) while other monitors will be flexible. FreeSync-compatible panels are easier/flexible because VRR is simply variable-sized vertical totals every single refresh cycle -- a dynamic vertical total (since VBI varies to temporally space apart refresh cycles).

Horizontal scan rate (in KHz) is always Vertical Total times Vertical Refresh Rate. So VT1125 times 60Hz is 1125x60 = 67500 pixel rows per second = 67.5 KHz scan rate = one pixel row is transmitted out of the GPU output in 1/67500sec.

Pixel Clock (dot clock) is always Vertical Total times Horizontal Total times Vertical Refresh Rate. That will be your cable's bandwidth. Your max bandwidth will be roughly equal to the Pixel Clock you got at maximum scan rate.

The rest is simply mathematics. Know enough high school math? Good.

So you can add to larger vertical totals. You can double your vertical total at half refresh rate, to maintain Pixel Clock. For example, VT1125 at 120Hz can become VT2250 at 60Hz, assuming your panel is VT-flexible (most FreeSync panels are capable of large VT in fixed-Hz operation). You can also calculate your scan rate at your highest refresh rate. Then divide by your target lower refresh rate, to get your largest vertical total you can get before violating your bandwidth budget.

Now some panels allow overclocked dotclocks, e.g. 1/280sec frame delivery at 240Hz. So you might have a larger dot clock budget available, permitting 60Hz refresh cycles to be transmitted over the cable in 1/280sec. But not all panels are horizontal-scanrate-multisync, some TCON/scalers are fixed horziontal scan rate, so whatever incoming cable scan rate is being scan-converted. Older BenQ monitors (144Hz 1080p) are horizontal scanrate multisync, but many 240Hz panels are fixed horizontal scanrate regardless of vertical totals you're providing.

The most useful use of Large Vertical Totals in input lag reductions is refilling the monitor's refresh cycle frame buffer quicker, so the monitor doesn't wait for the computer any further, before beginning to refresh. (This happens often with 60Hz on a 240Hz monitor -- the monitor is waiting for the computer to slow-scan a 1/60sec scanout -- before beginning a high-velocity 1/240sec scanout on the panel. Oftentimes, this can be fixed by doing Quick Frame Transport at the GPU level, by using a quadruple Vertical Total at one-quarter refresh rate, i.e. VT4500 at 60Hz for a monitor capable of VT1125 at 240Hz).

Your flexibility might not be this big, but an AdaptiveSync-compatible panel is very Vertical Total forgiving, which means it'll eat up almost any random Vertical Total. More overclockable monitors will usually be more forgiving too. Other panels will be uber-picky, stubbornly going black at any vertical total barely away from default (older G-SYNC panels were like that). But understanding the mathematics of Veritcal Total helps you understand how to begin experimenting with Large Vertical Totas.

If you have G-SYNC or FreeSync available, 90% of the time, I would not bother with Large Vertical Totals with varible refresh rate because VRR is an easier Quick Frame Transport. Frame-capped 60fps at 240fps VRR is the same input lag as Quick Frame Transport (4x scanout factor) 60Hz on a 240Hz panel, in theory. You have to do a ton more work doing Quick Frame Transport on fixed-Hz. VRR is already an automatic natural Quick Frame Transport, with its well known "60fps at 240Hz VRR feels much lower lag than 60fps on a 60Hz monitor" behaviors that is well loved by emulator users and 60fps game players -- some buy 240Hz monitors just to run it 60fps VRR (since those 60fps refreshes are refreshed in 1/240sec on all 240Hz VRR monitors).

Much easier than hacking a Quick Frame Transport on a fixed-Hz monitor. But, we have to, because most strobe backights are only available in non-VRR. Whenever you hear Large Vertical Total, it's usually used to reduce input lag of strobe backlights. (But it also reduces input lag of non-strobed VSYNC ON too!).

But the magic sauce of Quick Frame Transport is for strobe backlight modes, because most strobe backlights are...... fixed Hz. So all lag-reducing tricks are on the table (since we don't have the lag-reducing trick of G-SYNC and FreeSync as a VSYNC ON alternative).

...And that's where Quick Frame Transport becomes most useful (in reducing strobe backlight input lag) -- by allowing faster delivery of a refresh cycle, so the panel can be refreshed sooner, before the panel is flashed (made visible), reducing input lag from "Present()-to-strobe-flash".

Large Vertical Totals usually don't help VSYNC OFF (although it can helped strobed VSYNC OFF a little bit, because of the earlier flash). Non-strobed input lag is identical for VSYNC OFF non-QFT versus QFT, because the unsynchronized frame delivery all averages out. For a VT-double-visible-resolution, you may get half as much tearing though, because tearing will be hidden in the VBI half the time. (But if you're using non-strobed VSYNC OFF QFT at lower Hz, the pros mostly zero-out and the cons increase.... So you probably might as well use max-Hz anyway -- why are you reading this thread? ;) Right Tool For The Right Job.... Non-strobed VSYNC OFF usually works best & feels best with max Hz).

Several VR headsets now use an internal quick frame transport techniques, because VR headsets require VSYNC ON for mandatory reasons.

That said, QFT + strobing is a match made in heaven (when combined with a modified VSYNC ON that uses end-of-VBI frame buffer swap instead of start-of-VBI frame buffer swap). And since Microsoft/NVIDIA/AMD hasn't provided that yet, we have to use RTSS Scanline Sync to create an end-of-VBI frame buffer swap that Microsoft/NVIDIA/AMD has not yet provided, in order to DIY our own Quick Frame Transport.

Have I succeeded in explaining the mathematics theory of Large Vertical Total tweaking-from-scratch?
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!

senny22
Posts: 94
Joined: 03 May 2019, 17:40

Re: Someone say this guys about "Large VT" [input lag reductions]

Post by senny22 » 02 Apr 2020, 04:41

Chief Blur Buster wrote:
02 Apr 2020, 01:51
Now some panels allow overclocked dotclocks, e.g. 1/280sec frame delivery at 240Hz. So you might have a larger dot clock budget available, permitting 60Hz refresh cycles to be transmitted over the cable in 1/280sec. But not all panels are horizontal-scanrate-multisync, some TCON/scalers are fixed horziontal scan rate, so whatever incoming cable scan rate is being scan-converted. Older BenQ monitors (144Hz 1080p) are horizontal scanrate multisync, but many 240Hz panels are fixed horizontal scanrate regardless of vertical totals you're providing.

The most useful use of Large Vertical Totals in input lag reductions is refilling the monitor's refresh cycle frame buffer quicker, so the monitor doesn't wait for the computer any further, before beginning to refresh. (This happens often with 60Hz on a 240Hz monitor -- the monitor is waiting for the computer to slow-scan a 1/60sec scanout -- before beginning a high-velocity 1/240sec scanout on the panel. Oftentimes, this can be fixed by doing Quick Frame Transport at the GPU level, by using a quadruple Vertical Total at one-quarter refresh rate, i.e. VT4500 at 60Hz for a monitor capable of VT1125 at 240Hz).

Your flexibility might not be this big, but an AdaptiveSync-compatible panel is very Vertical Total forgiving, which means it'll eat up almost any random Vertical Total. More overclockable monitors will usually be more forgiving too. Other panels will be uber-picky, stubbornly going black at any vertical total barely away from default (older G-SYNC panels were like that). But understanding the mathematics of Veritcal Total helps you understand how to begin experimenting with Large Vertical Totas.
When using a "overclocked" vertical timing, how can you tell if it's too high besides the screen becoming black? are there any artifacts to look out for or is everything good if there is an actual picture showing with the "overclocked" vertical timing total?

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

Re: Someone say this guys about "Large VT" [input lag reductions]

Post by Chief Blur Buster » 02 Apr 2020, 13:12

senny22 wrote:
02 Apr 2020, 04:41
When using a "overclocked" vertical timing, how can you tell if it's too high besides the screen becoming black? are there any artifacts to look out for or is everything good if there is an actual picture showing with the "overclocked" vertical timing total?
Easy.

Horizontal Scanrate (also called “Horizontal refresh rate”, in number of pixel rows per second) or Pixel Clock becomes bigger than the number you saw in Custom Resolution the default max Hz.

A) Use the mathematics to determine if the numbers you used, is “overclocked” or not,
B) or simply load your default max Hz, write down the two numbers, and use those as “must not exceed” guidelines.
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!

senny22
Posts: 94
Joined: 03 May 2019, 17:40

Re: Someone say this guys about "Large VT" [input lag reductions]

Post by senny22 » 02 Apr 2020, 16:11

Chief Blur Buster wrote:
02 Apr 2020, 13:12
senny22 wrote:
02 Apr 2020, 04:41
When using a "overclocked" vertical timing, how can you tell if it's too high besides the screen becoming black? are there any artifacts to look out for or is everything good if there is an actual picture showing with the "overclocked" vertical timing total?
Easy.

Horizontal Scanrate (also called “Horizontal refresh rate”, in number of pixel rows per second) or Pixel Clock becomes bigger than the number you saw in Custom Resolution the default max Hz.

A) Use the mathematics to determine if the numbers you used, is “overclocked” or not,
B) or simply load your default max Hz, write down the two numbers, and use those as “must not exceed” guidelines.
Ok thanks. The AMD control panel allows me to use a vertical timing total that gives me a higher pixel clock compared to standard 240hz (1692 vs standard which is around 1140) This is with a 1440x1080 resolution though.

Is it okay to use this higher "vertical total timing", even though it gives me a higher pixel clock compared to stock vertical timing total with 240hz?

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

Re: Someone say this guys about "Large VT" [input lag reductions]

Post by Chief Blur Buster » 02 Apr 2020, 16:42

senny22 wrote:
02 Apr 2020, 16:11
Is it okay to use this higher "vertical total timing", even though it gives me a higher pixel clock compared to stock vertical timing total with 240hz?
The answer to that question is similar to "Is it okay to overclock?"?

That's a personal choice of yours. Sometimes it works and sometimes it doesn't.
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!

andrelip
Posts: 162
Joined: 21 Mar 2014, 17:50

Re: Someone say this guys about "Large VT" [input lag reductions]

Post by andrelip » 12 Apr 2020, 23:40

Chief, three questions:

1) In the past, I was able to achieve up to 480hz equivalent scanout speed in a lower resolution and 200hz. I also got 360hz equivalent at 240hz. Do you think that VRR will use this exceeding vertical value or will be limitted by the native max VBI?

2) I always believed that the scanout read the line in the front-buffer by streaming direct from the GPU(real-time). But when you talked about transmitting in 1/60 and then displayed at 1/240 you sounded like the monitor first have to receive the entire frame to it's own buffer before printing the most recent frame. What actually happens?

3) The first post talked about matching the timings with the native of the panel to reduce the input lag and provider better scaling. Is that a myth? If it's true why wouldn't the manufacturer flash the panel specification in the EDID?

Post Reply