libretro / dolphin

Dolphin is a GameCube / Wii emulator, allowing you to play games for these two platforms on PC with improvements.
https://dolphin-emu.org/
GNU General Public License v2.0
86 stars 68 forks source link

lr-dolphin won't start #171

Open eylvisaker opened 4 years ago

eylvisaker commented 4 years ago

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
HuggieBo commented 3 years ago

Change your Video Output to Vulkan. That fixes it