• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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

mupen64plus upstream issue with the gonetz/GLideN64 repo

Scheduled Pinned Locked Moved Help and Support
mupen64plusblack screenissueupstreamworkaround
15 Posts 5 Posters 1.6k 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.
  • R
    roslof
    last edited by roslof 5 Jun 2024, 20:31 6 May 2024, 09:27

    This is a follow-up to a post incorrectly placed in the Raspberry Pi 5 - official announcement topic regarding a current (6-May) issue with mupen64plus, and reported by @abj.

    Symptom: Since May 1st, after updating mupen64plus via the RetroPie Settings module script, games will not to render (black screen), although audio can be heard and fps counter (if enabled) will display correctly.

    Cause: A number of upstream changes were made on May 1st to the gonetz/GLideN64 repo that are not playing nice with mupen64plus builds. At least not on some Raspberry Pis running RetroPie.

    Validation and Workaround The following is not recommended for inexperienced users, as it requires a modification of the mupen64plus.sh script.

    1. Backup ~/RetroPie-Setup/scriptmodules/emulators/mupen64plus.sh
    2. With a text editor, modify the following line in mupen64plus.sh:
        repos+=("gonetz GLideN64 master $commit")
    

    So it looks like this:

    repos+=("gonetz GLideN64 master 5bbf55df8c61ab86b5e41a97906bc99ce9b00a36")
    

    Note that the 5bbf55d value references the commit immediately before the recent changes.

    1. Launch or Restart (if open) the RetroPie Setup script
    2. Reinstall mupen64plus (from the main section

    This test/workaround validates the issue is with the GLideN64 change and is not related otherwise to RetroPie changes, the Pi 5 platform or even the mupen64plus core.

    1. Do not forget that you modified the script. Be sure to revert to the original version after this procedure to avoid possible future false positives.

    Cheers

    1 Reply Last reply Reply Quote 2
    • R roslof referenced this topic on 6 May 2024, 09:32
    • A
      abj
      last edited by 6 May 2024, 09:42

      Thanks! Emulator is working again.

      `Please be patient, my English is not very good.`

      1 Reply Last reply Reply Quote 0
      • M
        mitu Global Moderator
        last edited by 7 May 2024, 15:35

        There's a regression seemingly caused by https://github.com/gonetz/GLideN64/commit/1a0621ddf4a70835e9b38cf5a326cbb34d7067aa in the upstream project, let's see if it can be fixed.

        T 3 Replies Last reply 17 May 2024, 19:20 Reply Quote 1
        • T
          TPR
          last edited by TPR 5 Jul 2024, 23:33 7 May 2024, 22:32

          I just updated everything from source and I get the following error if I run the stand alone version of Mupen64plus:

          2024/05/02,14:46:56.033,opengl_Utils.cpp:60,WARNING, "Could not query EGL extensions on this device"
          2024/05/02,14:46:56.034,opengl_Utils.cpp:60,WARNING, "Could not query EGL extensions on this device"
          2024/05/02,14:47:49.430,opengl_Utils.cpp:60,WARNING, "Could not query EGL extensions on this device"
          2024/05/02,14:47:49.430,opengl_Utils.cpp:60,WARNING, "Could not query EGL extensions on this device"
          2024/05/03,19:00:50.588,opengl_Utils.cpp:60,WARNING, "Could not query EGL extensions on this device"
          2024/05/03,19:00:50.588,opengl_Utils.cpp:60,WARNING, "Could not query EGL extensions on this device"
          2024/05/06,17:48:59.449,opengl_Utils.cpp:60,WARNING, "Could not query EGL extensions on this device"
          2024/05/06,17:48:59.450,opengl_Utils.cpp:60,WARNING, "Could not query EGL extensions on this device"
          2024/05/06,17:54:17.098,opengl_Utils.cpp:60,WARNING, "Could not query EGL extensions on this device"
          2024/05/06,17:54:17.098,opengl_Utils.cpp:60,WARNING, "Could not query EGL extensions on this device"
          2024/05/06,20:07:17.771,opengl_Utils.cpp:60,WARNING, "Could not query EGL extensions on this device"
          2024/05/06,20:07:17.772,opengl_Utils.cpp:60,WARNING, "Could not query EGL extensions on this device"
          2024/05/07,18:07:11.156,opengl_Utils.cpp:60,WARNING, "Could not query EGL extensions on this device"
          2024/05/07,18:07:11.157,opengl_Utils.cpp:60,WARNING, "Could not query EGL extensions on this device"
          2024/05/07,18:07:38.989,opengl_Utils.cpp:60,WARNING, "Could not query EGL extensions on this device"
          2024/05/07,18:07:38.990,opengl_Utils.cpp:60,WARNING, "Could not query EGL extensions on this device"
          2024/05/07,18:12:08.173,opengl_Utils.cpp:60,WARNING, "Could not query EGL extensions on this device"
          2024/05/07,18:12:08.173,opengl_Utils.cpp:60,WARNING, "Could not query EGL extensions on this device"

          I get that error both with or without the edit to the scriptmodule file mentioned above.

          1 Reply Last reply Reply Quote 0
          • M mitu referenced this topic on 17 May 2024, 19:06
          • T
            TPR @mitu
            last edited by 17 May 2024, 19:20

            @mitu Sorry, I didn't mean to bump the other topic. Just someone else had the same error so I wan't sure if this was something that had been fixed or if I was doing something wrong. I guess it just hasn't gotten fixed yet?

            1 Reply Last reply Reply Quote 0
            • T
              TPR @mitu
              last edited by 17 May 2024, 19:31

              @mitu Also, again just to mention that I'm getting that error with or without the edit mentioned above. I do not get this symptom:

              games will not to render (black screen), although audio can be heard and fps counter (if enabled) will display correctly.

              For me, the game starts to load, then I see "INIT NOISE TEXTURES, PLEASE WAIT...." flash on screen for a brief second, and then it kicks me back to ES.

              Not sure if this is the same issue or not that is mentioned above.

              1 Reply Last reply Reply Quote 0
              • T
                TPR @mitu
                last edited by 27 May 2024, 20:54

                @mitu I noticed an update in the setup script and I installed that but the core is still crashing. Did this get fixed or am I doing something else wrong?

                1 Reply Last reply Reply Quote 0
                • M
                  mitu Global Moderator
                  last edited by mitu 28 May 2024, 06:27

                  The latest update to the scriptmodule should fix - temporarily - the crash since it uses an older commit, until upstream commits (!) to a fix.

                  @TPR did you re-install from source the mupen64plus emulator after the update ?

                  T 2 Replies Last reply 28 May 2024, 16:05 Reply Quote 0
                  • T
                    TPR @mitu
                    last edited by 28 May 2024, 16:05

                    @mitu I just did the update. I'll re-install now. Thank you.

                    1 Reply Last reply Reply Quote 0
                    • T
                      TPR @mitu
                      last edited by 28 May 2024, 16:38

                      @mitu It just kicks me back to ES when I try to load a rom with that core. I updated the setup-script. Updated from source, re-installed from source, and then when that didn't work, I deleted the core from the emulators folder and removed any reference from emulators.cfg, re-installed again and I get the same issue.

                      Any ideas?

                      M 1 Reply Last reply 28 May 2024, 18:29 Reply Quote 0
                      • M
                        mitu Global Moderator @TPR
                        last edited by 28 May 2024, 18:29

                        @TPR said in mupen64plus upstream issue with the gonetz/GLideN64 repo:

                        It just kicks me back to ES when I try to load a rom with that core.

                        Are you talking about the Libretro core or the standalone Mupen64Plus + GlideN64 ? This topic is about the latter - can you post the /dev/shm/runcommand.log from running the emulator where you have issues ?

                        T 1 Reply Last reply 28 May 2024, 19:34 Reply Quote 0
                        • T
                          TPR @mitu
                          last edited by TPR 28 May 2024, 19:34

                          @mitu Standalone. Here's the log:

                          Parameters:
                          Executing: /opt/retropie/emulators/mupen64plus/bin/mupen64plus.sh mupen64plus-video-GLideN64 "/home/pi/RetroPie/roms/n64/D/Diddy Kong Racing.z64" 1920x1080 0 --set Video-GLideN64[UseNativeResolutionFactor]=1
                          /opt/retropie/emulators/mupen64plus/bin/mupen64plus.sh: line 434: 2801 Segmentation fault SDL_AUDIODRIVER=${SDL_AUDIODRIVER} SDL_VIDEO_RPI_SCALE_MODE=${SDL_VIDEO_RPI_SCALE_MODE} "$rootdir/emulators/mupen64plus/bin/mupen64plus" --noosd $PARAMS ${WINDOW_MODE} --rsp ${RSP_PLUGIN}.so --gfx ${VIDEO_PLUGIN}.so --audio ${AUDIO_PLUGIN}.so --configdir "$configdir/n64" --datadir "$configdir/n64" "$ROM"

                          M F 2 Replies Last reply 29 May 2024, 07:03 Reply Quote 0
                          • M
                            mitu Global Moderator @TPR
                            last edited by 29 May 2024, 07:03

                            @TPR Then it might be a different issue. Does the libretro core work ?

                            T 1 Reply Last reply 30 May 2024, 22:27 Reply Quote 0
                            • T
                              TPR @mitu
                              last edited by 30 May 2024, 22:27

                              @mitu It does.

                              1 Reply Last reply Reply Quote 0
                              • F
                                FoxRacing @TPR
                                last edited by 21 Nov 2024, 21:56

                                @TPR Hey @TPR I am experiencing the same problem with my N64 roms. Did you end up fixing it? Thank you

                                1 Reply Last reply Reply Quote 0
                                • 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.

                                  [[user:consent.lead]]
                                  [[user:consent.not_received]]