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

    Deathsmiles on lr-mame2015 : Any performance tips?

    Scheduled Pinned Locked Moved Help and Support
    mame 2015pi4arcade
    134 Posts 15 Posters 33.9k 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.
    • A
      AdamBeGood @pjft
      last edited by

      @pjft I often have trouble getting into mega.nz. Is there some trick to it? At the moment I just try every hour or so and eventually I will be able to access the file. I've tried on my phone and PC, when it comes up on one it will come up on the other.

      pjftP 1 Reply Last reply Reply Quote 0
      • A
        AdamBeGood @Darksavior
        last edited by

        @Darksavior Which setting is it in my latency settings that makes the audio drop out? I still have them set like that and don't know which one it is.

        DarksaviorD 1 Reply Last reply Reply Quote 0
        • pjftP
          pjft @AdamBeGood
          last edited by pjft

          @AdamBeGood Here's the same on Google Drive:

          (new link): https://drive.google.com/file/d/1faM11qnX0p3BD4BW3ipSz5MwABT_jra7/view?usp=sharing

          1 Reply Last reply Reply Quote 1
          • S
            stevas
            last edited by stevas

            Thanks for the replies all.

            I realised though, I have voltage only at 4. Not sure if that's why I get issues trying to push these values, I'll try that out.

            Edit: yeah, the random freezing is what I was talking about. Is it possible that's down to the over voltage not being set high enough? Anyway, I will test that.

            pjftP 1 Reply Last reply Reply Quote 0
            • pjftP
              pjft @stevas
              last edited by

              @stevas Definitely - without over_voltage 6 my pi would not boot. I forgot that once.

              1 Reply Last reply Reply Quote 0
              • pjftP
                pjft
                last edited by

                PR submitted upstream - a simplified version of the code, actually.

                https://github.com/libretro/mame2016-libretro/pull/43

                If anyone wants to test the latest version, here it is. Nothing should really have changed, but the more the merrier.

                https://mega.nz/file/UFU11KSI#9kTKoOWAg-WpqCbTm7tKXei5cPgFAizDciurrbyPQuk

                And here on Google Drive:

                https://drive.google.com/file/d/1faM11qnX0p3BD4BW3ipSz5MwABT_jra7/view?usp=sharing

                1 Reply Last reply Reply Quote 0
                • A
                  AdamBeGood @roslof
                  last edited by AdamBeGood

                  @roslof / @pjft Sorry to ask a perhaps daft question, but I can't copy the file into that folder via WinSCP as I don't have the rights. How do I resolve that?

                  Thanks very much for sharing the Google Drive link.

                  roslofR 1 Reply Last reply Reply Quote 0
                  • roslofR
                    roslof @AdamBeGood
                    last edited by

                    @AdamBeGood sounds like you're downloading to a PC, then uploading to the pi? You could put it in your pi home drive, where you should have permission to save. Something like /home/pi/Downloads

                    Then you could open a console window and move it to the correct location.

                    sudo mv /home/pi/Downloads/mamearcade2016_libretro.so /opt/retropie/libretrocores/lr-mame2016/
                    
                    A 1 Reply Last reply Reply Quote 1
                    • pjftP
                      pjft @roslof
                      last edited by

                      @roslof help me out here - running from the lr-mame binary I get segmentation faults on both ddp3 and ddpdojt . Am I missing something?

                      roslofR 1 Reply Last reply Reply Quote 0
                      • roslofR
                        roslof @pjft
                        last edited by roslof

                        @pjft said in Deathsmiles on lr-mame2015 : Any performance tips?:

                        @roslof help me out here - running from the lr-mame binary I get segmentation faults on both ddp3 and ddpdojt . Am I missing something?

                        Launch ddp3 with verbose logging enabled. Copy /dev/shm/runcommand.log output to pastebin.com and post link here.

                        pjftP 1 Reply Last reply Reply Quote 0
                        • A
                          AdamBeGood @roslof
                          last edited by

                          @roslof That works perfectly! But my Overclock setting still isn't saving.... Do I need to change it within the config rather than within the game?

                          roslofR 1 Reply Last reply Reply Quote 0
                          • roslofR
                            roslof @AdamBeGood
                            last edited by roslof

                            @AdamBeGood said in Deathsmiles on lr-mame2015 : Any performance tips?:

                            @roslof That works perfectly! But my Overclock setting still isn't saving.... Do I need to change it within the config rather than within the game?

                            Change it from the Core Options. Not from the MAME Tab slider options.

                            How: While running the game, with your game controller, hold your hotkey, and whatever button you mapped to "X" to enter RetroArch menu. Then scroll down to Options. Change CPU in there. THEN scroll to the top of the Options menu and Create a game configuration, so the CPU change only saves for the game you are running.

                            A 1 Reply Last reply Reply Quote 1
                            • A
                              AdamBeGood @roslof
                              last edited by

                              @roslof Clever stuff! Yep, that works. Thank you!

                              1 Reply Last reply Reply Quote 0
                              • pjftP
                                pjft @roslof
                                last edited by

                                @roslof Nevermind. Nothing that reinstalling the binary didn't fix - interesting.

                                Thanks.

                                B 1 Reply Last reply Reply Quote 2
                                • B
                                  barbudreadmon @pjft
                                  last edited by

                                  @pjft i've no rights on the mame2016 repo, but i notified the people who have about your PR

                                  FBNeo developer - github - forum

                                  pjftP 1 Reply Last reply Reply Quote 2
                                  • pjftP
                                    pjft @barbudreadmon
                                    last edited by

                                    @barbudreadmon Thank you so much for the comment there and for the feedback here!

                                    1 Reply Last reply Reply Quote 0
                                    • pjftP
                                      pjft
                                      last edited by

                                      The PR was just accepted, so you may all just update lr-mame2016 from source and it should have the option.

                                      Thanks @barbudreadmon for the help there, and everyone else here for testing. I look forward to hearing about preferred underclock options for the different games :)

                                      roslofR 1 Reply Last reply Reply Quote 2
                                      • roslofR
                                        roslof @pjft
                                        last edited by

                                        @pjft congratulations! A worthy upgrade.

                                        1 Reply Last reply Reply Quote 2
                                        • DarksaviorD
                                          Darksavior @AdamBeGood
                                          last edited by

                                          @AdamBeGood MIght be a combination of max swapchain images = 4 and audio latency =256

                                          1 Reply Last reply Reply Quote 0
                                          • pjftP
                                            pjft
                                            last edited by

                                            To close off this thread - at least until there are more recommendations for actual underclock settings, here are the results of my testing on DoDonPachi Dai-Fukkatsu and Deathsmiles.

                                            I tested running two loops of their attract mode for both, and here are the results:

                                            Deathsmiles
                                            --------
                                            Overclock set to 100%:
                                            [INFO] Threaded video stats: Frames pushed: 14467, Frames dropped: 0.
                                            Average speed: 96.09% (240 seconds)
                                            
                                            Overclock set to 42%:
                                            [INFO] Threaded video stats: Frames pushed: 15256, Frames dropped: 0.
                                            Average speed: 99.63% (253 seconds)
                                            
                                            -----------
                                            DDPDFK
                                            
                                            Overclock set to 100%: 
                                            [INFO] Threaded video stats: Frames pushed: 13376, Frames dropped: 0.
                                            Average speed: 94.03% (222 seconds)
                                            
                                            [INFO] Threaded video stats: Frames pushed: 13398, Frames dropped: 0.
                                            Average speed: 94.42% (222 seconds)
                                            
                                            
                                            Overclock set to 40%:
                                            [INFO] Threaded video stats: Frames pushed: 14502, Frames dropped: 0.
                                            Average speed: 98.18% (241 seconds)
                                            
                                            
                                            Overclock set to 37%: 
                                            [INFO] Threaded video stats: Frames pushed: 14837, Frames dropped: 0.
                                            Average speed: 98.64% (246 seconds)
                                            
                                            [INFO] Threaded video stats: Frames pushed: 14827, Frames dropped: 0.
                                            Average speed: 98.59% (246 seconds)
                                            

                                            So, overall, the underclocked runs do seem to have a higher average speed (as expected, but also helps confirm that the changes are doing something, as well as that the underclocked version takes longer (human time) to get to the same place in the emulation - Deathsmiles averages 99.6% speed at 42% Overclock (vs 96.1% at the original clock speed), but takes 13 seconds longer to run the two attract mode loops. DoDonPachi Dai-Fukkatsu takes 24 more seconds, and averages 98.6% speed at 37% Overclock (up from ~94.2% at the original clock speed).

                                            Have fun.

                                            A DarksaviorD 2 Replies Last reply Reply Quote 2
                                            • 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.