RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Retroarch 1.6.9 update slowing emulations down?

    Scheduled Pinned Locked Moved Help and Support
    retropie 4.3retroarch 1.6.9performancestuttering
    43 Posts 7 Posters 13.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.
    • arcadez2003A
      arcadez2003 @AndersHP
      last edited by

      @andershp said in Retroarch 1.6.9 update slowing emulations down?:

      and a few arcade games like Armed Police Batrider (0.78) have massive slowdowns and sound stuttering...

      What other Arcade games are you now having trouble with..?? i recently added support for the FixEight bootleg which did require a few
      changes in the Toaplan 2 video code this might account for why Armed Police Batrider has dipped in performance as it uses said
      video code as well.

      i can look at fixing this but i need more people to try the game then i'll know it's not just one single user having an issue.

      Arcade Addict

      DarksaviorD 1 Reply Last reply Reply Quote 0
      • DarksaviorD
        Darksavior @arcadez2003
        last edited by Darksavior

        @gamez-fan Maybe I should have asked if he's using a mame2003 built from binary or source. I'm using binary so it probably doesn't have your fixes. I'll start building it from source now and report back.

        arcadez2003A 1 Reply Last reply Reply Quote 0
        • arcadez2003A
          arcadez2003 @Darksavior
          last edited by arcadez2003

          @darksavior said in Retroarch 1.6.9 update slowing emulations down?:

          @gamez-fan Maybe I should have asked if he's using a mame2003 built from binary or source. I'm using binary so it probably doesn't have your fixes. I'll start building it from source now and report back.

          No problem fella let me know how it goes, but im attempting a fix for this just now via some V-Blank handling that was added to the driver at the same
          time as the video code was changed i think i should have backported that also it will sort any sprite lag.

          Arcade Addict

          DarksaviorD 1 Reply Last reply Reply Quote 0
          • DarksaviorD
            Darksavior @arcadez2003
            last edited by Darksavior

            @gamez-fan Ok, I tried batrider..I do notice occasional dips in fps as low as 59.7fps using stock pi3 speeds with mame2003 cf5f0b9. Solid 60fps on fba. I don't believe this relates to @AndersHP 's problem but it does verify the dips others have said.

            arcadez2003A 1 Reply Last reply Reply Quote 0
            • arcadez2003A
              arcadez2003 @Darksavior
              last edited by arcadez2003

              @darksavior said in Retroarch 1.6.9 update slowing emulations down?:

              @gamez-fan Ok, I tried batrider..I do notice occasional dips in fps as low as 59.7fps using stock pi3 speeds with mame2003 cf5f0b9. Solid 60fps on fba. I don't believe this relates to @AndersHP 's problem but it does verify the dips others have said.

              Ok i've just committed some changes to the git for the Toaplan 2 driver which i hope will sort this.

              Regards

              Arcade Addict

              DarksaviorD 1 Reply Last reply Reply Quote 0
              • DarksaviorD
                Darksavior @arcadez2003
                last edited by Darksavior

                @gamez-fan Trying 0f22fe2, I only see dips of 59.9fps now which are occasional. Fba is less common to see 59.9fps. I'm still using stock pi3 speeds. Much better performance, but I'd stick with fba for batrider.

                1 Reply Last reply Reply Quote 0
                • AndersHPA
                  AndersHP
                  last edited by

                  @darksavior said in Retroarch 1.6.9 update slowing emulations down?:

                  @andershp Speeds won't be that bad in filezilla if you use ethernet. Why not try another micro sd and update that to latest to verify a config error on your end?

                  I only own one microSD. But maybe I could start with a clean install on this, and if it fails again, it has to be the SD? If the SD is broken, I just think it's odd that 1.6.7 works fine..?

                  Also see what @Slimy states here.

                  I will try a fresh install on my microSD, but I could also gather more data from all my installed systems if you like. A list of games that's affected, emulator versions and such. I'm no coder though, so a bit of input as to what you want to know would be appreciated.. Watch this space.

                  My "Bubble Bobble" Themed Bartop Arcade
                  My Gameboy

                  DarksaviorD 1 Reply Last reply Reply Quote 0
                  • DarksaviorD
                    Darksavior @AndersHP
                    last edited by Darksavior

                    @andershp You can try and uninstall, then reinstall the emulators causing the problems. Not sure if that gets rid of anything that was altered. Still interesting how both of you have the same problem. You can also re-install retroarch from retropie-setup.

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      Slimy @Darksavior
                      last edited by

                      @darksavior
                      Hello from the other thread. I tried removing and re-installing retroarch as you suggested, but that did not work.

                      Could the slowdown have something to do with the Pegasus frontend? Both myself and AndersHP had it installed, I think. I'm not using Pegasus right now, but I did still have it installed on the Pi with slowdowns. Although the slowdown still persists after I've uninstalled it.

                      AndersHPA DarksaviorD 2 Replies Last reply Reply Quote -1
                      • AndersHPA
                        AndersHP @Slimy
                        last edited by AndersHP

                        @slimy said in Retroarch 1.6.9 update slowing emulations down?:

                        @darksavior
                        Hello from the other thread.

                        I must have called a thousand times :)

                        Joke aside, here's a list of tested games and how they perform. Note that pretty much all games I've been playing before, with no problems.

                        MAME2003:
                        1941, 1942, 1943, 1944, Alien vs Predator, Battle Chopper, Dodonpachi, The Punisher: Everything OK.
                        19XX, Air Gallet, In The Hunt: sound stuttering when much happens on screen. Game playable though.
                        64'th Street, After Burner II, Dangun Feverun: All sound stuttering, including music. Very slow video & audio. Completely unplayable.

                        Sega Megadrive & Sega Master System: All games tested ok!

                        NeoGeo (fba 0.2.97.39 romset): All games tested ok!

                        SNES (lr-snes9x2010):
                        Chuck Rock, Donkey Kong Country: All ok
                        Aero Fighters, Aladdin, Chrono Trigger, Choplifter III, Brawl Brothers, Donkey Kong Country 3: Sound stuttering, games playable though.
                        Alien 3, Clay Fighter: All sound stuttering, including music. Very slow video & audio. Completely unplayable.

                        This was my list. I don't know how to check emulator versions - sorry for being such a n00b! But before testing I updated everything, cores, and kernels and whatever.

                        My "Bubble Bobble" Themed Bartop Arcade
                        My Gameboy

                        arcadez2003A 1 Reply Last reply Reply Quote 0
                        • arcadez2003A
                          arcadez2003 @AndersHP
                          last edited by arcadez2003

                          @slimy said in Retroarch 1.6.9 update slowing emulations down?:

                          MAME2003:
                          19XX, Air Gallet, In The Hunt: sound stuttering when much happens on screen. Game playable though.
                          64'th Street, After Burner II, Dangun Feverun: All sound stuttering, including music. Very slow video & audio. Completely unplayable.

                          Hi i only made changes to the MAME2003 codebase i never touched the code for the consoles or FBA, from the list above i made small tweak
                          the CPU comms to fix game speed in Avenging Spirit i suppose in doing that it might have broken the game speed for the other Mega System 1
                          games eg 64th street it'll be easy to revert that change if it's causing problems although it doesn't on any other platform, Sega core
                          has been rolled back to the previous libretro mame-2003 version so that should be good again.

                          You mention In The Hunt which is an IREM92 game Dangun Feveron is Cave i've touched nothing in those drivers which should affect
                          game speed so im at a loss here as to why this would happen in your build.

                          Arcade Addict

                          AndersHPA 2 Replies Last reply Reply Quote 0
                          • AndersHPA
                            AndersHP @arcadez2003
                            last edited by AndersHP

                            @gamez-fan as stated earlier, I think the Retroarch update stresses my system in a way that's giving the pi less headroom. The games struggling seems to be the ones with more advanced graphics/sound, or is it just me? I don't think this is because of tweaking in the code.

                            I will try a clean install tomorrow and see if that rules out my microsd.

                            My "Bubble Bobble" Themed Bartop Arcade
                            My Gameboy

                            1 Reply Last reply Reply Quote 0
                            • DarksaviorD
                              Darksavior @Slimy
                              last edited by Darksavior

                              @slimy I use Pegasus. My pi's performance is fine. As I already told @AndersHP, we are getting nowhere in troubleshooting this...the easiest way is to try a clean install. Also, try building the emulators from source to see if that makes a difference.

                              AndersHPA 1 Reply Last reply Reply Quote 0
                              • AndersHPA
                                AndersHP @Darksavior
                                last edited by AndersHP

                                @darksavior said in Retroarch 1.6.9 update slowing emulations down?:

                                @slimy As I already told @AndersHP, we are getting nowhere in troubleshooting this...

                                As I stated, I'm no coder. But I provided a list above, hopefully this could help? Otherwise, please tell me what to look for.

                                the easiest way is to try a clean install. Also, try building the emulators from source to see if that makes a difference.

                                I will try rebuilding from source and then ultimately a clean install.
                                This is great and all, but as all my scraped art is on the SD, this process will take me many days to recover from, and will tell nothing about what happened.

                                @Darksavior when you say Filezilla via Ethernet, do you mean connecting my pi to my router or Ethernet between pi and computer? Have you tried writing to EXT4 with either Paragon (Windows) or Fuse (Mac)?

                                My "Bubble Bobble" Themed Bartop Arcade
                                My Gameboy

                                dankcushionsD DarksaviorD 2 Replies Last reply Reply Quote 0
                                • dankcushionsD
                                  dankcushions Global Moderator @AndersHP
                                  last edited by

                                  @andershp i suspect it's your lag reducing settings: https://retropie.org.uk/forum/topic/13263/input-lag-guide/7

                                  retroarch updates may have changed how they affect things, who knows. if you've been changing that sort of stuff then all bets are off.

                                  AndersHPA 1 Reply Last reply Reply Quote 1
                                  • DarksaviorD
                                    Darksavior @AndersHP
                                    last edited by Darksavior

                                    @andershp You can make a backup of your whole Image with win32diskimager too if you don’t want to manually backup with transferring by FileZilla.

                                    1 Reply Last reply Reply Quote 0
                                    • AndersHPA
                                      AndersHP @dankcushions
                                      last edited by

                                      @dankcushions said in Retroarch 1.6.9 update slowing emulations down?:

                                      @andershp i suspect it's your lag reducing settings: https://retropie.org.uk/forum/topic/13263/input-lag-guide/7

                                      retroarch updates may have changed how they affect things, who knows. if you've been changing that sort of stuff then all bets are off.

                                      You, sir, just saved me from a ton of work! Thank you!
                                      @Slimy have you tried deleting your retroarch.cfg file in opt/retropie/configs/all and then reinstall Retroarch from the Retropie setup menu?

                                      I just did this, and then transferred only my changes regarding controls, to the newly generated retroarch.cfg file, and it helped in every one of the games with issues!

                                      My "Bubble Bobble" Themed Bartop Arcade
                                      My Gameboy

                                      DarksaviorD S 2 Replies Last reply Reply Quote 0
                                      • P
                                        psyke83 Global Moderator
                                        last edited by psyke83

                                        Can any folks who are experiencing slowdown with the new RetroArch 1.6.9 let me know their video_max_swapchain_images setting? If you check via the interface, it's the "Max swapchain images" in the Video menu.

                                        The Broadcom vendor driver was not respecting a swapchain value of 2 or lower until support was added in RetroArch 1.6.9. Now it works, and a lower value does decrease input latency, but it also increases the GPU rendering strain. It's likely a good setting for 8-bit era emulators, but will cause strain for more CPU/GPU intensive emulators...

                                        AndersHPA 1 Reply Last reply Reply Quote 1
                                        • AndersHPA
                                          AndersHP @psyke83
                                          last edited by

                                          @psyke83 Yes. My old retroarch.cfg file had video_max_swapchain_images set to 2, and now I'm running it at 3. I don't know if this was the entire solution for me though, I can see there's many new lines in the new file.

                                          My "Bubble Bobble" Themed Bartop Arcade
                                          My Gameboy

                                          1 Reply Last reply Reply Quote 0
                                          • P
                                            psyke83 Global Moderator
                                            last edited by psyke83

                                            @AndersHP

                                            Thanks. So the "solution" is to use the default swapchain of 3 for the intensive systems such as SNES. Guides that advocated using a swapchain of 2 were technically correct, but it never made any difference until now.

                                            You could try tweaking other settings (e.g. enable threaded video rendering) to see if the stutter can be improved with a swapchain of 2, but I'm uncertain if that will put you in a better or worse situation when it comes to input latency.

                                            AndersHPA dankcushionsD 2 Replies 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.