Issues running N64 games
-
Hello to everyone, two days ago I installed manually Retropie 4.7.15 over a Raspberry OS on a raspberry pi 4. Then I installed the standalone package: mupen64plus. Sadly my emulation experience was terrible: both video and audio is slow, and the latter is crackling too. Finally when I try to load the saved state of the game, the application crashes and I get this one in the logs:
Parameters: Executing: SDL_VIDEO_KMSDRM_CRTCID=87 SDL_VIDEO_KMSDRM_MODEID=25 /opt/retropie/emulators/mupen64plus/bin/mupen64plus.sh mupen64plus-video-GLideN64 "/home/pi/RetroPie/roms/n64/USA/Star Fox 64 (USA) (Rev 1).z64" 640x480 0 --set Video-GLideN64[UseNativeResolutionFactor]\=1 /opt/retropie/emulators/mupen64plus/bin/mupen64plus.sh: line 447: 5253 Bus error 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".
-
NOTE: reply split to a separate topic. Please add some more info about your setup, as detailed in https://retropie.org.uk/forum/topic/3/read-this-first.
-
Pi Model: Raspberry Pi 4 model B 2gb ram
RetroPie Version: 4.7.15
Built From: build with Retropie-Setup script on a top of Raspberry Pi OS Lite (Release date: May 7th 2021 Kernel version: 5.10.43v64) sd image.
USB Devices connected:
Controller used: EasySMX 2.4G Wireless Controller (reconized as Microsoft X-Box 360 pad)
Error messages received: /opt/retropie/emulators/mupen64plus/bin/mupen64plus.sh: line 447: 5253 Bus error
File: /opt/retropie/emulators/mupen64plus/bin/mupen64plus.sh
Emulator: mupen64plus (build of: Jun 25 2021) -
@saga said in Issues running N64 games:
(Release date: May 7th 2021 Kernel version: 5.10.43v64)
Is this an
aarch64
(64 bit) system ? Currently there's only preliminary support for it in RetroPie. -
@saga it's not too surprising the video/audio is bad - n64 emulation is hard, pi4 is weak. that said this game works well for me on mupen64plus-GLideN64. some slowdown in the 2d/intro scenes, but mostly full speed in-game (only tried first level).
as for your crash on save load - did you save the save state on the same emulator? same system? and you haven't updated anything since you saved it?
-
It's seems so:
Linux raspberrypi 5.10.43v64 #1 SMP PREEMPT Tue Jun 15 00:52:48 CEST 2021 aarch64 GNU/Linux
Before installing Retropie with the script over my Raspberry Pi 4 I gave a:
sudo apt-get update && sudo apt-get dist-upgrade -y
-
The state is saved in the same emulator in the same system. Like I said in my previous reply I upgraded the sytem with a apt-get dist-upgrade.
I understand the n64 is difficult to emulate, but my previous emulation experience on the Raspberry Pi 3 of one year ago was much better. -
@saga it was probably using mupen64plus-gles2n64 which is not functional on the pi4: https://github.com/RetroPie/RetroPie-Setup/issues/3118 , or gles2rice which is not supported by 64-bit.
i don't understand how you can get to aarch64 via an upgrade. you must have used the beta raspberry pi OS 64-bit image, or some other 3rd party image.
sudo apt-get update && sudo apt-get dist-upgrade -y
on buster 32-bit just gets youLinux retropie 5.10.17-v7l+ #1421 SMP Thu May 27 14:00:13 BST 2021 armv7l GNU/Linux
-
Me neither; i just downloaded the image from https://downloads.raspberrypi.org/raspios_lite_armhf/images/raspios_lite_armhf-2021-05-28/2021-05-07-raspios-buster-armhf-lite.zip, then I converted it to squashfs system and finally installed it over BerryBoot.
-
@saga use a 32bit variant of Raspberry PI OS,
aarch64
doesn't get you much in terms of increased performance over the standard Raspberry Pi OS. -
@mitu thanks. I will give it a try
-
@mitu sorry to bother you again, but here are my updates. I went to the official site https://www.raspberrypi.org/software/operating-systems/#raspberry-pi-os-32-bit (see 32 bit in the link), then I downloaded the image by clicking the same link I mentioned before https://downloads.raspberrypi.org/raspios_lite_armhf/images/raspios_lite_armhf-2021-05-28/2021-05-07-raspios-buster-armhf-lite.zip. After Flashing the image to the sd card I immediately verified the kernel, and the result is:
Linux raspberrypi 5.10.43v64 #1 SMP PREEMPT Tue Jun 15 00:52:48 CEST 2021 aarch64 GNU/Linux
I don't know where else to get a 32-bit image.
-
@saga Are you flashing the image directly to the sdcard or via BerryBoot ? Skip BerryBoot and flash it directly. Using the image from retropie.org.uk/download will also get you a Raspi OS Lite basic installation with RetroPie already installed.
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.