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.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.
    • B
      barbudreadmon @dankcushions
      last edited by

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

      yabause has had an sh2 dynarec forever.

      Yeah, furthermore the bottleneck for saturn emulation has always clearly been the rendering part with its 2 VDPs. Pi4's GPU is just way too lacking to handle that...

      FBNeo developer - github - forum

      Z 1 Reply Last reply Reply Quote 0
      • Z
        Zering @barbudreadmon
        last edited by

        @barbudreadmon So, being realistic, we can't expect Saturn emulation to improve until the next generation of Pi computers?

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

          @zering I suspect a big part of the problem to be in pi's GPU drivers, but yeah having a superior GPU (assuming pi5 will have that) would certainly help. Otherwise you could also consider buying a better SoC, like the odroid n2 which was available long before the pi4.

          FBNeo developer - github - forum

          1 Reply Last reply Reply Quote 0
          • DreamcastKidD
            DreamcastKid Banned @barbudreadmon
            last edited by BuZz

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

            it's almost hilarious in street fighter alpha 2 (one of the saturn 2D games reported as "being perfectly playable" on pi4 ?) when the flickering fireballs sometimes won't even be visible due to all the visibility frames being skipped.

            Perfectly playable on my RPi4 .. no frame skipping on or flickering fireballs

            B 1 Reply Last reply Reply Quote 0
            • DreamcastKidD
              DreamcastKid Banned @barbudreadmon
              last edited by BuZz

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

              All of this to say : "Marvel Super Heroes Vs Street Fighter" and "Night Warriors" are perfect examples of games you should never even think of playing on yabasanshiro.

              Have only test Night Warriors ... runs pretty good using lr-yabause with no frame skipping on :)

              1 Reply Last reply Reply Quote 0
              • B
                barbudreadmon @DreamcastKid
                last edited by barbudreadmon

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

                no frame skipping on or flickering fireballs

                One of those statements is false.
                Just to be clear, the fireballs must flicker, they do in all 2D street fighters afaik, flickering was an effect used to fake transparency before 3D systems, it is about showing an element for 1 frame then not showing it in the next one, and repeat.
                If your fireballs don't flicker, then that means the frames when the fireball is invisible are skipped, and you have frameskip on.

                FBNeo developer - github - forum

                1 Reply Last reply Reply Quote 0
                • A
                  acidtech @barbudreadmon
                  last edited by acidtech

                  @barbudreadmon Sorry, but that video was horrible. I compiled a version of Yabause/Sanshiro last year/early this year and played Sega Rally significantly better than that and that was just a goof to see what was could be done.

                  see link below.

                  So don't get too down based on that video.

                  Found the old thread: https://retropie.org.uk/forum/topic/24568/is-yabasanshiro-emulator-coming-on-retropie/268?_=1613102464587

                  Follow the instructions there(you will have to piece them together somewhat but its not that hard) and you should be able to build a standalone yabause/yaba sanshiro that plays sega rally decently. Not completely without frame skip but way better than that video shows.

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

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

                    I compiled a version of Yabause/Sanshiro last year/early this year and played Sega Rally significantly better than that and that was just a goof to see what was could be done.

                    I know the situation, actually i was the one who recommended to use standalone and to forget about the libretro core i wrote.
                    With standalone version it will be significantly faster :

                    • because you won't have to go through the libretro api for gl rendering, the most significant overhead you'll get with a libretro core over its standalone version is when opengl/gles is involved
                    • because standalone version of yabasanshiro is offloading part of the rendering to a subthread, which is something impossible to do with the libretro api

                    FBNeo developer - github - forum

                    Z 1 Reply Last reply Reply Quote 0
                    • Z
                      Zering @barbudreadmon
                      last edited by

                      @barbudreadmon How do you go about installing the standalone core on the pi 4?

                      B 1 Reply Last reply Reply Quote 0
                      • B
                        barbudreadmon @Zering
                        last edited by

                        @zering clone the pi4 branch with git clone https://github.com/devmiyax/yabause.git -b pi4 then follow the steps at https://github.com/devmiyax/yabause/tree/pi4/yabause/src/retro_arena#retropie-on-raspberry-pi-4 to build it ?

                        FBNeo developer - github - forum

                        Z 1 Reply Last reply Reply Quote 0
                        • Z
                          Zering @barbudreadmon
                          last edited by

                          @barbudreadmon Thanks. I've successfully cloned the branch but when I try the first cmake command I get a bash command not found error. Is it possible there's an error in the syntax?

                          B 1 Reply Last reply Reply Quote 0
                          • B
                            barbudreadmon @Zering
                            last edited by

                            @zering i think that command line expects you to run https://github.com/devmiyax/yabause/tree/pi4/yabause/src/retro_arena#get-source-code first

                            FBNeo developer - github - forum

                            Z 1 Reply Last reply Reply Quote 0
                            • Z
                              Zering @barbudreadmon
                              last edited by

                              @barbudreadmon Thanks, I got it working. Very impressed with the results. Finally I can play Panzer Dragoon Saga again!

                              A 1 Reply Last reply Reply Quote 0
                              • G
                                G30FF
                                last edited by

                                I followed the instructions to install standalone yabasanshiro for my Pi 4, and it's up and running. I tried a couple of games, and they work great! However I'm having one minor issue I'm hoping for help with. It says in the README that select is hard mapped to Show/Hide Menu, but even after mapping select manually through keymapv2.json in ~/.yabasanshiro, it's not recognizing select on my controller. I can only open the menu with Esc on a keyboard. Also, I need to use a mouse to navigate or interact with the Yabasanshiro menu. Is it possible to do this with just a controller? Sorry if this is a dumb question or one that has already been answered.

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

                                  @zering I've done something wrong here.

                                  Is this the order of code?

                                  $ apt update 
                                  $ apt install -y git python-pip cmake build-essential protobuf-compiler libprotobuf-dev libsecret-1-dev libssl-dev libsdl2-dev libboost-all-dev 
                                  $ git clone https://github.com/devmiyax/yabause.git
                                  $ cd yabause
                                  $ git submodule update --init --recursive
                                  $ mkdir build
                                  $ cd build
                                  
                                  $ cmake ../yabause -DGIT_EXECUTABLE=/usr/bin/git -DYAB_PORTS=retro_arena -DYAB_WANT_DYNAREC_DEVMIYAX=ON -DYAB_WANT_ARM7=ON -DCMAKE_TOOLCHAIN_FILE=../yabause/src/retro_arena/pi4.cmake -DCMAKE_INSTALL_PREFIX=/opt/retropie/emulators/yabause/
                                  $ make 
                                  $ sudo make install
                                  

                                  I get all kinds of errors on the cmake line:

                                  CMake Error at /usr/share/cmake-3.13/Modules/CMakeDetermineSystem.cmake:100 (message):
                                    Could not find toolchain file: ../yabause/src/retro_arena/pi4.cmake
                                  Call Stack (most recent call first):
                                    CMakeLists.txt:1 (project)
                                  
                                  
                                  CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
                                  CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
                                  CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
                                  -- Configuring incomplete, errors occurred!
                                  

                                  It was going smoothly until then, I thought I was on to a winner!

                                  B 1 Reply Last reply Reply Quote 0
                                  • B
                                    barbudreadmon @AdamBeGood
                                    last edited by

                                    @adambegood you need to add -b pi4 to the git clone command

                                    FBNeo developer - github - forum

                                    shavecatS A 2 Replies Last reply Reply Quote 0
                                    • shavecatS
                                      shavecat @barbudreadmon
                                      last edited by

                                      Hey
                                      im trying to update lr-yabasanshiro
                                      But im getting this error -
                                      8653cd0e-5ff5-4816-be28-78c604b9c621-image.png
                                      Help ? :)

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

                                        @barbudreadmon Okay, thank you so much. I could have realised that, it was written elsewhere.

                                        0abe4f28-2859-4afd-af42-87c2bf7d45b5-image.png

                                        I've deleted the home/pi/yabause directory, but I still get

                                        root@retropie:~# git clone https://github.com/devmiyax/yabause.git -b pi4       
                                        fatal: destination path 'yabause' already exists and is not an empty directory.
                                        

                                        Any idea how I reset that? Thanks very much for the help.

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

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

                                          Hey
                                          im trying to update lr-yabasanshiro
                                          But im getting this error -
                                          8653cd0e-5ff5-4816-be28-78c604b9c621-image.png
                                          Help ? :)

                                          I think this is dealt with previously, if you scroll up. It rings a massive bell to me.

                                          shavecatS 1 Reply Last reply Reply Quote 0
                                          • shavecatS
                                            shavecat @AdamBeGood
                                            last edited by shavecat

                                            I already have it
                                            i just cant update it

                                            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.