libretro / dolphin

Dolphin is a GameCube / Wii emulator, allowing you to play games for these two platforms on PC with improvements.
https://dolphin-emu.org/
GNU General Public License v2.0
86 stars 68 forks source link

Poor frame pacing with 30 fps games, option to fix missing #208

Open teconmoon opened 3 years ago

teconmoon commented 3 years ago

Dolphin, by default, skips presenting duplicate frames (xfb copies) in 30 fps games. Last year, Dolphin devs added an option to disable this function which is missing in the RetroArch core.

The workaround is adding the following to each of my game ini files under the user section, but a Core GUI option for this would really be useful!

[Video_Hacks]
SkipDuplicateXFBs = False

With Dolphin standalone, vsync is disabled by default, so this isn't as visible of an issue. When you manually enable vsync, you also have to disable the hack for skipping duplicate frames, or you'll have frame pacing issues.

Since RetroArch enables vsync by default, I don't think I'm out of line in saying that it might be better for the RetroArch core to utilize the above option as the default.

Thanks for reading!

teconmoon commented 3 years ago

After some more testing, I found that the above option doesn't work well as a universal catch-all. While it drastically improves 30fps games, I've observed it causing weird issues when applied to 60fps titles.

So just having it as a togglable option would be nice.