lr-genesis-plus-gx crashes with "Bus error"
-
Pi Model 4
RetroPie Version 4.8
Built From: Pre made SD Image on RetroPie websiteHello, I just updated my RPi4 since I was a bit behind on my versions. I grabbed the RetroPie 4.8 image from the site and started fresh. Everything works great except for one emulator: lr-genesis-plus-gx. When I load a game using this emulator, the game will actually load and run for about 3-5 seconds and then kick me back to emulationstation. When I look at runcommand.log it shows the following:
/opt/retropie/supplementary/runcommand/runcommand.sh: line 1314: 1326 Bus error /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-genesis-plus-gx/genesis_plus_gx_libretro.so --config /opt/retropie/configs/megadrive/retroarch.cfg "/home/pi/RetroPie/roms/megadrive/Death and Return of Superman, The (USA).zip" --appendconfig /dev/shm/retroarch.cfg
It's giving me a Bus error, however it is the only emulator that does this. I tried uninstalling and reinstalling from binary, but I get the same error. When I open the retroarch menu within the small window before it crashes, it shows that I am running version 1.15.0 - Genesis Plus GX (v1.7.4 9745432). I'm not sure what to do to resolve this error, and was hoping somebody might have some advice at what to look at.
Cheers,
Mach
-
If the same kind of error (game not running) happens also with
lr-picodrive
, then you may have a set of bad Megadrive ROMs. Otherwise, try re-installing the Genesis Pus GX core from source. -
@mitu I changed the emulator to lr-picodrive and the games run fine using this emulator. I also installed lr-genesis-plus-gx from source but it continues to crash shortly after loading a game. I know the simple solution is to use Picodrive going forward. Unfortunately all of my game saves are only compatible with Genesis Pus GX since that is the emulator I had always used previously. I am completely baffled by the error.
-
Can you post a verbose log on pastebin.com ?
-
@mitu Done! Here is what it output after a crash:
-
Nothing stands out in the log and I can't reproduce the error (with the same core version as yours).
Can you try resetting the core options ? From/opt/retropie/configs/all/retroarch-core-options.cfg
, delete all lines starting withgenesis_plus_gx_
. -
@mitu I just started from scratch and re-mounted the image, copied a rom over and tested lr-genesis-plus-gx right out of the box and it worked fine. I then used the 'Update' option in the RetroPie Setup script which updated all installed emulators as well as updating the Raspbian packages. After doing this, I tested the rom again and lr-genesis-plus-gx crashed with the same error:
So something the with the update causes that specific emulator to get a bus error.
-
@Machtroid I also couldn't reproduce your problem. https://pastebin.com/AUFigpgk
I reinstalled the official pi4 RetroPie image and updated the Pi OS to the latest version. Then, I updated all core packages and GX from binary. I also fixed the temporary issue atm that made my controller unresponsive by adding
arm_64bit=0
to my/boot/config.txt
and then it allowed me to reinstall the xpad driver.I compared our logs and yours doesn't list the cpu. Maybe it's related to the controller problem so try that. Also try another microsd.
-
@Machtroid Try adding
arm_64bit=0
to your/boot/config.txt
- as @Darksavior suggested - and reboot. I think the recent Raspi OS changes - see the pinned topic - may have an effect on the emulator. -
@Darksavior I had another sd card laying around so I tried the same thing on it - mounted the 4.8 image and tried Genesis GX out of the box and it worked, and once I updated through the setup script it crashed with the same error. Once I get home later I will try adding arm_64bit=0 to config.txt as you suggested and let you know the results. Thanks!
-
@mitu @Darksavior It worked! Adding arm_64bit=0 to my /boot/config.txt file fixed the problem! No more crashing with a bus error. Thanks to the both of you for the solution!
-
@Machtroid Thanks for the confirmation. Btw, if you upgrade now (again) the OS packages, there's a new kernel & firmware update (20230509~buster-1) that should fix this and the
config.txt
change should not be necessary any-more.
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.