Skip to content

Duplicate frames when FPS < 60 #520

Closed

Description

So after a period of testing i think frame pacing issues in 30fps games would be improved by being able to duplicate frames, users with/without gsync monitors etc would benefit from this and would not have to force their refresh rate to 30 hz to improve pacing which impacts input lag poorly.

Activity

  1. ghost added
    enhancement
    on Feb 2, 2022
  2. Chaseroni commented on Feb 2, 2022

    @Chaseroni

    I’d just like to add on that this would greatly enhance the experience on android as well under the GL renderer, if it’s possible!

  3. ghost changed the title [-]Duplicate frames for directx11[/-] [+]Duplicate frames for directx11/gl[/+] on Feb 3, 2022
  4. stf999 commented on Feb 27, 2022

    @stf999

    I second all this ! This is my first wish !

  5. jeremy27041980 commented on May 5, 2022

    @jeremy27041980

    Third !

  6. added
    graphics
    on May 5, 2022
  7. changed the title [-]Duplicate frames for directx11/gl[/-] [+]Duplicate frames when FPS < 60[/+] on May 5, 2022
  8. ghost changed the title [-]Duplicate frames when FPS < 60[/-] [+]Add an option to present/skip presenting duplicate frames[/+] on Jul 8, 2022
  9. ghost changed the title [-]Add an option to present/skip presenting duplicate frames[/-] [+]Duplicate frames when FPS < 60[/+] on Jul 8, 2022
  10. RiasatSalminSami commented on Feb 26, 2023

    @RiasatSalminSami

    Would be really nice to have a feature like this, especially on phones since there is no way to force Half Vsync from GPU drivers on phone.

    On pc, at least with nvidia gpu, forcing standard half vsync from nvidia inspector [standard half is required. Adaptive half vsync results in vsync to disengage at 30 fps cap and starts to tear+ stutter anyway] and then using special K to cap the emulator at 30 fps does seem to significantly reduce the stutter. But the process is inconvenient and also caps the whole game to 30 even on menus and start-up logo that can be 60 fps, not to mention, the 30 fps cap has to be disengaged every time I need to play a 60 fps game.

    Having the emulator to do the duplication natively will solve all these issues. This should be optional though, since on some slower hardware, duplication might result in slow downs. So for those hardwares, you'd be better off turning off duplication and just play with the stutters at full speed instead of slowing down.

  11. bryc commented on Jul 22, 2023

    @bryc

    I'm experiencing this issue as well under Windows 10. Happens in both standalone and libretro.

    Whenever a game is in "30 FPS mode", the frame rate is not smooth, it is intermittently choppy.

    Flycast:

    flycast2.mp4

    Redream:

    redream2.mp4

    I don't have HW to test, but this video of a Dead or Alive 2 intro cutscene on real hardware shows smooth 30fps movement, whereas in Flycast, it's still somewhat choppy.

    Real hardware (not my video, from https://youtu.be/y1F-kWiM71k?t=65):

    doa2hw.mp4

    Flycast:

    doa2flycast.mp4

    Update: I saw one solution mentioned that fixes this, "Full Framebuffer Emulation". And it does appear to smoothen the framerate.

    However it causes a reduction in the color depth, resulting in color banding / posterization.

    Here's an exaggerated example. Game is paused, I made it brighter, which made the banding issues more pronounced.
    image

    This can't be what the hardware does, can it? Xemu (Original Xbox emulator) also has this issue when I tried Fable, it's not at all how I remember the games. Is this the result from unimplemented dithering?

  12. mfigueirido commented on Jul 26, 2023

    @mfigueirido

    Not trying to be pushy or anything, but how I wish this duplicate frames on 30 FPS be a reality. I would love to test it and send bug reports :)

  13. Immersion95 commented on Nov 26, 2023

    @Immersion95
    Contributor

    Framebuffer doesn't do the trick anymore and I still have uneven framepacing with VRR. I need to enable Vsync to solve it.

  14. vanfanel commented on Dec 5, 2023

    @vanfanel

    I too have observed that there are major frame pacing issues observable in 30FPS games, like Sonic Adventure 1, REZ, Napple Tale, etc...
    During the same scene, frame rate goes from smooth to constantly plagued by small hiccups, even on 30FPS menus where graphical load is constant.

    FPS COUNTER ALWAYS STAYS AT 30 FPS. This problem is not noticeable on the FPS counter, but on the game motion

    IMPORTANT NOTE: 60FPS games (Daytona USA 2001, DOA1, VF3, etc) are not affected at all: I run them using a 59.94Hz video mode and video synchronization is perfect.

    There's no VRR, GSYNC or anything like that set up on this system: only real 59.94Hz video mode set up for Dreamcast emulation.

    IMPORTANT CLUE THAT COULD HELP TO SOLVE THIS: Setting a 29.97Hz video mode, frame pacing in 30FPS games is simply perfect: but that breaks 60FPS sequences, like the Dreamcast boot logo, etc, that naturally run half-speed and with broken audio, so this is not a fix.
    All in all, there's an internal framerate pacing issue with 30FPS games on Flycast (which are more like 29.97FPS, really).

    Is Flycast computing frame time internally to insert delays in order to achieve ~30FPS? If that's the case, those delays should be removed and rely solely on VSYNC instead, so the games run at a constant framerate synchronized with the physical refresh rate, NOT with some calculated frame time.
    I have seen many SDL2-based engines doing that to lower framerates when VSYNC is disabled, but it causes exactly the kind of inconsistent framerates I am seeing here: to achieve perfect frame synchronization, VSYNC must be the only synchronization method used.

  15. nexus382 commented on Feb 26, 2024

    @nexus382
    Contributor

    I am willing to stress test any thing that's needed.... but now I have moved from redream to flycast.... the ONLY thing I miss.... is everything playing at "60fps" on redream....that made the games much smoother. I know it's duplicating frames... maybe it's just allowing for better frame timing... hense the smoother apperance... but I think it's more than that. I have used programs that will take a video with 30 fps
    .. and make it 60....and while it won't look as good as native 60fps... there is a decent improvement.

    ORIGINAL FRAMES 1,2,3,
    NEW FRAMES 1,1.5,2,2.5,3,3.5

    Rather then just duplicating, iv seen scripts/programs that will take frame 1 AND 2... make them both semi transparent... then overlap them.... and THATS frame 1.5 ..... I almost feel redream is doing this due to the pretty big difference playing the same games on both. Redream lacks the Dreamcast Majik, I call it, and redream to me is explained as a sophisticated robot...that does things very....to the rules... and flycast utilizes the DC MAJIK, [1st lvl of SA1. You run on the pier while camera panning s around u, holding up the whole time on original HW, OR flycast... this works perfect... redream... tries to take the scene to litteraly and as camera moves and the point of view does sonic stops running this perfect "predefined" path.] And has that home cooked, sit by the fireplace, good ole dreamcast majik. Seems many people feel that this would be a great upgrade for flycas⁷t. I'm a video/image recovery....not specialist... but i have the tools and know enough to be dangerous...so if I can help if this ever starts to come together.... please, ask.

  16. CookiePLMonster commented on Apr 17, 2025

    @CookiePLMonster

    For what it's worth, it still seems to be an issue, very much noticeable e.g. in Sega GT, a 30FPS title. While the FPS counter shows 30 continuously, the resulting image is choppier than what one would expect from "just" 30FPS.

  17. vanfanel commented on Apr 17, 2025

    @vanfanel

    For what it's worth, it still seems to be an issue, very much noticeable e.g. in Sega GT, a 30FPS title. While the FPS counter shows 30 continuously, the resulting image is choppier than what one would expect from "just" 30FPS.

    As things are, "Full Frame buffer Emulation" is needed to achieve correct frame pacing in 30 FPS games.
    Ideally that shouldn't be needed for correct frame pacing.

  18. Immersion95 commented on Apr 17, 2025

    @Immersion95
    Contributor

    For what it's worth, it still seems to be an issue, very much noticeable e.g. in Sega GT, a 30FPS title. While the FPS counter shows 30 continuously, the resulting image is choppier than what one would expect from "just" 30FPS.

    As things are, "Full Frame buffer Emulation" is needed to achieve correct frame pacing in 30 FPS games. Ideally that shouldn't be needed for correct frame pacing.

    Not working anymore for me with VRR/Freesync, it used to work though.

  19. CookiePLMonster commented on Apr 17, 2025

    @CookiePLMonster

    As things are, "Full Frame buffer Emulation" is needed to achieve correct frame pacing in 30 FPS games.
    Ideally that shouldn't be needed for correct frame pacing.

    I tried that and unfortunately it doesn't seem to make a difference (and I don't have VRR).

  20. RiasatSalminSami commented on Apr 18, 2025

    @RiasatSalminSami

    Yeah, 30 FPS titles are still a stuttery mess.

  21. vanfanel commented on Apr 18, 2025

    @vanfanel

    As things are, "Full Frame buffer Emulation" is needed to achieve correct frame pacing in 30 FPS games.
    Ideally that shouldn't be needed for correct frame pacing.

    I tried that and unfortunately it doesn't seem to make a difference (and I don't have VRR).

    It works on the RetroArch core at least.

  22. added a commit that references this issue on May 9, 2026
  23. flyinghead commented on Jul 3, 2026

    @flyinghead
    Owner

    Fixed a while ago

  24. RiasatSalminSami commented on Jul 4, 2026

    @RiasatSalminSami

    Is there any particular option I need to turn on to fix the stuttering? Tried the latest release and the frame pacing issue is still there unless I enable "full frame buffer" which disables upscaling.

  25. flyinghead commented on Jul 4, 2026

    @flyinghead
    Owner

    Get the latest master build

  26. RiasatSalminSami commented on Jul 4, 2026

    @RiasatSalminSami

    Get the latest master build

    Tested. Looks like you have to enable "vsync" otherwise the framepacing is still poor and results in stutters. But it does work, so that's nice.

    Some feedbacks:

    When using full frame buffer, the mouse cursor for lightgun games move at 60 fps and has less input latency as a result. When having full frame buffer disabled to upscale games + vsync enabled to make the framepacing better- the lightgun cursor moves at 30 fps and also results in huge input delay.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementgraphics

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions