Is Yabasanshiro emulator coming on retropie?
-
@BuZz there's definately a few other issues it seems - will add them upstream to yaba once they've seen the PR and can comment - from what you have done it might be enough information to go off as to what exactly is happening and the best fix
-
@steeeb I've already fed it upstream (no PR. It's not a valid fix).
-
Regarding lr-yabasanshiro,
Been beating myself up trying to get past a black screen issue w/freeze on my Pi4B. At this time, I have yet to see a render. Wondering if anybody is aware of any dependencies for the lr- version that I might be missing. Certain that this is not a BIOS issue or configuration issue. Tried several things to try to get past this (re-installed all RetroPie dependancies, reset RetroArch settings, nuked previous installs of yabasanshiro and yabause... etc.)
When attempting to launch any ROM image, after the launching.png image appears and goes away, the screen is black and hangs, never rendering anything and never returning to ES.
runcommand.log shows nothing unusual (even with verbose logging).
During the hang, for the task, ps all shows WCHAN "flush_" and STAT as "DLl+". Other than this, I'm unaware of a way to get more data.Sounds like others are getting this to render, so I'm optimistic, and hoping to get a lead on what might be happening here. I completely understand this is early work here, so not expecting anything, but any suggestions would be appreciated.
Cheers
-
@roslof Hm. Two angles to explore: we can compare MD5 hashes for the binary you're getting, and can you share your setup details - meaning, straight RetroPie image from here, any customizations on config.txt or others that might affect this, resolution?
The MD5 for my yabasanshiro_libretro.so file is 4c302a02ba0ef0e9e1cbfdddfe5c9063
and the last commit I have compiled is: commit 7ae0de7abc378f6077aff0fd365ab25cff58b055Maybe start from here.
-
@roslof I threw the installer script and patch on my retropie-setup and it just worked. It will install any missing dependencies. If it matters, I always keep raspbian updated. The game compatibility isn't as good as
lr-yabause
. -
@Darksavior said in Is Yabasanshiro emulator coming on retropie?:
The game compatibility isn't as good as lr-yabause.
Yes, that's because yabasanshiro has a HLE approach of saturn emulation, for speed reason (makes sense for an emulator targeting arm boards).
-
@pjft @Darksavior thank you both for considering my issue. I'm confident the issue is on my side somewhere.
The MD5 for my yabasanshiro_libretro.so file is 4c302a02ba0ef0e9e1cbfdddfe5c9063
and the last commit I have compiled is: commit 7ae0de7abc378f6077aff0fd365ab25cff58b055Mine MD5 is different: cfd47a92fc6ac9e7ef886d16216ada03
I built mine in two different ways, with the same results:
- by cloning Buzz's lr-yabasanshiro branch and installed the module via command-line:
sudo ~/RetroPie-Setup/retropie_packages.sh lr-yabasanshiro
- by doing as @Darksavior advised, using a clean Retro-Setup and cherry-picking Buzz's lr-yabasanshiro folder & module. Installing same command-line as above.
MD5 is the same either way, as expected (but different from @pjft 's MD5s).
As for my system, I've tried a "stock" config.txt and cmdline.txt file, but also tried a config.txt that is overclocked and locks HD resolution. All configurations yield the same results.
I have updated all Raspbian packages with the "proper" sudo apt update and sudo apt full-upgrade commands. Rebuilt all dependencies via RetroPie-Setup, etc.
As for the games, I don't think we're getting to the point of loading/parsing. I've tried every type of build (cue/bin, chd) including games confirmed to be working from others with Yabasanshiro.
VERY strange...
-
This post is deleted! -
Pastebin of verbose logging: https://pastebin.com/bE9Hnb5A
The only semi-interesting thing I'm seeing:
[INFO] [Video]: Graphics driver did not initialize an input driver. Attempting to pick a suitable driver.
[INFO] [udev]: Keyboard #0 (/dev/input/event0).
[INFO] [udev]: Mouse #0 (/dev/input/event1).
[INFO] [udev]: Mouse #1 (/dev/input/mouse0).
[INFO] [Joypad]: Found joypad driver: "udev".
[INFO] [Video]: Found display server: nullBut I'm also seeing this when I run Yabause (successfully). So not alarming.
While I stew more on this, going to dig deeper and see if @Darksavior 's suggestion that it might be a game compatibility issue. I have already tried a ton of files/sources, but maybe there's something else I'm missing.
-
@roslof I just compiled it completely from source, and this is the MD5:
4c302a02ba0ef0e9e1cbfdddfe5c9063 yabasanshiro_libretro.so
Try this binary and let me know how it goes:
https://mega.nz/file/QAtniB7b#g7AJFjZpkSOTaZ-6GSMNKijcDSHOo2FfYnjCz2a4O8E
What RetroArch video driver are you using?
-
@pjft Thank you for the binary. Confirmed MD5 matches the value you previously posted.
Unfortunately, having the same issue, but it's GREAT to rule out the binary!I'm using GL for the RetroArch Video Driver. Also tried GL Core.
-
@roslof Post some details of your set up. How did you install RetroPie ? Just to check - you're not running things from the Desktop or something are you ?
-
@roslof In the log you are using glcore. Please post a log using gl
-
@roslof see my logs for reference, maybe something can help there?
-
@BuZz said in Is Yabasanshiro emulator coming on retropie?:
@roslof In the log you are using glcore. Please post a log using gl
Absolutely. Thanks!
Pastebin for gl: https://pastebin.com/uiG4Nm9N
Kernel:
Linux raspberrypi 4.19.97-v7l+ #1294 SMP Thu Jan 30 13:21:14 GMT 2020 armv7l GNU/LinuxRetroPie-Setup:
Latest from Source (cloned clean recently)I set up this system last year. Buster from image. RetroPie from DL. Saved original boot options. Using clean RetroPie-Setup. Currently running 80 systems.
The only unusual thing I recall is when I worked with you on downloading a WIP MESA driver. I used a script you provided a couple/few months back. Otherwise, I stay on top of updates and have (otherwise) been running stable.
-
Can you disable cheevos and re-try ?
-
@roslof Confirming: can you share your config.txt?
The only meaningful difference in our logs is the usage of a different font for the XMB and the fact that I disabled the zfast shader.
Oh, and that you're on a 4k screen?
-
@pjft thank you! Will review
-
@mitu said in Is Yabasanshiro emulator coming on retropie?:
Can you disable cheevos and re-try ?
Interestingly enough, it is disabled. Not sure why it's appearing in the logs. From my retroarch.cfg file:
cheevos_auto_screenshot = "false" cheevos_badges_enable = "false" cheevos_enable = "false" cheevos_hardcore_mode_enable = "false" cheevos_leaderboards_enable = "false" cheevos_password = "" cheevos_richpresence_enable = "true" cheevos_test_unofficial = "false" cheevos_token = "" cheevos_username = "" cheevos_verbose_enable = "false"
Cheevos slider shows as off/disabled when viewing via the RetroArch GUI. Not sure why it's showing in the log.
-
@pjft said in Is Yabasanshiro emulator coming on retropie?:
@roslof Confirming: can you share your config.txt?
The only meaningful difference in our logs is the usage of a different font for the XMB and the fact that I disabled the zfast shader.
Oh, and that you're on a 4k screen?
Correct. I do have multiple config.txt files at the ready, and when diagnosing, I switch between the original "stock" image (that installed with Buster) and a modified one that sets HD resolution. Neither work with Yabasanshiro, but here is the "stock" version for reference: https://pastebin.com/3Q8jjV2e
I have also tested with the shader enabled/disabled, as well as the overlay and any other custom settings. Same issue regardless of setting.
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.