RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    [Solved!] [Pi3 RetroPie 4.0.2] Some N64 games crash when trying to load state using any of the mupen64plus video plugins

    Scheduled Pinned Locked Moved Help and Support
    pi34.0.2loadstatecrashmupen64plus
    7 Posts 4 Posters 15.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • E
      ErayMan
      last edited by ErayMan

      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:

      1. the ”disable_overscan=1” in /boot/config.txt to remove black bar
      2. 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!
      Eric

      More 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)

      herb_fargusH 1 Reply Last reply Reply Quote 2
      • herb_fargusH
        herb_fargus administrators @ErayMan
        last edited by

        @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.

        If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

        Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

        E 1 Reply Last reply Reply Quote 2
        • S
          Sevik
          last edited by

          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.

          1 Reply Last reply Reply Quote 1
          • E
            ErayMan @herb_fargus
            last edited by

            @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

            1 Reply Last reply Reply Quote 0
            • gizmo98G
              gizmo98 Global Moderator
              last edited by

              Open /opt/retropie/configs/all/autoconf.cfg snd set mupen64plus_audio=0. You can also try to use glupen64 libretro core.

              E 1 Reply Last reply Reply Quote 2
              • E
                ErayMan @gizmo98
                last edited by

                @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

                1 Reply Last reply Reply Quote 4
                • S
                  Sevik
                  last edited by

                  Works also on my end. Thank you!

                  1 Reply Last reply Reply Quote 1
                  • First post
                    Last post

                  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.