• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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.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
    BuZz administrators
    last edited by BuZz 4 Oct 2020, 16:27 10 Apr 2020, 15:25

    See the reply on raspberry pi forum. I believe the issue is the texture width is too big. As @gizmo98 mentioned to me, it would need to be changed to be a 256x256 texture size or so.

    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

    N 1 Reply Last reply 10 Apr 2020, 15:56 Reply Quote 0
    • N
      notthesame @BuZz
      last edited by 10 Apr 2020, 15:56

      @BuZz thank you

      1 Reply Last reply Reply Quote 1
      • N
        notthesame
        last edited by 12 Apr 2020, 15:47

        im back with some progress, very exciting, btw the 256x256 i cant get it to work, not sure if i can use the x or do i need to use *, i tired color codes with theses codes, maybe 1.0 is dark and white make a gray color, but i cant to seem to understand it, the best thing was just to fiddle around and get some progress going.
        i did run into some trouble like 3d games would cut off i was using numbers to high with that 255.0 or whatever it does, i thought it also used width, but i couldnt tell, it only changed colors.

        i had to change a few things to get proper color, as you can see in the images, i have alot of ideas but i cant reproduce them and i did write them down, which help get all colors but i think didnt let me play 3d games,sega rally, but now it has no textures but a green looking something, but is a racing car, so far all games almost that i played run close to 50fps or at 60fps this color issue sh ouldnt effect performance, also im not overclocked so image what games are gonna run nice :).

        MVS.jpg segarally.jpg usadaytona.jpg castlevaniatower.jpg darious.jpg dxtitle.jpg

        for now no gameplay is gonna happen, until i fix thoses issues thank you

        D 1 Reply Last reply 13 Apr 2020, 11:10 Reply Quote 4
        • D
          dankcushions Global Moderator @notthesame
          last edited by 13 Apr 2020, 11:10

          @notthesame interesting! is devyimax aware of your findings? i think you should update https://github.com/devmiyax/yabause/issues/704 - maybe the solution is obvious now to them

          1 Reply Last reply Reply Quote 0
          • N
            notthesame
            last edited by 13 Apr 2020, 23:38

            thanks, see if he looks into it, ill post what needs to be changed, which is odd, but also i reported the drivers to raspberry pi foundation, it seems that uniform and attribute state do not save.

            its like putting water in the radiator cos it has a whole, everytime we try to drive the car it leaks but here the colors and shaders leave as soon as we load up the game, i couldnt advance anymore so thats it not sure where else to change or look just took the idea from devyimax.

            i did report this to raspberry pi foundation but the way i see it, they havent look at the first question we had for about 1 month going to 13 days or so, im not a dev but if we have to we can try to fix this our selfs, i know i didnt fix yabasanshiro but it was a try, also i atleast tired to get sprites,text,animations to show, but something is reversed so atleast we can play that games, boy ill tell you and every saturn fan pi4 will be able to run theses nice and sweet, tho a few games like dead or alive, maybe viruta cop 1, will run a bit slow, but with more updates and fixes, vulkan i do think 1 day saturn will run really well on this pi4, which is all i really need to complete my gaming on pi, its something always wanted, thats my goal right now, mostly cos we have time hehe.

            thanks again for posting lets see what he gets out of it, i know he might need to do a few things but best thing for now is if he can point the drivers to another again fly cast used piplineshaders https://github.com/libretro/flycast/commit/37cc00ed73f50f96da5d28352a6fb7dfb290826f

            Q 1 Reply Last reply 14 Apr 2020, 00:37 Reply Quote 2
            • Q
              quicksilver @notthesame
              last edited by 14 Apr 2020, 00:37

              @notthesame it's possible that the post on the raspberry pi forums isn't getting a lot of views. It looks like the opengl ES section of that forum is barely used.

              1 Reply Last reply Reply Quote 0
              • N
                notthesame
                last edited by 14 Apr 2020, 13:25

                yeah that is the thing, but ill keep trying to post stuff, it will get fixed sometime, but i wish it get fixed now since we are at home, thats why i had the time to try to fix this emulators, i didnt sleep for almost 24hours hehe, thanks for your support everyone here and hope something comes up.

                1 Reply Last reply Reply Quote 1
                • N
                  notthesame
                  last edited by 14 Apr 2020, 15:46

                  hey guys me again, okay i got 3 emulators that are saturn, 1 yabause qt, yabasanshiro, yabasanshiro qt, so i turned on log on the only 1 i could, they didnt wnat to show video, i think maybe cos its the same issue, or i didnt turn off software when i compiled not sure how to do this,
                  heres the log ```
                  GL_FRAMEBUFFER_BINDING = 0PG_NORMAL
                  Compile error in vertex shader. 1
                  Shaderlog:
                  0:1(10): error: GLSL 3.30 is not supported. Supported versions are: 1.00 ES, 3.00 ES, and 3.10 ES

                  
                  so i dont know if i should post this or if this can help with the issue.
                  if anyone wants to try theses emulator let me know, they are for for desktop, now i seen people use the standalone in retropie not sure how to do this? 
                  
                  anyways thats all information i got for this episode.
                  D 1 Reply Last reply 14 Apr 2020, 18:24 Reply Quote 0
                  • D
                    dankcushions Global Moderator @notthesame
                    last edited by 14 Apr 2020, 18:24

                    @notthesame oh interesting. GLSL 3.30 is the GLSL found in open gl 3.3. however, we typically compile for GLES support (the GL equivalent for mobile GPUs). i know that yaba-sanshiro supports mobile GPUs, so it sounds like a problem with the build, assuming you are getting this error with yaba-sanshiro? how are you building it? do you have a build log?

                    1 Reply Last reply Reply Quote 0
                    • N
                      notthesame
                      last edited by notthesame 15 Apr 2020, 09:50

                      hey, i can build the lr-yabasanshiro then post, i think it does have a build shader error,
                      git clone https://github.com/libretro/yabause.git -b yabasanshiro
                      in terminal of course, then
                      cd yabause
                      go to makefile /home/pi/yabause/yabause/src/libretro/makefile and
                      add LDFLAGS += -latomic save and then
                      make -C yabause/src/libretro ARCH_IS_LINUX=1 FORCE_GLES=1 HAVE_SSE=0 DYNAREC_DEVMIYAX=1 USE_ARM_DRC=1

                      maybe you guys can mess with it, i really dont know what else is wrong here

                      okay heres not compiling the log when compiling lr-yabasanshiro, that wont compile cos its giving a error, i found this by looking at some alexa compile on the pi also(wasnt easy hehe) so i found the code

                      the reason i place the broken compile is might be the wrong way of compiling and the second so it might be corrrect but something needs to be fixed.

                      LDFLAGS += -latomic
                      

                      place right on the top inside of makefile near the other commands then compile paste below HAVE_FSEEKO = 0 then save and compile it then should compile

                      this is the compile that works, ill also look at the error code and this code that compiles the emulator okay but it does have its errors
                      fixed compile

                      it is interesting, but in the shaders file i see this

                      #if defined(_OGLES3_)
                      "#version 300 es \n"
                      "precision highp float;\n"
                      "precision highp int;\n"
                      #else
                      "#version 330 \n"
                      #endif
                      

                      version 330 and 300 for es, if we have es 300 then should it work for that, or is it looking for 330 version?
                      but im not familiar with that.

                      hope you find something, fixing theses color fixes is gonna be amazing sega saturn game play on pi4, i want to play cotton cos mame plays it slow, advance wont save my game configures, but this emulator is amazing on the pi4, with pi4 stage, im sure we will get full speed on saturn once we have better support, all games ran at almost 60fps, a few 3d at 34 or 40, but over all i am really impressed, but once color is fixed this wont effect how it ran with this bad colors.
                      im sorry for the mess im not good setting up a step by step mostly right now i just got up hehe.
                      thanks again for your support dankcusions good luck and i hope you do find a way to fix this :)

                      1 Reply Last reply Reply Quote 0
                      • B
                        BuZz administrators
                        last edited by BuZz 15 Apr 2020, 11:33

                        Looks like your missing the flag that sets the _OGLES3_ define. So you're building the opengl shaders?

                        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
                        • D
                          dankcushions Global Moderator
                          last edited by 15 Apr 2020, 12:00

                          I can see -D_OGLES3_ in the build log so that seems like it should work properly but i don't know. personally i would start from the upstream devyimax yabasanshiro core and work with them, as it's up to date and he should be able to support you.

                          1 Reply Last reply Reply Quote 0
                          • N
                            notthesame
                            last edited by 15 Apr 2020, 14:05

                            @BuZz no im not building the shaders, maybe this is the issue, let me find out how, if you got a idea let me know or anybody one here is welcome to help.

                            @dankcushions are you saying if i can build from that, let me try again i think i tired, but had issues with window.h or something, thanks for the ideas.

                            1 Reply Last reply Reply Quote 0
                            • S
                              segaages
                              last edited by 16 Apr 2020, 10:35

                              Sorry to interfere, I'm definitely not a programmer but I'm following this thread with great interest and I would like to help someway.
                              I saw in another unrelated thread a reply from @barbudreadmon which in its signature says is a libretro developer for (among others) YabaSanshiro. I just thought about citing him here, maybe can be of any help if he wants to.
                              I'm cheering for you all guys, can't wait to play Saturn on RPi4!

                              1 Reply Last reply Reply Quote 0
                              • B
                                barbudreadmon
                                last edited by 16 Apr 2020, 13:48

                                @notthesame already dmed me about this, but i'm not gonna be much help.

                                Long story short : gles3 support is broken on rpi4, and you are trying to patch emulators to take those bugs into account (as someone did in flycast last year : https://github.com/libretro/flycast/commit/37cc00ed73f50f96da5d28352a6fb7dfb290826f). I think it should be the other way around : get the rpi fundation to fix their drivers, you are their customers, you have rights, and if they don't, maybe stop being their customers ? I mean : there are better socs around, and they are affordable too...

                                Last resort would be to send or fund a rpi4 for devmiyax, the author of yabasanshiro, so that he tries implementing a workaround, well, good luck with that.

                                FBNeo developer - github - forum

                                D 1 Reply Last reply 16 Apr 2020, 15:58 Reply Quote 1
                                • D
                                  dankcushions Global Moderator @barbudreadmon
                                  last edited by 16 Apr 2020, 15:58

                                  @barbudreadmon i agree but is anyone logging the issues with mesa? https://gitlab.freedesktop.org/mesa/mesa/-/issues. rpi has paid driver developers who have seemed quite approachable so far.

                                  i can log it but i don't really understand GL beyond the basics.

                                  B 1 Reply Last reply 16 Apr 2020, 16:11 Reply Quote 1
                                  • B
                                    barbudreadmon @dankcushions
                                    last edited by 16 Apr 2020, 16:11

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

                                    i agree but is anyone logging the issues with mesa?

                                    idk, in the first place are those issues with the mesa driver ? the userland driver ? or both ? i've been following those problems from very far since i never planned on buying a rpi4

                                    FBNeo developer - github - forum

                                    D 1 Reply Last reply 16 Apr 2020, 18:37 Reply Quote 0
                                    • D
                                      dankcushions Global Moderator @barbudreadmon
                                      last edited by dankcushions 16 Apr 2020, 18:37

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

                                      in the first place are those issues with the mesa driver ? the userland driver ? or both ? i've been following those problems from very far since i never planned on buying a rpi4

                                      i'm not an expert but my understanding is that anything open gl related will be covered by the MESA driver. the driver is maintained by Igalia, a consultancy software company who are handling the raspberry open source graphics stuff, so there's people paid to fix these issues and they seem to be doing good work (GLES 3.0 became 3.1, soon to be 3.2, and they are planning vulkan support after), so i'm positive we can get this issue sorted!

                                      1 Reply Last reply Reply Quote 4
                                      • N
                                        notthesame
                                        last edited by notthesame 17 Apr 2020, 04:59

                                        everyone im proud to bring you yabasanshiro to pi4 dxfixed.jpg introfixed.jpg pdfixed.jpg
                                        panza dragon runs at 60fps yes drops 2 or 3 frames
                                        just needs fixed a couple of minor things. @BuZz @dankcushions

                                        D C 2 Replies Last reply 17 Apr 2020, 08:21 Reply Quote 10
                                        • S
                                          sirhenrythe5th
                                          last edited by sirhenrythe5th 17 Apr 2020, 06:59

                                          Gosh :O

                                          Great news & great work @notthesame

                                          -- Retro-Achievements Username: SirALX --
                                          RetroRatio: 1.88
                                          Started Games beaten: 2,47%
                                          Site Rank: 4382/93743 ranked users (TOP 4.76%)
                                          Last seen in [The Legend of Zelda: Lost in Time (HACK) [N64], exploring Hyrule at Night]

                                          1 Reply Last reply Reply Quote 0
                                          25 out of 362
                                          • First post
                                            25/362
                                            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.

                                            This community forum collects and processes your personal information.
                                            consent.not_received