[Solved!] [Pi3 RetroPie 4.0.2] Some N64 games crash when trying to load state using any of the mupen64plus video plugins
-
Launching Banjo-Kazooie works just fine and I can play for hours. I can save state (using Select+R1) but if I press Select-L1 to load state it crashes to emulation station. I know the save state works because a .st0 file is created for banjo kazooie.
Save/Load states work for all other console (snes, playstation, nes, etc) and even some N64 games like Mario 64. But Banjo Kazooie simply crashes.
I am running a downloaded Retropie 4.0.0 image (upgraded to 4.0.2 via binary update; but had issues on both). The only thing I changed was:
- the ”disable_overscan=1” in /boot/config.txt to remove black bar
- I configured dispmanx through the retropie setup script (But I tried to change it to GL, SDL, back to dispmanx, etc, inside the retropie configs for the n64 without success)
Log found in /dev/shm/runcommand.log:
————
Generated a 884 x 18 (15 kb) texture atlas
/opt/retropie/emulators/mupen64plus/bin/mupen64plus.sh: line 295: 2264 Segmentation fault SDL_VIDEO_RPI_SCALE_MODE=1 "$rootdir/emulators/mupen64plus/bin/mupen64plus" --noosd --windowed $RES --rsp ${RSP_PLUGIN}.so --gfx ${VIDEO_PLUGIN}.so --audio ${AUDIO_PLUGIN}.so --configdir "$configdir/n64" --datadir "$configdir/n64" "$ROM"
—————Any help or pointer to where I should look would be appreciated :) thanks!
EricMore details:
Pi Model: 3
RetroPie Version Used: 4.0.0, but updated from binary to 4.0.2, issue persists
Built From: Pre made SD Image on RetroPie website
USB Devices connected: none
Controller used: Bluetooth PS3 controller
Error messages received: Crash back to emulationstation
File: /home/pi/Retropie/roms/n64/Banjo-Kazooie (U) [!].z64
Emulator: mupen64plus-GLide64 (highresolution) -
@ErayMan try changing the audio plugin
I mentioned it here a while back: https://github.com/RetroPie/RetroPie-Setup/issues/1061 but must have gotten lost in the weeds, I haven't tested it lately but likely a similar issue.
-
Same issue here. I tried with my manual Installation and a new installation with the latest image. The only thing I changed on the latest image was installing ps3 drivers and configuring the controller. Crashs with all mupen64plus plugins when loading a save state (but not with all games).
Will try changing the audio plugin, thanks for the hint.
-
@herb_fargus Thanks for your help!
I am having trouble changing the audio plugin though...
I'm trying to change /opt/retropie/configs/n64/mupen64plus.cfg
This line, from:
AudioPlugin = "mupen64plus-audio-omx.so"
To:
AudioPlugin = "mupen64plus-audio-sdl.so"
but every time I start the mupen64plus the file automatically gets updated and reverts to "omx.so"I tried changing it from the "configuration menu" in the retropie setup script, in the n64 section, but it seemed to do nothing. (Is it only good for libreretro n64 emulations?)
I also tried to put inside /opt/retropie/configs/n64/retroarch.cfg:
audio_driver = "sdl"to no avail.
I see some "omx" logic inside mupen64plus/bin/mupen64plus.sh but I'm hesitant to change that.
Thanks again for your help, and I'm sure it's just a small overlook on my part
Eric -
Open /opt/retropie/configs/all/autoconf.cfg snd set mupen64plus_audio=0. You can also try to use glupen64 libretro core.
-
@gizmo98
Alright it works now! Thanks to your suggestion, I was able to upate /opt/retropie/configs/all/autoconf.cfg
and set "mupen64plus_audio=0"The crashing issue on loadstate is gone for all n64 games :)
The audio is a bit crackling here and there but for more stability, I guess it's a fair tradeoff.Thanks Gizmo98 and Herb_Fargus!
Eric -
Works also on my end. Thank you!
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.