• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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.7.5 causing FPS drops for CPS 3 games

Scheduled Pinned Locked Moved Help and Support
cps3retroarch 1.7.5
37 Posts 8 Posters 7.1k 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.
  • R
    RedBatman @grant2258
    last edited by 25 Oct 2018, 05:43

    @grant2258 said in Retroarch 1.7.5 causing FPS drops for CPS 3 games:

    you could try revert d313472bf07332ee429a80f906252dca348975e5 commit compile and see how it runs

    https://github.com/libretro/fbalpha/commit/d313472bf07332ee429a80f906252dca348975e5#diff-d51bfb6a692321f4224209e955b76d48

    I don't know how to do that either. But if FBA 2012 works good still then I'm fine with it, just as long as the current fba doesn't get any worse.

    1 Reply Last reply Reply Quote 0
    • D
      DarishZone Banned
      last edited by 27 Oct 2018, 23:34

      There's a way to revert to an older version of Retroarch?

      1 Reply Last reply Reply Quote 0
      • U
        UDb23 @RedBatman
        last edited by 28 Oct 2018, 07:28

        @RedBatman A new version is available. Is the issue still there ?

        1 Reply Last reply Reply Quote 0
        • D
          Darksavior
          last edited by Darksavior 28 Oct 2018, 10:42

          I retested using lr-fbalpha 2.97.44 from source. No change. To compare the differences to .42, using my pi3b+ overclocked to 1450, it runs as fast as a stock pi3 non + used to run at which is 60fps most of the time with dips of ~59.5-.7.

          1 Reply Last reply Reply Quote 0
          • B
            barbudreadmon
            last edited by 28 Oct 2018, 10:43

            Ok, i didn't know about the speed regression. There was indeed a huge CPS3 patch a few weeks ago to fix some bugs (it was mostly for jojoba actually, until very recently the combo meter in this game wasn't working properly in any emulator, see https://mamedev.emulab.it/haze/2018/10/02/little-changes-part-2/ for the news). I'll look if something can be done about it, however i won't revert a fixed code to a buggy code, as far as i understand this bug is not even happening if you own a rpi3b+ or if you overclock your rpi3...

            FBNeo developer - github - forum

            D 1 Reply Last reply 14 Nov 2018, 09:44 Reply Quote 1
            • D
              Darksavior @barbudreadmon
              last edited by Darksavior 14 Nov 2018, 09:44

              Pi3b nonplus at 1300 with SF3:
              .44 from source using default compile: Supers drop to ~58.x fps.
              .44 from source using altered compile settings: Supers drop to ~59.xfps.

              I believe this is the part that helps but I'll post the patches link for system.sh. I basically added all the green text and removed the red text. I replaced -O2 with -O3. YMMV. Supposedly -O3 " there's known issues in GCC 6.3.0 with some of the optimizations it enables."
              + __default_cflags="-O3 -march=armv8-a+crc -mtune=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -ftree-vectorize -funsafe-math-optimizations -funroll-loops -funswitch-loops"

              https://gist.github.com/GrieverV/b3d1a8e2c23c295b802f9e33286437c6

              B 1 Reply Last reply 14 Nov 2018, 13:52 Reply Quote 0
              • B
                barbudreadmon @Darksavior
                last edited by barbudreadmon 14 Nov 2018, 13:52

                @Darksavior except if retropie build script is totally ignoring my fbalpha makefile, i think the relevant part in what you wrote is -funroll-loops -funswitch-loops :

                • -ftree-vectorize is included in -O3, which is the fbalpha default
                • afaik -funsafe-math-optimizations should only have an impact on games using a lot of arythmetic function, it shouldn't be the case for cps3 (on a sidenote, raiden2 uses them a lot)

                Thanks for the information, i'll do some tests and if those flags are interesting speed-wise, i'll add them to default fbalpha cflags.

                Edit : actually -funswitch-loops is also part of -O3, meaning only -funroll-loops is relevant.
                Edit2 : i've been thinking for some time that this change is the culprit, so having a speedup with -funroll-loops makes a lot of sense actually.

                FBNeo developer - github - forum

                1 Reply Last reply Reply Quote 0
                • B
                  barbudreadmon
                  last edited by 15 Nov 2018, 15:03

                  Do you guys have rewind disabled for cps3 ? While it was kinda ok to let it enabled previously, recent updates won't allow it anymore speedwise.

                  FBNeo developer - github - forum

                  D 1 Reply Last reply 16 Nov 2018, 04:27 Reply Quote 0
                  • D
                    Darksavior @barbudreadmon
                    last edited by Darksavior 16 Nov 2018, 04:27

                    @barbudreadmon It's disabled by default so it's not enabled for me.

                    B 2 Replies Last reply 16 Nov 2018, 09:54 Reply Quote 0
                    • B
                      barbudreadmon @Darksavior
                      last edited by 16 Nov 2018, 09:54

                      @Darksavior -funroll-loops is now part of the fbalpha makefile.

                      FBNeo developer - github - forum

                      1 Reply Last reply Reply Quote 1
                      • B
                        barbudreadmon @Darksavior
                        last edited by 17 Nov 2018, 09:46

                        @Darksavior Another commit was applied to the fbalpha cps3 codebase today, it appears part of the jojoba combo meter fix could be optimized. Let me know if the slowdowns still happen.

                        FBNeo developer - github - forum

                        D 1 Reply Last reply 17 Nov 2018, 12:24 Reply Quote 0
                        • D
                          Darksavior @barbudreadmon
                          last edited by 17 Nov 2018, 12:24

                          @barbudreadmon No real change on the pi3b nonplus at 1300. SF3 dips to 59.x most of the time especially when doing a super. Funny, fba2012 isn't a stable 60fps either but it dips a lot less. Maybe this is the best it can be. Not even my pi3b+ at 1450 gets a stable 60fps in lr-fbalpha.

                          B 1 Reply Last reply 17 Nov 2018, 12:37 Reply Quote 0
                          • B
                            barbudreadmon @Darksavior
                            last edited by 17 Nov 2018, 12:37

                            @Darksavior cps3 refresh rate is actually 59.583393 (see http://adb.arcadeitalia.net/dettaglio_mame.php?game_name=sfiii&lang=en), so not having a stable 60fps is actually normal behavior.

                            FBNeo developer - github - forum

                            D 1 Reply Last reply 17 Nov 2018, 23:27 Reply Quote 0
                            • D
                              Darksavior @barbudreadmon
                              last edited by Darksavior 17 Nov 2018, 23:27

                              @barbudreadmon That explains it. So at this point I just want no static, so I connected it to my main 4k tv at 1080p with audio instead of the 1440x900 monitor to test. Supers still get static and in one instance had a drop to 58fps but fba2012 is way more stable in the fps and no severe slowdowns when doing supers. As long as people have a viable alternative I'd consider this "done".

                              Pi3b at 1300 users should use 2012. Pi3b+ users are fine.

                              R 1 Reply Last reply 18 Nov 2018, 17:21 Reply Quote 0
                              • R
                                RedBatman @Darksavior
                                last edited by 18 Nov 2018, 17:21

                                @Darksavior said in Retroarch 1.7.5 causing FPS drops for CPS 3 games:

                                @barbudreadmon That explains it. So at this point I just want no static, so I connected it to my main 4k tv at 1080p with audio instead of the 1440x900 monitor to test. Supers still get static and in one instance had a drop to 58fps but fba2012 is way more stable in the fps and no severe slowdowns when doing supers. As long as people have a viable alternative I'd consider this "done".

                                Pi3b at 1300 users should use 2012. Pi3b+ users are fine.

                                Yeah I myself tried the binary update and while it was a little better there was still noticeable audio lag, especially in Street Fighter 3 2nd Impact.

                                1 Reply Last reply Reply Quote 0
                                • G
                                  grant2258 Banned
                                  last edited by grant2258 18 Nov 2018, 18:36

                                  check your deviation from ra youll need logging on

                                  [INFO] Saved core options file to "C:\msys64\usr\local\bin\retroarch-core-options.cfg"
                                  [INFO] [Video]: Average monitor Hz: 60.006001 Hz. (1.540 % frame time deviation, based on 2048 last samples).
                                  [INFO] [Video]: Average monitor Hz: 60.006001 Hz. (1.540 % frame time deviation, based on 2048 last samples).

                                  see if its a sound/video sync issue i dont have the romset from fba but it could be this as well

                                  1 Reply Last reply Reply Quote 0
                                  • pjftP
                                    pjft
                                    last edited by 28 Nov 2018, 09:30

                                    @RedBatman did you end up confirming whether the latest code addresses the issue? I've been wanting to update lr-fbalpha but have held off since you opened this.

                                    B 1 Reply Last reply 28 Nov 2018, 10:54 Reply Quote 0
                                    • B
                                      barbudreadmon @pjft
                                      last edited by barbudreadmon 28 Nov 2018, 10:54

                                      @pjft There were some improvement speedwise, however it appears there are some slowdowns depending on your overclocking. It might be 100% ok on retropie at 1350mhz, i can't confirm since i don't use retropie (i'm using a highly customized linux and not debian-based setup) and it's running fine on mine at a lower frequency.

                                      Anyway i don't intend to look more into this, because you already have several option to solve this if you don't want to stay forever at an older commit :

                                      • using a higher overclocking value (1350 might be ok).
                                      • using a frameskip of 1 in core options would most likely solve this issue
                                      • a rpi3b+ is only 35$ and it has been reported to solve the issue.
                                      • using an old core for those games (fba2012 ?), however you won't benefit from the fixes to the cps3 driver (jojoba combo meter and some graphical glitches due to tile priority issues)

                                      FBNeo developer - github - forum

                                      pjftP 1 Reply Last reply 28 Nov 2018, 12:59 Reply Quote 1
                                      • pjftP
                                        pjft @barbudreadmon
                                        last edited by 28 Nov 2018, 12:59

                                        @barbudreadmon by all means, that sounds fair. I have a 3B+, but it wasn't clear to me whether it would be working fine there.

                                        I'll test it out when I'm back. I was mostly considering upgrading as I noticed that the high scores for Mars Matrix weren't saving in the build I was running. PGM bios, I think.

                                        Thanks for the good work.

                                        B 1 Reply Last reply 28 Nov 2018, 13:05 Reply Quote 0
                                        • B
                                          barbudreadmon @pjft
                                          last edited by 28 Nov 2018, 13:05

                                          @pjft said in Retroarch 1.7.5 causing FPS drops for CPS 3 games:

                                          I noticed that the high scores for Mars Matrix weren't saving in the build I was running

                                          Might be an old build or a missing entry in your hiscore.dat then. That's a cps2 game and hiscores should work in cps2 games (i added hiscore support to cps1/cps2 in june 2018).

                                          Also, be careful about romsets after updating : https://retropie.org.uk/forum/topic/19741/new-fb-alpha-libretro-pre-v0-2-97-44

                                          FBNeo developer - github - forum

                                          pjftP 1 Reply Last reply 28 Nov 2018, 15:19 Reply Quote 1
                                          • 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.

                                            This community forum collects and processes your personal information.
                                            consent.not_received