Lost mupen64plus Standalone Emulator
-
Hi all,
I was tweaking around with the N64 emulators and I decied to update mupen64plus from source. The update seemd to go fine but now when I launch an N64 game, it no longer has the standalone mupen64plus as option. The offshutes still show up (like rice and gliden64) but trying to launch a game with them just boots me back to Retopie. Everything was working fine before I updated the emu from source. I've also tried removing it and reinstalling it from Binary, but it didn't fix it. lr-mupen64plus still works.
Any ideas?
Pi Model or other hardware: (B, B+, 2 B, 3, X86 PC etc..)
Power Supply used: (If using a Pi)
RetroPie Version Used: Pi4 8GB
Built From: Pre made SD Image on RetroPie website
USB Devices connected: one 512GB usb thumbdrive
Controller used: 8Bitdo SF30Pro
Error messages received:
Verbose log (if relevant):
Guide used: (Mention if you followed a guide)
File: (File with issue - with FULL path)
Emulator: mupen64plus
Attachment of config files: emulators.cfg: lr-mupen64plus-next = "/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-mupen64plus-next/mupen64plus_next_libretro.so --config /opt/retropie/configs/n64/retroarch.cfg %ROM%"
default = "lr-mupen64plus"
lr-mupen64plus = "/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-mupen64plus/mupen64plus_libretro.so --config /opt/retropie/configs/n64/retroarch.cfg %ROM%"
mupen64plus-GLideN64 = "/opt/retropie/emulators/mupen64plus/bin/mupen64plus.sh mupen64plus-video-GLideN64 %ROM% %XRES%x%YRES% 0 --set Video-GLideN64[UseNativeResolutionFactor]=1"
mupen64plus-GLideN64-highres = "/opt/retropie/emulators/mupen64plus/bin/mupen64plus.sh mupen64plus-video-GLideN64 %ROM% %XRES%x%YRES% 0 --set Video-GLideN64[UseNativeResolutionFactor]=2"
mupen64plus-gles2n64 = "/opt/retropie/emulators/mupen64plus/bin/mupen64plus.sh mupen64plus-video-n64 %ROM%"
mupen64plus-gles2rice = "/opt/retropie/emulators/mupen64plus/bin/mupen64plus.sh mupen64plus-video-rice %ROM% %XRES%x%YRES%"How to replicate the problem:
-
After install the emulator (Binary) try to run this commands from terminal, i hope it works:
cd RetroPie-Setup sudo ./retropie_packages.sh mupen64plus configure
-
@Ikyrus said in Lost mupen64plus Standalone Emulator:
I was tweaking around with the N64 emulators and I decied to update mupen64plus from source. The update seemd to go fine but now when I launch an N64 game, it no longer has the standalone mupen64plus as option. The offshutes still show up (like rice and gliden64)
there's no 'standalone' mupen64plus - it's always going to use a graphics plugin ("gliden64", for example). 'standalone' in the retropie sense just means it's not got the libretro/retroarch front end. eg, mupen64plus-gliden64 is 'standalone' vs 'lr-mupen64plus-next', which uses the libretro front end. all 'mupen64plus-*' emulators are 'standalone' by this definition.
perhaps you're thinking of mupen64plus-auto, that would automatically select the best graphics plugin for the game in question? this isn't necessary for pi4, so isn't installed. just use mupen64plus-gliden64 (best video plugin for pi4)
but trying to launch a game with them just boots me back to Retopie
Please supply the runcommand.log for mupen64plus-gliden64, as per https://retropie.org.uk/forum/topic/3/read-this-first
-
@dankcushions All I know is there used to be an option just called muper64plus and now there isn't. And every since I updated that core from source, mupen64plus-gliden64 now just kicks me back to Retropie when I try to run it.
-
All I know is there used to be an option just called muper64plus and now there isn't
i can't remember the history of the naming but regardless of what is was called, it would have been running a graphics plugin, and given that -gliden64 is the best plugin for pi4, that's what you need to be getting working.
And every since I updated that core from source, mupen64plus-gliden64 now just kicks me back to Retropie when I try to run it.
right, so please provide the runcommand.log after that happens. instructions here https://retropie.org.uk/forum/topic/3/read-this-first
-
I apologize, I'm not seeing where it shows how to find the runcommand.log. I also did a search on my Pi and didn't find any file called that. I did find a file in /opt/retropie.configs.n64/mupen64plus called glide64.log:
2023/08/01,16:20:57.313,opengl_Utils.cpp:60,WARNING, "Could not query EGL extensions on this device"
2023/08/01,16:20:57.314,opengl_Utils.cpp:60,WARNING, "Could not query EGL extensions on this device"
2023/08/01,16:25:07.768,opengl_Utils.cpp:60,WARNING, "Could not query EGL extensions on this device"
2023/08/01,16:25:07.769,opengl_Utils.cpp:60,WARNING, "Could not query EGL extensions on this device"
2023/08/03,11:11:22.697,opengl_Utils.cpp:60,WARNING, "Could not query EGL extensions on this device"
2023/08/03,11:11:22.698,opengl_Utils.cpp:60,WARNING, "Could not query EGL extensions on this device"
2023/08/03,11:13:18.961,opengl_Utils.cpp:60,WARNING, "Could not query EGL extensions on this device"
2023/08/03,11:13:18.961,opengl_Utils.cpp:60,WARNING, "Could not query EGL extensions on this device"
2023/08/03,11:14:09.322,opengl_Utils.cpp:60,WARNING, "Could not query EGL extensions on this device"
2023/08/03,11:14:09.322,opengl_Utils.cpp:60,WARNING, "Could not query EGL extensions on this device"
2023/08/03,11:21:36.292,opengl_Utils.cpp:60,WARNING, "Could not query EGL extensions on this device"
2023/08/03,11:21:36.292,opengl_Utils.cpp:60,WARNING, "Could not query EGL extensions on this device"
2023/08/03,11:23:55.779,opengl_Utils.cpp:60,WARNING, "Could not query EGL extensions on this device"
2023/08/03,11:23:55.780,opengl_Utils.cpp:60,WARNING, "Could not query EGL extensions on this device"
2023/08/03,11:38:37.181,opengl_Utils.cpp:60,WARNING, "Could not query EGL extensions on this device"
2023/08/03,11:38:37.182,opengl_Utils.cpp:60,WARNING, "Could not query EGL extensions on this device"
2023/08/03,12:46:47.961,opengl_Utils.cpp:60,WARNING, "Could not query EGL extensions on this device"
2023/08/03,12:46:47.962,opengl_Utils.cpp:60,WARNING, "Could not query EGL extensions on this device"
2023/08/03,12:49:13.671,opengl_Utils.cpp:60,WARNING, "Could not query EGL extensions on this device"
2023/08/03,12:49:13.672,opengl_Utils.cpp:60,WARNING, "Could not query EGL extensions on this device"
2023/08/03,12:49:49.751,opengl_Utils.cpp:60,WARNING, "Could not query EGL extensions on this device"
2023/08/03,12:49:49.752,opengl_Utils.cpp:60,WARNING, "Could not query EGL extensions on this device"
2023/08/03,12:50:26.261,opengl_Utils.cpp:60,WARNING, "Could not query EGL extensions on this device"
2023/08/03,12:50:26.262,opengl_Utils.cpp:60,WARNING, "Could not query EGL extensions on this device"
2023/08/03,13:06:12.152,opengl_Utils.cpp:60,WARNING, "Could not query EGL extensions on this device"
2023/08/03,13:06:12.153,opengl_Utils.cpp:60,WARNING, "Could not query EGL extensions on this device"
2023/08/03,13:13:06.583,opengl_Utils.cpp:60,WARNING, "Could not query EGL extensions on this device"
2023/08/03,13:13:06.584,opengl_Utils.cpp:60,WARNING, "Could not query EGL extensions on this device"
2023/08/03,14:14:02.132,opengl_Utils.cpp:60,WARNING, "Could not query EGL extensions on this device"
2023/08/03,14:14:02.132,opengl_Utils.cpp:60,WARNING, "Could not query EGL extensions on this device"
2023/08/04,09:40:37.063,opengl_Utils.cpp:60,WARNING, "Could not query EGL extensions on this device"
2023/08/04,09:40:37.065,opengl_Utils.cpp:60,WARNING, "Could not query EGL extensions on this device"Does that help?
-
Unfortunately I tried this and it didn't fix it. Thank you though!
-
I apologize, I'm not seeing where it shows how to find the runcommand.log.
sorry, my bad, it's the "verbose log" link on the read-this-first.
here's the link: https://retropie.org.uk/docs/Runcommand/#launch-with-verbose-logging
the important part:
Note: If launching a non-Libretro ("standalone") core, the option will not be available, but they typically will still write useful diagnostic information to /dev/shm/runcommand.log.
ie, run the game, get the crash, then download that file from that location.
-
@dankcushions Awesome, thank you. here's what I got from runcommand.log after the crash:
Parameters:
Executing: /opt/retropie/emulators/mupen64plus/bin/mupen64plus.sh mupen64plus-video-GLideN64 "/home/pi/RetroPie/roms/n64/Super Mario 64.n64" 1280x720 0 --set Video-GLideN64[UseNativeResolutionFactor]=1
/opt/retropie/emulators/mupen64plus/bin/mupen64plus.sh: line 447: 9091 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" -
@Ikyrus thanks. unfortunately that's not telling me anything other than it crashed :( it would need a debug build to find the cause. you didn't say what specific image filename you're using - the current official retropie v4.8 image?
i have no idea if there's issues with the current mp64 binaries and not in a position to test. you could try lr-mupen64plus-next which should be the next-best one to use.
-
@dankcushions Sorry, I'm using 4.8. I have been defaulting to lr-mupen64plus in the absence of the standalone. It works relatively ok. Is next better? I was under the impression it didn't work as well on the Pi because it has more accurate emulation which makes it run slower.
-
@Ikyrus i suppose it depends on your definition of 'better'. lr-mupen64plus has been abandoned for 4 years - it might run faster in some situations but there will be lot of old bugs and inaccuracies, and they will never be fixed.
mupen64plus-gliden64 and lr-mupen64plus-next have essentially the same underlying (currently updated) codebase.
-
I have the same problem after running retropie's packages upgrade.
pi@retropie:~ $ cat /dev/shm/runcommand.info n64 mupen64plus-GLideN64-highres /home/pi/RetroPie/roms/n64/Mario Kart 64 (USA).n64 /opt/retropie/emulators/mupen64plus/bin/mupen64plus.sh mupen64plus-video-GLideN64 "/home/pi/RetroPie/roms/n64/Mario Kart 64 (USA).n64" 640x480 0 --set Video-GLideN64[UseNativeResolutionFactor]\=2 pi@retropie:~ $ cat /dev/shm/runcommand.log Parameters: Executing: /opt/retropie/emulators/mupen64plus/bin/mupen64plus.sh mupen64plus-video-GLideN64 "/home/pi/RetroPie/roms/n64/Mario Kart 64 (USA).n64" 640x480 0 --set Video-GLideN64[UseNativeResolutionFactor]\=2 /opt/retropie/emulators/mupen64plus/bin/mupen64plus.sh: line 447: 6142 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"
It happens with all non lr emulators.
-
-
Can you try updating/re-installing the
mupen64plus
emulator now ? It seems there's a problem with the latest version, but updating from binary should install a previous version, which should work. -
@mitu I hate to bump an old topic but I'm also getting the same error no matter which version of mupen64plus I use:
2024/05/17,14:16:01.948,opengl_Utils.cpp:60,WARNING, "Could not query EGL extensions on this device"
2024/05/17,14:16:01.948,opengl_Utils.cpp:60,WARNING, "Could not query EGL extensions on this device"I have removed mupen64plus from the build completely and just re-installed via the most recent update from the RetroPie-Setup script and that's the error I get everytime and it kicks me back to ES.
I have tried all three mupen64plus options in runcommand and they all do the same.
Any ideas?
Thank you.
-
@TPR said in Lost mupen64plus Standalone Emulator:
@mitu I hate to bump an old topic but I'm also getting the same error no matter which version of mupen64plus I use:
The 'same error' is just a generic message that the emulator has crashed and it's not caused by the same issue. In fact, you've already commended in the topic where the recent Mupen64plus breakage was reported - https://retropie.org.uk/forum/topic/35444. Bumping an old topic is just rude.
-
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.