Is Yabasanshiro emulator coming on retropie?
-
@grant2258 Then I give up. It's fine. Just thought I could get 3.2's changes to try since it seems to fix some games according to the youtube update video.
-
@Darksavior I mentioned this before I was under the impression the libretro port wasnt being updated from what was posted before. It is in fact pretty up to date(3.1.0).
It just seems libretro isint sending the updates to mainstream but is taking mainstream updates as they come to keep up to dateyou can merge the lastet updates into the libretro yabasanshiro branch if you want to test it that way. All that needed said was we could merge this change to test :).
edit: I compiled the qt standalone shinobi had no flickering issues fwiw really might be wise to test this in standalone mode to see if if its drivers or libretro end issue to get some resolve.
edit another update: the flashing is gone when i updated my retroatch (64 bit intel)
-
@grant2258 said in Is Yabasanshiro emulator coming on retropie?:
It is in fact pretty up to date(3.1.0)
Yes, as i said, i'm syncing from time to time, i have to since people keep requesting it.
@grant2258 said in Is Yabasanshiro emulator coming on retropie?:
It just seems libretro isint sending the updates to mainstream but is taking mainstream updates as they come to keep up to date
Yes, as i said, i stopped sending anything upstream after the author said he didn't care about libretro when i requested sources to be published.
@grant2258 said in Is Yabasanshiro emulator coming on retropie?:
edit another update: the flashing is gone when i updated my retroatch (64 bit intel)
Yes, that was a retroarch issue happening when the video driver didn't match the requested context, in your case i guess you had glcore video driver while the core requests gl context, i fixed that last week : now the core properly force RA's video driver even in the case of simple gl/glcore difference.
-
thanks for the info seems it was your updates last week that did cause the flashing and worked again after the revert. Hopefully the vita fix can be done another way without the breakage.
Ill make any more updates available if there is any on my github for people to test since its umaintained and not something everyone knows how to do if they request it. That way you dont get any requests and people can still test on here.
-
@barbudreadmon I think you've made your feelings clear enough now. Please can we drop this. This thread is beginning to feel like it's a personal attack. Certainly it's not going to help the cause.
-
I've compiled the standalone 3.1.2 qt , this is the bin https://mega.nz/file/2gl0WajR#C0t6AsqNvCuNDMXq6-UlMC5F5NbDVyLrP9mhm87gChY it's faster than the retroarch core but i see the same corruption in radiant silver gun intro and i'm running OpenGL ES 3.1 Mesa 20.2.0-devel , so if it's mesa the problem it's still broken in dev
-
@myzar said in Is Yabasanshiro emulator coming on retropie?:
I've compiled the standalone 3.1.2 qt , this is the bin https://mega.nz/file/2gl0WajR#C0t6AsqNvCuNDMXq6-UlMC5F5NbDVyLrP9mhm87gChY it's faster than the retroarch core but i see the same corruption in radiant silver gun intro and i'm running OpenGL ES 3.1 Mesa 20.2.0-devel , so if it's mesa the problem it's still broken in dev
what region is this for the one your testing so i can test it on x64
-
@myzar can you post the build instructions you used?
-
@myzar and if you have it, the runcommand config?
EDIT: I see there are a few dependencies here on the QT libraries. Maybe you'd want to share the build script/steps then indeed?
-
its basically
cd /yabause/yabause mkdir build cd build cmake ../src
and any other options you might want you'll need to install dependencies and git clone the firebase-cpp-sdk into src/qt depending where you are when you execute it ie if you where in the first yabause directory you woud do a git clone https://github.com/firebase/firebase-cpp-sdk.git -b v6.11.0 yabause/src/qt/firebase-cpp-sdk
-
@myzar Well, after installing
libqt5opengl5
,libqt5multimedia5
andxinit
I can get something on my screen after exiting ES and runningxinit ./yabasanshiro
on the folder where I have the binary you shared, but that's as far as it goes for now. I'll look more into it tomorrow. -
@pjft said in Is Yabasanshiro emulator coming on retropie?:
xinitI can get something on my screen after exiting ES and running xinit ./yabasanshiro
Hopefully can be run without an x server 😬
-
@quicksilver Fingers crossed, I'm just making things up as I go :)
So, I got it to boot Die Hard Arcade. Key things:
- Don't enable FPS, it'll crash. Likely OpenGL related.
- Tweak the video options as applicable to get something presentable for you. Right now it shows only at a quarter of the screen. Change resolution to "original" and then window size and whatnot to something that works for you to try to get it to show where you want it.
- The colors work fine, actually. I'm not sure if you applied the color-fixing patch @myzar ?
- The performance wasn't... great, at least for me. Likely because of xinit. It felt slightly slower than the current lr-core performance.
So that's where I leave it for today.
-
@pjft said in Is Yabasanshiro emulator coming on retropie?:
@quicksilver Fingers crossed, I'm just making things up as I go :)
So, I got it to boot Die Hard Arcade. Key things:
- Don't enable FPS, it'll crash. Likely OpenGL related.
- Tweak the video options as applicable to get something presentable for you. Right now it shows only at a quarter of the screen. Change resolution to "original" and then window size and whatnot to something that works for you to try to get it to show where you want it.
- The colors work fine, actually. I'm not sure if you applied the color-fixing patch @myzar ?
- The performance wasn't... great, at least for me. Likely because of xinit. It felt slightly slower than the current lr-core performance.
So that's where I leave it for today.
I did apply the color fix and it needs xinit starting xorg and all qt5 deps , it's an x app , but atleast in daytona and virtuaracing is faster for me, did you enable autoframeskip and switch to dynarec sh ?
-
@myzar I didn't touch those options but will try them out tomorrow, thanks!
What's your runcommand like?
Also, I struggled to map the sdl joystick inputs, but it might have been my mistake.
Thanks for putting this together!
-
@BuZz said in Is Yabasanshiro emulator coming on retropie?:
Please can we drop this. This thread is beginning to feel like it's a personal attack
The post above mine made it looked like "libretro" (me) was pilfering upstream code while not contributing, while tbh i would just be glad if i could delete any trace of that core because it's just a thorn in my side, so i think clearing up any kind of misunderstanding was important. For the past year i've even been recommending people to use the standalone version instead of the libretro core.
Anyway, the original assumption that 3.2 would solve something with pi4 is wrong, 3.2 is about dma timings, and judging by the number of reports of regression on yabasanshiro's discord/github, things aren't looking too good even with latest binary (3.2.3), and available sources are even more behind (3.2.1)
-
@pjft said in Is Yabasanshiro emulator coming on retropie?:
@myzar I didn't touch those options but will try them out tomorrow, thanks!
What's your runcommand like?
Also, I struggled to map the sdl joystick inputs, but it might have been my mistake.
Thanks for putting this together!
this is my command line
yabasanshiro = "sudo xinit /opt/retropie/emulators/yabasanshiro/yabasanshiro --autoframeskip=1 --bios=/home/pi/RetroPie/BIOS/saturn_bios.bin -a -f -i %ROM%"
and this is my ini
-
the only other thing I can offer up is i seen some warning relating to gcc on the pi. The android build is using gcc5
-
Thanks @myzar . Based on this, I got a few more details that might help others.
For anyone trying this on regular RetroPie:
- First, plug in a mouse in order to set up your controls in the menu. If the top menu doesn't work, remove the
-f
flag from the previous runcommand suggestion. - You'll need to set a proper resolution and window height for your screen. In my case - 1080p - what worked best was 832x624 as window and screen resolution in the settings. It still crops a bit of te screen, but form all the ones I tried it's the one that shows as close to full screen and showing most of the screen as well in it. And then "Fit to Window" and "Start in Fullscreen".
- The config file is in
/root/.config/yabause/qt/yabause.ini
. - In my specific case, using the Saturn BIOS and Dynarec crashed the game I tested. I ended up ticking the "Emulate Saturn BIOS" or something and it works well.
- Set resolution/rendering mode to "Original", so it doesn't render the game in a higher resolution than it should (performance reasons).
- If you want to be able to exit the emulator via your controller, the best I could do was to set up xboxdrv, map one of the buttons (home) to a key (Escape, for instance) and then in the emulator menu, go to Shortcuts and set that button/key as the shortcut to Quit. This part was not very fun because of my lack of experience with xboxdrv. Not looking forward to repeating this.
Here's my config file - you'll need to adjust the controls for you:
I'll test this more in the coming days, but so far so good and it is a good improvement over the libretro core - even if just for the auto-frameskip working better. Thank you all who helped get this to this stage!
- First, plug in a mouse in order to set up your controls in the menu. If the top menu doesn't work, remove the
-
Stupid question, but where did you install the libqt5 files from? For me the standalone will neither run nor compile - and when i try to compile an inability to find the qt5webenginewidgets/qt5OpenGL seems to be the cause.
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.