N64 cores error after update retroarch 1.8.4
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 14.1k
- Forks
- 2.2k
- Avg merge
- 7h 35m
- Merged PRs (30d)
- 51
Description
Which version of Lakka are you using?
2.3.2
What system hardware are you using?
raspberry pi 3b
What did you do?
the n64 emulator does not load any games (Mupen64 plus Next, Parallel n64) and the videos (ffmpge) do not play, they cause the system to freeze
What did you expect to happen?
The emulator I used was mupen64plus-Next and Parallel N64, it doesn’t open any games. Video: ogg, mpge, mp4, etc.
What happened instead?
the system freeze
Mupen64plus-Next
[INFO] RetroArch 1.8.4 (Git 9e25601a56)
[INFO] === Build =======================================
[INFO] Capacidades: NEON VFPv3 VFPv4
[INFO] Built: Jan 20 2020
[INFO] Version: 1.8.4
[INFO] Git: 9e25601a56
[INFO] =================================================
[INFO] [Environ]: SET_PIXEL_FORMAT: RGB565.
[INFO] Versión de la API Libretro: 1
[INFO] Compilado para la API: 1
[INFO] [Audio]: Set audio input rate to: 30000.00 Hz.
[INFO] [Video]: Video @ fullscreen
[INFO] [Video]: Starting threaded video driver …
[INFO] [EGL] Falling back to eglGetDisplay
[INFO] [EGL]: EGL version: 1.4
[INFO] [EGL]: Current context: 0x1.
[INFO] [GL]: Found GL context: videocore
[INFO] [GL]: Detecting screen resolution 1366x768.
[INFO] [EGL]: eglSwapInterval(1)
[INFO] [GL]: Vendor: Broadcom, Renderer: VideoCore IV HW.
[INFO] [GL]: Version: OpenGL ES 2.0.
[INFO] Querying EGL extension: KHR_image => exists
[INFO] [GL]: Using resolution 1366x768
[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] Shader log: Compiled
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] Shader log: Compiled
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] Shader log: Compiled
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] Shader log: Compiled
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] Shader log: Compiled
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] Shader log: Compiled
[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] Shader log: Compiled
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] Shader log: Compiled
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling simple ribbon shader…
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] Shader log: Compiled
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] Shader log: Compiled
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling snow shader…
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] Shader log: Compiled
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] Shader log: Compiled
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling modern snow shader…
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] Shader log: Compiled
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] Shader log: Compiled
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling bokeh shader…
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] Shader log: Compiled
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] Shader log: Compiled
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling snowflake shader…
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] Shader log: Compiled
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] Shader log: Compiled
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GL]: Using 4 textures.
[INFO] [GL]: Loaded 1 program(s).
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Video]: Graphics driver did not initialize an input driver. Attempting to pick a suitable driver.
[INFO] [udev]: Keyboard #0 (/dev/input/event0).
[INFO] [udev]: Mouse #0 (/dev/input/event1).
[INFO] [udev]: Mouse #1 (/dev/input/mouse0).
[INFO] [udev]: Plugged pad: ShanWan USB WirelessGamepad (9571:1315) on port #0.
[INFO] [udev]: Pad #0 (/dev/input/event2) supports 0 force feedback effects.
[INFO] [Autoconf]: 309 profiles found.
[INFO] [Joypad]: Found joypad driver: “udev”.
[WARN] [udev]: Full-screen pointer won’t be available.
[INFO] [Video]: Found display server: null
[INFO] Encontrado el shader “/tmp/shaders/bilinear.glslp”
[INFO] Encontrado el shader “/tmp/shaders/nearest.glslp”
[INFO] Encontrado el shader “/tmp/shaders/retroarch.glslp”
[INFO] Encontrado el shader “/tmp/shaders/slang-conversion-template.glsl”
[INFO] Encontrado el shader “/tmp/shaders/stock.glsl”
[INFO] ALSA: Using signed 16-bit format.
[INFO] ALSA: Period size: 384 frames
[INFO] ALSA: Buffer size: 1536 frames
[INFO] [Autoconf]: selected configuration: /tmp/joypads/udev/ShanWan USB WirelessGamepad .cfg
[INFO] [Menu]: Found menu display driver: “gl”.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Menu]: Found menu display driver: “gl”.
[CDROM] No sg devices found and sg kernel module is not loaded.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[WARN] [XMB] Asset missing: /tmp/assets/xmb/retroactive/png/disc.png
[INFO] [LED]: LED driver = ‘null’ 0x3a89c8
[INFO] [MIDI]: Initializing …
ALSA lib /home/natinusala/release/Lakka-LibreELEC/build.Lakka-RPi2.arm/alsa-lib-1.1.9/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 (list of input devices unavailable).
[INFO] No se guardará la SRAM.
[INFO] Cargando historial: [/storage/.config/retroarch/content_history.lpl].
[INFO] Cargando historial: [/storage/.config/retroarch/content_music_history.lpl].
[INFO] Cargando historial: [/storage/.config/retroarch/content_video_history.lpl].
[INFO] Cargando historial: [/storage/.config/retroarch/content_image_history.lpl].
[INFO] Cargando favoritos: [/storage/.config/retroarch/content_favorites.lpl].
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] Using content: /storage/roms/n64/waynegretzky3d.zip#Wayne Gretzky’s 3D Hockey.v64.
[INFO] arg #0: retroarch
[INFO] arg #1: /storage/roms/n64/waynegretzky3d.zip#Wayne Gretzky’s 3D Hockey.v64
[INFO] arg #2: -s
[INFO] arg #3: /storage/savefiles
[INFO] arg #4: -S
[INFO] arg #5: /storage/savestates
[INFO] arg #6: -c
[INFO] arg #7: /storage/.config/retroarch/retroarch.cfg
[INFO] arg #8: -L
[INFO] arg #9: /tmp/cores/mupen64plus_next_libretro.so
[INFO] Content ran for a total of: 00 hours, 00 minutes, 00 seconds.
[INFO] Unloading game…
[INFO] Unloading core…
[INFO] Unloading core symbols…
[INFO] Threaded video stats: Frames pushed: 469, Frames dropped: 0.
[INFO] Set config file to : /storage/.config/retroarch/retroarch.cfg
[INFO] RetroArch 1.8.4 (Git 9e25601a56)
[INFO] Redirigiendo archivo de guardado a “/storage/roms/n64/Wayne Gretzky’s 3D Hockey.srm”.
[INFO] Redirigiendo archivo de guardado rápido a “/storage/roms/n64/Wayne Gretzky’s 3D Hockey.state”.
[INFO] === Build =======================================
[INFO] Capacidades: NEON VFPv3 VFPv4
[INFO] Built: Jan 20 2020
[INFO] Version: 1.8.4
[INFO] Git: 9e25601a56
[INFO] =================================================
[INFO] Loading dynamic libretro core from: “/tmp/cores/mupen64plus_next_libretro.so”
[INFO] [Overrides] no core-specific overrides found at /storage/.config/retroarch/config/Mupen64Plus-Next GLES2/Mupen64Plus-Next GLES2.cfg.
[INFO] [Overrides] no content-dir-specific overrides found at /storage/.config/retroarch/config/Mupen64Plus-Next GLES2/n64.cfg.
[INFO] [Overrides] no game-specific overrides found at /storage/.config/retroarch/config/Mupen64Plus-Next GLES2/Wayne Gretzky’s 3D Hockey.cfg.
[INFO] [Environ]: SET_VARIABLES.
[INFO] Opciones específicas del juego y del núcleo encontradas en /storage/.config/retroarch/config/Mupen64Plus-Next GLES2/Wayne Gretzky’s 3D Hockey.opt
[INFO] [Environ]: SET_CONTROLLER_INFO.
[INFO] [Remaps]: remap directory: /storage/remappings
[INFO] [Remaps]: core-specific remap found at /storage/remappings/Mupen64Plus-Next GLES2/Mupen64Plus-Next GLES2.rmp.
[INFO] Redirigiendo archivo de guardado a “/storage/roms/n64/Wayne Gretzky’s 3D Hockey.srm”.
[INFO] Redirigiendo archivo de guardado rápido a “/storage/roms/n64/Wayne Gretzky’s 3D Hockey.state”.
[INFO] [Environ]: SYSTEM_DIRECTORY: “/storage/roms/n64/”.
[INFO] [Environ]: SYSTEM_DIRECTORY: “/storage/roms/n64/”.
[INFO] [Environ]: GET_LOG_INTERFACE.
[INFO] [Environ]: GET_PERF_INTERFACE.
[INFO] [Environ]: SET_PIXEL_FORMAT: XRGB8888.
[INFO] [Environ]: GET_RUMBLE_INTERFACE.
[INFO] Cargando contenido: /storage/roms/n64/Wayne Gretzky’s 3D Hockey.v64.
[INFO] No se encontró un parche válido.
[INFO] [Environ]: SET_HW_RENDER.
[INFO] Requesting OpenGLES2 context.
[libretro INFO] mupen64plus: Using full mem base
[INFO] [Environ]: SYSTEM_DIRECTORY: “/storage/roms/n64/”.
[libretro INFO] mupen64plus: Goodname: Wayne Gretzky’s 3D Hockey (U) (V1.0) [!]
[libretro INFO] mupen64plus: Name: W.G. 3DHOCKEY
[libretro INFO] mupen64plus: MD5: 6DF0D6259261D0096C90BBC6AA037D8E
[libretro INFO] mupen64plus: CRC: 6B45223F F00E5C56
[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: 1444
[libretro INFO] mupen64plus: Manufacturer: Nintendo
[libretro INFO] mupen64plus: Cartridge_ID: 4757
[libretro INFO] mupen64plus: Country: USA
[libretro INFO] mupen64plus: PC = 80001C00
[libretro INFO] mupen64plus: Save type: 5
[INFO] [RCHEEVOS]: ext_hash 0b88b005 (‘v64’)
[INFO] [RCHEEVOS]: Load task finished
[INFO] Omitiendo carga de SRAM…
[INFO] Versión de la API Libretro: 1
[INFO] Compilado para la API: 1
[INFO] [Cheats]: Load game-specific cheatfile: /tmp/database/cht/Mupen64Plus-Next GLES2/Wayne Gretzky’s 3D Hockey.cht
[INFO] [Audio]: Set audio input rate to: 44100.00 Hz.
[INFO] [Video]: Video @ fullscreen
[INFO] [Video]: Using HW render, OpenGL driver forced.
[INFO] [Video]: Using configured “gl” driver for GL HW render.
[INFO] [EGL] Falling back to eglGetDisplay
[INFO] [EGL]: EGL version: 1.4
[INFO] [EGL]: Current context: 0x1.
[INFO] [GL]: Found GL context: videocore
[INFO] [GL]: Detecting screen resolution 1366x768.
[INFO] [EGL]: eglSwapInterval(1)
[INFO] [GL]: Vendor: Broadcom, Renderer: VideoCore IV HW.
[INFO] [GL]: Version: OpenGL ES 2.0.
[INFO] [GL]: Using resolution 1366x768
[INFO] [GL]: Default shader backend found: glsl.
[INFO] [Shaders]: preset directory: /tmp/shaders/presets
[INFO] [Shaders]: Specific shader preset found at /tmp/shaders/presets/Mupen64Plus-Next GLES2/Mupen64Plus-Next GLES2.glslp.
[INFO] [Shaders]: core-specific shader preset found.
[INFO] [Shader driver]: Using GLSL shader backend.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] Shader log: Compiled
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] Shader log: Compiled
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] Shader log: Compiled
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] Shader log: Compiled
[INFO] [GLSL]: Linking GLSL program.
[INFO] Linker log: ERROR:LINK-6 (link time, line -1) Too many varyings
[ERROR] Failed to link program #0.
[ERROR] Failed to create GL program #0.
[ERROR] [GL]: Failed to initialize shader, falling back to stock.
[INFO] [Shader driver]: Using GLSL shader backend.
[WARN] [GL]: Stock GLSL shaders will be used.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] Shader log: Compiled
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] Shader log: Compiled
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] Shader log: Compiled
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] Shader log: Compiled
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] Shader log: Compiled
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] Shader log: Compiled
[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] Shader log: Compiled
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] Shader log: Compiled
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling simple ribbon shader…
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] Shader log: Compiled
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] Shader log: Compiled
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling snow shader…
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] Shader log: Compiled
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] Shader log: Compiled
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling modern snow shader…
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] Shader log: Compiled
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] Shader log: Compiled
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling bokeh shader…
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] Shader log: Compiled
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] Shader log: Compiled
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling snowflake shader…
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] Shader log: Compiled
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] Shader log: Compiled
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GL]: Using 1 textures.
[INFO] [GL]: Loaded 1 program(s).
[INFO] [GL]: Initializing HW render (1024 x 1024).
[INFO] [GL]: Max texture size: 2048 px, renderbuffer size: 2048 px.
[INFO] [GL]: Supports FBO (render-to-texture).
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Video]: Graphics driver did not initialize an input driver. Attempting to pick a suitable driver.
[INFO] [udev]: Keyboard #0 (/dev/input/event0).
[INFO] [udev]: Mouse #0 (/dev/input/event1).
[INFO] [udev]: Mouse #1 (/dev/input/mouse0).
[INFO] [udev]: Plugged pad: ShanWan USB WirelessGamepad (9571:1315) on port #0.
[INFO] [udev]: Pad #0 (/dev/input/event2) supports 0 force feedback effects.
[INFO] [Autoconf]: 309 profiles found.
[INFO] [Joypad]: Found joypad driver: “udev”.
[WARN] [udev]: Full-screen pointer won’t be available.
[INFO] [Video]: Found display server: null
[INFO] Encontrado el shader “/tmp/shaders/bilinear.glslp”
[INFO] Encontrado el shader “/tmp/shaders/nearest.glslp”
[INFO] Encontrado el shader “/tmp/shaders/retroarch.glslp”
[INFO] Encontrado el shader “/tmp/shaders/slang-conversion-template.glsl”
[INFO] Encontrado el shader “/tmp/shaders/stock.glsl”
[INFO] [Environ]: SET_INPUT_DESCRIPTORS:
[INFO] ALSA: Using signed 16-bit format.
[INFO] ALSA: Period size: 384 frames
[INFO] ALSA: Buffer size: 1536 frames
[INFO] [Autoconf]: selected configuration: /tmp/joypads/udev/ShanWan USB WirelessGamepad .cfg
[INFO] [Menu]: Found menu display driver: “gl”.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[WARN] [XMB] Asset missing: /tmp/assets/xmb/retroactive/png/disc.png
[INFO] [LED]: LED driver = ‘null’ 0x3a89c8
[INFO] [MIDI]: Initializing …
ALSA lib /home/natinusala/release/Lakka-LibreELEC/build.Lakka-RPi2.arm/alsa-lib-1.1.9/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 (list of input devices unavailable).
[INFO] Cargando historial: [/storage/.config/retroarch/content_history.lpl].
[INFO] Cargando historial: [/storage/.config/retroarch/content_music_history.lpl].
[INFO] Cargando historial: [/storage/.config/retroarch/content_video_history.lpl].
[INFO] Cargando historial: [/storage/.config/retroarch/content_image_history.lpl].
[INFO] Cargando favoritos: [/storage/.config/retroarch/content_favorites.lpl].
[INFO] [GL]: VSync => on
[INFO] [EGL]: eglSwapInterval(1)
[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: “/storage/roms/n64/”.
[INFO] [Environ]: SYSTEM_DIRECTORY: “/storage/roms/n64/”.
[INFO] [Environ]: SYSTEM_DIRECTORY: “/storage/roms/n64/”.
[INFO] [Environ]: SYSTEM_DIRECTORY: “/storage/roms/n64/”.
Segmentation fault (core dumped)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the freeze on Lakka 2.3.2 with a Raspberry Pi 3B, RetroArch 1.8.4, Mupen64Plus-Next or Parallel N64, and the listed video formats. Inspect the Mupen64Plus-Next GLES2 shader initialization around the reported “Too many varyings” link error and compare behavior with video playback; done means N64 games and the listed videos no longer freeze.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, raspberry-pi
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100