Is Yabasanshiro emulator coming on retropie?
-
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 ?
-
@roslof said in Is Yabasanshiro emulator coming on retropie?:
By not providing "FindQt5WebEngineWidgets.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"Qt5WebEngineWidgets", but CMake did not find one.sudo apt install qtwebengine5-dev
-
@barbudreadmon No, this was just a brief test. I just wanted to see if there was a significant difference between the 32bit and 64bit versions of the non-libretro version. I really needed to test a game with a constant fps to know for sure, but the difference in sega rally was unnoticeable.
-
@grant2258 said in Is Yabasanshiro emulator coming on retropie?:
@roslof said in Is Yabasanshiro emulator coming on retropie?:
By not providing "FindQt5WebEngineWidgets.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"Qt5WebEngineWidgets", but CMake did not find one.sudo apt install qtwebengine5-dev
Appreciated man, as always. Probably not going to work for me on the Pi4:
pi@retropie:~/build $ sudo apt install qtwebengine5-dev Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package qtwebengine5-dev
But seriously, appreciated. Thanks for tryin'! Using the compiled version posted earlier.
-Ros -
@Darksavior said in Is Yabasanshiro emulator coming on retropie?:
I just wanted to see if there was a significant difference between the 32bit and 64bit versions of the non-libretro version
Apart from load and temp which might be slightly higher on 32bits, there shouldn't be a difference with the cpu at 2Ghz. Also, fwiw, on the libretro port there is a bottleneck if you have vsync enabled in RA config (as a matter of fact standalone disable it).
-
Hey,
Is it Worth the install ?
if so how do i do that :)? thanks -
Not sure that's really the right topic, but I just read the 247 messages and it looks having a decent Saturn emulation interest many people there : p
2, maybe 3 months ago, Shima, SSF's autor, bought a Raspberry Pi 4 to try to port his emulator himself.Please, look at this message and others around:
https://twitter.com/FessX/status/1242075475414937600?s=20
Maybe Shima could be successful with some help from this board ?
SSF is notoriously the best Saturn emulator.
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.