libretro / Lakka-LibreELEC

Lakka is a lightweight Linux distribution that transforms a small computer into a full blown game console.
https://www.lakka.tv
1.7k stars 287 forks source link

Raspberri Pi 5 - Nintendo 64 fails to start on all available cores #1982

Open Foolson opened 3 weeks ago

Foolson commented 3 weeks ago

Tested both nightly and devel versions.

When starting a N64 game with any of the cores available the core and/or Lakka crashes ad Lakka restarts.

[INFO] RetroArch 1.18.0 (Git 06fa532)
[INFO] === Build =======================================
[INFO] Capabilities: ASIMD 
[INFO] Version: 1.18.0
[INFO] Git: 06fa532
[INFO] Built: May 14 2024
[INFO] =================================================
[INFO] [Input]: Found input driver: "udev".
[INFO] [Environ]: SET_PIXEL_FORMAT: RGB565.
[INFO] [Core]: Version of libretro API: 1, Compiled against 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: 3840x2160.
[INFO] [Video]: Starting threaded video driver..
[INFO] [Vulkan]: Vulkan dynamic library loaded.
[INFO] [Vulkan]: Found vulkan context: "khr_display".
[INFO] [Vulkan]: Detecting screen resolution: 0x0.
[INFO] [Vulkan]: Found GPU at index 0: "V3D 7.1.7".
[INFO] [Vulkan]: Using GPU index 0.
[INFO] [Vulkan]: Found GPU at index 0: "V3D 7.1.7".
[INFO] [Vulkan]: Using GPU index 0.
[INFO] [Vulkan]: Using semaphores for WSI acquire.
[INFO] [Vulkan]: Using GPU: "V3D 7.1.7".
[INFO] [Vulkan]: Queue family 0 supports 1 sub-queues.
[INFO] [Vulkan]: Got 3 swapchain images.
[INFO] [Vulkan]: Using resolution 3840x2160.
[INFO] [Vulkan]: Using RGB565 format.
[INFO] [Vulkan]: Loading stock shader.
[INFO] [Video]: Graphics driver did not initialize an input driver. Attempting to pick a suitable driver.
[DEBUG] [udev] Adding devices of type 0 -> "ID_INPUT_KEY"
[DEBUG] [udev] Adding device (t0) "/sys/devices/platform/pwr_button/input/input3"
[DEBUG] [udev] Adding device (t0) "/sys/devices/platform/pwr_button/input/input3/event3"
[DEBUG] [udev] Adding device (t0) "/sys/devices/virtual/input/input2"
[DEBUG] [udev] Adding device (t0) "/sys/devices/virtual/input/input2/event2"
[DEBUG] [udev] Adding devices of type 1 -> "ID_INPUT_MOUSE"
[DEBUG] [udev] Adding devices of type 2 -> "ID_INPUT_TOUCHPAD"
[WARN] [udev]: Full-screen pointer won't be available.
[INFO] [udev]: Keyboard #0: "pwr_button" (/dev/input/event3).
[INFO] [udev]: Keyboard #1: "cec-mini-kb" (/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]: Xbox 360 Controller configured in port 1.
[INFO] [Joypad]: Found joypad driver: "udev".
[INFO] [Video]: Found display server: "null".
[WARN] [udev]: Mouse grab/ungrab feature unavailable.
[INFO] [ALSA] Using ALSA version 1.2.11
[DEBUG] [ALSA]: Requesting device "default" for PLAYBACK stream
[INFO] [ALSA]: Using FLOAT_LE sample format for PLAYBACK device "default"
[INFO] [ALSA]: Period: 4 periods per buffer (768 frames, 6144 bytes)
[INFO] [ALSA]: Buffer size: 3072 frames (24576 bytes)
[INFO] [ALSA]: Can pause: no.
[INFO] [ALSA]: Initialized PLAYBACK device "default"
[INFO] [Audio]: Started synchronous audio driver.
[DEBUG] [ALSA] [playback thread 0x7fffaa95f100]: Beginning playback worker thread
[INFO] [ALSA] Using ALSA version 1.2.11
[INFO] [Microphone]: Initialized microphone driver.
[INFO] [Display]: Found display driver: "vulkan".
[ERROR] [MIDI]: snd_seq_open failed with error -2.
[ERROR] [MIDI]: Initialization failed.
[INFO] [Playlist]: Loading history file: "/storage/.config/retroarch/content_history.lpl".
[INFO] [Playlist]: Loading history file: "/storage/.config/retroarch/content_music_history.lpl".
[INFO] [Playlist]: Loading history file: "/storage/.config/retroarch/content_video_history.lpl".
[INFO] [Playlist]: Loading history file: "/storage/.config/retroarch/content_image_history.lpl".
[INFO] [Playlist]: Loading favorites file: "/storage/.config/retroarch/content_favorites.lpl".
[INFO] [Vulkan]: QueuePresent failed, destroying swapchain.
[INFO] [Vulkan]: Got 3 swapchain images.
[INFO] [Environ]: SET_SUBSYSTEM_INFO.
[DEBUG] Subsystem ID: 0
Special game type: N64 Disk Drive
  Ident: ndd
  ID: 1
  Content:
[DEBUG]     Disk (required)
[DEBUG]     Cartridge (required)
[DEBUG] Subsystem ID: 1
Special game type: N64 Transferpak
  Ident: gb
  ID: 2
  Content:
[DEBUG]     Gameboy RAM (required)
[DEBUG]     Gameboy ROM (required)
[DEBUG]     Cartridge (required)
[DEBUG] Subsystems: 2
[INFO] [Core]: Using content: "/storage/roms/n64/Legend of Zelda, The - Ocarina of Time (USA).z64".
[INFO] [Core]: Content ran for a total of: 00 hours, 00 minutes, 00 seconds.
[DEBUG] [Audio]: Stopped audio driver "alsathread"
[INFO] [Core]: Unloading core..
[INFO] [Core]: Unloading core symbols..
[INFO] Threaded video stats: Frames pushed: 980, Frames dropped: 0.
[DEBUG] [ALSA] [playback thread 0x7fffaa95f100]: Ending playback worker thread
[INFO] RetroArch 1.18.0 (Git 06fa532)
[INFO] === Build =======================================
[INFO] Capabilities: ASIMD 
[INFO] Version: 1.18.0
[INFO] Git: 06fa532
[INFO] Built: May 14 2024
[INFO] =================================================
[INFO] [Input]: Found input driver: "udev".
[INFO] [Core]: Loading dynamic libretro core from: "/tmp/cores/mupen64plus_next_libretro.so"
[INFO] [Overrides]: Redirecting save file to "/storage/savefiles/Mupen64Plus-Next/Legend of Zelda, The - Ocarina of Time (USA).srm".
[INFO] [Overrides]: Redirecting save state to "/storage/savestates/Mupen64Plus-Next/Legend of Zelda, The - Ocarina of Time (USA).state".
[DEBUG] [Environ]: SET_SUBSYSTEM_INFO.
[DEBUG] Special game type: N64 Disk Drive
  Ident: ndd
  ID: 1
  Content:
[DEBUG]     Disk (required)
[DEBUG]     Cartridge (required)
[DEBUG] Special game type: N64 Transferpak
  Ident: gb
  ID: 2
  Content:
[DEBUG]     Gameboy RAM (required)
[DEBUG]     Gameboy ROM (required)
[DEBUG]     Cartridge (required)
[INFO] [Environ]: GET_CORE_OPTIONS_VERSION.
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_V2.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_UPDATE_DISPLAY_CALLBACK.
[INFO] [Environ]: SET_CONTROLLER_INFO.
[DEBUG]    Port 1:
[DEBUG]       "Controller" (1)
[DEBUG]       "RetroPad" (1)
[DEBUG]    Port 2:
[DEBUG]       "Controller" (1)
[DEBUG]       "RetroPad" (1)
[DEBUG]    Port 3:
[DEBUG]       "Controller" (1)
[DEBUG]       "RetroPad" (1)
[DEBUG]    Port 4:
[DEBUG]       "Controller" (1)
[DEBUG]       "RetroPad" (1)
[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]: Loading content file: "/storage/roms/n64/Legend of Zelda, The - Ocarina of Time (USA).z64".
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-rdp-plugin = "gliden64"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-rsp-plugin = "hle"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-ThreadedRenderer = "False"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-BilinearMode = "standard"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-HybridFilter = "True"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-DitheringPattern = "False"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-DitheringQuantization = "False"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-RDRAMImageDitheringMode = "False"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-FXAA = "0"
[ERROR] [Environ]: GET_VARIABLE: mupen64plus-MultiSampling - Invalid value.
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-FrameDuping = "False"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-Framerate = "Original"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-virefresh = "Auto"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-EnableLODEmulation = "True"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-EnableFBEmulation = "True"
[ERROR] [Environ]: GET_VARIABLE: mupen64plus-EnableN64DepthCompare - Invalid value.
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-EnableCopyColorToRDRAM = "Sync"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-EnableCopyDepthToRDRAM = "Software"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-EnableHWLighting = "False"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-CorrectTexrectCoords = "Off"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-EnableTexCoordBounds = "False"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-EnableInaccurateTextureCoordinates = "False"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-BackgroundMode = "OnePiece"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-EnableNativeResTexrects = "Disabled"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-txFilterMode = "None"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-txEnhancementMode = "None"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-txFilterIgnoreBG = "True"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-txHiresEnable = "False"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-txCacheCompression = "True"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-txHiresFullAlphaChannel = "False"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-MaxHiResTxVramLimit = "0"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-MaxTxCacheSize = "8000"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-EnableLegacyBlending = "True"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-EnableFragmentDepthWrite = "False"
[ERROR] [Environ]: GET_VARIABLE: mupen64plus-EnableShadersStorage - Invalid value.
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-EnableTextureCache = "True"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-EnableEnhancedTextureStorage = "False"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-EnableEnhancedHighResStorage = "False"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-EnableHiResAltCRC = "False"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-EnableCopyAuxToRDRAM = "False"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-GLideN64IniBehaviour = "late"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-cpucore = "dynamic_recompiler"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-aspect = "4:3"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-EnableNativeResFactor = "0"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-43screensize = "640x480"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-astick-deadzone = "15"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-astick-sensitivity = "100"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-CountPerOp = "0"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-CountPerOpDenomPot = "0"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-r-cbutton = "C1"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-l-cbutton = "C2"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-d-cbutton = "C3"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-u-cbutton = "C4"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-EnableOverscan = "Enabled"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-OverscanTop = "0"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-OverscanLeft = "0"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-OverscanRight = "0"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-OverscanBottom = "0"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-alt-map = "False"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-ForceDisableExtraMem = "False"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-IgnoreTLBExceptions = "False"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-pak1 = "memory"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-pak2 = "none"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-pak3 = "none"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-pak4 = "none"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-rdp-plugin = "gliden64"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[INFO] [Environ]: SET_HW_RENDER, context type: gl.
[INFO] Requesting OpenGLES2 context.
[DEBUG] Reached end of SET_HW_RENDER.
[libretro DEBUG] mupen64plus: [EmuThread] M64CMD_ROM_OPEN
[libretro INFO] mupen64plus: Goodname: Legend of Zelda, The - Ocarina of Time (U) (V1.0) [!]
[libretro INFO] mupen64plus: Name: THE LEGEND OF ZELDA 
[libretro INFO] mupen64plus: MD5: 5BD1FE107BF8106B2AB6650ABECD54D6
[libretro INFO] mupen64plus: CRC: EC7011B7 7616D72B
[libretro INFO] mupen64plus: Imagetype: .z64 (native)
[libretro INFO] mupen64plus: Rom size: 33554432 bytes (or 32 Mb or 256 Megabits)
[libretro INFO] mupen64plus: ClockRate = F
[libretro INFO] mupen64plus: Version: 1449
[libretro INFO] mupen64plus: Manufacturer: 43
[libretro INFO] mupen64plus: Cartridge_ID: 4C5A
[libretro INFO] mupen64plus: Country: USA
[libretro INFO] mupen64plus: PC = 80000400
[libretro INFO] mupen64plus: Save type: 2
[libretro DEBUG] mupen64plus: [EmuThread] M64CMD_ROM_GET_HEADER
[INFO] [SRAM]: Skipping SRAM load.
[INFO] [Core]: Version of libretro API: 1, Compiled against API: 1
[INFO] [Core]: Geometry: 640x480, Aspect: 1.333, FPS: 60.00, Sample rate: 44100.00 Hz.
[INFO] [Audio]: Set audio input rate to: 44100.00 Hz.
[INFO] [Video]: Set video size to: 3840x2160.
[INFO] [Video]: Using HW render, OpenGL driver forced.
[INFO] [Video]: "glcore" saved as cached driver.
[WARN] [DRM]: Couldn't get device resources.
[WARN] [DRM]: Couldn't get device resources.
[INFO] [DRM]: Found 2 connectors.
[INFO] [DRM]: Connector 0 connected: yes
[INFO] [DRM]: Connector 0 has 47 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: (3840x2160) 3840 x 2160, 60.000000 Hz
[INFO] [DRM]: Mode 1: (4096x2160) 4096 x 2160, 60.000000 Hz
[INFO] [DRM]: Mode 2: (4096x2160) 4096 x 2160, 59.940098 Hz
[INFO] [DRM]: Mode 3: (4096x2160) 4096 x 2160, 50.000000 Hz
[INFO] [DRM]: Mode 4: (4096x2160) 4096 x 2160, 30.000000 Hz
[INFO] [DRM]: Mode 5: (4096x2160) 4096 x 2160, 29.970001 Hz
[INFO] [DRM]: Mode 6: (4096x2160) 4096 x 2160, 25.000000 Hz
[INFO] [DRM]: Mode 7: (4096x2160) 4096 x 2160, 24.000000 Hz
[INFO] [DRM]: Mode 8: (4096x2160) 4096 x 2160, 23.976000 Hz
[INFO] [DRM]: Mode 9: (3840x2160) 3840 x 2160, 59.940098 Hz
[INFO] [DRM]: Mode 10: (3840x2160) 3840 x 2160, 50.000000 Hz
[INFO] [DRM]: Mode 11: (3840x2160) 3840 x 2160, 30.000000 Hz
[INFO] [DRM]: Mode 12: (3840x2160) 3840 x 2160, 29.970001 Hz
[INFO] [DRM]: Mode 13: (3840x2160) 3840 x 2160, 25.000000 Hz
[INFO] [DRM]: Mode 14: (3840x2160) 3840 x 2160, 24.000000 Hz
[INFO] [DRM]: Mode 15: (3840x2160) 3840 x 2160, 23.976000 Hz
[INFO] [DRM]: Mode 16: (2560x1440) 2560 x 1440, 119.997597 Hz
[INFO] [DRM]: Mode 17: (1920x1080) 1920 x 1080, 120.000000 Hz
[INFO] [DRM]: Mode 18: (1920x1080) 1920 x 1080, 119.880005 Hz
[INFO] [DRM]: Mode 19: (1920x1080) 1920 x 1080, 100.000000 Hz
[INFO] [DRM]: Mode 20: (1920x1080) 1920 x 1080, 60.000000 Hz
[INFO] [DRM]: Mode 21: (1920x1080) 1920 x 1080, 60.000000 Hz
[INFO] [DRM]: Mode 22: (1920x1080) 1920 x 1080, 59.940201 Hz
[INFO] [DRM]: Mode 23: (1920x1080i) 1920 x 1080, 60.000000 Hz
[INFO] [DRM]: Mode 24: (1920x1080i) 1920 x 1080, 59.940201 Hz
[INFO] [DRM]: Mode 25: (1920x1080) 1920 x 1080, 50.000000 Hz
[INFO] [DRM]: Mode 26: (1920x1080i) 1920 x 1080, 50.000000 Hz
[INFO] [DRM]: Mode 27: (1920x1080) 1920 x 1080, 30.000000 Hz
[INFO] [DRM]: Mode 28: (1920x1080) 1920 x 1080, 29.970100 Hz
[INFO] [DRM]: Mode 29: (1920x1080) 1920 x 1080, 25.000000 Hz
[INFO] [DRM]: Mode 30: (1920x1080) 1920 x 1080, 24.000000 Hz
[INFO] [DRM]: Mode 31: (1920x1080) 1920 x 1080, 23.976080 Hz
[INFO] [DRM]: Mode 32: (1280x1024) 1280 x 1024, 60.019741 Hz
[INFO] [DRM]: Mode 33: (1360x768) 1360 x 768, 60.015163 Hz
[INFO] [DRM]: Mode 34: (1152x864) 1152 x 864, 59.966923 Hz
[INFO] [DRM]: Mode 35: (1280x720) 1280 x 720, 60.000000 Hz
[INFO] [DRM]: Mode 36: (1280x720) 1280 x 720, 59.940201 Hz
[INFO] [DRM]: Mode 37: (1280x720) 1280 x 720, 50.000000 Hz
[INFO] [DRM]: Mode 38: (1024x768) 1024 x 768, 60.003841 Hz
[INFO] [DRM]: Mode 39: (800x600) 800 x 600, 60.316540 Hz
[INFO] [DRM]: Mode 40: (720x576) 720 x 576, 50.000000 Hz
[INFO] [DRM]: Mode 41: (720x576i) 720 x 576, 50.000000 Hz
[INFO] [DRM]: Mode 42: (720x480) 720 x 480, 60.000000 Hz
[INFO] [DRM]: Mode 43: (720x480) 720 x 480, 59.940060 Hz
[INFO] [DRM]: Mode 44: (640x480) 640 x 480, 60.000000 Hz
[INFO] [DRM]: Mode 45: (640x480) 640 x 480, 59.940475 Hz
[INFO] [DRM]: Mode 46: (720x400) 720 x 400, 70.081665 Hz
[INFO] [GLCore]: Found GL context: "kms".
[INFO] [GLCore]: Detecting screen resolution: 3840x2160.
[INFO] [EGL] Found EGL client version >= 1.5, trying eglGetPlatformDisplay
[INFO] [EGL]: EGL version: 1.4
[INFO] [EGL]: Created shared context: 0x2d0121d0.
[INFO] [EGL]: Current context: 0x2cfcf650.
[INFO] [KMS]: New FB: 3840x2160 (stride: 15360).
[INFO] [GLCore]: Initializing HW render (1024x1024).
[INFO] [GLCore]: Max texture size: 4096 px, renderbuffer size: 4096 px.
[INFO] [GLCore]: Vendor: Broadcom, Renderer: V3D 7.1.7.
[INFO] [GLCore]: Version: OpenGL ES 3.1 Mesa 24.0.7.
[INFO] [GLCore]: Using resolution 3840x2160.
[INFO] [GLCore]: Loading stock shader.
[INFO] [slang]: Building pass #0 (N/A)
[INFO] [GLCore]: Not using frame history.
[INFO] [GLCore]: Not using framebuffer feedback.
[INFO] [Video]: Graphics driver did not initialize an input driver. Attempting to pick a suitable driver.
[DEBUG] [udev] Adding devices of type 0 -> "ID_INPUT_KEY"
[DEBUG] [udev] Adding device (t0) "/sys/devices/platform/pwr_button/input/input3"
[DEBUG] [udev] Adding device (t0) "/sys/devices/platform/pwr_button/input/input3/event3"
[DEBUG] [udev] Adding device (t0) "/sys/devices/virtual/input/input2"
[DEBUG] [udev] Adding device (t0) "/sys/devices/virtual/input/input2/event2"
[DEBUG] [udev] Adding devices of type 1 -> "ID_INPUT_MOUSE"
[DEBUG] [udev] Adding devices of type 2 -> "ID_INPUT_TOUCHPAD"
[WARN] [udev]: Full-screen pointer won't be available.
[INFO] [udev]: Keyboard #0: "pwr_button" (/dev/input/event3).
[INFO] [udev]: Keyboard #1: "cec-mini-kb" (/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.
[libretro DEBUG] mupen64plus: context_reset()
[INFO] [Environ]: SET_INPUT_DESCRIPTORS:
[DEBUG]    Port 1:
[DEBUG]       "D-Pad Up" => "D-Pad Up"
[DEBUG]       "D-Pad Down" => "D-Pad Down"
[DEBUG]       "D-Pad Left" => "D-Pad Left"
[DEBUG]       "D-Pad Right" => "D-Pad Right"
[DEBUG]       "B Button (Down)" => "A Button (C3)"
[DEBUG]       "A Button (Right)" => "(C1)"
[DEBUG]       "Y Button (Left)" => "B Button (C2)"
[DEBUG]       "X Button (Top)" => "(C4)"
[DEBUG]       "Start Button" => "Start"
[DEBUG]       "L Button (Shoulder)" => "L Shoulder"
[DEBUG]       "R Button (Shoulder)" => "R Shoulder"
[DEBUG]       "L2 Button (Trigger)" => "Z Trigger"
[DEBUG]       "R2 Button (Trigger)" => "C Buttons Mode"
[DEBUG]    Port 2:
[DEBUG]       "D-Pad Up" => "D-Pad Up"
[DEBUG]       "D-Pad Down" => "D-Pad Down"
[DEBUG]       "D-Pad Left" => "D-Pad Left"
[DEBUG]       "D-Pad Right" => "D-Pad Right"
[DEBUG]       "B Button (Down)" => "A Button (C3)"
[DEBUG]       "A Button (Right)" => "(C1)"
[DEBUG]       "Y Button (Left)" => "B Button (C2)"
[DEBUG]       "X Button (Top)" => "(C4)"
[DEBUG]       "Start Button" => "Start"
[DEBUG]       "L Button (Shoulder)" => "L Shoulder"
[DEBUG]       "R Button (Shoulder)" => "R Shoulder"
[DEBUG]       "L2 Button (Trigger)" => "Z Trigger"
[DEBUG]       "R2 Button (Trigger)" => "C Buttons Mode"
[DEBUG]    Port 3:
[DEBUG]       "D-Pad Up" => "D-Pad Up"
[DEBUG]       "D-Pad Down" => "D-Pad Down"
[DEBUG]       "D-Pad Left" => "D-Pad Left"
[DEBUG]       "D-Pad Right" => "D-Pad Right"
[DEBUG]       "B Button (Down)" => "A Button (C3)"
[DEBUG]       "A Button (Right)" => "(C1)"
[DEBUG]       "Y Button (Left)" => "B Button (C2)"
[DEBUG]       "X Button (Top)" => "(C4)"
[DEBUG]       "Start Button" => "Start"
[DEBUG]       "L Button (Shoulder)" => "L Shoulder"
[DEBUG]       "R Button (Shoulder)" => "R Shoulder"
[DEBUG]       "L2 Button (Trigger)" => "Z Trigger"
[DEBUG]       "R2 Button (Trigger)" => "C Buttons Mode"
[DEBUG]    Port 4:
[DEBUG]       "D-Pad Up" => "D-Pad Up"
[DEBUG]       "D-Pad Down" => "D-Pad Down"
[DEBUG]       "D-Pad Left" => "D-Pad Left"
[DEBUG]       "D-Pad Right" => "D-Pad Right"
[DEBUG]       "B Button (Down)" => "A Button (C3)"
[DEBUG]       "A Button (Right)" => "(C1)"
[DEBUG]       "Y Button (Left)" => "B Button (C2)"
[DEBUG]       "X Button (Top)" => "(C4)"
[DEBUG]       "Start Button" => "Start"
[DEBUG]       "L Button (Shoulder)" => "L Shoulder"
[DEBUG]       "R Button (Shoulder)" => "R Shoulder"
[DEBUG]       "L2 Button (Trigger)" => "Z Trigger"
[DEBUG]       "R2 Button (Trigger)" => "C Buttons Mode"
[DEBUG]    Port 5:
[DEBUG]    Port 6:
[DEBUG]    Port 7:
[DEBUG]    Port 8:
[INFO] [ALSA] Using ALSA version 1.2.11
[DEBUG] [ALSA]: Requesting device "default" for PLAYBACK stream
[INFO] [ALSA]: Using FLOAT_LE sample format for PLAYBACK device "default"
[INFO] [ALSA]: Period: 4 periods per buffer (768 frames, 6144 bytes)
[INFO] [ALSA]: Buffer size: 3072 frames (24576 bytes)
[INFO] [ALSA]: Can pause: no.
[INFO] [ALSA]: Initialized PLAYBACK device "default"
[INFO] [Audio]: Started synchronous audio driver.
[DEBUG] [ALSA] [playback thread 0x7fffb0ccb100]: Beginning playback worker thread
[INFO] [ALSA] Using ALSA version 1.2.11
[INFO] [Microphone]: Initialized microphone driver.
[INFO] [Display]: Found display driver: "glcore".
[INFO] [Environ]: SET_SUBSYSTEM_INFO.
[DEBUG] Subsystem ID: 0
Special game type: N64 Disk Drive
  Ident: ndd
  ID: 1
  Content:
[DEBUG]     Disk (required)
[DEBUG]     Cartridge (required)
[DEBUG] Subsystem ID: 1
Special game type: N64 Transferpak
  Ident: gb
  ID: 2
  Content:
[DEBUG]     Gameboy RAM (required)
[DEBUG]     Gameboy ROM (required)
[DEBUG]     Cartridge (required)
[DEBUG] Subsystems: 2
[ERROR] [MIDI]: snd_seq_open failed with error -2.
[ERROR] [MIDI]: Initialization failed.
[INFO] [Playlist]: Loading history file: "/storage/.config/retroarch/content_history.lpl".
[INFO] [Playlist]: Loading history file: "/storage/.config/retroarch/content_music_history.lpl".
[INFO] [Playlist]: Loading history file: "/storage/.config/retroarch/content_video_history.lpl".
[INFO] [Playlist]: Loading history file: "/storage/.config/retroarch/content_image_history.lpl".
[INFO] [Playlist]: Loading favorites file: "/storage/.config/retroarch/content_favorites.lpl".
[libretro DEBUG] mupen64plus: [EmuThread] M64CMD_EXECUTE
[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 X105
[INFO] [Environ]: SYSTEM_DIRECTORY: "/tmp/system".
[INFO] [Environ]: SYSTEM_DIRECTORY: "/tmp/system".
[INFO] [Environ]: SYSTEM_DIRECTORY: "/tmp/system".
[INFO] [Environ]: SYSTEM_DIRECTORY: "/tmp/system".
[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
Ntemis commented 3 weeks ago

You will have to lower your resolution to 1080p. You are trying to run the roms @4K

Foolson commented 3 weeks ago

You will have to lower your resolution to 1080p. You are trying to run the roms @4k

Lowered the resolution in Lakka to 1080p. Still not starting N64 games.

[INFO] RetroArch 1.18.0 (Git 06fa532)
[INFO] === Build =======================================
[INFO] Capabilities: ASIMD 
[INFO] Version: 1.18.0
[INFO] Git: 06fa532
[INFO] Built: May 14 2024
[INFO] =================================================
[INFO] [Input]: Found input driver: "udev".
[INFO] [Environ]: SET_PIXEL_FORMAT: RGB565.
[INFO] [Core]: Version of libretro API: 1, Compiled against 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: 1920x1080.
[INFO] [Video]: Starting threaded video driver..
[INFO] [Vulkan]: Vulkan dynamic library loaded.
[INFO] [Vulkan]: Found vulkan context: "khr_display".
[INFO] [Vulkan]: Detecting screen resolution: 0x0.
[INFO] [Vulkan]: Found GPU at index 0: "V3D 7.1.7".
[INFO] [Vulkan]: Using GPU index 0.
[INFO] [Vulkan]: Found GPU at index 0: "V3D 7.1.7".
[INFO] [Vulkan]: Using GPU index 0.
[INFO] [Vulkan]: Using semaphores for WSI acquire.
[INFO] [Vulkan]: Using GPU: "V3D 7.1.7".
[INFO] [Vulkan]: Queue family 0 supports 1 sub-queues.
[INFO] [Vulkan]: Got 3 swapchain images.
[INFO] [Vulkan]: Using resolution 1920x1080.
[INFO] [Vulkan]: Using RGB565 format.
[INFO] [Vulkan]: Loading stock shader.
[INFO] [Video]: Graphics driver did not initialize an input driver. Attempting to pick a suitable driver.
[DEBUG] [udev] Adding devices of type 0 -> "ID_INPUT_KEY"
[DEBUG] [udev] Adding device (t0) "/sys/devices/platform/pwr_button/input/input3"
[DEBUG] [udev] Adding device (t0) "/sys/devices/platform/pwr_button/input/input3/event3"
[DEBUG] [udev] Adding device (t0) "/sys/devices/virtual/input/input2"
[DEBUG] [udev] Adding device (t0) "/sys/devices/virtual/input/input2/event2"
[DEBUG] [udev] Adding devices of type 1 -> "ID_INPUT_MOUSE"
[DEBUG] [udev] Adding devices of type 2 -> "ID_INPUT_TOUCHPAD"
[WARN] [udev]: Full-screen pointer won't be available.
[INFO] [udev]: Keyboard #0: "pwr_button" (/dev/input/event3).
[INFO] [udev]: Keyboard #1: "cec-mini-kb" (/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]: Xbox 360 Controller configured in port 1.
[INFO] [Joypad]: Found joypad driver: "udev".
[INFO] [Video]: Found display server: "null".
[WARN] [udev]: Mouse grab/ungrab feature unavailable.
[INFO] [ALSA] Using ALSA version 1.2.11
[DEBUG] [ALSA]: Requesting device "default" for PLAYBACK stream
[INFO] [ALSA]: Using FLOAT_LE sample format for PLAYBACK device "default"
[INFO] [ALSA]: Period: 4 periods per buffer (768 frames, 6144 bytes)
[INFO] [ALSA]: Buffer size: 3072 frames (24576 bytes)
[INFO] [ALSA]: Can pause: no.
[INFO] [ALSA]: Initialized PLAYBACK device "default"
[INFO] [Audio]: Started synchronous audio driver.
[DEBUG] [ALSA] [playback thread 0x7fffa1d9f100]: Beginning playback worker thread
[INFO] [ALSA] Using ALSA version 1.2.11
[INFO] [Microphone]: Initialized microphone driver.
[INFO] [Display]: Found display driver: "vulkan".
[ERROR] [MIDI]: snd_seq_open failed with error -2.
[ERROR] [MIDI]: Initialization failed.
[INFO] [Playlist]: Loading history file: "/storage/.config/retroarch/content_history.lpl".
[INFO] [Playlist]: Loading history file: "/storage/.config/retroarch/content_music_history.lpl".
[INFO] [Playlist]: Loading history file: "/storage/.config/retroarch/content_video_history.lpl".
[INFO] [Playlist]: Loading history file: "/storage/.config/retroarch/content_image_history.lpl".
[INFO] [Playlist]: Loading favorites file: "/storage/.config/retroarch/content_favorites.lpl".
[INFO] [Vulkan]: QueuePresent failed, destroying swapchain.
[INFO] [Vulkan]: Got 3 swapchain images.
[INFO] [Environ]: SET_SUBSYSTEM_INFO.
[DEBUG] Subsystem ID: 0
Special game type: N64 Disk Drive
  Ident: ndd
  ID: 1
  Content:
[DEBUG]     Disk (required)
[DEBUG]     Cartridge (required)
[DEBUG] Subsystem ID: 1
Special game type: N64 Transferpak
  Ident: gb
  ID: 2
  Content:
[DEBUG]     Gameboy RAM (required)
[DEBUG]     Gameboy ROM (required)
[DEBUG]     Cartridge (required)
[DEBUG] Subsystems: 2
[INFO] [Core]: Using content: "/storage/roms/n64/Legend of Zelda, The - Ocarina of Time (USA).z64".
[INFO] [Core]: Content ran for a total of: 00 hours, 00 minutes, 00 seconds.
[DEBUG] [Audio]: Stopped audio driver "alsathread"
[INFO] [Core]: Unloading core..
[INFO] [Core]: Unloading core symbols..
[INFO] Threaded video stats: Frames pushed: 349, Frames dropped: 0.
[DEBUG] [ALSA] [playback thread 0x7fffa1d9f100]: Ending playback worker thread
[INFO] RetroArch 1.18.0 (Git 06fa532)
[INFO] === Build =======================================
[INFO] Capabilities: ASIMD 
[INFO] Version: 1.18.0
[INFO] Git: 06fa532
[INFO] Built: May 14 2024
[INFO] =================================================
[INFO] [Input]: Found input driver: "udev".
[INFO] [Core]: Loading dynamic libretro core from: "/tmp/cores/mupen64plus_next_libretro.so"
[INFO] [Overrides]: Redirecting save file to "/storage/savefiles/Mupen64Plus-Next/Legend of Zelda, The - Ocarina of Time (USA).srm".
[INFO] [Overrides]: Redirecting save state to "/storage/savestates/Mupen64Plus-Next/Legend of Zelda, The - Ocarina of Time (USA).state".
[DEBUG] [Environ]: SET_SUBSYSTEM_INFO.
[DEBUG] Special game type: N64 Disk Drive
  Ident: ndd
  ID: 1
  Content:
[DEBUG]     Disk (required)
[DEBUG]     Cartridge (required)
[DEBUG] Special game type: N64 Transferpak
  Ident: gb
  ID: 2
  Content:
[DEBUG]     Gameboy RAM (required)
[DEBUG]     Gameboy ROM (required)
[DEBUG]     Cartridge (required)
[INFO] [Environ]: GET_CORE_OPTIONS_VERSION.
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_V2.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_UPDATE_DISPLAY_CALLBACK.
[INFO] [Environ]: SET_CONTROLLER_INFO.
[DEBUG]    Port 1:
[DEBUG]       "Controller" (1)
[DEBUG]       "RetroPad" (1)
[DEBUG]    Port 2:
[DEBUG]       "Controller" (1)
[DEBUG]       "RetroPad" (1)
[DEBUG]    Port 3:
[DEBUG]       "Controller" (1)
[DEBUG]       "RetroPad" (1)
[DEBUG]    Port 4:
[DEBUG]       "Controller" (1)
[DEBUG]       "RetroPad" (1)
[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]: Loading content file: "/storage/roms/n64/Legend of Zelda, The - Ocarina of Time (USA).z64".
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-rdp-plugin = "gliden64"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-rsp-plugin = "hle"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-ThreadedRenderer = "False"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-BilinearMode = "standard"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-HybridFilter = "True"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-DitheringPattern = "False"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-DitheringQuantization = "False"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-RDRAMImageDitheringMode = "False"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-FXAA = "0"
[ERROR] [Environ]: GET_VARIABLE: mupen64plus-MultiSampling - Invalid value.
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-FrameDuping = "False"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-Framerate = "Original"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-virefresh = "Auto"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-EnableLODEmulation = "True"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-EnableFBEmulation = "True"
[ERROR] [Environ]: GET_VARIABLE: mupen64plus-EnableN64DepthCompare - Invalid value.
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-EnableCopyColorToRDRAM = "Sync"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-EnableCopyDepthToRDRAM = "Software"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-EnableHWLighting = "False"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-CorrectTexrectCoords = "Off"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-EnableTexCoordBounds = "False"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-EnableInaccurateTextureCoordinates = "False"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-BackgroundMode = "OnePiece"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-EnableNativeResTexrects = "Disabled"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-txFilterMode = "None"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-txEnhancementMode = "None"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-txFilterIgnoreBG = "True"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-txHiresEnable = "False"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-txCacheCompression = "True"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-txHiresFullAlphaChannel = "False"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-MaxHiResTxVramLimit = "0"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-MaxTxCacheSize = "8000"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-EnableLegacyBlending = "True"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-EnableFragmentDepthWrite = "False"
[ERROR] [Environ]: GET_VARIABLE: mupen64plus-EnableShadersStorage - Invalid value.
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-EnableTextureCache = "True"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-EnableEnhancedTextureStorage = "False"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-EnableEnhancedHighResStorage = "False"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-EnableHiResAltCRC = "False"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-EnableCopyAuxToRDRAM = "False"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-GLideN64IniBehaviour = "late"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-cpucore = "dynamic_recompiler"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-aspect = "4:3"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-EnableNativeResFactor = "0"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-43screensize = "640x480"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-astick-deadzone = "15"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-astick-sensitivity = "100"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-CountPerOp = "0"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-CountPerOpDenomPot = "0"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-r-cbutton = "C1"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-l-cbutton = "C2"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-d-cbutton = "C3"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-u-cbutton = "C4"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-EnableOverscan = "Enabled"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-OverscanTop = "0"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-OverscanLeft = "0"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-OverscanRight = "0"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-OverscanBottom = "0"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-alt-map = "False"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-ForceDisableExtraMem = "False"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-IgnoreTLBExceptions = "False"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-pak1 = "memory"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-pak2 = "none"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-pak3 = "none"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-pak4 = "none"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-rdp-plugin = "gliden64"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[INFO] [Environ]: SET_HW_RENDER, context type: gl.
[INFO] Requesting OpenGLES2 context.
[DEBUG] Reached end of SET_HW_RENDER.
[libretro DEBUG] mupen64plus: [EmuThread] M64CMD_ROM_OPEN
[libretro INFO] mupen64plus: Goodname: Legend of Zelda, The - Ocarina of Time (U) (V1.0) [!]
[libretro INFO] mupen64plus: Name: THE LEGEND OF ZELDA 
[libretro INFO] mupen64plus: MD5: 5BD1FE107BF8106B2AB6650ABECD54D6
[libretro INFO] mupen64plus: CRC: EC7011B7 7616D72B
[libretro INFO] mupen64plus: Imagetype: .z64 (native)
[libretro INFO] mupen64plus: Rom size: 33554432 bytes (or 32 Mb or 256 Megabits)
[libretro INFO] mupen64plus: ClockRate = F
[libretro INFO] mupen64plus: Version: 1449
[libretro INFO] mupen64plus: Manufacturer: 43
[libretro INFO] mupen64plus: Cartridge_ID: 4C5A
[libretro INFO] mupen64plus: Country: USA
[libretro INFO] mupen64plus: PC = 80000400
[libretro INFO] mupen64plus: Save type: 2
[libretro DEBUG] mupen64plus: [EmuThread] M64CMD_ROM_GET_HEADER
[INFO] [SRAM]: Skipping SRAM load.
[INFO] [Core]: Version of libretro API: 1, Compiled against API: 1
[INFO] [Core]: Geometry: 640x480, Aspect: 1.333, FPS: 60.00, Sample rate: 44100.00 Hz.
[INFO] [Audio]: Set audio input rate to: 44100.00 Hz.
[INFO] [Video]: Set video size to: 1920x1080.
[INFO] [Video]: Using HW render, OpenGL driver forced.
[INFO] [Video]: "glcore" saved as cached driver.
[WARN] [DRM]: Couldn't get device resources.
[WARN] [DRM]: Couldn't get device resources.
[INFO] [DRM]: Found 2 connectors.
[INFO] [DRM]: Connector 0 connected: yes
[INFO] [DRM]: Connector 0 has 47 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: (3840x2160) 3840 x 2160, 60.000000 Hz
[INFO] [DRM]: Mode 1: (4096x2160) 4096 x 2160, 60.000000 Hz
[INFO] [DRM]: Mode 2: (4096x2160) 4096 x 2160, 59.940098 Hz
[INFO] [DRM]: Mode 3: (4096x2160) 4096 x 2160, 50.000000 Hz
[INFO] [DRM]: Mode 4: (4096x2160) 4096 x 2160, 30.000000 Hz
[INFO] [DRM]: Mode 5: (4096x2160) 4096 x 2160, 29.970001 Hz
[INFO] [DRM]: Mode 6: (4096x2160) 4096 x 2160, 25.000000 Hz
[INFO] [DRM]: Mode 7: (4096x2160) 4096 x 2160, 24.000000 Hz
[INFO] [DRM]: Mode 8: (4096x2160) 4096 x 2160, 23.976000 Hz
[INFO] [DRM]: Mode 9: (3840x2160) 3840 x 2160, 59.940098 Hz
[INFO] [DRM]: Mode 10: (3840x2160) 3840 x 2160, 50.000000 Hz
[INFO] [DRM]: Mode 11: (3840x2160) 3840 x 2160, 30.000000 Hz
[INFO] [DRM]: Mode 12: (3840x2160) 3840 x 2160, 29.970001 Hz
[INFO] [DRM]: Mode 13: (3840x2160) 3840 x 2160, 25.000000 Hz
[INFO] [DRM]: Mode 14: (3840x2160) 3840 x 2160, 24.000000 Hz
[INFO] [DRM]: Mode 15: (3840x2160) 3840 x 2160, 23.976000 Hz
[INFO] [DRM]: Mode 16: (2560x1440) 2560 x 1440, 119.997597 Hz
[INFO] [DRM]: Mode 17: (1920x1080) 1920 x 1080, 120.000000 Hz
[INFO] [DRM]: Mode 18: (1920x1080) 1920 x 1080, 119.880005 Hz
[INFO] [DRM]: Mode 19: (1920x1080) 1920 x 1080, 100.000000 Hz
[INFO] [DRM]: Mode 20: (1920x1080) 1920 x 1080, 60.000000 Hz
[INFO] [DRM]: Mode 21: (1920x1080) 1920 x 1080, 60.000000 Hz
[INFO] [DRM]: Mode 22: (1920x1080) 1920 x 1080, 59.940201 Hz
[INFO] [DRM]: Mode 23: (1920x1080i) 1920 x 1080, 60.000000 Hz
[INFO] [DRM]: Mode 24: (1920x1080i) 1920 x 1080, 59.940201 Hz
[INFO] [DRM]: Mode 25: (1920x1080) 1920 x 1080, 50.000000 Hz
[INFO] [DRM]: Mode 26: (1920x1080i) 1920 x 1080, 50.000000 Hz
[INFO] [DRM]: Mode 27: (1920x1080) 1920 x 1080, 30.000000 Hz
[INFO] [DRM]: Mode 28: (1920x1080) 1920 x 1080, 29.970100 Hz
[INFO] [DRM]: Mode 29: (1920x1080) 1920 x 1080, 25.000000 Hz
[INFO] [DRM]: Mode 30: (1920x1080) 1920 x 1080, 24.000000 Hz
[INFO] [DRM]: Mode 31: (1920x1080) 1920 x 1080, 23.976080 Hz
[INFO] [DRM]: Mode 32: (1280x1024) 1280 x 1024, 60.019741 Hz
[INFO] [DRM]: Mode 33: (1360x768) 1360 x 768, 60.015163 Hz
[INFO] [DRM]: Mode 34: (1152x864) 1152 x 864, 59.966923 Hz
[INFO] [DRM]: Mode 35: (1280x720) 1280 x 720, 60.000000 Hz
[INFO] [DRM]: Mode 36: (1280x720) 1280 x 720, 59.940201 Hz
[INFO] [DRM]: Mode 37: (1280x720) 1280 x 720, 50.000000 Hz
[INFO] [DRM]: Mode 38: (1024x768) 1024 x 768, 60.003841 Hz
[INFO] [DRM]: Mode 39: (800x600) 800 x 600, 60.316540 Hz
[INFO] [DRM]: Mode 40: (720x576) 720 x 576, 50.000000 Hz
[INFO] [DRM]: Mode 41: (720x576i) 720 x 576, 50.000000 Hz
[INFO] [DRM]: Mode 42: (720x480) 720 x 480, 60.000000 Hz
[INFO] [DRM]: Mode 43: (720x480) 720 x 480, 59.940060 Hz
[INFO] [DRM]: Mode 44: (640x480) 640 x 480, 60.000000 Hz
[INFO] [DRM]: Mode 45: (640x480) 640 x 480, 59.940475 Hz
[INFO] [DRM]: Mode 46: (720x400) 720 x 400, 70.081665 Hz
[INFO] [GLCore]: Found GL context: "kms".
[INFO] [GLCore]: Detecting screen resolution: 3840x2160.
[INFO] [EGL] Found EGL client version >= 1.5, trying eglGetPlatformDisplay
[INFO] [EGL]: EGL version: 1.4
[INFO] [EGL]: Created shared context: 0xd2d6740.
[INFO] [EGL]: Current context: 0xd405f10.
[INFO] [KMS]: New FB: 1920x1080 (stride: 7680).
[INFO] [GLCore]: Initializing HW render (1024x1024).
[INFO] [GLCore]: Max texture size: 4096 px, renderbuffer size: 4096 px.
[INFO] [GLCore]: Vendor: Broadcom, Renderer: V3D 7.1.7.
[INFO] [GLCore]: Version: OpenGL ES 3.1 Mesa 24.0.7.
[INFO] [GLCore]: Using resolution 1920x1080.
[INFO] [GLCore]: Loading stock shader.
[INFO] [slang]: Building pass #0 (N/A)
[INFO] [GLCore]: Not using frame history.
[INFO] [GLCore]: Not using framebuffer feedback.
[INFO] [Video]: Graphics driver did not initialize an input driver. Attempting to pick a suitable driver.
[DEBUG] [udev] Adding devices of type 0 -> "ID_INPUT_KEY"
[DEBUG] [udev] Adding device (t0) "/sys/devices/platform/pwr_button/input/input3"
[DEBUG] [udev] Adding device (t0) "/sys/devices/platform/pwr_button/input/input3/event3"
[DEBUG] [udev] Adding device (t0) "/sys/devices/virtual/input/input2"
[DEBUG] [udev] Adding device (t0) "/sys/devices/virtual/input/input2/event2"
[DEBUG] [udev] Adding devices of type 1 -> "ID_INPUT_MOUSE"
[DEBUG] [udev] Adding devices of type 2 -> "ID_INPUT_TOUCHPAD"
[WARN] [udev]: Full-screen pointer won't be available.
[INFO] [udev]: Keyboard #0: "pwr_button" (/dev/input/event3).
[INFO] [udev]: Keyboard #1: "cec-mini-kb" (/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.
[libretro DEBUG] mupen64plus: context_reset()
[INFO] [Environ]: SET_INPUT_DESCRIPTORS:
[DEBUG]    Port 1:
[DEBUG]       "D-Pad Up" => "D-Pad Up"
[DEBUG]       "D-Pad Down" => "D-Pad Down"
[DEBUG]       "D-Pad Left" => "D-Pad Left"
[DEBUG]       "D-Pad Right" => "D-Pad Right"
[DEBUG]       "B Button (Down)" => "A Button (C3)"
[DEBUG]       "A Button (Right)" => "(C1)"
[DEBUG]       "Y Button (Left)" => "B Button (C2)"
[DEBUG]       "X Button (Top)" => "(C4)"
[DEBUG]       "Start Button" => "Start"
[DEBUG]       "L Button (Shoulder)" => "L Shoulder"
[DEBUG]       "R Button (Shoulder)" => "R Shoulder"
[DEBUG]       "L2 Button (Trigger)" => "Z Trigger"
[DEBUG]       "R2 Button (Trigger)" => "C Buttons Mode"
[DEBUG]    Port 2:
[DEBUG]       "D-Pad Up" => "D-Pad Up"
[DEBUG]       "D-Pad Down" => "D-Pad Down"
[DEBUG]       "D-Pad Left" => "D-Pad Left"
[DEBUG]       "D-Pad Right" => "D-Pad Right"
[DEBUG]       "B Button (Down)" => "A Button (C3)"
[DEBUG]       "A Button (Right)" => "(C1)"
[DEBUG]       "Y Button (Left)" => "B Button (C2)"
[DEBUG]       "X Button (Top)" => "(C4)"
[DEBUG]       "Start Button" => "Start"
[DEBUG]       "L Button (Shoulder)" => "L Shoulder"
[DEBUG]       "R Button (Shoulder)" => "R Shoulder"
[DEBUG]       "L2 Button (Trigger)" => "Z Trigger"
[DEBUG]       "R2 Button (Trigger)" => "C Buttons Mode"
[DEBUG]    Port 3:
[DEBUG]       "D-Pad Up" => "D-Pad Up"
[DEBUG]       "D-Pad Down" => "D-Pad Down"
[DEBUG]       "D-Pad Left" => "D-Pad Left"
[DEBUG]       "D-Pad Right" => "D-Pad Right"
[DEBUG]       "B Button (Down)" => "A Button (C3)"
[DEBUG]       "A Button (Right)" => "(C1)"
[DEBUG]       "Y Button (Left)" => "B Button (C2)"
[DEBUG]       "X Button (Top)" => "(C4)"
[DEBUG]       "Start Button" => "Start"
[DEBUG]       "L Button (Shoulder)" => "L Shoulder"
[DEBUG]       "R Button (Shoulder)" => "R Shoulder"
[DEBUG]       "L2 Button (Trigger)" => "Z Trigger"
[DEBUG]       "R2 Button (Trigger)" => "C Buttons Mode"
[DEBUG]    Port 4:
[DEBUG]       "D-Pad Up" => "D-Pad Up"
[DEBUG]       "D-Pad Down" => "D-Pad Down"
[DEBUG]       "D-Pad Left" => "D-Pad Left"
[DEBUG]       "D-Pad Right" => "D-Pad Right"
[DEBUG]       "B Button (Down)" => "A Button (C3)"
[DEBUG]       "A Button (Right)" => "(C1)"
[DEBUG]       "Y Button (Left)" => "B Button (C2)"
[DEBUG]       "X Button (Top)" => "(C4)"
[DEBUG]       "Start Button" => "Start"
[DEBUG]       "L Button (Shoulder)" => "L Shoulder"
[DEBUG]       "R Button (Shoulder)" => "R Shoulder"
[DEBUG]       "L2 Button (Trigger)" => "Z Trigger"
[DEBUG]       "R2 Button (Trigger)" => "C Buttons Mode"
[DEBUG]    Port 5:
[DEBUG]    Port 6:
[DEBUG]    Port 7:
[DEBUG]    Port 8:
[INFO] [ALSA] Using ALSA version 1.2.11
[DEBUG] [ALSA]: Requesting device "default" for PLAYBACK stream
[INFO] [ALSA]: Using FLOAT_LE sample format for PLAYBACK device "default"
[INFO] [ALSA]: Period: 4 periods per buffer (768 frames, 6144 bytes)
[INFO] [ALSA]: Buffer size: 3072 frames (24576 bytes)
[INFO] [ALSA]: Can pause: no.
[INFO] [ALSA]: Initialized PLAYBACK device "default"
[INFO] [Audio]: Started synchronous audio driver.
[DEBUG] [ALSA] [playback thread 0x7fffa40ab100]: Beginning playback worker thread
[INFO] [ALSA] Using ALSA version 1.2.11
[INFO] [Microphone]: Initialized microphone driver.
[INFO] [Display]: Found display driver: "glcore".
[INFO] [Environ]: SET_SUBSYSTEM_INFO.
[DEBUG] Subsystem ID: 0
Special game type: N64 Disk Drive
  Ident: ndd
  ID: 1
  Content:
[DEBUG]     Disk (required)
[DEBUG]     Cartridge (required)
[DEBUG] Subsystem ID: 1
Special game type: N64 Transferpak
  Ident: gb
  ID: 2
  Content:
[DEBUG]     Gameboy RAM (required)
[DEBUG]     Gameboy ROM (required)
[DEBUG]     Cartridge (required)
[DEBUG] Subsystems: 2
[ERROR] [MIDI]: snd_seq_open failed with error -2.
[ERROR] [MIDI]: Initialization failed.
[INFO] [Playlist]: Loading history file: "/storage/.config/retroarch/content_history.lpl".
[INFO] [Playlist]: Loading history file: "/storage/.config/retroarch/content_music_history.lpl".
[INFO] [Playlist]: Loading history file: "/storage/.config/retroarch/content_video_history.lpl".
[INFO] [Playlist]: Loading history file: "/storage/.config/retroarch/content_image_history.lpl".
[INFO] [Playlist]: Loading favorites file: "/storage/.config/retroarch/content_favorites.lpl".
[libretro DEBUG] mupen64plus: [EmuThread] M64CMD_EXECUTE
[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 X105
[INFO] [Environ]: SYSTEM_DIRECTORY: "/tmp/system".
[INFO] [Environ]: SYSTEM_DIRECTORY: "/tmp/system".
[INFO] [Environ]: SYSTEM_DIRECTORY: "/tmp/system".
[INFO] [Environ]: SYSTEM_DIRECTORY: "/tmp/system".
[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
synthic commented 3 weeks ago

I have a feeling this has to do with the RPi 5 kernel using a 16K pagesize which broke all sorts of software. Patches have already been added for Flycast and DOSBox Pure to address this so these cores will probably require fixes as well. Something as simple as adding -DPAGESIZE=16384 to the compiler flags should do the trick if that is in fact the issue.

Foolson commented 3 weeks ago

If it's possible for the Lakka team to build something to test then I'l happily assist with any necessary testing.

synthic commented 3 weeks ago

The issue with Flycast was that the dynamic recompiler wasn't compatible with the new 16K pagesize. Since your log ends at "Init new dynarec" that is likely exactly what is happening here as well. If you disable the option for it in the config file, there will be a slight performance hit, but it should fix the crash.

Navigate to \\lakka\Configfiles\retroarch\config and modify the cpucore line in the config file for the emulator you are trying to use:

Mupen64Plus-Next mupen64plus-cpucore = "cached_interpreter"

ParaLLEl N64 parallel-n64-cpucore = "cached_interpreter"

Foolson commented 3 weeks ago

I'll give it a try and report back!

gouchi commented 2 weeks ago

Related PR for Flycast.

ToKe79 commented 2 weeks ago

Have you tried latest nightly build for 5.x? Because there were updates to the libretro cores since May 16th in Lakka. On RPi5 we patch the flycast source to "have" 16kB PAGE_SIZE here.

Foolson commented 2 weeks ago

The issue with Flycast was that the dynamic recompiler wasn't compatible with the new 16K pagesize. Since your log ends at "Init new dynarec" that is likely exactly what is happening here as well. If you disable the option for it in the config file, there will be a slight performance hit, but it should fix the crash.

Navigate to \\lakka\Configfiles\retroarch\config and modify the cpucore line in the config file for the emulator you are trying to use:

Mupen64Plus-Next mupen64plus-cpucore = "cached_interpreter"

ParaLLEl N64 parallel-n64-cpucore = "cached_interpreter"

Tested, no difference. But have to check the logs, will do after work.

Have you tried latest nightly build for 5.x? Because there were updates to the libretro cores since May 16th in Lakka. On RPi5 we patch the flycast source to "have" 16kB PAGE_SIZE here.

Yes, same issue with latest nightly. Will do some more tests with logging and provide the logs after work.

Foolson commented 2 weeks ago

Managed to get ParaLLEl N64 to work with cached_interpreter but not Mupen64Plus-Next.

[INFO] RetroArch 1.19.0 (Git 00b8a5f)
[INFO] === Build =======================================
[INFO] Capabilities: ASIMD 
[INFO] Version: 1.19.0
[INFO] Git: 00b8a5f
[INFO] Built: May 31 2024
[INFO] =================================================
[INFO] [Input]: Found input driver: "udev".
[ERROR] Couldn't find any cloud sync driver named ""
[INFO] Available cloud sync drivers are:
[INFO]  webdav
[INFO]  null
[WARN] Going to default to first cloud sync driver...
[INFO] [Environ]: SET_PIXEL_FORMAT: RGB565.
[INFO] [Core]: Version of libretro API: 1, Compiled against 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..
[WARN] [DRM]: Couldn't get device resources.
[WARN] [DRM]: Couldn't get device resources.
[INFO] [DRM]: Found 2 connectors.
[INFO] [DRM]: Connector 0 connected: yes
[INFO] [DRM]: Connector 0 has 47 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: (3840x2160) 3840 x 2160, 60.000000 Hz
[INFO] [DRM]: Mode 1: (4096x2160) 4096 x 2160, 60.000000 Hz
[INFO] [DRM]: Mode 2: (4096x2160) 4096 x 2160, 59.940098 Hz
[INFO] [DRM]: Mode 3: (4096x2160) 4096 x 2160, 50.000000 Hz
[INFO] [DRM]: Mode 4: (4096x2160) 4096 x 2160, 30.000000 Hz
[INFO] [DRM]: Mode 5: (4096x2160) 4096 x 2160, 29.970001 Hz
[INFO] [DRM]: Mode 6: (4096x2160) 4096 x 2160, 25.000000 Hz
[INFO] [DRM]: Mode 7: (4096x2160) 4096 x 2160, 24.000000 Hz
[INFO] [DRM]: Mode 8: (4096x2160) 4096 x 2160, 23.976000 Hz
[INFO] [DRM]: Mode 9: (3840x2160) 3840 x 2160, 59.940098 Hz
[INFO] [DRM]: Mode 10: (3840x2160) 3840 x 2160, 50.000000 Hz
[INFO] [DRM]: Mode 11: (3840x2160) 3840 x 2160, 30.000000 Hz
[INFO] [DRM]: Mode 12: (3840x2160) 3840 x 2160, 29.970001 Hz
[INFO] [DRM]: Mode 13: (3840x2160) 3840 x 2160, 25.000000 Hz
[INFO] [DRM]: Mode 14: (3840x2160) 3840 x 2160, 24.000000 Hz
[INFO] [DRM]: Mode 15: (3840x2160) 3840 x 2160, 23.976000 Hz
[INFO] [DRM]: Mode 16: (2560x1440) 2560 x 1440, 119.997597 Hz
[INFO] [DRM]: Mode 17: (1920x1080) 1920 x 1080, 120.000000 Hz
[INFO] [DRM]: Mode 18: (1920x1080) 1920 x 1080, 119.880005 Hz
[INFO] [DRM]: Mode 19: (1920x1080) 1920 x 1080, 100.000000 Hz
[INFO] [DRM]: Mode 20: (1920x1080) 1920 x 1080, 60.000000 Hz
[INFO] [DRM]: Mode 21: (1920x1080) 1920 x 1080, 60.000000 Hz
[INFO] [DRM]: Mode 22: (1920x1080) 1920 x 1080, 59.940201 Hz
[INFO] [DRM]: Mode 23: (1920x1080i) 1920 x 1080, 60.000000 Hz
[INFO] [DRM]: Mode 24: (1920x1080i) 1920 x 1080, 59.940201 Hz
[INFO] [DRM]: Mode 25: (1920x1080) 1920 x 1080, 50.000000 Hz
[INFO] [DRM]: Mode 26: (1920x1080i) 1920 x 1080, 50.000000 Hz
[INFO] [DRM]: Mode 27: (1920x1080) 1920 x 1080, 30.000000 Hz
[INFO] [DRM]: Mode 28: (1920x1080) 1920 x 1080, 29.970100 Hz
[INFO] [DRM]: Mode 29: (1920x1080) 1920 x 1080, 25.000000 Hz
[INFO] [DRM]: Mode 30: (1920x1080) 1920 x 1080, 24.000000 Hz
[INFO] [DRM]: Mode 31: (1920x1080) 1920 x 1080, 23.976080 Hz
[INFO] [DRM]: Mode 32: (1280x1024) 1280 x 1024, 60.019741 Hz
[INFO] [DRM]: Mode 33: (1360x768) 1360 x 768, 60.015163 Hz
[INFO] [DRM]: Mode 34: (1152x864) 1152 x 864, 59.966923 Hz
[INFO] [DRM]: Mode 35: (1280x720) 1280 x 720, 60.000000 Hz
[INFO] [DRM]: Mode 36: (1280x720) 1280 x 720, 59.940201 Hz
[INFO] [DRM]: Mode 37: (1280x720) 1280 x 720, 50.000000 Hz
[INFO] [DRM]: Mode 38: (1024x768) 1024 x 768, 60.003841 Hz
[INFO] [DRM]: Mode 39: (800x600) 800 x 600, 60.316540 Hz
[INFO] [DRM]: Mode 40: (720x576) 720 x 576, 50.000000 Hz
[INFO] [DRM]: Mode 41: (720x576i) 720 x 576, 50.000000 Hz
[INFO] [DRM]: Mode 42: (720x480) 720 x 480, 60.000000 Hz
[INFO] [DRM]: Mode 43: (720x480) 720 x 480, 59.940060 Hz
[INFO] [DRM]: Mode 44: (640x480) 640 x 480, 60.000000 Hz
[INFO] [DRM]: Mode 45: (640x480) 640 x 480, 59.940475 Hz
[INFO] [DRM]: Mode 46: (720x400) 720 x 400, 70.081665 Hz
[INFO] [GL]: Found GL context: "kms".
[INFO] [GL]: Detecting screen resolution: 3840x2160.
[INFO] [EGL] Found EGL client version >= 1.5, trying eglGetPlatformDisplay
[INFO] [EGL]: EGL version: 1.4
[INFO] [EGL]: Current context: 0x7fff24004600.
[INFO] [KMS]: New FB: 3840x2160 (stride: 15360).
[INFO] [GL]: Vendor: Broadcom, Renderer: V3D 7.1.7.
[INFO] [GL]: Version: OpenGL ES 3.1 Mesa 24.0.8.
[INFO] [GL]: Using resolution 3840x2160.
[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.
[DEBUG] [udev] Adding devices of type 0 -> "ID_INPUT_KEY"
[DEBUG] [udev] Adding device (t0) "/sys/devices/platform/pwr_button/input/input3"
[DEBUG] [udev] Adding device (t0) "/sys/devices/platform/pwr_button/input/input3/event4"
[DEBUG] [udev] Adding device (t0) "/sys/devices/virtual/input/input2"
[DEBUG] [udev] Adding device (t0) "/sys/devices/virtual/input/input2/event2"
[DEBUG] [udev] Adding devices of type 1 -> "ID_INPUT_MOUSE"
[DEBUG] [udev] Adding devices of type 2 -> "ID_INPUT_TOUCHPAD"
[WARN] [udev]: Full-screen pointer won't be available.
[INFO] [udev]: Keyboard #0: "pwr_button" (/dev/input/event4).
[INFO] [udev]: Keyboard #1: "cec-mini-kb" (/dev/input/event2).
[INFO] [udev]: Pad #0 (/dev/input/event3) supports force feedback.
[INFO] [udev]: Pad #0 (/dev/input/event3) supports 16 force feedback effects.
[INFO] [Autoconf]: Xbox 360 Controller configured in 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.11
[DEBUG] [ALSA]: Requesting device "default" for PLAYBACK stream
[INFO] [ALSA]: Using FLOAT_LE sample format for PLAYBACK device "default"
[INFO] [ALSA]: Period: 4 periods per buffer (768 frames, 6144 bytes)
[INFO] [ALSA]: Buffer size: 3072 frames (24576 bytes)
[INFO] [ALSA]: Can pause: no.
[INFO] [ALSA]: Initialized PLAYBACK device "default"
[INFO] [Audio]: Started synchronous audio driver.
[DEBUG] [ALSA] [playback thread 0x7fff28c3f100]: Beginning playback worker thread
[INFO] [ALSA] Using ALSA version 1.2.11
[INFO] [Microphone]: Initialized microphone driver.
[INFO] [Display]: Found display driver: "gl".
[ERROR] [MIDI]: snd_seq_open failed with error -2.
[ERROR] [MIDI]: Initialization failed.
[INFO] [Playlist]: Loading history file: "/storage/.config/retroarch/content_history.lpl".
[INFO] [Playlist]: Loading history file: "/storage/.config/retroarch/content_music_history.lpl".
[INFO] [Playlist]: Loading history file: "/storage/.config/retroarch/content_video_history.lpl".
[INFO] [Playlist]: Loading history file: "/storage/.config/retroarch/content_image_history.lpl".
[INFO] [Playlist]: Loading favorites file: "/storage/.config/retroarch/content_favorites.lpl".
[DEBUG] [Audio]: Started audio driver "alsathread" (is_shutdown=false)
[DEBUG] [Audio]: Stopped audio driver "alsathread"
[INFO] [KMS]: New FB: 3840x2160 (stride: 15360).
[INFO] [KMS]: New FB: 3840x2160 (stride: 15360).
[INFO] [Environ]: SET_SUBSYSTEM_INFO.
[DEBUG] Subsystem ID: 0
Special game type: N64 Disk Drive
  Ident: ndd
  ID: 1
  Content:
[DEBUG]     Disk (required)
[DEBUG]     Cartridge (required)
[DEBUG] Subsystem ID: 1
Special game type: N64 Transferpak
  Ident: gb
  ID: 2
  Content:
[DEBUG]     Gameboy RAM (required)
[DEBUG]     Gameboy ROM (required)
[DEBUG]     Cartridge (required)
[DEBUG] Subsystems: 2
[INFO] [Core]: Using content: "/storage/roms/n64/Legend of Zelda, The - Ocarina of Time (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: 214, Frames dropped: 0.
[DEBUG] [ALSA] [playback thread 0x7fff28c3f100]: Ending playback worker thread
[INFO] RetroArch 1.19.0 (Git 00b8a5f)
[INFO] === Build =======================================
[INFO] Capabilities: ASIMD 
[INFO] Version: 1.19.0
[INFO] Git: 00b8a5f
[INFO] Built: May 31 2024
[INFO] =================================================
[INFO] [Input]: Found input driver: "udev".
[ERROR] Couldn't find any cloud sync driver named ""
[INFO] Available cloud sync drivers are:
[INFO]  webdav
[INFO]  null
[WARN] Going to default to first cloud sync driver...
[INFO] [Core]: Loading dynamic libretro core from: "/tmp/cores/mupen64plus_next_libretro.so"
[INFO] [Overrides]: Redirecting save file to "/storage/savefiles/Mupen64Plus-Next/Legend of Zelda, The - Ocarina of Time (Europe) (En,Fr,De).srm".
[INFO] [Overrides]: Redirecting save state to "/storage/savestates/Mupen64Plus-Next/Legend of Zelda, The - Ocarina of Time (Europe) (En,Fr,De).state".
[DEBUG] [Environ]: SET_SUBSYSTEM_INFO.
[DEBUG] Special game type: N64 Disk Drive
  Ident: ndd
  ID: 1
  Content:
[DEBUG]     Disk (required)
[DEBUG]     Cartridge (required)
[DEBUG] Special game type: N64 Transferpak
  Ident: gb
  ID: 2
  Content:
[DEBUG]     Gameboy RAM (required)
[DEBUG]     Gameboy ROM (required)
[DEBUG]     Cartridge (required)
[INFO] [Environ]: GET_CORE_OPTIONS_VERSION.
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_V2.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_UPDATE_DISPLAY_CALLBACK.
[INFO] [Environ]: SET_CONTROLLER_INFO.
[DEBUG]    Port 1:
[DEBUG]       "Controller" (1)
[DEBUG]       "RetroPad" (1)
[DEBUG]    Port 2:
[DEBUG]       "Controller" (1)
[DEBUG]       "RetroPad" (1)
[DEBUG]    Port 3:
[DEBUG]       "Controller" (1)
[DEBUG]       "RetroPad" (1)
[DEBUG]    Port 4:
[DEBUG]       "Controller" (1)
[DEBUG]       "RetroPad" (1)
[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]: Loading content file: "/storage/roms/n64/Legend of Zelda, The - Ocarina of Time (Europe) (En,Fr,De).z64".
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-rdp-plugin = "gliden64"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-rsp-plugin = "hle"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-ThreadedRenderer = "False"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-BilinearMode = "standard"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-HybridFilter = "True"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-DitheringPattern = "False"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-DitheringQuantization = "False"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-RDRAMImageDitheringMode = "False"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-FXAA = "0"
[ERROR] [Environ]: GET_VARIABLE: mupen64plus-MultiSampling - Invalid value.
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-FrameDuping = "False"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-Framerate = "Original"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-virefresh = "Auto"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-EnableLODEmulation = "True"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-EnableFBEmulation = "True"
[ERROR] [Environ]: GET_VARIABLE: mupen64plus-EnableN64DepthCompare - Invalid value.
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-EnableCopyColorToRDRAM = "Sync"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-EnableCopyDepthToRDRAM = "Software"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-EnableHWLighting = "False"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-CorrectTexrectCoords = "Off"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-EnableTexCoordBounds = "False"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-EnableInaccurateTextureCoordinates = "False"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-BackgroundMode = "OnePiece"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-EnableNativeResTexrects = "Disabled"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-txFilterMode = "None"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-txEnhancementMode = "None"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-txFilterIgnoreBG = "True"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-txHiresEnable = "False"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-txCacheCompression = "True"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-txHiresFullAlphaChannel = "False"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-MaxHiResTxVramLimit = "0"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-MaxTxCacheSize = "8000"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-EnableLegacyBlending = "True"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-EnableFragmentDepthWrite = "False"
[ERROR] [Environ]: GET_VARIABLE: mupen64plus-EnableShadersStorage - Invalid value.
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-EnableTextureCache = "True"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-EnableEnhancedTextureStorage = "False"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-EnableEnhancedHighResStorage = "False"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-EnableHiResAltCRC = "False"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-EnableCopyAuxToRDRAM = "False"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-GLideN64IniBehaviour = "late"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-cpucore = "cached_interpreter"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-aspect = "4:3"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-EnableNativeResFactor = "0"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-43screensize = "640x480"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-astick-deadzone = "15"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-astick-sensitivity = "100"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-CountPerOp = "0"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-CountPerOpDenomPot = "0"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-r-cbutton = "C1"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-l-cbutton = "C2"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-d-cbutton = "C3"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-u-cbutton = "C4"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-EnableOverscan = "Enabled"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-OverscanTop = "0"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-OverscanLeft = "0"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-OverscanRight = "0"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-OverscanBottom = "0"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-alt-map = "False"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-ForceDisableExtraMem = "False"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-IgnoreTLBExceptions = "False"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-pak1 = "memory"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-pak2 = "none"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-pak3 = "none"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-pak4 = "none"
[DEBUG] [Environ]: GET_VARIABLE: mupen64plus-rdp-plugin = "gliden64"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[INFO] [Environ]: SET_HW_RENDER, context type: gl.
[INFO] Requesting OpenGLES2 context.
[DEBUG] Reached end of SET_HW_RENDER.
[libretro DEBUG] mupen64plus: [EmuThread] M64CMD_ROM_OPEN
[libretro INFO] mupen64plus: Goodname: Legend of Zelda, The - Ocarina of Time (E) (M3) (V1.0) [!]
[libretro INFO] mupen64plus: Name: THE LEGEND OF ZELDA 
[libretro INFO] mupen64plus: MD5: E040DE91A74B61E3201DB0E2323F768A
[libretro INFO] mupen64plus: CRC: B044B569 373C1985
[libretro INFO] mupen64plus: Imagetype: .z64 (native)
[libretro INFO] mupen64plus: Rom size: 33554432 bytes (or 32 Mb or 256 Megabits)
[libretro INFO] mupen64plus: ClockRate = F
[libretro INFO] mupen64plus: Version: 1449
[libretro INFO] mupen64plus: Manufacturer: Nintendo
[libretro INFO] mupen64plus: Cartridge_ID: 4C5A
[libretro INFO] mupen64plus: Country: Europe (0x50)
[libretro INFO] mupen64plus: PC = 80000400
[libretro INFO] mupen64plus: Save type: 2
[libretro DEBUG] mupen64plus: [EmuThread] M64CMD_ROM_GET_HEADER
[INFO] [SRAM]: Skipping SRAM load.
[INFO] [Core]: Version of libretro API: 1, Compiled against 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.
[WARN] [DRM]: Couldn't get device resources.
[WARN] [DRM]: Couldn't get device resources.
[INFO] [DRM]: Found 2 connectors.
[INFO] [DRM]: Connector 0 connected: yes
[INFO] [DRM]: Connector 0 has 47 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: (3840x2160) 3840 x 2160, 60.000000 Hz
[INFO] [DRM]: Mode 1: (4096x2160) 4096 x 2160, 60.000000 Hz
[INFO] [DRM]: Mode 2: (4096x2160) 4096 x 2160, 59.940098 Hz
[INFO] [DRM]: Mode 3: (4096x2160) 4096 x 2160, 50.000000 Hz
[INFO] [DRM]: Mode 4: (4096x2160) 4096 x 2160, 30.000000 Hz
[INFO] [DRM]: Mode 5: (4096x2160) 4096 x 2160, 29.970001 Hz
[INFO] [DRM]: Mode 6: (4096x2160) 4096 x 2160, 25.000000 Hz
[INFO] [DRM]: Mode 7: (4096x2160) 4096 x 2160, 24.000000 Hz
[INFO] [DRM]: Mode 8: (4096x2160) 4096 x 2160, 23.976000 Hz
[INFO] [DRM]: Mode 9: (3840x2160) 3840 x 2160, 59.940098 Hz
[INFO] [DRM]: Mode 10: (3840x2160) 3840 x 2160, 50.000000 Hz
[INFO] [DRM]: Mode 11: (3840x2160) 3840 x 2160, 30.000000 Hz
[INFO] [DRM]: Mode 12: (3840x2160) 3840 x 2160, 29.970001 Hz
[INFO] [DRM]: Mode 13: (3840x2160) 3840 x 2160, 25.000000 Hz
[INFO] [DRM]: Mode 14: (3840x2160) 3840 x 2160, 24.000000 Hz
[INFO] [DRM]: Mode 15: (3840x2160) 3840 x 2160, 23.976000 Hz
[INFO] [DRM]: Mode 16: (2560x1440) 2560 x 1440, 119.997597 Hz
[INFO] [DRM]: Mode 17: (1920x1080) 1920 x 1080, 120.000000 Hz
[INFO] [DRM]: Mode 18: (1920x1080) 1920 x 1080, 119.880005 Hz
[INFO] [DRM]: Mode 19: (1920x1080) 1920 x 1080, 100.000000 Hz
[INFO] [DRM]: Mode 20: (1920x1080) 1920 x 1080, 60.000000 Hz
[INFO] [DRM]: Mode 21: (1920x1080) 1920 x 1080, 60.000000 Hz
[INFO] [DRM]: Mode 22: (1920x1080) 1920 x 1080, 59.940201 Hz
[INFO] [DRM]: Mode 23: (1920x1080i) 1920 x 1080, 60.000000 Hz
[INFO] [DRM]: Mode 24: (1920x1080i) 1920 x 1080, 59.940201 Hz
[INFO] [DRM]: Mode 25: (1920x1080) 1920 x 1080, 50.000000 Hz
[INFO] [DRM]: Mode 26: (1920x1080i) 1920 x 1080, 50.000000 Hz
[INFO] [DRM]: Mode 27: (1920x1080) 1920 x 1080, 30.000000 Hz
[INFO] [DRM]: Mode 28: (1920x1080) 1920 x 1080, 29.970100 Hz
[INFO] [DRM]: Mode 29: (1920x1080) 1920 x 1080, 25.000000 Hz
[INFO] [DRM]: Mode 30: (1920x1080) 1920 x 1080, 24.000000 Hz
[INFO] [DRM]: Mode 31: (1920x1080) 1920 x 1080, 23.976080 Hz
[INFO] [DRM]: Mode 32: (1280x1024) 1280 x 1024, 60.019741 Hz
[INFO] [DRM]: Mode 33: (1360x768) 1360 x 768, 60.015163 Hz
[INFO] [DRM]: Mode 34: (1152x864) 1152 x 864, 59.966923 Hz
[INFO] [DRM]: Mode 35: (1280x720) 1280 x 720, 60.000000 Hz
[INFO] [DRM]: Mode 36: (1280x720) 1280 x 720, 59.940201 Hz
[INFO] [DRM]: Mode 37: (1280x720) 1280 x 720, 50.000000 Hz
[INFO] [DRM]: Mode 38: (1024x768) 1024 x 768, 60.003841 Hz
[INFO] [DRM]: Mode 39: (800x600) 800 x 600, 60.316540 Hz
[INFO] [DRM]: Mode 40: (720x576) 720 x 576, 50.000000 Hz
[INFO] [DRM]: Mode 41: (720x576i) 720 x 576, 50.000000 Hz
[INFO] [DRM]: Mode 42: (720x480) 720 x 480, 60.000000 Hz
[INFO] [DRM]: Mode 43: (720x480) 720 x 480, 59.940060 Hz
[INFO] [DRM]: Mode 44: (640x480) 640 x 480, 60.000000 Hz
[INFO] [DRM]: Mode 45: (640x480) 640 x 480, 59.940475 Hz
[INFO] [DRM]: Mode 46: (720x400) 720 x 400, 70.081665 Hz
[INFO] [GL]: Found GL context: "kms".
[INFO] [GL]: Detecting screen resolution: 3840x2160.
[INFO] [EGL] Found EGL client version >= 1.5, trying eglGetPlatformDisplay
[INFO] [EGL]: EGL version: 1.4
[INFO] [EGL]: Current context: 0x301dcbc0.
[INFO] [KMS]: New FB: 3840x2160 (stride: 15360).
[INFO] [GL]: Vendor: Broadcom, Renderer: V3D 7.1.7.
[INFO] [GL]: Version: OpenGL ES 3.1 Mesa 24.0.8.
[INFO] [GL]: Using resolution 3840x2160.
[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.
[DEBUG] [udev] Adding devices of type 0 -> "ID_INPUT_KEY"
[DEBUG] [udev] Adding device (t0) "/sys/devices/platform/pwr_button/input/input3"
[DEBUG] [udev] Adding device (t0) "/sys/devices/platform/pwr_button/input/input3/event4"
[DEBUG] [udev] Adding device (t0) "/sys/devices/virtual/input/input2"
[DEBUG] [udev] Adding device (t0) "/sys/devices/virtual/input/input2/event2"
[DEBUG] [udev] Adding devices of type 1 -> "ID_INPUT_MOUSE"
[DEBUG] [udev] Adding devices of type 2 -> "ID_INPUT_TOUCHPAD"
[WARN] [udev]: Full-screen pointer won't be available.
[INFO] [udev]: Keyboard #0: "pwr_button" (/dev/input/event4).
[INFO] [udev]: Keyboard #1: "cec-mini-kb" (/dev/input/event2).
[INFO] [udev]: Pad #0 (/dev/input/event3) supports force feedback.
[INFO] [udev]: Pad #0 (/dev/input/event3) supports 16 force feedback effects.
[INFO] [Joypad]: Found joypad driver: "udev".
[INFO] [Video]: Found display server: "kms".
[WARN] [udev]: Mouse grab/ungrab feature unavailable.
[libretro DEBUG] mupen64plus: context_reset()
[INFO] [Environ]: SET_INPUT_DESCRIPTORS:
[DEBUG]    Port 1:
[DEBUG]       "D-Pad Up" => "D-Pad Up"
[DEBUG]       "D-Pad Down" => "D-Pad Down"
[DEBUG]       "D-Pad Left" => "D-Pad Left"
[DEBUG]       "D-Pad Right" => "D-Pad Right"
[DEBUG]       "B Button (Down)" => "A Button (C3)"
[DEBUG]       "A Button (Right)" => "(C1)"
[DEBUG]       "Y Button (Left)" => "B Button (C2)"
[DEBUG]       "X Button (Top)" => "(C4)"
[DEBUG]       "Start Button" => "Start"
[DEBUG]       "L Button (Shoulder)" => "L Shoulder"
[DEBUG]       "R Button (Shoulder)" => "R Shoulder"
[DEBUG]       "L2 Button (Trigger)" => "Z Trigger"
[DEBUG]       "R2 Button (Trigger)" => "C Buttons Mode"
[DEBUG]    Port 2:
[DEBUG]       "D-Pad Up" => "D-Pad Up"
[DEBUG]       "D-Pad Down" => "D-Pad Down"
[DEBUG]       "D-Pad Left" => "D-Pad Left"
[DEBUG]       "D-Pad Right" => "D-Pad Right"
[DEBUG]       "B Button (Down)" => "A Button (C3)"
[DEBUG]       "A Button (Right)" => "(C1)"
[DEBUG]       "Y Button (Left)" => "B Button (C2)"
[DEBUG]       "X Button (Top)" => "(C4)"
[DEBUG]       "Start Button" => "Start"
[DEBUG]       "L Button (Shoulder)" => "L Shoulder"
[DEBUG]       "R Button (Shoulder)" => "R Shoulder"
[DEBUG]       "L2 Button (Trigger)" => "Z Trigger"
[DEBUG]       "R2 Button (Trigger)" => "C Buttons Mode"
[DEBUG]    Port 3:
[DEBUG]       "D-Pad Up" => "D-Pad Up"
[DEBUG]       "D-Pad Down" => "D-Pad Down"
[DEBUG]       "D-Pad Left" => "D-Pad Left"
[DEBUG]       "D-Pad Right" => "D-Pad Right"
[DEBUG]       "B Button (Down)" => "A Button (C3)"
[DEBUG]       "A Button (Right)" => "(C1)"
[DEBUG]       "Y Button (Left)" => "B Button (C2)"
[DEBUG]       "X Button (Top)" => "(C4)"
[DEBUG]       "Start Button" => "Start"
[DEBUG]       "L Button (Shoulder)" => "L Shoulder"
[DEBUG]       "R Button (Shoulder)" => "R Shoulder"
[DEBUG]       "L2 Button (Trigger)" => "Z Trigger"
[DEBUG]       "R2 Button (Trigger)" => "C Buttons Mode"
[DEBUG]    Port 4:
[DEBUG]       "D-Pad Up" => "D-Pad Up"
[DEBUG]       "D-Pad Down" => "D-Pad Down"
[DEBUG]       "D-Pad Left" => "D-Pad Left"
[DEBUG]       "D-Pad Right" => "D-Pad Right"
[DEBUG]       "B Button (Down)" => "A Button (C3)"
[DEBUG]       "A Button (Right)" => "(C1)"
[DEBUG]       "Y Button (Left)" => "B Button (C2)"
[DEBUG]       "X Button (Top)" => "(C4)"
[DEBUG]       "Start Button" => "Start"
[DEBUG]       "L Button (Shoulder)" => "L Shoulder"
[DEBUG]       "R Button (Shoulder)" => "R Shoulder"
[DEBUG]       "L2 Button (Trigger)" => "Z Trigger"
[DEBUG]       "R2 Button (Trigger)" => "C Buttons Mode"
[DEBUG]    Port 5:
[DEBUG]    Port 6:
[DEBUG]    Port 7:
[DEBUG]    Port 8:
[INFO] [ALSA] Using ALSA version 1.2.11
[DEBUG] [ALSA]: Requesting device "default" for PLAYBACK stream
[INFO] [ALSA]: Using FLOAT_LE sample format for PLAYBACK device "default"
[INFO] [ALSA]: Period: 4 periods per buffer (768 frames, 6144 bytes)
[INFO] [ALSA]: Buffer size: 3072 frames (24576 bytes)
[INFO] [ALSA]: Can pause: no.
[INFO] [ALSA]: Initialized PLAYBACK device "default"
[INFO] [Audio]: Started synchronous audio driver.
[DEBUG] [ALSA] [playback thread 0x7fff2ac5b100]: Beginning playback worker thread
[INFO] [ALSA] Using ALSA version 1.2.11
[INFO] [Microphone]: Initialized microphone driver.
[DEBUG] [Video]: Display server set refresh rate to 50.000 Hz.
[DEBUG] [DRM]: Display server set resolution - incoming: 0 x 0, 50.000000 Hz
[INFO] [Video]: Video refresh rate changed to 50.000 Hz.
[DEBUG] [DRM]: Display server set resolution - actual: 3840 x 2160, 50.000000 Hz
[INFO] [EGL] Found EGL client version >= 1.5, trying eglGetPlatformDisplay
[INFO] [EGL]: EGL version: 1.4
[INFO] [EGL]: Current context: 0x32dd75f0.
[INFO] [KMS]: New FB: 3840x2160 (stride: 15360).
[DEBUG] [Video]: Does not have enough samples for monitor refresh rate estimation. Requires to run for at least 4096 frames.
[DEBUG] [ALSA] [playback thread 0x7fff2ac5b100]: Ending playback worker thread
[INFO] [Audio]: Set audio input rate to: 44100.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.
[WARN] [DRM]: Couldn't get device resources.
[WARN] [DRM]: Couldn't get device resources.
[INFO] [DRM]: Found 2 connectors.
[INFO] [DRM]: Connector 0 connected: yes
[INFO] [DRM]: Connector 0 has 47 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: (3840x2160) 3840 x 2160, 60.000000 Hz
[INFO] [DRM]: Mode 1: (4096x2160) 4096 x 2160, 60.000000 Hz
[INFO] [DRM]: Mode 2: (4096x2160) 4096 x 2160, 59.940098 Hz
[INFO] [DRM]: Mode 3: (4096x2160) 4096 x 2160, 50.000000 Hz
[INFO] [DRM]: Mode 4: (4096x2160) 4096 x 2160, 30.000000 Hz
[INFO] [DRM]: Mode 5: (4096x2160) 4096 x 2160, 29.970001 Hz
[INFO] [DRM]: Mode 6: (4096x2160) 4096 x 2160, 25.000000 Hz
[INFO] [DRM]: Mode 7: (4096x2160) 4096 x 2160, 24.000000 Hz
[INFO] [DRM]: Mode 8: (4096x2160) 4096 x 2160, 23.976000 Hz
[INFO] [DRM]: Mode 9: (3840x2160) 3840 x 2160, 59.940098 Hz
[INFO] [DRM]: Mode 10: (3840x2160) 3840 x 2160, 50.000000 Hz
[INFO] [DRM]: Mode 11: (3840x2160) 3840 x 2160, 30.000000 Hz
[INFO] [DRM]: Mode 12: (3840x2160) 3840 x 2160, 29.970001 Hz
[INFO] [DRM]: Mode 13: (3840x2160) 3840 x 2160, 25.000000 Hz
[INFO] [DRM]: Mode 14: (3840x2160) 3840 x 2160, 24.000000 Hz
[INFO] [DRM]: Mode 15: (3840x2160) 3840 x 2160, 23.976000 Hz
[INFO] [DRM]: Mode 16: (2560x1440) 2560 x 1440, 119.997597 Hz
[INFO] [DRM]: Mode 17: (1920x1080) 1920 x 1080, 120.000000 Hz
[INFO] [DRM]: Mode 18: (1920x1080) 1920 x 1080, 119.880005 Hz
[INFO] [DRM]: Mode 19: (1920x1080) 1920 x 1080, 100.000000 Hz
[INFO] [DRM]: Mode 20: (1920x1080) 1920 x 1080, 60.000000 Hz
[INFO] [DRM]: Mode 21: (1920x1080) 1920 x 1080, 60.000000 Hz
[INFO] [DRM]: Mode 22: (1920x1080) 1920 x 1080, 59.940201 Hz
[INFO] [DRM]: Mode 23: (1920x1080i) 1920 x 1080, 60.000000 Hz
[INFO] [DRM]: Mode 24: (1920x1080i) 1920 x 1080, 59.940201 Hz
[INFO] [DRM]: Mode 25: (1920x1080) 1920 x 1080, 50.000000 Hz
[INFO] [DRM]: Mode 26: (1920x1080i) 1920 x 1080, 50.000000 Hz
[INFO] [DRM]: Mode 27: (1920x1080) 1920 x 1080, 30.000000 Hz
[INFO] [DRM]: Mode 28: (1920x1080) 1920 x 1080, 29.970100 Hz
[INFO] [DRM]: Mode 29: (1920x1080) 1920 x 1080, 25.000000 Hz
[INFO] [DRM]: Mode 30: (1920x1080) 1920 x 1080, 24.000000 Hz
[INFO] [DRM]: Mode 31: (1920x1080) 1920 x 1080, 23.976080 Hz
[INFO] [DRM]: Mode 32: (1280x1024) 1280 x 1024, 60.019741 Hz
[INFO] [DRM]: Mode 33: (1360x768) 1360 x 768, 60.015163 Hz
[INFO] [DRM]: Mode 34: (1152x864) 1152 x 864, 59.966923 Hz
[INFO] [DRM]: Mode 35: (1280x720) 1280 x 720, 60.000000 Hz
[INFO] [DRM]: Mode 36: (1280x720) 1280 x 720, 59.940201 Hz
[INFO] [DRM]: Mode 37: (1280x720) 1280 x 720, 50.000000 Hz
[INFO] [DRM]: Mode 38: (1024x768) 1024 x 768, 60.003841 Hz
[INFO] [DRM]: Mode 39: (800x600) 800 x 600, 60.316540 Hz
[INFO] [DRM]: Mode 40: (720x576) 720 x 576, 50.000000 Hz
[INFO] [DRM]: Mode 41: (720x576i) 720 x 576, 50.000000 Hz
[INFO] [DRM]: Mode 42: (720x480) 720 x 480, 60.000000 Hz
[INFO] [DRM]: Mode 43: (720x480) 720 x 480, 59.940060 Hz
[INFO] [DRM]: Mode 44: (640x480) 640 x 480, 60.000000 Hz
[INFO] [DRM]: Mode 45: (640x480) 640 x 480, 59.940475 Hz
[INFO] [DRM]: Mode 46: (720x400) 720 x 400, 70.081665 Hz
[INFO] [GL]: Found GL context: "kms".
[INFO] [GL]: Detecting screen resolution: 3840x2160.
[INFO] [EGL] Found EGL client version >= 1.5, trying eglGetPlatformDisplay
[INFO] [EGL]: EGL version: 1.4
[INFO] [EGL]: Current context: 0x32dffcf0.
[INFO] [KMS]: New FB: 3840x2160 (stride: 15360).
[INFO] [GL]: Vendor: Broadcom, Renderer: V3D 7.1.7.
[INFO] [GL]: Version: OpenGL ES 3.1 Mesa 24.0.8.
[INFO] [GL]: Using resolution 3840x2160.
[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.
[DEBUG] [udev] Adding devices of type 0 -> "ID_INPUT_KEY"
[DEBUG] [udev] Adding device (t0) "/sys/devices/platform/pwr_button/input/input3"
[DEBUG] [udev] Adding device (t0) "/sys/devices/platform/pwr_button/input/input3/event4"
[DEBUG] [udev] Adding device (t0) "/sys/devices/virtual/input/input2"
[DEBUG] [udev] Adding device (t0) "/sys/devices/virtual/input/input2/event2"
[DEBUG] [udev] Adding devices of type 1 -> "ID_INPUT_MOUSE"
[DEBUG] [udev] Adding devices of type 2 -> "ID_INPUT_TOUCHPAD"
[WARN] [udev]: Full-screen pointer won't be available.
[INFO] [udev]: Keyboard #0: "pwr_button" (/dev/input/event4).
[INFO] [udev]: Keyboard #1: "cec-mini-kb" (/dev/input/event2).
[INFO] [udev]: Pad #0 (/dev/input/event3) supports force feedback.
[INFO] [udev]: Pad #0 (/dev/input/event3) supports 16 force feedback effects.
[INFO] [Joypad]: Found joypad driver: "udev".
[INFO] [Video]: Found display server: "kms".
[WARN] [udev]: Mouse grab/ungrab feature unavailable.
[libretro DEBUG] mupen64plus: context_reset()
synthic commented 1 week ago

Looking at the package file for mupen64plus-next it contains a long switch statement for all the different devices and their compiler options. However, there is none for RPi5 so it's likely not being compiled with the correct options at all. We probably need to add a definition with the correct page size, mesa version, etc.

ToKe79 commented 1 week ago

@synthic thank you for the PR. I modified the make options (replaced rpi- with unix-, as the Makefile was adding incorrect -mcpu/-mtune options - for RPi). Also I don't think it is necessary to add -mcpu/-mtune options to CFLAGS, as these should be already added by the build system / gcc is optimized for the target architecture. However I looked at the core source and I did not find any place where the define PAGESIZE would be used anywhere, so not sure if it changes anything. Here is the resulting binary for you guys to test out on RPi5: https://nightly.builds.lakka.tv/members/vudiq/rpi5-mupen64plus_next/

EDIT: I noticed that paraLLEl jit uses sysconf(_SC_PAGE_SIZE), hopefully this retrieves the page size value at run time. It might be that the problem with mupen64plus_next was that GLES3 + mesa were missing in the make options.

synthic commented 1 week ago

@ToKe79 Thanks for reviewing it! Unfortunately, I realized today it wasn't building properly so I revised it a bit and pushed a new commit. The incorrect -mcpu option was caused because the CFLAGS don't seem to be passing through to the Makefile at all (I don't think it even has a proper variable to accept them), so I changed them to CPUFLAGS and put them in the switch statement to simplify it a bit, which seems to work properly.

From what I can tell, in the resulting command that the Lakka build system generates there is an -mtune=cortex-a76 but not a matching -mcpu which I believe do different things. Also, including -mcpu fixes the issue you mentioned with building, while still including the other general RPi options from the mupen64plus-next Makefile.

Regarding the PAGESIZE, I am not sure if it will fix the issue as I don't have the hardware available to test. But anything starting with -D is a gcc macro so it should do something hopefully.

Edit: I apologize if I am misunderstanding how the flags work in the package file, I'm still getting used to how the build system functions as there are a lot of steps involved. But in my new commit, the logs show both -mcpu/-mtune (as well as the -DPAGESIZE) which is how the definitions for previous Pi models in the original Makefile are structured.

ToKe79 commented 1 week ago

Hi @synthic, thanks for the PR update. Regarding the -D switch, as I wrote, nowhere in the source the macro is used, but as mentioned it looks like mupen is determining the page size at runtime using the sysconf() call, so it might not be necessary. I observed the build commands and the cpu flags are included (using the previous version of your PR with my change of the platform=... string:

[...]/build.Lakka-RPi5.aarch64/toolchain/bin/aarch64-libreelec-linux-gnu-gcc -march=armv8.2-a+crc+crypto -mabi=lp64 -Wno-psabi -mtune=cortex-a76 -mno-outline-atomics -Wall -pipe  -O2 -fomit-frame-pointer -DNDEBUG -DPAGESIZE=16384 -mcpu=cortex-a76 -mtune=cortex-a76 -std=gnu11 -D_CRT_SECURE_NO_WARNINGS -Wno-discarded-qualifiers -O3 -DNDEBUG -fsigned-char -ffast-math -fno-strict-aliasing -fomit-frame-pointer -fvisibility=hidden -fcommon -DGIT_VERSION=\"" 5d2ac21"\" -DOS_LINUX -I./mupen64plus-core/subprojects/md5 -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -D__LIBRETRO__ -DUSE_FILE32API -DM64P_PLUGIN_API -DM64P_CORE_PROTOTYPES -D_ENDUSER_RELEASE -DSINC_LOWER_QUALITY -DTXFILTER_LIB -D__VEC4_OPT -DMUPENPLUSAPI -I./custom -I./custom/mupen64plus-core -I./custom/android/include -I./custom/GLideN64 -I./GLideN64/src -I./GLideN64/src/osal -I./mupen64plus-core/src -I./mupen64plus-core/src/api -I./custom/mupen64plus-core/plugin/audio_libretro -I./libretro-common/include -I./libretro -I./GLideN64/src/inc -I./custom/dependencies/libpng -I./mupen64plus-core/subprojects/minizip -I./xxHash -I./custom/dependencies/libzlib  -fPIC  -DEGL -DHAVE_OPENGLES -DHAVE_OPENGLES2 -DGLES2 -DNEW_DYNAREC=4 -DDYNAREC -I./mupen64plus-core/src/asm_defines/ -c mupen64plus-core/src/device/r4300/new_dynarec/arm64/linkage_arm64.S -o mupen64plus-core/src/device/r4300/new_dynarec/arm64/linkage_arm64.o
synthic commented 1 week ago

@ToKe79 Oh, good! Thanks for clarifying and sorry I didn't see your earlier note. I just wanted to be doubly sure that I was matching the expected behavior. Feel free to edit as necessary. I am not sure that the page size is the real culprit either, but this case just seems awfully similar to what has been happening with other applications since the Raspberry Pi 5 has been released. The fact that there was no RPi5 options in our package file at all is also suspect though, so that might just be all it was. Hopefully one of the two fixes will have solved the issue.

jonian commented 1 week ago

Regarding the 16K page size in mupen64plus it has been reported upstream mupen64plus/mupen64plus-core#1047.

synthic commented 1 week ago

So I got my hands on a Raspberry Pi 5 and was able to do some testing. I tried the binary provided by @ToKe79 and mupen64plus was still crashing. Then, I decided to compile my own binary using the package file as it is in my latest PR revision and it started right up! Performance is great on the new model and everything seems to work properly. :)

synthic commented 1 week ago

@ToKe79 You were right about the page size and cpu options, they don't seem to change the resulting binary. However, when targeting rpi-mesa for the platform you need to set CPUFLAGS to something to avoid the error fatal error: unknown value 'arm1176jzf-s' for '-mcpu'. I updated the PR to reflect this.