Issue loading reicast core

Hello all… not sure if this is a Lakka issue, a RetroArch issue or a user (me) issue, so I thought if I left it here someone would tell me if it belongs somewhere else.

I had upgraded from v2.2 to 2.2.1 to 2.2.2 and things were getting a little glitchy so I wiped the drive and installed v2.2.2 fresh, reloaded BIOSs & ROMs, etc. Now I cannot get the reicast core to load in Lakka 2.2.2 (x86_64). I am sure it did before on the older version running on the same hardware, but now it apparently can’t load some file and I don’t know why. I have attempted it with the packaged core as well as the most recent one I could locate (20.Mar.2019) in /Storage/Cores with the same results. Any insight would be appreciated.

Log:
Lakka (official): 2.2.2 (Generic.x86_64)
Lakka:~ # systemctl stop retroarch.service ; retroarch -v
[INFO] RetroArch 1.7.6 (Git ed5bd80)
[INFO] === Build =======================================
[INFO] CPU Model Name: Intel(R) Core(TM) i5-2430M CPU @ 2.40GHz
Capabilities: MMX MMXEXT SSE1 SSE2 SSE3 SSSE3 SSE4 SSE4.2 AVX AES
Built: Mar 10 2019
[INFO] Version: 1.7.6
[INFO] Git: ed5bd80
[INFO] =================================================
[INFO] Environ SET_PIXEL_FORMAT: RGB565.
[INFO] Redirecting save file to "/storage/savefiles/.srm".
[INFO] Redirecting savestate to "/storage/savestates/.state".
[INFO] Version of libretro API: 1
[INFO] Compiled against API: 1
[INFO] [Audio]: Set audio input rate to: 30000.00 Hz.
[INFO] [Video]: Video @ fullscreen
[INFO] [DRM]: Found 4 connectors.
[INFO] [DRM]: Connector 0 connected: yes
[INFO] [DRM]: Connector 0 has 1 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]: Connector 2 connected: yes
[INFO] [DRM]: Connector 2 has 21 modes.
[INFO] [DRM]: Connector 2 assigned to monitor index: #2.
[INFO] [DRM]: Connector 3 connected: no
[INFO] [DRM]: Connector 3 has 0 modes.
[INFO] [DRM]: Mode 0: (1920x1080) 1920 x 1080, 60 Hz
[INFO] [DRM]: Mode 1: (1920x1080) 1920 x 1080, 60 Hz
[INFO] [DRM]: Mode 2: (1920x1080) 1920 x 1080, 60 Hz
[INFO] [DRM]: Mode 3: (1920x1080i) 1920 x 1080, 60 Hz
[INFO] [DRM]: Mode 4: (1920x1080i) 1920 x 1080, 60 Hz
[INFO] [DRM]: Mode 5: (1920x1080) 1920 x 1080, 24 Hz
[INFO] [DRM]: Mode 6: (1920x1080) 1920 x 1080, 24 Hz
[INFO] [DRM]: Mode 7: (1280x720) 1280 x 720, 60 Hz
[INFO] [DRM]: Mode 8: (1280x720) 1280 x 720, 60 Hz
[INFO] [DRM]: Mode 9: (1024x768) 1024 x 768, 75 Hz
[INFO] [DRM]: Mode 10: (1024x768) 1024 x 768, 70 Hz
[INFO] [DRM]: Mode 11: (1024x768) 1024 x 768, 60 Hz
[INFO] [DRM]: Mode 12: (800x600) 800 x 600, 75 Hz
[INFO] [DRM]: Mode 13: (800x600) 800 x 600, 72 Hz
[INFO] [DRM]: Mode 14: (800x600) 800 x 600, 60 Hz
[INFO] [DRM]: Mode 15: (720x480) 720 x 480, 60 Hz
[INFO] [DRM]: Mode 16: (720x480) 720 x 480, 60 Hz
[INFO] [DRM]: Mode 17: (640x480) 640 x 480, 75 Hz
[INFO] [DRM]: Mode 18: (640x480) 640 x 480, 60 Hz
[INFO] [DRM]: Mode 19: (640x480) 640 x 480, 60 Hz
[INFO] [DRM]: Mode 20: (720x400) 720 x 400, 70 Hz
[INFO] [GL]: Found GL context: kms
[INFO] [GL]: Detecting screen resolution 1920x1080.
[INFO] [EGL] Found EGL_EXT_platform_base, trying eglGetPlatformDisplayEXT
[INFO] [EGL]: EGL version: 1.4
[INFO] [EGL]: Current context: 0xf689a0.
[INFO] [KMS]: New FB: 1920x1080 (stride: 7680).
[INFO] [GL]: Vendor: Intel Open Source Technology Center, Renderer: Mesa DRI Intel(R) Sandybridge Mobile .
[INFO] [GL]: Version: 3.0 Mesa 17.1.3.
[INFO] [GL]: Using resolution 1920x1080
[INFO] [GL]: Default shader backend found: glsl.
[INFO] [Shader driver]: Using GLSL shader backend.
[INFO] [GLSL]: Checking GLSL shader support ...
[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] Resetting shader to defaults ...
[INFO] [GL]: Using 4 textures.
[INFO] [GL]: Loaded 1 program(s).
[INFO] [GL]: Using GL_RGB565 for texture uploads.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Video]: Graphics driver did not initialize an input driver. Attempting to pick a suitable driver.
[INFO] [udev]: Keyboard #0 (/dev/input/event5).
[INFO] [udev]: Mouse #0 (/dev/input/event7).
[INFO] [udev]: Mouse #1 (/dev/input/mouse0).
[INFO] [udev]: Plugged pad: Sony PLAYSTATION(R)3 Controller (3727:3) on port #0.
[INFO] [udev]: Pad #0 (/dev/input/event6) supports force feedback.
[INFO] [udev]: Pad #0 (/dev/input/event6) supports 16 force feedback effects.
[INFO] [Autoconf]: 266 profiles found.
[INFO] [autoconf]: selected configuration: /tmp/joypads/udev/MY-POWER_CO__LTD__2In1_USB_Joystick.cfg
[INFO] [Joypad]: Found joypad driver: "udev".
[INFO] [Video]: Found display server: null
[INFO] Found shader "/tmp/shaders/bilinear.glslp"
[INFO] Found shader "/tmp/shaders/nearest.glslp"
[INFO] Found shader "/tmp/shaders/slang-conversion-template.glsl"
[INFO] Found shader "/tmp/shaders/stock.glsl"
[INFO] [ALSA]: Using signed 16-bit format.
[INFO] [ALSA]: Period size: 1024 frames
[INFO] [ALSA]: Buffer size: 3072 frames
[INFO] [ALSA]: Can pause: no.
[INFO] [Menu]: Found menu display driver: "gl".
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [LED]: LED driver = 'null' 0x724880
[INFO] [MIDI]: Initializing ...
ALSA lib /home/kivutar/Lakka-LibreELEC/build.Lakka-Generic.x86_64/alsa-lib-1.1.4.1/src/seq/seq_hw.c:466:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory
[ERROR] [MIDI]: snd_seq_open failed with error -2.
[ERROR] [MIDI]: Initialization failed (list of input devices unavailable).
[INFO] SRAM will not be saved.
[INFO] Loading history file: [/storage/.config/retroarch/content_history.lpl].
[INFO] Loading history file: [/storage/.config/retroarch/content_favorites.lpl].
[INFO] Loading history file: [/storage/.config/retroarch/content_music_history.lpl].
[INFO] Loading history file: [/storage/.config/retroarch/content_video_history.lpl].
[INFO] Loading history file: [/storage/.config/retroarch/content_image_history.lpl].
[INFO] [GL]: VSync => on
[INFO] [GL]: VSync => on
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [KMS]: New FB: 1920x1080 (stride: 7680).
[INFO] [KMS]: New FB: 1920x1080 (stride: 7680).
[ERROR] Failed to open libretro core: "/tmp/cores/reicast_libretro.so"
[ERROR] Error(s): libgomp.so.1: cannot open shared object file: No such file or directory
[ERROR] Failed to open libretro core: "/tmp/cores/reicast_libretro.so"
[ERROR] Error(s): libgomp.so.1: cannot open shared object file: No such file or directory
1 Like

Additional info: The latest “nightly” had the same issue, however the ver 2.2.1 image does not, as in reicast core loads/runs fine. Didn’t know if that would help track it down.

I was having the same problem. I was able to extract the Reicast core from the 2.2.1 build and save it to the Cores folder and it runs perfect. I changed the directory from /tmp/cores to /storage/cores and moved all the cores i normally use there to save the hassle of changing the directory every time.

Can you post the core? Thank you!

Sure thing. I’ll do it when I get home from work tonight.

1 Like

As requested:

https://drive.google.com/open?id=1-A8yaGAeRwgUr9X6hU3NDF_82zysNPMS

1 Like

Thanks !! Going to try the core.

Thank you for your core document! Can you share how to extract the Reicast core from the 2.2.1 build?

Of course. So first you’ll need 7zip. Right click on the Lakka img file and hover over the 7zip menu and click “Open Archive”. Navigate to \system.img\SYSTEM\usr\lib\libretro. All core files are stored here. Extract any “.so” file you need by just drag and dropping to your desired location.

Now keep in mind, when saving cores to the “Cores” folder in Lakka Storage, you’ll need to change the directory Lakka points to within the settings. Otherwise you’ll keep getting “failed to load libretro core” when launching games, because it’s looking for the associated core in the default /tmp/cores/ directory.

Let me know if you need help with anything else.

Got it! Thankyou very much!!!

This worked for me as well. Thanks for providing the core!

So the workaround I was previously using no longer works. I’m currently using the 6/16 Lakka nightly and the now renamed Flycast core won’t load. Per the logs, it’s the same “libgomp.so.1: cannot open shared object file: No such file or directory” error that was occurring before. Does anyone know how to fix that?

I thought the core was statically linked so that there is no dll dependency but I guess I was wrong or the build has a problem.

Anyway you should be able to find the missing dlls in any Windows build on this page: https://flyinghead.github.io/flycast-builds/

1 Like

Thanks! I’ll check this out when I get home from work tonight and let you know if this worked.

Update: Ok, so I have the dll, but no idea where to put it.

Ok, tried a few things to get Flycast running:

  1. Pulled the Flycast core out of the 6/16 Lakka image and saved it to the /storage/cores folder to try later.
  2. Placed the libgomp dll in the same folder as the other cores I have saved in the /storage/cores folder. Failed launch.
  3. Captured the error log which was now showing that there was a MIDI initialization error. Changed MIDI driver to null and relaunched. Nothing.
  4. Deleted libgomp dll and tried again. Nothing.
  5. Changed video driver from glcore to gl, did not replace libgomp dll. Worked.
  6. Tried launching Flycast from /tmp/cores, got the libgomp error again.

Not really sure what’s happening. shrug

some issue here. since i updated to lakka 2.2.2 reicast is not loading anymore. gpu is Intel HD 530. i wonder we can get updated reicast cores whithout that issue.