Is Yabasanshiro emulator coming on retropie?
-
@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:
-
@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).
-
@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.
-
@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 :(
-
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
-
@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
-
@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.
-
@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
-
@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) -
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?
-
@Darksavior did you try the current 32-bit binary and compare? I'd be keen on seeing Mame performance on 64-bit though.
-
@pjft No, it wasn't available in the pi os repo.
-
@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.
-
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
-
@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
-
@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
-
@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.
-
@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.
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
-
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.
-
@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.
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.