Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BFI causing strange flicker/pulsing with arcade roms #13477

Open
Papadon23 opened this issue Jan 11, 2022 · 5 comments
Open

BFI causing strange flicker/pulsing with arcade roms #13477

Papadon23 opened this issue Jan 11, 2022 · 5 comments

Comments

@Papadon23
Copy link

First and foremost consider this:

  • Only RetroArch bugs should be filed here. Not core bugs or game bugs
  • This is not a forum or a help section, this is strictly developer oriented

Description

Black Frame Insertion appears to have pulsing/flickering (not the normal, expected flicker) that happens when running various arcade games using any working core (FB Alpha, FB Neo, MAME, etc.).

This takes place at BFI 1 (120hz) and BFI 2 (180hz) using either GL and VULKAN back ends.

I've verified it happening on 2 separate systems, both very powerful; 5800x with a 3080, and 5600g (onboard APU). BFI works perfectly fine on all console systems (SNES, NES, GENESIS, etc.)

Expected behavior

BFI should work properly on all cores/systems

Actual behavior

BFI causes random, large flickers/pulsing when loading many arcade games. Specifically, I tested Final Fight and Double Dragon with a number of cores, all producing the same issue.

Steps to reproduce the bug

  1. Set refresh rate to either 120hz or 180hz on desktop
  2. Launch retroarch and set the gpu driver to either VULKAN or GL
  3. Select BFI 1 or BFI 2 (depending on 120hz or 180hz monitor refresh)
  4. Load any 'arcade' core and try to play Final Fight/Double Dragon

Bisect Results

[Try to bisect and tell us when this started happening]

Version/Commit

You can find this information under Information/System Information

Environment information

  • OS: Windows 11
  • Compiler: N/A
@hizzlekizzle
Copy link
Contributor

CPS1 runs at ~59.6 and Double Dragon runs at 57 Hz. If you're running these at their actual speeds (as opposed to re-timing them to 60 Hz), the BFI will flicker/pulse on the difference in timing. The default RetroArch settings should speed those games up to 60 Hz, which would provide smooth, non-flickering BFI.

Try moving your retroarch.cfg somewhere else temporarily to revert to default settings and change just the BFI settings and see if the issue resolves.

@Papadon23
Copy link
Author

Papadon23 commented Jan 11, 2022 via email

@Papadon23
Copy link
Author

OK - so after some further testing, and thanks to you pointing me in the right direction, it's DEFINITELY 'sync exact content to framerate' setting that is causing the flickering. As soon as that gets toggled to ON, the config file is basically dead. Even if I flip it back to OFF, the flickering will live on until I make a new config file. Perhaps the issue lies in whatever that setting does to other settings in the config file once it's activated?

Should we expect that the feature works with BFI in all games?

@hizzlekizzle
Copy link
Contributor

hizzlekizzle commented Jan 11, 2022

IIRC, that feature works with BFI only on variable refresh-rate (i.e., gsync/freesync) displays. It is indeed a sort of "meta" option that sets a few other options at the same time, but I'm surprised that it's not re-setting those options when it's disabled. I'll see if anyone can reproduce.

@Papadon23
Copy link
Author

Thanks for looking into it - I am testing it with gsync and freesync displays with the variable refresh rates confirmed as working in applications. If it helps at all, the monitors I'm using are as follows: Asus VG27AQ (Gsync with a 3080) and Asus VG279QM (Freesync with a 5600g).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants