Is Yabasanshiro emulator coming on retropie?
-
@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.
-
@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.
-
@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.
-
@grant2258 If someone can compile the same version 3.2.4 64bit for a proper test comparison, that would be great.
-
@Darksavior as mentioned in another topic, the fact that aarch64 is faster is already known : http://www.uoyabause.org/blogs/51
-
@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. -
@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.
-
@barbudreadmon The libretro port will have to do if a future mesa driver fixes the graphic issues.
-
@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 looks like you are doing something wrong, did you turn autoframeskip on and switched to dynarec from interpreter ? on my pi4 oc to 2ghz , 50mhz is a negligible diff, i get 43/60 in the intro and in game doesn't go never below 45 i can say the average is around 50fps
-
@myzar I am unable to view FPS with the 3.2.4 binary that was provided in the earlier post. Did you change something and recompile in order to view FPS?
Also, @pjft I've been having some issues with the START button with the libretro versionEDIT: After posting this, I tried some remapping, and set the controller to Saturn Pad from Saturn 3D Pad. :/ -
@myzar It was set to interpreter by default. I changed it to dynarec and speed now matches the 64bit version.
-
@pjft said in Is Yabasanshiro emulator coming on retropie?:
@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.
all grant2258 instructions , i don't remember all the qt deps it was a painfull trial error and find the right dev package process , this is my CMakeCache with all the options
-
@Darksavior said in Is Yabasanshiro emulator coming on retropie?:
@myzar It was set to interpreter by default. I changed it to dynarec and speed now matches the 64bit version.
Yeah, as i previously said, the gpu is probably the bottleneck here, yabasanshiro shouldn't be cpu-limited on a72@2Ghz (it runs fine on a57@1.43Ghz), it might be a different story at stock clock though (?). Did you overclock your gpu already ?
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.