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

    Is Yabasanshiro emulator coming on retropie?

    Scheduled Pinned Locked Moved Help and Support
    sega saturnemulator
    362 Posts 37 Posters 383.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.
    • M
      myzar @grant2258
      last edited by

      @grant2258 said in Is Yabasanshiro emulator coming on retropie?:

      @myzar said in Is Yabasanshiro emulator coming on retropie?:

      @barbudreadmon said in Is Yabasanshiro emulator coming on retropie?:

      @myzar There is also the build option based on https://github.com/devmiyax/yabause/tree/master/yabause/src/retro_arena with minimalistic ui (no qt required).

      I've tried but it doesn't start i get

      Fail to SDL_GL_CreateContext Bye! (Could not create EGL context (call to eglCreateContext failed, reporting an error of EGL_BAD_MATCH))

      maybe because it's for xu4 not sure i'm not skilled enough :(

      if your using the pc.cmake comment out set (USE_EGL True) or unset it from your command line. I had to update nanovg as well

      I've tried without and i get a gl error GlxBadFBConfig , but this still uses xorg just not qt , so i don't think it's worth to waste more time with it

      G 1 Reply Last reply Reply Quote 0
      • G
        grant2258 Banned @myzar
        last edited by grant2258

        @myzar would need a pi4 to test stuff to be honest not sure how all the gl is setup pi4 end will look at it if i ever get one!

        fwiw this is what the default behavior is set too
        option(YAB_FORCE_GLES20 "force to use OpenGLES 2.0" ON)
        if (YAB_FORCE_GLES20)
        set(GLSystem "OpenGL ES 2.0")
        else(YAB_FORCE_GLES20)
        set(GLSystem "Desktop OpenGL")
        endif(YAB_FORCE_GLES20)

        1 Reply Last reply Reply Quote 1
        • DarksaviorD
          Darksavior
          last edited by Darksavior

          I tried the prebuilt 64bit yabause qt that you can get on the 64bit version of the pi os. 1950Mhz overclock. Sega rally. 45-50fps when racing.
          lr-yabasanshiro on retropie = 30-40fps when racing.
          I didn't try the 32bit version (if available) from the 32bit version of the pi os.

          Is 64bit being looked into for retropie?

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

            @Darksavior did you try the current 32-bit binary and compare? I'd be keen on seeing Mame performance on 64-bit though.

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

              @pjft No, it wasn't available in the pi os repo.

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

                @Darksavior sorry - I was referring to the yabasanshiro 32-bit binary here from the thread:)

                I get fairly good performance overall - some games are better than others, but definitely a solid improvement over the lr- core in terms of squeezing a bit more performance from the pi.

                Glad to see you testing out the 64-bit OS, looking forward to your impressions.

                DarksaviorD 1 Reply Last reply Reply Quote 0
                • M
                  myzar
                  last edited by

                  looks like devmiyax pushed 3.2.4 to github , this is the compiled bin

                  https://mega.nz/file/6t8xCDzL#WNdDaBFPvpDkzFHtWzfltPD6wu4z3MT0QjMNEf2vFak

                  no idea about the changelog

                  G M pjftP 3 Replies Last reply Reply Quote 1
                  • G
                    grant2258 Banned @myzar
                    last edited by

                    @myzar said in Is Yabasanshiro emulator coming on retropie?:

                    looks like devmiyax pushed 3.2.4 to github , this is the compiled bin

                    https://mega.nz/file/6t8xCDzL#WNdDaBFPvpDkzFHtWzfltPD6wu4z3MT0QjMNEf2vFak

                    no idea about the changelog

                    Thats some good news I get a feeling he releases source after a few beta tests to fix bugs to get a somewhat stable code for people to compile. Im glad to see he working on need to test out the golden axe fix using the qt version on my linux desktop

                    1 Reply Last reply Reply Quote 0
                    • M
                      mechafatnick @myzar
                      last edited by

                      @myzar The android app was updated too. The description was 'fixed many regressions'

                      I tried Assault Suits Leynos II again. This time the background was visible but all of the main sprites had vanished! :D

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

                        @myzar Thanks so much for sending this over! For the sake of repeatability, could you share your build script? Meaning, from getting the sources to applying the patch and other fixes, to compilation?

                        Will test it out during the coming days.

                        EDIT: Works well, Virtua Racing works again.

                        M 1 Reply Last reply Reply Quote 0
                        • G
                          grant2258 Banned
                          last edited by grant2258

                          @myzar Ive had a quick look at the code.I think you need to request OpenGL ES in order to get a window and then valid context.

                          This code
                          https://github.com/devmiyax/yabause/blob/c0bb2f44390f812e9487912a5452f6a502d3f5b7/yabause/src/retro_arena/main.cpp#L347-L355

                          SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, SDL_GL_CONTEXT_PROFILE_ES); 
                          

                          add this to the start.

                          Im pretty sure sdl2 will be compiled to run under x though unless the retropie fella have done some magic on it.

                          edit: the attribs have to go after init else they are reset to default removed that comment about moving it after i tested it

                          A 1 Reply Last reply Reply Quote 1
                          • roslofR
                            roslof
                            last edited by roslof

                            While most games run with both RLE and official BIOS, some games run exclusively with RLE BIOS enabled (eg. Astal), but some other some games require saturn_bios.rom (eg. Rayman).

                            I'm now using two (2) emulators in /opt/retropie/configs/saturn/ for yabasanshiro. The command-line option --nobios sets RLE bios (but won't override the .ini setting)*

                            My emulators.cfg file:

                            default = "yabasanshiro-rle-bios"
                            yabasanshiro-saturn-bios = "sudo xinit /opt/retropie/emulators/yabasanshiro/yabasanshiro --autoframeskip=1 --bios=/home/pi/RetroPie/BIOS/saturn_bios.bin -a -f -i %ROM%"
                            yabasanshiro-rle-bios = "sudo xinit /opt/retropie/emulators/yabasanshiro/yabasanshiro --autoframeskip=1 --no-bios -a -f -i %ROM%"
                            

                            *For this to work, I believe General\EnableEmulatedBios= must be blank. Setting true or false seems to override the command-line option (bass-ackwards)...

                            Side note: I also stumbled upon a legacy controller issue that's been plaguing yabause since at least 2016... If you map the left analog trigger to the Saturn L button, the emulator sees it as being depressed at boot and will enter the Saturn Memory Manager, and keep you there until you ESC out... To work around this, I'm not mapping anything to the L-Trigger, but instead temporarily sharing my physical L-Button with virtual L and Button 6. Not ideal, but I can use all the buttons and properly boot through the saturn bios.

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

                              @pjft So I tried this 3.2.4 release: https://mega.nz/file/6t8xCDzL#WNdDaBFPvpDkzFHtWzfltPD6wu4z3MT0QjMNEf2vFak
                              and I got similar speeds to lr-yabasanshiro in my retropie setup. Sega rally. 30-40fps. Unless I'm doing something wrong, I don't see a benefit in using this. Same oc 1950Mhz, 480p full screen, original internal res. I tried this on the pi os 32bit desktop.

                              My previous test with the prebuilt binary of 0.9.14 64bit version was on the pi os 64bit desktop. There's probably more differences since they're different builds.

                              If someone else can verify these speeds with the 32bit and 64bit versions, then there should be some benefit with 64bit.

                              B G M 3 Replies Last reply Reply Quote 1
                              • B
                                barbudreadmon @Darksavior
                                last edited by

                                @Darksavior said in Is Yabasanshiro emulator coming on retropie?:

                                I got similar speeds to lr-yabasanshiro in my retropie setup. Sega rally. 30-40fps. Unless I'm doing something wrong, I don't see a benefit in using this. Same oc 1950Mhz, 480p full screen, original internal res. I tried this on the pi os 32bit desktop.

                                Meaning the gpu is probably the bottleneck then, standalone is faster than lr on low-end devices because it makes better use of multi-thread for cpu tasks, your overclock probably outperform that difference, be aware though that some games might have spike of cpu usage.

                                FBNeo developer - github - forum

                                1 Reply Last reply Reply Quote 0
                                • G
                                  grant2258 Banned @Darksavior
                                  last edited by grant2258

                                  @Darksavior said in Is Yabasanshiro emulator coming on retropie?:

                                  @pjft So I tried this 3.2.4 release: https://mega.nz/file/6t8xCDzL#WNdDaBFPvpDkzFHtWzfltPD6wu4z3MT0QjMNEf2vFak
                                  and I got similar speeds to lr-yabasanshiro in my retropie setup. Sega rally. 30-40fps. Unless I'm doing something wrong, I don't see a benefit in using this. Same oc 1950Mhz, 480p full screen, original internal res. I tried this on the pi os 32bit desktop.

                                  My previous test with the prebuilt binary of 0.9.14 64bit version was on the pi os 64bit desktop. There's probably more differences since they're different builds.

                                  If someone else can verify these speeds with the 32bit and 64bit versions, then there should be some benefit with 64bit.

                                  Well to be honest to test this you would be better compiling the pi os version with the same flags on 32bit and 64 bit and run with the same settings to get a speed comparison. Youll get a better baseline that way. I think a working frameskip will make a world of difference too.

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

                                    @grant2258 If someone can compile the same version 3.2.4 64bit for a proper test comparison, that would be great.

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

                                      @Darksavior as mentioned in another topic, the fact that aarch64 is faster is already known : http://www.uoyabause.org/blogs/51

                                      FBNeo developer - github - forum

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

                                        @barbudreadmon I just want to rule out a difference in versions. The prebuilt 64bit build that's available from the 64bit pi os, I got around 10fps more. It is buggier and probably an older build or branch. 0.9.1.4 .
                                        I would love to test a 64bit lr-yabasanshiro since that's the version I'm mainly going with since I have no interest in using the pi desktop.

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

                                          @Darksavior said in Is Yabasanshiro emulator coming on retropie?:

                                          0.9.1.14

                                          Looks like yabause versioning to me, maybe the QT port doesn't have its version number updated because it's not supposed to be still in use ?

                                          For the lr port, as long as you keep in mind i stopped providing support, and that devmiyax won't provide support either, suit yourself.

                                          FBNeo developer - github - forum

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

                                            @barbudreadmon The libretro port will have to do if a future mesa driver fixes the graphic issues.

                                            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.