Software Based BFI [Is it Better than Hardware Sometimes?]

Talk to software developers and aspiring geeks. Programming tips. Improve motion fluidity. Reduce input lag. Come Present() yourself!
Post Reply
i_apocalypseon
Posts: 1
Joined: 25 Mar 2024, 12:59

Software Based BFI [Is it Better than Hardware Sometimes?]

Post by i_apocalypseon » 28 Mar 2024, 12:57

I realized I had this up in the wrong section. Im looking for some clarity on how this works. Is hardware BFI superior? What about displays that are high refresh rate 240hz, 360 hz, etc. that dont have HW BFI? What about SW BFI on lcds vs oled? Will the usually slower pixel refresh times of a VA panel, for instance, be problematic? Lets say the software(reshade, retroarch) inserts a black frame every other frame at 120 hz or 180 hz. Does that double the motion resolution? Or is motion resolution capped at the panels max refresh rate?

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

Software Based BFI [Is it Better than Hardware Sometimes?]

Post by Chief Blur Buster » 02 Apr 2024, 14:47

i_apocalypseon wrote:
28 Mar 2024, 12:57
I realized I had this up in the wrong section. Im looking for some clarity on how this works.
You came to the right place for BFI science!
More reading can be found in the Blur Busters Research Portal (Area 51)
i_apocalypseon wrote:
28 Mar 2024, 12:57
Is hardware BFI superior?
Short Answer: "Depends. Yes & No."

Long Answer:
Usually, hardware-native BFI outperforms in most metrics, especially persistence. You can get less motion blur if you're able to have sub-refresh BFI. Basically inserting black frames without needing extra refresh rate.

However, there are some cases where software BFI outperforms hardware BFI. For example on LG OLED 4K TVs, a video processor called the Retrotink 4K does BFI with a brighter picture and a lower latency than the television's built in BFI.

Advanced Explanation of Brighter: Normally, BFI will dim the picture. But Retrotink converts SDR content to HDR, and brightens the picture to compensate or the BFI dimming. So you can do 50% BFI (120Hz BFI output for 60Hz input) with the same brightness as non-BFI, when doing the Retrotink 4K on LG OLED TVs.

Advanced Explanation of Less Lag: Partial beam racing techniques in FPGA. This is because Retrotink 4K does a beamrace buffering (raster scanout) of the input signal, which means it begins outputting the visible frame only half a refresh cycle after the input signal has been buffered. So the human eyes can see the top of the output visible frame, even before the input frame has been fully buffered. Although the input signal is slower scan 1/60sec and output signal is faster scan 1/120sec, the box can still begin outputting the visible frame a little in advance of finishing buffering the input frame. (Remember, signals transmit one pixel row at a time, top to bottom, for both cable and for panels, ala high speed videos at www.blurbusters.com/scanout ...)

In theory, a pull request modification to Retroarch can do all of this (especially if using lagless vsync which WinUAE supports but nobody has added it to Retroarch yet)
i_apocalypseon wrote:
28 Mar 2024, 12:57
What about displays that are high refresh rate 240hz, 360 hz, etc. that dont have HW BFI? What about SW BFI on lcds vs oled?
BFI on OLEDs massively outperforms BFI on LCDs, because there's less image degradation from various logic such as LCD inversion, and you avoid the LCD image retention issue from software black frame insertion. You can use a odd divisor (InputHz:OutputHz) or insert a phase-switch frame. The LCD Saver mode on Retrotink 4K does this automatically, for example.
i_apocalypseon wrote:
28 Mar 2024, 12:57
Will the usually slower pixel refresh times of a VA panel, for instance, be problematic?
Yes it definitely does. Software based black frame insertion is massively superior on OLEDs versus LCDs.

However, LCDs can still do it, but you should consider using a strobe backlight such as ViewSonic XG2431, which can do 60Hz hardware strobe, see www.blurbusters.com/xg2431
i_apocalypseon wrote:
28 Mar 2024, 12:57
Lets say the software(reshade, retroarch) inserts a black frame every other frame at 120 hz or 180 hz. Does that double the motion resolution?
Motion blur is proportional to pixel visibility time.

More input Hz is better for reducing 60Hz blur.
120Hz BFI for 60fps can reduce 1/2 = remove 50% of 60Hz blur
240Hz BFI for 60fps can reduce 3/4 = remove 75% of 60Hz blur.
360Hz BFI for 60fps can reduce 5/6 = remove 83% of 60Hz blur.

Please study this animation: TestUFO Variable-Persistence BFI Animation For Viewing On 240Hz Monitors. If you don't have a 240Hz display, reduce the number of UFOs accordingly, to get the highest BFI framerates given your limitations in maximum refresh rate.

In general, mathematically,

Motion blur of BFI/strobed/impulsed = pulsetime
Motion blur of pure sample and hold = frametime

So you can understand display motion blur (eyetracking based motion blur, ala www.testufo.com/eyetracking or www.testufo.com/framerates-versus ...) is dictated by the length of time a unique frame (pixels) is contiguously visible for.

But you also want to avoid multiple-impulsing an image, or you get duplicate image artifacts (like CRT 30fps at 60Hz or strobed 60fps at 120Hz).

Image

Even software BFI can generate this: TestUFO BFI Double Image Artifacts, so make sure your flicker-rate is the same as frame-rate, if you don't like duplicate images.
i_apocalypseon wrote:
28 Mar 2024, 12:57
Or is motion resolution capped at the panels max refresh rate?
For software-based BFI without any help from the hardware -- YES.

Motion blur cannot be less than maxHz refreshtime.

The only way to get better is hardware-based methods that can do sub-refresh-based black frame insertion (temporarily partitioning a refresh cycle into multiple "refreshes", like a visible frame followed by a black frame, timed in one refresh cycle. Or a strobe backlight, etc.)

However, for desktop OLED, even most hardware-based BFI is limited by MaxHz, becuase some (not all) OLED panels are unable to do sub-refresh BFI. So you can only do BFI at less than max Hz.
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