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 420.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.
    • M
      mechafatnick @myzar
      last edited by

      @myzar I'm glad it wasn't me! Thought I was Going mad :D

      I couldn't get it to compile (probably because I needed to change repo!) but I managed to get the binary up and running. Thanks guys!

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

        @mechafatnick would you mind sharing the steps to setup run the binary?

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

          @roslof I downloaded the binary Myzar kindly compiled: https://retropie.org.uk/forum/post/223836

          Then added his run command to the saturn emulators.cfg:

          https://retropie.org.uk/forum/post/223663

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

            @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).

            FBNeo developer - github - forum

            pjftP M 2 Replies Last reply Reply Quote 0
            • pjftP
              pjft @barbudreadmon
              last edited by

              @barbudreadmon That should indeed work but, alas, from a few (incompetent) tries on my end and a few others we always hit an "unable to create EGL surface" message on launch. Fairly sure it's a compiler flag thing, but alas never managed to move past that.

              Folks using xinit: you may want to create a file in /usr/share/X11/xorg.conf.d/named, for instance, 10-monitors.conf(or add to it) the following:

              Section "Monitor"
                  Identifier "Monitor0"
                  Option "DPMS" "false"
              EndSection
              
              Section  "ServerFlags"
                  Option "BlankTime"  "0"
                  Option "StandbyTime" "0"
                  Option "SuspendTime" "0"
                  Option "OffTime" "0"
              EndSection
              
              Section "ServerLayout"
                  Identifier "ServerLayout0"
                  Option "StandbyTime" "0"
                  Option "SuspendTime" "0"
                  Option "OffTime"     "0"
                  Option "BlankTime"   "0"
              EndSection
              

              At least on my end the screen would always turn off after 10 mins, when the X power saving features hit. This should disable them - and there are probably unnecessary flags there as well.

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

                @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 :(

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

                  anyone can figure out how to hack the source to quit with a button rather than with a key ? I looked in the source but i can't find where is comparing with the keyevent , qt is also alien for me, i did that for the sega model 3 emu but i'm bashing my head without luck with yaba

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

                    @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

                    M 1 Reply Last reply Reply Quote 0
                    • R
                      robertybob @steeeb
                      last edited by

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

                      Also, Retro Arena paid devmiyax to port it to the XU4

                      Surely we could pool enough money to pay him too? Indigogo or something? Seems reasonable that he would want to be paid for his time.

                      1 Reply Last reply Reply Quote 0
                      • 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
                                            • 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.