Lakka keeps crashing?

I’ve been encountering this problem all day and I can’t seem to diagnose the problem. I recorded a log and I’ll include it in this post, but I didn’t see anything major that could be making it freeze up and when I say freeze up, I mean I have to manually hold the power button on the PC off because it’s entirely locked up. When it locks up in a game, the sound even stops working.

First of all, I’ve been using Retroarch for awhile and I have recently decided to dive into Lakka since it’s exactly what I want from an old laptop. I’ve removed the screen entirely and I strictly use HDMI. The specs of this system are:


2.17GHz Intel Pentium N3520 Processor 4gb ram Intel HD graphics


The only peripherals I’m using are a PS3 controller connected by a bluetooth dongle.

Okay, so at first I thought it was SNES9X crashing the entire frontend, but really, it’ll freeze up entirely on the main screen without even booting up an emulator. I’ve tested this, and the time it freezes seems to be entirely random. One occurrence had the system lock up a few seconds after It booted up, while right after I waited a good hour to see it freeze again. I can’t quite explain it, so I’m hoping someone else knows what is going on. I would also like to mention that I’ve had Lakka on this system for a few days now, but today is the first time it’s crashed, and it keeps crashing. Before that, it seemed quite stable. I don’t remember changing any settings or anything either, so I don’t know why it would start doing this out of the blue.

Below is a simple log file I managed to get until the system locked up. I don’t see anything too wrong, but maybe someone with more experience could see something I don’t. Does anyone know how I can fix this issue?


Edit: So, knock on wood, but I updated to the most recent Lakka-LE build and It hasn’t frozen up or crashed yet. I will continue testing and if I crash again, I will upload a new log, but so far so good. I have no idea what was causing the crashing to begin with, but maybe the new updated kernel fixed it?

RetroArch [INFO] :: === Build =======================================
Capabilities: MMX MMXEXT SSE1 SSE2 SSE3 SSSE3 SSE4 SSE4.2
Built: Dec 21 2016
RetroArch [INFO] :: Version: 1.3.6
RetroArch [INFO] :: Git: 274b40f
RetroArch [INFO] :: =================================================
RetroArch [INFO] :: Loading default config.
RetroArch [INFO] :: Looking for config in: "/storage/.config/retroarch/retroarch.cfg".
RetroArch [INFO] :: Resetting undo buffers.
RetroArch [INFO] :: Environ SET_PIXEL_FORMAT: RGB565.
RetroArch [INFO] :: Version of libretro API: 1
RetroArch [INFO] :: Compiled against API: 1
RetroArch [INFO] :: Set audio input rate to: 29970.03 Hz.
RetroArch [INFO] :: Found shader "/usr/share/common-shaders/bilinear.glslp"
RetroArch [INFO] :: Found shader "/usr/share/common-shaders/nearest.glslp"
RetroArch [INFO] :: Found shader "/usr/share/common-shaders/stock.glsl"
RetroArch [INFO] :: Video @ fullscreen
RetroArch [INFO] :: Starting threaded video driver ...
RetroArch [INFO] :: [DRM]: Found 4 connectors.
RetroArch [INFO] :: [DRM]: Connector 0 connected: yes
RetroArch [INFO] :: [DRM]: Connector 0 has 1 modes.
RetroArch [INFO] :: [DRM]: Connector 0 assigned to monitor index: #1.
RetroArch [INFO] :: [DRM]: Connector 1 connected: no
RetroArch [INFO] :: [DRM]: Connector 1 has 0 modes.
RetroArch [INFO] :: [DRM]: Connector 2 connected: yes
RetroArch [INFO] :: [DRM]: Connector 2 has 14 modes.
RetroArch [INFO] :: [DRM]: Connector 2 assigned to monitor index: #2.
RetroArch [INFO] :: [DRM]: Connector 3 connected: no
RetroArch [INFO] :: [DRM]: Connector 3 has 0 modes.
RetroArch [INFO] :: [DRM]: Mode 0: (1280x720) 1280 x 720, 60 Hz
RetroArch [INFO] :: [DRM]: Mode 1: (1920x1080) 1920 x 1080, 60 Hz
RetroArch [INFO] :: [DRM]: Mode 2: (1920x1080) 1920 x 1080, 60 Hz
RetroArch [INFO] :: [DRM]: Mode 3: (1920x1080i) 1920 x 1080, 60 Hz
RetroArch [INFO] :: [DRM]: Mode 4: (1920x1080i) 1920 x 1080, 60 Hz
RetroArch [INFO] :: [DRM]: Mode 5: (1920x1080) 1920 x 1080, 30 Hz
RetroArch [INFO] :: [DRM]: Mode 6: (1920x1080) 1920 x 1080, 30 Hz
RetroArch [INFO] :: [DRM]: Mode 7: (1920x1080) 1920 x 1080, 24 Hz
RetroArch [INFO] :: [DRM]: Mode 8: (1920x1080) 1920 x 1080, 24 Hz
RetroArch [INFO] :: [DRM]: Mode 9: (1280x720) 1280 x 720, 60 Hz
RetroArch [INFO] :: [DRM]: Mode 10: (720x480) 720 x 480, 60 Hz
RetroArch [INFO] :: [DRM]: Mode 11: (720x480) 720 x 480, 60 Hz
RetroArch [INFO] :: [DRM]: Mode 12: (640x480) 640 x 480, 60 Hz
RetroArch [INFO] :: [DRM]: Mode 13: (640x480) 640 x 480, 60 Hz
libGL: Can't open configuration file /storage/.drirc: No such file or directory.
RetroArch [INFO] :: Found GL context: kms
RetroArch [INFO] :: Detecting screen resolution 1280x720.
RetroArch [INFO] :: [EGL]: EGL version: 1.4
libGL: Can't open configuration file /storage/.drirc: No such file or directory.
RetroArch [INFO] :: [EGL]: Current context: 0x7fb86c0017f0.
RetroArch [INFO] :: [KMS]: New FB: 1280x720 (stride: 5120).
RetroArch [INFO] :: [GL]: Vendor: Intel Open Source Technology Center, Renderer: Mesa DRI Intel(R) Bay Trail .
RetroArch [INFO] :: [GL]: Version: 3.0 Mesa 11.2.0-rc1.
RetroArch [INFO] :: [GL]: Using ARB_sync to reduce latency.
RetroArch [INFO] :: GL: Using resolution 1280x720
RetroArch [INFO] :: [GL]: Default shader backend found: glsl.
RetroArch [INFO] :: [Shader driver]: Using GLSL shader backend.
RetroArch [INFO] :: Checking GLSL shader support ...
RetroArch [INFO] :: Found GLSL vertex shader.
RetroArch [INFO] :: Found GLSL fragment shader.
RetroArch [INFO] :: Linking GLSL program.
RetroArch [INFO] :: Found GLSL vertex shader.
RetroArch [INFO] :: Found GLSL fragment shader.
RetroArch [INFO] :: Linking GLSL program.
RetroArch [INFO] :: Found GLSL vertex shader.
RetroArch [INFO] :: Found GLSL fragment shader.
RetroArch [INFO] :: Linking GLSL program.
RetroArch [INFO] :: Found GLSL vertex shader.
RetroArch [INFO] :: Found GLSL fragment shader.
RetroArch [INFO] :: Linking GLSL program.
RetroArch [INFO] :: Found GLSL vertex shader.
RetroArch [INFO] :: Found GLSL fragment shader.
RetroArch [INFO] :: Linking GLSL program.
RetroArch [INFO] :: Found GLSL vertex shader.
RetroArch [INFO] :: Found GLSL fragment shader.
RetroArch [INFO] :: Linking GLSL program.
RetroArch [INFO] :: Found GLSL vertex shader.
RetroArch [INFO] :: Found GLSL fragment shader.
RetroArch [INFO] :: Linking GLSL program.
RetroArch [INFO] :: [GL]: Using 4 textures.
RetroArch [INFO] :: [GL]: Loaded 1 program(s).
RetroArch [INFO] :: [GL]: Using GL_RGB565 for texture uploads.
RetroArch [INFO] :: Using font rendering backend: freetype.
RetroArch [INFO] :: Graphics driver did not initialize an input driver. Attempting to pick a suitable driver.
RetroArch [INFO] :: [udev] Adding device /dev/input/event4 as type ID_INPUT_KEYBOARD.
RetroArch [INFO] :: [udev] Adding device /dev/input/event5 as type ID_INPUT_TOUCHPAD.
RetroArch [INFO] :: [udev] Adding device /dev/input/mouse0 as type ID_INPUT_TOUCHPAD.
RetroArch [ERROR] :: [udev] Failed to open device: /dev/input/mouse0 (Inappropriate ioctl for device).
RetroArch [INFO] :: Found joypad driver: "udev".
RetroArch [INFO] :: ALSA: Using signed 16-bit format.
RetroArch [INFO] :: ALSA: Period size: 384 frames
RetroArch [INFO] :: ALSA: Buffer size: 1536 frames
RetroArch [INFO] :: Found menu display driver: "menu_display_gl".
RetroArch [ERROR] :: Failed to create rendering backend: freetype.
Failed to open
: No such file or directory
RetroArch [ERROR] :: Failed to create rendering backend: stb.
RetroArch [INFO] :: Using font rendering backend: bitmap.
RetroArch [ERROR] :: Failed to create rendering backend: freetype.
Failed to open
: No such file or directory
RetroArch [ERROR] :: Failed to create rendering backend: stb.
RetroArch [INFO] :: Using font rendering backend: bitmap.
function is no-op
RetroArch [INFO] :: SRAM will not be saved.
RetroArch [INFO] :: Loading history file: [/storage/.config/retroarch/content_history.lpl].
RetroArch [INFO] :: Loading history file: [/storage/.config/retroarch/content_music_history.lpl].
RetroArch [INFO] :: Loading history file: [/storage/.config/retroarch/content_video_history.lpl].
RetroArch [INFO] :: Loading history file: [/storage/.config/retroarch/content_image_history.lpl].
RetroArch [INFO] :: [KMS]: New FB: 1280x720 (stride: 5120).
RetroArch [INFO] :: [KMS]: New FB: 1280x720 (stride: 5120).
function is no-op
RetroArch [INFO] :: [udev]: Hotplug add: /dev/input/js0.
RetroArch [INFO] :: [udev]: Hotplug add: /dev/input/event9.
RetroArch [INFO] :: [udev]: Plugged pad: PLAYSTATION(R)3 Controller (2578:1) on port #0.
RetroArch [INFO] :: [udev]: Pad #0 (/dev/input/event9) supports 0 force feedback effects.
RetroArch [INFO] :: Autodetect: 147 profiles found.
RetroArch [INFO] :: Autodetect: selected configuration: /tmp/joypads/udev/Sony-PlayStation3-DualShock3-Controller-Bluetooth.cfg
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
RetroArch [INFO] :: Using content: /storage/roms/snes/Legend of Zelda, The - A Link to the Past (U) [!].smc.
RetroArch [INFO] :: arg #0: retroarch
RetroArch [INFO] :: arg #1: /storage/roms/snes/Legend of Zelda, The - A Link to the Past (U) [!].smc
RetroArch [INFO] :: arg #2: -s
RetroArch [INFO] :: arg #3: /storage/savefiles
RetroArch [INFO] :: arg #4: -S
RetroArch [INFO] :: arg #5: /storage/savestates
RetroArch [INFO] :: arg #6: -c
RetroArch [INFO] :: arg #7: /storage/.config/retroarch/retroarch.cfg
RetroArch [INFO] :: arg #8: -L
RetroArch [INFO] :: arg #9: /tmp/cores/snes9x_libretro.so
RetroArch [INFO] :: Resetting undo buffers.
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
function is no-op
RetroArch [INFO] :: Threaded video stats: Frames pushed: 3297, Frames dropped: 0.
RetroArch [INFO] :: Monitor FPS estimation is disabled for threaded video.
RetroArch [INFO] :: Redirecting save file to "/storage/savefiles/Legend of Zelda, The - A Link to the Past (U) [!].srm".
RetroArch [INFO] :: Redirecting savestate to "/storage/savestates/Legend of Zelda, The - A Link to the Past (U) [!].state".
RetroArch [INFO] :: === Build =======================================
Capabilities: MMX MMXEXT SSE1 SSE2 SSE3 SSSE3 SSE4 SSE4.2
Built: Dec 21 2016
RetroArch [INFO] :: Version: 1.3.6
RetroArch [INFO] :: Git: 274b40f
RetroArch [INFO] :: =================================================
RetroArch [INFO] :: Resetting undo buffers.
RetroArch [INFO] :: Loading dynamic libretro core from: "/tmp/cores/snes9x_libretro.so"
RetroArch [INFO] :: [overrides] core-specific overrides found at /storage/.config/retroarch/config/Snes9x/Snes9x.cfg.
RetroArch [INFO] :: [overrides] no game-specific overrides found at /storage/.config/retroarch/config/Snes9x/Legend of Zelda, The - A Link to the Past (U) [!].cfg.
RetroArch [INFO] :: Config: appending config "/storage/.config/retroarch/config/Snes9x/Snes9x.cfg"
libGL: Can't open configuration file /storage/.drirc: No such file or directory.
libGL: Can't open configuration file /storage/.drirc: No such file or directory.
Failed to open
: No such file or directory
Failed to open
: No such file or directory
function is no-op

Why is it looking for drirc? Isn’t that something of ATI?

@gouchi what do you think?

Huh, never noticed that. I tried doing research on drirc and I really can’t determine if it’s meant for ATI or what, because I also see Intel users talking about it on their 965GM motherboard. But as far as I know, my laptop doesn’t have that motherboard. I know for certain that it doesn’t have AMD/ATI hardware at all though. This is the exact laptop that I’m currently using, if it provides some input for y’all.

Anyways, like I stated in my edit above, I updated to the latest Lakka-LE beta build last night and I haven’t crashed yet. I even left the system running for 24 hours just to see, and it was still working when I checked just a little bit ago. So, maybe there’s a bug in the current stable OE build for my specific hardware? Whatever is wrong, it seems to be working now. I’ll continue using the LE builds and monitor future crashes.

1 Like

Good to know it is working with Lakka LE. Maybe graphic stack is little old with Lakka OE.

If I remember correctly dric is liked to driconfig and we saw it as we enabled debug info with Mesa.

Did you try to disable video threaded with video_threaded = “false” in the configuration file ?

Maybe, I still haven’t experienced any crashes yet, but I did have to restart the system a few times because my wifi wasn’t detected. When I did a scan for devices, it just showed a random letter (like G). Restarting usually fixes that issue though and it certainly isn’t as big of an issue as physical crashing can be.

Anyways, disabling threaded video was one of the first things I tried for the crashing, but it still crashed. However, I disabled it inside the GUI, not through the configuration file. I don’t know if that would have made a difference, but I’ll remember that in the future.