RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    New emulation method to eliminate input lag

    Scheduled Pinned Locked Moved General Discussion and Gaming
    libretroinput lag
    44 Posts 11 Posters 22.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • mediamogulM
      mediamogul Global Moderator @pjft
      last edited by mediamogul

      @pjft said in New emulation method to eliminate input lag:

      I was hoping there'd be a stable "default-ish" setup that would work for the majority of cases in each system

      A setting of '1' should actually be stable across the board, barring 2600 games. Anything more in many games will alter your timing in the opposite direction as latency and even create artifacts, such as single-frame 'game over' screens and sprite interactions that shouldn't carry over from your actual input. Still, a setting of '2' is only adding one more frame and it's possible that artifacting would rarely be noticed.

      I'll dig into that in the coming week

      Let us know how it goes.

      RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

      1 Reply Last reply Reply Quote 0
      • Keltron3030K
        Keltron3030
        last edited by

        Hey guys how to I enable the latency features for just some emulators. Do I need to setup custom emulator config files or is there an easier way to do this through the gui.

        mediamogulM 1 Reply Last reply Reply Quote 0
        • mediamogulM
          mediamogul Global Moderator @Keltron3030
          last edited by mediamogul

          @keltron3030

          You could enable it for individual systems by adding

          run_ahead_enabled = "true"
          run_ahead_frames = "1"
          run_ahead_secondary_instance = "true"
          

          to /opt/retropie/configs/chosen-system/retroarch.cfg above the #include line

          RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

          Keltron3030K 1 Reply Last reply Reply Quote 2
          • Keltron3030K
            Keltron3030 @mediamogul
            last edited by

            @mediamogul

            Excellent, thanks a lot.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post

            Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

            Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.