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

    Raspberry Pi 4B 4GB and the Sega Saturn

    Scheduled Pinned Locked Moved Ideas and Development
    saturnemulationimprovement
    234 Posts 43 Posters 78.2k 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.
    • BuZzB
      BuZz administrators @mxstar1
      last edited by BuZz

      @mxstar1 the patch failed due to a line ending cleanup upstream (which is great as the mixed endings was an issue).

      I rebased the patch so it should work again.

      The issue I mentioned with virtua racer may still be present. By the looks of code changes the optimiser flags were tweaked for another arm board due to issues, but really the fix is to identify the undefined behaviour/problematic code and fix it so it doesn't behave differently at different optimiser levels.

      To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

      1 Reply Last reply Reply Quote 1
      • BuZzB
        BuZz administrators
        last edited by BuZz

        The virtua racer issue I had seen before when lowering optimisation levels. However it's not the cause now and changing them doesn't help unless I revert to an earlier version.

        Bisecting is tricky due to the fork having submodules. I will need to bisect, re-adding submodules when hitting a commit from the upstream repo to find out which actual upstream commit (parent to the libretro branch) had the issue so it will take longer. Probably debugging the parent standalone version would work better.

        In the meantime I am going to change my branch to use an older version again.

        To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

        1 Reply Last reply Reply Quote 0
        • BuZzB
          BuZz administrators
          last edited by

          Sorry for topic spam. I have reset my branch back to how it was in may (probably shouldn't have squashed my changes as had to usegit reflog to roll back).

          I force a version from Jul 11th now.

          This was before some big merges were made from upstream. Probably improvements for some games but now my test game virtua racer is working again, and due to the issues I mentioned above it's better for now to lock to this version until I have some time to feed some useful reports upstream.

          You will need to do a fresh checkout of my branch etc probably.

          To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

          LibationL A 2 Replies Last reply Reply Quote 3
          • LibationL
            Libation @BuZz
            last edited by Libation

            @BuZz Just installed, working now. Thank you very much! I did have to to do a fresh checkout of your branch (for anyone else reading).

            1 Reply Last reply Reply Quote 0
            • defixionesD
              defixiones
              last edited by

              The patch still won't apply for me, using the latest version of the two files, pulling yabuse 73c67668.

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

                Hi all,

                Just wondering if anyone has tried to update their Yabanshiro recently? I was thinking about giving it a go to see if there have been any improvements - I was trying to run ThunderForce V and it doesn't run very well on my Pi.

                Then I see there have been some issues with more recent versions and wondered if I should leave my version as it is, and not mess around.

                Thanks!
                Adam

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

                  @adambegood No change. Since Thunderforce 5 runs at around 35fps on my pi4 at 2Ghz/750Mhz, I don't expect to ever be playable.

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

                    @darksavior said in Raspberry Pi 4B 4GB and the Sega Saturn:

                    @adambegood No change. Since Thunderforce 5 runs at around 35fps on my pi4 at 2Ghz/750Mhz, I don't expect to ever be playable.

                    I'll have a look at the PSX version then...

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

                      @buzz said in Raspberry Pi 4B 4GB and the Sega Saturn:

                      Sorry for topic spam. I have reset my branch back to how it was in may (probably shouldn't have squashed my changes as had to usegit reflog to roll back).

                      I force a version from Jul 11th now.

                      This was before some big merges were made from upstream. Probably improvements for some games but now my test game virtua racer is working again, and due to the issues I mentioned above it's better for now to lock to this version until I have some time to feed some useful reports upstream.

                      You will need to do a fresh checkout of my branch etc probably.

                      Sorry for the ignorance but where do I locate your branch?

                      I've tried to update my Yabanshiro and it isn't working now, presumably because of me having the older patch.

                      Thanks for the help.

                      1 Reply Last reply Reply Quote 0
                      • F
                        Firebird_WS6
                        last edited by Firebird_WS6

                        @BuZz Just tried to compile and got the following error message:

                        /home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-yabasanshiro/01_shader_hack_rpi4.diff failed to apply.

                        It seemed from a few posts earlier that the diff failing to apply had been resolved? Is there something I need to change in the original method of installation to get this to work?

                        Edit: I think I found @BuZz branch and changed the source in lr-yabasanshiro.sh to

                        gitPullOrClone "$md_build" https://github.com/joolswills/yabause.git yabasanshiro

                        It looked like it was working and I didn't get the failed to apply diff error, but in the end I got this error message:

                        Could not successfully build lr-yabasanshiro - Saturn & ST-V emulator - Yabasanshiro port for libretro (/home/pi/RetroPie-Setup/tmp/build/lr-yabasanshiro/yabause/src/libretro/yabasanshiro_libretro.so not found).

                        Any ideas how to fix?

                        BuZzB DarksaviorD 2 Replies Last reply Reply Quote 0
                        • BuZzB
                          BuZz administrators
                          last edited by

                          It builds ok here. You probably have an old checkout or didn't reset to my upstream code after I force pushed changes.

                          Do a clean checkout of my branch in a new location perhaps. I recently rolled back and there are still issues with some games I tested due to GCC optimization of code with undefined behaviour.

                          Id rather not this become something I'm asked to help with sorry - the current PR builds fine but it's not supported.

                          To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                          F 1 Reply Last reply Reply Quote 0
                          • BuZzB
                            BuZz administrators @Firebird_WS6
                            last edited by

                            @firebird_ws6 also don't switch it to my fork. My PR doesn't use my fork of the main code.

                            To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

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

                              @firebird_ws6 I installed it yesterday without issues.

                              1 Reply Last reply Reply Quote 1
                              • F
                                Firebird_WS6 @BuZz
                                last edited by Firebird_WS6

                                @Darksavior @buzz I'm still learning with building packages. I'm not sure what needs to change in lr-yabasanshiro.sh to make it use your branch. Currently the default is as follows:

                                gitPullOrClone "$md_build" https://github.com/libretro/yabause.git yabasanshiro

                                What would I need to change in this?

                                BuZzB DarksaviorD 2 Replies Last reply Reply Quote 0
                                • BuZzB
                                  BuZz administrators @Firebird_WS6
                                  last edited by

                                  @firebird_ws6 what do you mean default?

                                  The code is not in RetroPie by default and that line has been changed in my branch some time ago.

                                  To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                                  F 1 Reply Last reply Reply Quote 0
                                  • F
                                    Firebird_WS6 @BuZz
                                    last edited by Firebird_WS6

                                    @buzz I meant the files that quicksilver posted earlier in this thread. I'm still learning with Github, I think I found your branch (as opposed to your fork), which it looks like was updated just now. I copied the code into the files on my Pi4 so I'll give it a go at building again. Thanks for your help.

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

                                      @firebird_ws6 I'm using the scripts from here: https://github.com/joolswills/RetroPie-Setup/tree/lr-yabasanshiro

                                      1 Reply Last reply Reply Quote 0
                                      • BuZzB
                                        BuZz administrators @Firebird_WS6
                                        last edited by BuZz

                                        @firebird_ws6 nothing changed in the branch. I just rebased it so it contains recent retropie changes from master branch. You need to checkout my branch and build from there.

                                        You can do this in another location. Maybe Google how to clone a Pull Request on GitHub. I think GitHub provides info on this also on the Pull request.

                                        eg. To grab a copy of this branch.

                                        cd ~
                                        mkdir temp
                                        cd temp
                                        git clone -b lr-yabasanshiro https://github.com/joolswills/RetroPie-Setup.git
                                        cd RetroPie-Setup
                                        sudo ./retropie_packages.sh lr-yabasanshiro
                                        

                                        If I update or rebase you can remove and redo or do git fetch origin and git reset --hard origin/lr-yabasanshiro

                                        To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                                        1 Reply Last reply Reply Quote 1
                                        • F
                                          Firebird_WS6
                                          last edited by Firebird_WS6

                                          @buzz @Darksavior Thanks again, that worked! It's installed and working.

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

                                            @firebird_ws6 Did yours work using Quicksilver's patch? I've entered the code that Buzz gave above:

                                            cd ~
                                            mkdir temp
                                            cd temp
                                            git clone -b lr-yabasanshiro https://github.com/joolswills/RetroPie-Setup.git
                                            cd RetroPie-Setup
                                            sudo ./retropie_packages.sh lr-yabasanshiro
                                            

                                            That all seemed to work fine but I am still getting the message that the shader hack has failed to apply when I update lr-yabanshiro, so I wonder if I need to do anything with that patch - or if the above would have updated that also...

                                            Edit: I've tried replacing Quicksilver's Patch file with Buzz's, but the result is the same.

                                            F 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.