lr-dolphin won't start (x86)
-
I'm having trouble starting any games with lr-dolphin. It seems like it's having trouble initializing the video mode. I have this installed on Ubuntu 20.04.1 on a PC with a Ryzen 5 3400G.
I can run dolphin and dolphin-gui just fine. I've tried fiddling with the video mode choices but haven't found anything that works. I've rebuilt lr-dolphin from the latest source via retropie-setup and still have the same problem. I'm not really sure what else to look at here. Any thoughts?
Here's the log file:
Parameters: Executing: /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-dolphin/dolphin_libretro.so --config /opt/retropie/configs/gc/retroarch.cfg "/home/erik/RetroPie/roms/gc/Legend of Zelda - The Wind Waker/Legend of Zelda, The - The Wind Waker.gcm" --verbose --appendconfig /dev/shm/retroarch.cfg [INFO] RetroArch 1.8.8 (Git 9552f87) [INFO] Redirecting save file to "/home/erik/RetroPie/roms/gc/Legend of Zelda - The Wind Waker/Legend of Zelda, The - The Wind Waker.srm". [INFO] Redirecting save state to "/home/erik/RetroPie/roms/gc/Legend of Zelda - The Wind Waker/Legend of Zelda, The - The Wind Waker.state". [INFO] === Build ======================================= [INFO] CPU Model Name: AMD Ryzen 5 3400G with Radeon Vega Graphics [INFO] Capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE4.2 AES AVX [INFO] Built: Aug 13 2020 [INFO] Version: 1.8.8 [INFO] Git: 9552f87 [INFO] ================================================= [INFO] Loading dynamic libretro core from: "/opt/retropie/libretrocores/lr-dolphin/dolphin_libretro.so" [INFO] [Overrides] no core-specific overrides found at /home/erik/.config/retroarch/config/dolphin-emu/dolphin-emu.cfg. [INFO] [Overrides] no content-dir-specific overrides found at /home/erik/.config/retroarch/config/dolphin-emu/Legend of Zelda - The Wind Waker.cfg. [INFO] [Overrides] no game-specific overrides found at /home/erik/.config/retroarch/config/dolphin-emu/Legend of Zelda, The - The Wind Waker.cfg. [INFO] [Environ]: SET_VARIABLES. [INFO] [Remaps]: remap directory: /opt/retropie/configs/gc/ [INFO] Redirecting save file to "/home/erik/RetroPie/roms/gc/Legend of Zelda - The Wind Waker/Legend of Zelda, The - The Wind Waker.srm". [INFO] Redirecting save state to "/home/erik/RetroPie/roms/gc/Legend of Zelda - The Wind Waker/Legend of Zelda, The - The Wind Waker.state". [INFO] [Environ]: SET_PIXEL_FORMAT: XRGB8888. [INFO] Content loading skipped. Implementation will load it on its own. [INFO] [Environ]: SYSTEM_DIRECTORY: "/home/erik/RetroPie/BIOS". [INFO] [Environ]: CORE_ASSETS_DIRECTORY: "/home/erik/.config/retroarch/downloads". [INFO] [Environ]: SET_DISK_CONTROL_INTERFACE. [INFO] [Environ]: GET_LOG_INTERFACE. [libretro INFO] 30:38:373 Common/FileUtil.cpp:204 I[COMMON]: CreateFullPath: path /home/erik/RetroPie/roms/gc/Legend of Zelda - The Wind Waker//User/Dump/Audio/ [libretro INFO] 30:38:373 Common/FileUtil.cpp:208 I[COMMON]: CreateFullPath: path exists /home/erik/RetroPie/roms/gc/Legend of Zelda - The Wind Waker//User/Dump/Audio/ [libretro INFO] 30:38:373 Common/FileUtil.cpp:204 I[COMMON]: CreateFullPath: path /home/erik/RetroPie/roms/gc/Legend of Zelda - The Wind Waker//User/Dump/DSP/ [libretro INFO] 30:38:373 Common/FileUtil.cpp:208 I[COMMON]: CreateFullPath: path exists /home/erik/RetroPie/roms/gc/Legend of Zelda - The Wind Waker//User/Dump/DSP/ [libretro INFO] 30:38:373 Common/FileUtil.cpp:204 I[COMMON]: CreateFullPath: path /home/erik/RetroPie/roms/gc/Legend of Zelda - The Wind Waker//User/Dump/SSL/ [libretro INFO] 30:38:373 Common/FileUtil.cpp:208 I[COMMON]: CreateFullPath: path exists /home/erik/RetroPie/roms/gc/Legend of Zelda - The Wind Waker//User/Dump/SSL/ [libretro INFO] 30:38:373 Common/FileUtil.cpp:204 I[COMMON]: CreateFullPath: path /home/erik/RetroPie/roms/gc/Legend of Zelda - The Wind Waker//User/Dump/Frames/ [libretro INFO] 30:38:373 Common/FileUtil.cpp:208 I[COMMON]: CreateFullPath: path exists /home/erik/RetroPie/roms/gc/Legend of Zelda - The Wind Waker//User/Dump/Frames/ [libretro INFO] 30:38:373 Common/FileUtil.cpp:204 I[COMMON]: CreateFullPath: path /home/erik/RetroPie/roms/gc/Legend of Zelda - The Wind Waker//User/Dump/Objects/ [libretro INFO] 30:38:373 Common/FileUtil.cpp:208 I[COMMON]: CreateFullPath: path exists /home/erik/RetroPie/roms/gc/Legend of Zelda - The Wind Waker//User/Dump/Objects/ [libretro INFO] 30:38:373 Common/FileUtil.cpp:204 I[COMMON]: CreateFullPath: path /home/erik/RetroPie/roms/gc/Legend of Zelda - The Wind Waker//User/Dump/Textures/ [libretro INFO] 30:38:373 Common/FileUtil.cpp:208 I[COMMON]: CreateFullPath: path exists /home/erik/RetroPie/roms/gc/Legend of Zelda - The Wind Waker//User/Dump/Textures/ [libretro INFO] 30:38:373 DolphinLibretro/Boot.cpp:68 I[COMMON]: User Directory set to '/home/erik/RetroPie/roms/gc/Legend of Zelda - The Wind Waker//User' [libretro INFO] 30:38:373 DolphinLibretro/Boot.cpp:69 I[COMMON]: System Directory set to '/home/erik/RetroPie/BIOS/dolphin-emu/Sys' [libretro INFO] 30:38:373 Common/FileUtil.cpp:204 I[COMMON]: CreateFullPath: path /home/erik/RetroPie/roms/gc/Legend of Zelda - The Wind Waker//User/Dump/Audio/ [libretro INFO] 30:38:373 Common/FileUtil.cpp:208 I[COMMON]: CreateFullPath: path exists /home/erik/RetroPie/roms/gc/Legend of Zelda - The Wind Waker//User/Dump/Audio/ [libretro INFO] 30:38:373 Common/FileUtil.cpp:204 I[COMMON]: CreateFullPath: path /home/erik/RetroPie/roms/gc/Legend of Zelda - The Wind Waker//User/Dump/DSP/ [libretro INFO] 30:38:373 Common/FileUtil.cpp:208 I[COMMON]: CreateFullPath: path exists /home/erik/RetroPie/roms/gc/Legend of Zelda - The Wind Waker//User/Dump/DSP/ ... snip a bunch of similar messages [libretro INFO] 30:38:374 Common/FileUtil.cpp:208 I[COMMON]: CreateFullPath: path exists /home/erik/RetroPie/roms/gc/Legend of Zelda - The Wind Waker//User/Dump/Frames/ [libretro INFO] 30:38:374 Common/FileUtil.cpp:204 I[COMMON]: CreateFullPath: path /home/erik/RetroPie/roms/gc/Legend of Zelda - The Wind Waker//User/Dump/Objects/ [libretro INFO] 30:38:374 Common/FileUtil.cpp:208 I[COMMON]: CreateFullPath: path exists /home/erik/RetroPie/roms/gc/Legend of Zelda - The Wind Waker//User/Dump/Objects/ [libretro INFO] 30:38:374 Common/FileUtil.cpp:204 I[COMMON]: CreateFullPath: path /home/erik/RetroPie/roms/gc/Legend of Zelda - The Wind Waker//User/Dump/Textures/ [libretro INFO] 30:38:374 Common/FileUtil.cpp:208 I[COMMON]: CreateFullPath: path exists /home/erik/RetroPie/roms/gc/Legend of Zelda - The Wind Waker//User/Dump/Textures/ [INFO] [Environ]: GET_PREFERRED_HW_RENDER. [INFO] [Environ]: SET_HW_RENDER. [INFO] Requesting core OpenGL context (3.1). [libretro INFO] 30:38:374 DolphinLibretro/Boot.cpp:122 N[Video]: Using GFX backend: OGL [libretro INFO] 30:38:374 Core/ConfigManager.cpp:724 N[CORE]: Active title: GZLE01 [libretro INFO] 30:38:374 Common/FileUtil.cpp:204 I[COMMON]: CreateFullPath: path /home/erik/RetroPie/roms/gc/Legend of Zelda - The Wind Waker//User/Dump/Audio/ [libretro INFO] 30:38:374 Common/FileUtil.cpp:208 I[COMMON]: CreateFullPath: path exists /home/erik/RetroPie/roms/gc/Legend of Zelda - The Wind Waker//User/Dump/Audio/ [libretro INFO] 30:38:374 Common/FileUtil.cpp:204 I[COMMON]: CreateFullPath: path /home/erik/RetroPie/roms/gc/Legend of Zelda - The Wind Waker//User/Dump/DSP/ [libretro INFO] 30:38:374 Common/FileUtil.cpp:208 I[COMMON]: CreateFullPath: path exists /home/erik/RetroPie/roms/gc/Legend of Zelda - The Wind Waker//User/Dump/DSP/ [libretro INFO] 30:38:374 Common/FileUtil.cpp:204 I[COMMON]: CreateFullPath: path /home/erik/RetroPie/roms/gc/Legend of Zelda - The Wind Waker//User/Dump/SSL/ [libretro INFO] 30:38:374 Common/FileUtil.cpp:208 I[COMMON]: CreateFullPath: path exists /home/erik/RetroPie/roms/gc/Legend of Zelda - The Wind Waker//User/Dump/SSL/ [libretro INFO] 30:38:374 Common/FileUtil.cpp:204 I[COMMON]: CreateFullPath: path /home/erik/RetroPie/roms/gc/Legend of Zelda - The Wind Waker//User/Dump/Frames/ [libretro INFO] 30:38:374 Common/FileUtil.cpp:208 I[COMMON]: CreateFullPath: path exists /home/erik/RetroPie/roms/gc/Legend of Zelda - The Wind Waker//User/Dump/Frames/ [libretro INFO] 30:38:374 Common/FileUtil.cpp:204 I[COMMON]: CreateFullPath: path /home/erik/RetroPie/roms/gc/Legend of Zelda - The Wind Waker//User/Dump/Objects/ [libretro INFO] 30:38:374 Common/FileUtil.cpp:208 I[COMMON]: CreateFullPath: path exists /home/erik/RetroPie/roms/gc/Legend of Zelda - The Wind Waker//User/Dump/Objects/ [libretro INFO] 30:38:374 Common/FileUtil.cpp:204 I[COMMON]: CreateFullPath: path /home/erik/RetroPie/roms/gc/Legend of Zelda - The Wind Waker//User/Dump/Textures/ [libretro INFO] 30:38:374 Common/FileUtil.cpp:208 I[COMMON]: CreateFullPath: path exists /home/erik/RetroPie/roms/gc/Legend of Zelda - The Wind Waker//User/Dump/Textures/ [libretro INFO] 30:38:374 Common/FileUtil.cpp:204 I[COMMON]: CreateFullPath: path /home/erik/RetroPie/roms/gc/Legend of Zelda - The Wind Waker//User/Dump/Audio/ [libretro INFO] 30:38:374 Common/FileUtil.cpp:208 I[COMMON]: CreateFullPath: path exists /home/erik/RetroPie/roms/gc/Legend of Zelda - The Wind Waker//User/Dump/Audio/ [libretro INFO] 30:38:374 Common/FileUtil.cpp:204 I[COMMON]: CreateFullPath: path /home/erik/RetroPie/roms/gc/Legend of Zelda - The Wind Waker//User/Dump/DSP/ [libretro INFO] 30:38:374 Common/FileUtil.cpp:208 I[COMMON]: CreateFullPath: path exists /home/erik/RetroPie/roms/gc/Legend of Zelda - The Wind Waker//User/Dump/DSP/ [libretro INFO] 30:38:374 Common/FileUtil.cpp:204 I[COMMON]: CreateFullPath: path /home/erik/RetroPie/roms/gc/Legend of Zelda - The Wind Waker//User/Dump/SSL/ [libretro INFO] 30:38:374 Common/FileUtil.cpp:208 I[COMMON]: CreateFullPath: path exists /home/erik/RetroPie/roms/gc/Legend of Zelda - The Wind Waker//User/Dump/SSL/ [libretro INFO] 30:38:374 Common/FileUtil.cpp:204 I[COMMON]: CreateFullPath: path /home/erik/RetroPie/roms/gc/Legend of Zelda - The Wind Waker//User/Dump/Frames/ [libretro INFO] 30:38:374 Common/FileUtil.cpp:208 I[COMMON]: CreateFullPath: path exists /home/erik/RetroPie/roms/gc/Legend of Zelda - The Wind Waker//User/Dump/Frames/ [libretro INFO] 30:38:374 Common/FileUtil.cpp:204 I[COMMON]: CreateFullPath: path /home/erik/RetroPie/roms/gc/Legend of Zelda - The Wind Waker//User/Dump/Objects/ [libretro INFO] 30:38:374 Common/FileUtil.cpp:208 I[COMMON]: CreateFullPath: path exists /home/erik/RetroPie/roms/gc/Legend of Zelda - The Wind Waker//User/Dump/Objects/ [libretro INFO] 30:38:374 Common/FileUtil.cpp:204 I[COMMON]: CreateFullPath: path /home/erik/RetroPie/roms/gc/Legend of Zelda - The Wind Waker//User/Dump/Textures/ [libretro INFO] 30:38:374 Common/FileUtil.cpp:208 I[COMMON]: CreateFullPath: path exists /home/erik/RetroPie/roms/gc/Legend of Zelda - The Wind Waker//User/Dump/Textures/ [libretro INFO] 30:38:375 Core/Core.cpp:950 N[COMMON]: Want determinism <- false [libretro INFO] 30:38:375 Core/Core.cpp:219 I[BOOT]: Starting core = GameCube mode [libretro INFO] 30:38:375 Core/Core.cpp:220 I[BOOT]: CPU Thread separate = Yes [INFO] [Environ]: GET_RUMBLE_INTERFACE. [INFO] [Environ]: SET_CONTROLLER_INFO. [INFO] Skipping SRAM load.. [INFO] Version of libretro API: 1 [INFO] Compiled against API: 1 [INFO] [Cheats]: Load game-specific cheatfile: /home/erik/.config/retroarch/cheats/dolphin-emu/Legend of Zelda, The - The Wind Waker.cht [INFO] [Audio]: Set audio input rate to: 32061.03 Hz. [INFO] [Video]: Video @ 1920x1080 [INFO] [Video]: Using HW render, OpenGL driver forced. [INFO] [Video]: Using configured "gl" driver for GL HW render. [ERROR] [Wayland]: Failed to connect to Wayland server. [INFO] [GL]: Found GL context: x [INFO] [GL]: Detecting screen resolution 1920x1080. [INFO] [GLX]: Window manager is KWin. [INFO] [XINERAMA]: Xinerama version: 1.1. [INFO] [XINERAMA]: Xinerama screens: 1. [INFO] [GLX]: Using Xinerama on screen #0. [INFO] [GLX]: X = 0, Y = 0, W = 1920, H = 1080. [INFO] [GLX]: Using windowed fullscreen. [INFO] [GLX]: Creating context for requested version 3.1. [INFO] [GLX]: Found swap function: glXSwapIntervalEXT. [INFO] [GLX]: glXSwapInterval(1) [INFO] [GL]: Vendor: X.Org, Renderer: AMD RAVEN (DRM 3.35.0, 5.4.0-42-generic, LLVM 10.0.0). [INFO] [GL]: Version: 4.6 (Compatibility Profile) Mesa 20.0.8. [INFO] [GL]: Using Core GL context, setting up VAO... [INFO] [GL]: Using resolution 1920x1080 [INFO] [GL]: Default shader backend found: glsl. [INFO] [Shaders]: preset directory: /home/erik/.config/retroarch/config [INFO] [Shaders]: preset directory: /opt/retropie/configs/gc/ [INFO] [Shaders]: preset directory: /home/erik/.config/retroarch/shaders/presets [INFO] [Shaders]: Specific shader preset found at /home/erik/.config/retroarch/shaders/presets/global.glslp. [INFO] [Shaders]: global shader preset found. [INFO] [Shader driver]: Using GLSL shader backend. [INFO] [GLSL]: Checking GLSL shader support ... [INFO] [GLSL]: Found GLSL vertex shader. [INFO] [GLSL]: Using GLSL version 140. [INFO] [GLSL]: Found GLSL fragment shader. [INFO] [GLSL]: Using GLSL version 140. [INFO] [GLSL]: Linking GLSL program. [INFO] [GLSL]: Found GLSL vertex shader. [INFO] [GLSL]: Using GLSL version 140. [INFO] [GLSL]: Found GLSL fragment shader. [INFO] [GLSL]: Using GLSL version 140. [INFO] [GLSL]: Linking GLSL program. [INFO] [GLSL]: Found GLSL vertex shader. [INFO] [GLSL]: Using GLSL version 140. [INFO] [GLSL]: Found GLSL fragment shader. [INFO] [GLSL]: Using GLSL version 140. [INFO] [GLSL]: Linking GLSL program. [INFO] [GL]: Using 1 textures. [INFO] [GL]: Loaded 1 program(s). X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 152 (GLX) Minor opcode of failed request: 26 (X_GLXMakeContextCurrent) Serial number of failed request: 92 Current serial number in output stream: 92 malloc_consolidate(): invalid chunk size /opt/retropie/supplementary/runcommand/runcommand.sh: line 1264: 168062 Aborted (core dumped) /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-dolphin/dolphin_libretro.so --config /opt/retropie/configs/gc/retroarch.cfg "/home/erik/RetroPie/roms/gc/Legend of Zelda - The Wind Waker/Legend of Zelda, The - The Wind Waker.gcm" --verbose --appendconfig /dev/shm/retroarch.cfg
-
Same issue here. It also throws a load of corrupt files into Home.
From a quick search, it seems like the same issue has been reported and overlooked in these threads, so lr-dolphin on x86 may have been dead for a while:
- https://retropie.org.uk/forum/topic/28668/dolphin-on-retropie-for-pc-crashes-no-menu
- https://retropie.org.uk/forum/topic/28604/gamecube-games-not-launching-from-emulationstation
At least two issues I can see, poking around some logs/directories:
- The lr-dolphin install script doesn't seem to create any kind of required 'Sys' folder and required metadata files anywhere, as mentioned in the libretro docs.
- Seems like something is wrong with some of the directories being passed in retroarch config, as it's attempting to create a directory in roms with a double-slash, probably leading to those corrupt files in Home. If anything, these files should be created in /opt/retropie/configs/gc/ (if not somewhere else so it's shared between /gc and /wii configs?)
[libretro INFO] 30:38:373 Common/FileUtil.cpp:204 I[COMMON]: CreateFullPath: path /home/erik/RetroPie/roms/gc/Legend of Zelda - The Wind Waker//User/Dump/Audio/ [libretro INFO] 30:38:373 Common/FileUtil.cpp:208 I[COMMON]: CreateFullPath: path exists /home/erik/RetroPie/roms/gc/Legend of Zelda - The Wind Waker//User/Dump/Audio/
-
Try changing the video driver in retroarch to vulkan or glcore (working for me). The gl implementation is currently busted but you can try the workaround: https://docs.libretro.com/library/dolphin/
There is also currently a bug with this core and the GL driver that can be worked around by going to settings > user interface > show advanced settings ON and then going to settings > core > allow cores to change the video driver OFF.
The Dolphin core will now work without issues.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.