I’m trying out Lakka on the rpi5 and loading any game with Mupen64Plus-next gives a segmentation fault. I’ve tried gl and glcore drivers.
Here is the log:
################################################################################
# ... output of retroarch -v
# Lakka release: RPi5.aarch64-devel-20240209174937-cdddbc6
#
################################################################################
[INFO] [Config]: Looking for config in: "/storage/.config/retroarch/retroarch.cfg".
[INFO] RetroArch 1.17.0 (Git ad8975c)
[INFO] === Build =======================================
[INFO] Capacités: ASIMD
[INFO] Version: 1.17.0
[INFO] Git: ad8975c
[INFO] Built: Feb 9 2024
[INFO] =================================================
[INFO] [Input]: Found input driver: "udev".
[INFO] [Environ]: SET_PIXEL_FORMAT: RGB565.
[INFO] [Core]: Version de l'API libretro: 1, Compilé avec l'API: 1
[INFO] [Core]: Geometry: 320x240, Aspect: 1.333, FPS: 60.00, Sample rate: 48000.00 Hz.
[INFO] [Audio]: Set audio input rate to: 48000.00 Hz.
[INFO] [Video]: Set video size to: fullscreen.
[INFO] [Video]: Starting threaded video driver..
[INFO] [DRM]: Found 2 connectors.
[INFO] [DRM]: Connector 0 connected: yes
[INFO] [DRM]: Connector 0 has 10 modes.
[INFO] [DRM]: Connector 0 assigned to monitor index: #1.
[INFO] [DRM]: Connector 1 connected: no
[INFO] [DRM]: Connector 1 has 0 modes.
[INFO] [DRM]: Mode 0: (1920x1200) 1920 x 1200, 59.950172 Hz
[INFO] [DRM]: Mode 1: (1920x1080) 1920 x 1080, 60.000000 Hz
[INFO] [DRM]: Mode 2: (1600x1200) 1600 x 1200, 60.000000 Hz
[INFO] [DRM]: Mode 3: (1680x1050) 1680 x 1050, 59.883251 Hz
[INFO] [DRM]: Mode 4: (1280x1024) 1280 x 1024, 60.019741 Hz
[INFO] [DRM]: Mode 5: (1440x900) 1440 x 900, 59.901459 Hz
[INFO] [DRM]: Mode 6: (1280x960) 1280 x 960, 60.000000 Hz
[INFO] [DRM]: Mode 7: (1024x768) 1024 x 768, 60.003841 Hz
[INFO] [DRM]: Mode 8: (800x600) 800 x 600, 60.316540 Hz
[INFO] [DRM]: Mode 9: (640x480) 640 x 480, 59.940475 Hz
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /storage/.drirc: No such file or directory.
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /storage/.drirc: No such file or directory.
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /storage/.drirc: No such file or directory.
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /storage/.drirc: No such file or directory.
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /storage/.drirc: No such file or directory.
[INFO] [GL]: Found GL context: "kms".
[INFO] [GL]: Detecting screen resolution: 1920x1200.
[INFO] [EGL] Found EGL client version >= 1.5, trying eglGetPlatformDisplay
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /storage/.drirc: No such file or directory.
[INFO] [EGL]: EGL version: 1.4
[INFO] [EGL]: Current context: 0x7f9c0034b0.
[INFO] [KMS]: New FB: 1920x1200 (stride: 7680).
[INFO] [GL]: Vendor: Broadcom, Renderer: V3D 7.1.
[INFO] [GL]: Version: OpenGL ES 3.1 Mesa 23.3.5.
[INFO] [GL]: Using resolution 1920x1200.
[INFO] [GL]: Default shader backend found: glsl.
[INFO] [Shader driver]: Using GLSL shader backend.
[WARN] [GL]: Stock GLSL shaders will be used.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] Setting up menu pipeline shaders for XMB ...
[INFO] [GLSL]: Compiling ribbon shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling simple ribbon shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling snow shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling modern snow shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling bokeh shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling snowflake shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GL]: Using 4 textures.
[INFO] [GL]: Loaded 1 program(s).
[INFO] [Video]: Graphics driver did not initialize an input driver. Attempting to pick a suitable driver.
[WARN] [udev]: Full-screen pointer won't be available.
[INFO] [udev]: Keyboard #0: "pwr_button" (/dev/input/event1).
[INFO] [udev]: Mouse/Touch #0: "Wireless Controller Touchpad" (ABS) /dev/input/event2.
[INFO] [udev]: Pad #0 (/dev/input/event4) supports force feedback.
[INFO] [udev]: Pad #0 (/dev/input/event4) supports 16 force feedback effects.
[INFO] [Autoconf]: Wireless Controller configuré dans le port 1.
[INFO] [Joypad]: Found joypad driver: "udev".
[INFO] [Video]: Found display server: "kms".
[WARN] [udev]: Mouse grab/ungrab feature unavailable.
[INFO] [ALSA] Using ALSA version 1.2.8
[ERROR] [ALSA]: Failed to open PLAYBACK stream on device "default": Unknown error 524
[ERROR] [ALSA]: Failed to initialize...
[INFO] [Audio]: Started synchronous audio driver.
[ERROR] Failed to initialize audio driver. Will continue without audio.
[INFO] [ALSA] Using ALSA version 1.2.8
[INFO] [Microphone]: Initialized microphone driver.
wifi is already enabled
[INFO] [Display]: Found display driver: "gl".
ALSA lib /mnt/data/lakkabuildbot/nightly/Lakka-devel/build.Lakka-RPi5.aarch64-5.0-devel/build/alsa-lib-1.2.8/src/seq/seq_hw.c:466:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory
[ERROR] [MIDI]: snd_seq_open failed with error -2.
[ERROR] [MIDI]: Initialization failed.
[INFO] [Playlist]: Chargement du fichier d'historique: "/storage/.config/retroarch/content_history.lpl".
[INFO] [Playlist]: Chargement du fichier d'historique: "/storage/.config/retroarch/content_music_history.lpl".
[INFO] [Playlist]: Chargement du fichier d'historique: "/storage/.config/retroarch/content_video_history.lpl".
[INFO] [Playlist]: Chargement du fichier d'historique: "/storage/.config/retroarch/content_image_history.lpl".
[INFO] [Playlist]: Chargement du fichier des favoris: "/storage/.config/retroarch/content_favorites.lpl".
[INFO] [KMS]: New FB: 1920x1200 (stride: 7680).
[INFO] [KMS]: New FB: 1920x1200 (stride: 7680).
[INFO] [Environ]: SET_SUBSYSTEM_INFO.
[INFO] [Core]: Using content: "/storage/roms/Nintedo 64/Super Mario 64 (Europe) (En,Fr,De).z64".
[INFO] [Core]: Content ran for a total of: 00 hours, 00 minutes, 00 seconds.
[INFO] [Core]: Unloading core..
[INFO] [Core]: Unloading core symbols..
[INFO] Threaded video stats: Frames pushed: 423, Frames dropped: 0.
[INFO] RetroArch 1.17.0 (Git ad8975c)
[INFO] === Build =======================================
[INFO] Capacités: ASIMD
[INFO] Version: 1.17.0
[INFO] Git: ad8975c
[INFO] Built: Feb 9 2024
[INFO] =================================================
[INFO] [Input]: Found input driver: "udev".
[INFO] [Core]: Loading dynamic libretro core from: "/tmp/cores/mupen64plus_next_libretro.so"
[INFO] [Overrides]: Redirection du fichier de sauvegarde vers "/storage/savefiles/Mupen64Plus-Next/Super Mario 64 (Europe) (En,Fr,De).srm".
[INFO] [Overrides]: Redirection du fichier de sauvegarde instantanée vers "/storage/savestates/Mupen64Plus-Next/Super Mario 64 (Europe) (En,Fr,De).state".
[INFO] [Environ]: GET_CORE_OPTIONS_VERSION.
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_V2.
[INFO] [Environ]: SET_CONTROLLER_INFO.
[INFO] [Environ]: SYSTEM_DIRECTORY: "/tmp/system".
[INFO] [Environ]: SYSTEM_DIRECTORY: "/tmp/system".
[INFO] [Environ]: GET_LOG_INTERFACE.
[INFO] [Environ]: GET_PERF_INTERFACE.
[INFO] [Environ]: SET_PIXEL_FORMAT: XRGB8888.
[INFO] [Environ]: GET_RUMBLE_INTERFACE.
[libretro INFO] mupen64plus: Using full mem base
[INFO] [Environ]: SYSTEM_DIRECTORY: "/tmp/system".
[INFO] [Content]: Chargement du fichier de contenu: "/storage/roms/Nintedo 64/Super Mario 64 (Europe) (En,Fr,De).z64".
[ERROR] [Environ]: GET_VARIABLE: mupen64plus-MultiSampling - Invalid value.
[ERROR] [Environ]: GET_VARIABLE: mupen64plus-EnableN64DepthCompare - Invalid value.
[ERROR] [Environ]: GET_VARIABLE: mupen64plus-EnableShadersStorage - Invalid value.
[INFO] [Environ]: SET_HW_RENDER, context type: gl.
[INFO] Requesting OpenGLES2 context.
[libretro INFO] mupen64plus: Goodname: Super Mario 64 (E) (M3) [!]
[libretro INFO] mupen64plus: Name: SUPER MARIO 64
[libretro INFO] mupen64plus: MD5: 45676429EF6B90E65B517129B700308E
[libretro INFO] mupen64plus: CRC: A03CF036 BCC1C5D2
[libretro INFO] mupen64plus: Imagetype: .z64 (native)
[libretro INFO] mupen64plus: Rom size: 8388608 bytes (or 8 Mb or 64 Megabits)
[libretro INFO] mupen64plus: ClockRate = F
[libretro INFO] mupen64plus: Version: 1446
[libretro INFO] mupen64plus: Manufacturer: Nintendo
[libretro INFO] mupen64plus: Cartridge_ID: 4D53
[libretro INFO] mupen64plus: Country: Europe (0x50)
[libretro INFO] mupen64plus: PC = 80241800
[libretro INFO] mupen64plus: Save type: 0
[INFO] [Replay]: Dernier emplacement de replay trouvé: #0
[INFO] [SRAM]: Chargement de la SRAM ignoré.
[INFO] [Core]: Version de l'API libretro: 1, Compilé avec l'API: 1
[INFO] [Core]: Geometry: 640x480, Aspect: 1.333, FPS: 50.00, Sample rate: 44100.00 Hz.
[INFO] [Audio]: Set audio input rate to: 44100.00 Hz.
[INFO] [Video]: Timings deviate too much. Will not adjust. (Target = 60.00 Hz, Game = 50.00 Hz)
[INFO] [Video]: Set video size to: fullscreen.
[INFO] [Video]: Using HW render, OpenGL driver forced.
[INFO] [Video]: Using configured "gl" driver for GL HW render.
[INFO] [DRM]: Found 2 connectors.
[INFO] [DRM]: Connector 0 connected: yes
[INFO] [DRM]: Connector 0 has 10 modes.
[INFO] [DRM]: Connector 0 assigned to monitor index: #1.
[INFO] [DRM]: Connector 1 connected: no
[INFO] [DRM]: Connector 1 has 0 modes.
[INFO] [DRM]: Mode 0: (1920x1200) 1920 x 1200, 59.950172 Hz
[INFO] [DRM]: Mode 1: (1920x1080) 1920 x 1080, 60.000000 Hz
[INFO] [DRM]: Mode 2: (1600x1200) 1600 x 1200, 60.000000 Hz
[INFO] [DRM]: Mode 3: (1680x1050) 1680 x 1050, 59.883251 Hz
[INFO] [DRM]: Mode 4: (1280x1024) 1280 x 1024, 60.019741 Hz
[INFO] [DRM]: Mode 5: (1440x900) 1440 x 900, 59.901459 Hz
[INFO] [DRM]: Mode 6: (1280x960) 1280 x 960, 60.000000 Hz
[INFO] [DRM]: Mode 7: (1024x768) 1024 x 768, 60.003841 Hz
[INFO] [DRM]: Mode 8: (800x600) 800 x 600, 60.316540 Hz
[INFO] [DRM]: Mode 9: (640x480) 640 x 480, 59.940475 Hz
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /storage/.drirc: No such file or directory.
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /storage/.drirc: No such file or directory.
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /storage/.drirc: No such file or directory.
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /storage/.drirc: No such file or directory.
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /storage/.drirc: No such file or directory.
[INFO] [GL]: Found GL context: "kms".
[INFO] [GL]: Detecting screen resolution: 1920x1200.
[INFO] [EGL] Found EGL client version >= 1.5, trying eglGetPlatformDisplay
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /storage/.drirc: No such file or directory.
[INFO] [EGL]: EGL version: 1.4
[INFO] [EGL]: Current context: 0x2fc25f50.
[INFO] [KMS]: New FB: 1920x1200 (stride: 7680).
[INFO] [GL]: Vendor: Broadcom, Renderer: V3D 7.1.
[INFO] [GL]: Version: OpenGL ES 3.1 Mesa 23.3.5.
[INFO] [GL]: Using resolution 1920x1200.
[INFO] [GL]: Default shader backend found: glsl.
[INFO] [Shader driver]: Using GLSL shader backend.
[WARN] [GL]: Stock GLSL shaders will be used.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] Setting up menu pipeline shaders for XMB ...
[INFO] [GLSL]: Compiling ribbon shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling simple ribbon shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling snow shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling modern snow shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling bokeh shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling snowflake shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GL]: Using 1 textures.
[INFO] [GL]: Loaded 1 program(s).
[INFO] [GL]: Initializing HW render (1024x1024).
[INFO] [GL]: Max texture size: 4096 px, renderbuffer size: 4096 px.
[INFO] [GL]: Supports FBO (render-to-texture).
[INFO] [Video]: Graphics driver did not initialize an input driver. Attempting to pick a suitable driver.
[WARN] [udev]: Full-screen pointer won't be available.
[INFO] [udev]: Keyboard #0: "pwr_button" (/dev/input/event1).
[INFO] [udev]: Mouse/Touch #0: "Wireless Controller Touchpad" (ABS) /dev/input/event2.
[INFO] [udev]: Pad #0 (/dev/input/event4) supports force feedback.
[INFO] [udev]: Pad #0 (/dev/input/event4) supports 16 force feedback effects.
[INFO] [Joypad]: Found joypad driver: "udev".
[INFO] [Video]: Found display server: "kms".
[WARN] [udev]: Mouse grab/ungrab feature unavailable.
[INFO] [Environ]: SET_INPUT_DESCRIPTORS:
[INFO] [ALSA] Using ALSA version 1.2.8
[ERROR] [ALSA]: Failed to open PLAYBACK stream on device "default": Unknown error 524
[ERROR] [ALSA]: Failed to initialize...
[INFO] [Audio]: Started synchronous audio driver.
[ERROR] Failed to initialize audio driver. Will continue without audio.
[INFO] [ALSA] Using ALSA version 1.2.8
[INFO] [Microphone]: Initialized microphone driver.
wifi is already enabled
[INFO] [Display]: Found display driver: "gl".
[INFO] [Environ]: SET_SUBSYSTEM_INFO.
ALSA lib /mnt/data/lakkabuildbot/nightly/Lakka-devel/build.Lakka-RPi5.aarch64-5.0-devel/build/alsa-lib-1.2.8/src/seq/seq_hw.c:466:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory
[ERROR] [MIDI]: snd_seq_open failed with error -2.
[ERROR] [MIDI]: Initialization failed.
[INFO] [Playlist]: Chargement du fichier d'historique: "/storage/.config/retroarch/content_history.lpl".
[INFO] [Playlist]: Chargement du fichier d'historique: "/storage/.config/retroarch/content_music_history.lpl".
[INFO] [Playlist]: Chargement du fichier d'historique: "/storage/.config/retroarch/content_video_history.lpl".
[INFO] [Playlist]: Chargement du fichier d'historique: "/storage/.config/retroarch/content_image_history.lpl".
[INFO] [Playlist]: Chargement du fichier des favoris: "/storage/.config/retroarch/content_favorites.lpl".
[INFO] [Environ]: SYSTEM_DIRECTORY: "/tmp/system".
[libretro INFO] mupen64plus: Game controller 0 (Standard controller) has a Memory pak plugged in
[libretro INFO] mupen64plus: Game controller 1 (Standard controller) has nothing plugged in
[libretro INFO] mupen64plus: Game controller 2 (Standard controller) has nothing plugged in
[libretro INFO] mupen64plus: Game controller 3 (Standard controller) has nothing plugged in
[libretro INFO] mupen64plus: Using CIC type X102
[INFO] [Environ]: SYSTEM_DIRECTORY: "/tmp/system".
[INFO] [Environ]: SYSTEM_DIRECTORY: "/tmp/system".
[INFO] [Environ]: SYSTEM_DIRECTORY: "/tmp/system".
[INFO] [Environ]: SYSTEM_DIRECTORY: "/tmp/system".
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /storage/.drirc: No such file or directory.
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /storage/.drirc: No such file or directory.
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /storage/.drirc: No such file or directory.
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /storage/.drirc: No such file or directory.
[INFO] [Environ]: SYSTEM_DIRECTORY: "/tmp/system".
[libretro INFO] mupen64plus: Initializing 4 RDRAM modules for a total of 8 MB
[libretro INFO] mupen64plus: Starting R4300 emulator: Dynamic Recompiler
[libretro INFO] mupen64plus: Init new dynarec
[INFO] [KMS]: New FB: 1920x1200 (stride: 7680).
[INFO] [KMS]: New FB: 1920x1200 (stride: 7680).
Segmentation fault