I can't install Lakka

Hello people, when installing Lakka it stays on the logo, flashing every 2 or 3 seconds. Both installed and in the live version. I followed the steps on this page, “https://www.lakka.tv/doc/Troubleshooting-Lakka/”, and I connected via SSH, it seems to be a video error

Lakka:~ # systemctl stop retroarch.service ; retroarch -v
[INFO] [Config]: Looking for config in: "/storage/.config/retroarch/retroarch.cf                                                                                                                                                             g".
[WARN] [GameMode]: GameMode cannot be enabled on this system ("dlopen failed - l                                                                                                                                                             ibgamemode.so: cannot open shared object file: No such file or directory.") http                                                                                                                                                             s://github.com/FeralInteractive/gamemode needs to be installed.
[WARN] [Config]: GameMode unsupported - disabling...
[INFO] RetroArch 1.14.0 (Git ad89b0c)
[INFO] === Build =======================================
[INFO] CPU Model Name: Intel(R) Atom(TM) CPU N280   @ 1.66GHz
[INFO] Capabilities: MMX MMXEXT SSE SSE2 SSE3
[INFO] Built: Jan 16 2023
[INFO] Version: 1.14.0
[INFO] Git: ad89b0c
[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] [Audio]: Set audio input rate to: 48000.00 Hz.
[INFO] [Video]: Set video size to: fullscreen.
[INFO] [Video]: Starting threaded video driver ...
[INFO] [DRM]: Found 2 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]: Mode 0: (1024x600) 1024 x 600, 60.017895 Hz
[INFO] [GL]: Found GL context: "kms".
[INFO] [GL]: Detecting screen resolution: 1024x600.
[INFO] [EGL] Found EGL client version >= 1.5, trying eglGetPlatformDisplay
[INFO] [EGL]: EGL version: 1.4
[INFO] [EGL]: Current context: 0xb3d2e300.
[INFO] [KMS]: New FB: 1024x600 (stride: 4096).
[INFO] [GL]: Vendor: Mesa Project, Renderer: i915 (chipset: 945GME).
[INFO] [GL]: Version: 2.1 Mesa 22.1.7.
[INFO] [GL]: Using resolution 1024x600.
[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.
MESA: error: Out of instructions
MESA: error: Exceeded max ALU instructions
[INFO] [GLSL]: Compiling modern snow shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
MESA: error: Out of instructions
MESA: error: Exceeded max ALU instructions
[INFO] [GLSL]: Compiling bokeh shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
MESA: error: bad opcode BGNLOOP (99)
[INFO] Linker log: error: looping not supported i915 fragment shaders, all loops                                                                                                                                                              must be statically unrollable.
[ERROR] Failed to link program #58.
[INFO] [GLSL]: Compiling snowflake shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
MESA: error: Exceeded 16 max TGSI temps
[INFO] Linker log: error: looping not supported i915 fragment shaders, all loops                                                                                                                                                              must be statically unrollable.
[ERROR] Failed to link program #57.
[INFO] [GL]: Using 4 textures.
[INFO] [GL]: Loaded 1 program(s).
[INFO] [GL]: Using GL_RGB565 for texture uploads.
[ERROR] [GL]: GL: Invalid value.
[ERROR] [Video]: Cannot open threaded video driver ... Exiting ...
[ERROR] Fatal error received in: "video_driver_init_internal()"
[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: 0, Frames dropped: 0.

-------------------------------------------------------------------------------

Lakka:~ # lspci -nnk | grep -A 3 VGA
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 945GSE Express Integrated Graphics Controller [8086:27ae] (rev 03)
        Subsystem: Hewlett-Packard Company Mobile 945GSE Express Integrated Graphics Controller [103c:3632]
        Kernel driver in use: i915
00:02.1 Display controller [0380]: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller [8086:27a6] (rev 03)

-------------------------------------------------------------------------------

Lakka:~ # systemctl stop retroarch.service ; LIBGL_DEBUG=verbose retroarch --menu --verbose
[INFO] [Config]: Looking for config in: "/storage/.config/retroarch/retroarch.cfg".
[WARN] [GameMode]: GameMode cannot be enabled on this system ("dlopen failed - libgamemode.so: cannot open shared object file: No such file or direc                                                                                         tory.") https://github.com/FeralInteractive/gamemode needs to be installed.
[WARN] [Config]: GameMode unsupported - disabling...
[INFO] RetroArch 1.14.0 (Git ad89b0c)
[INFO] === Build =======================================
[INFO] CPU Model Name: Intel(R) Atom(TM) CPU N280   @ 1.66GHz
[INFO] Capabilities: MMX MMXEXT SSE SSE2 SSE3
[INFO] Built: Jan 16 2023
[INFO] Version: 1.14.0
[INFO] Git: ad89b0c
[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] [Audio]: Set audio input rate to: 48000.00 Hz.
[INFO] [Video]: Set video size to: fullscreen.
[INFO] [Video]: Starting threaded video driver ...
[INFO] [DRM]: Found 2 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]: Mode 0: (1024x600) 1024 x 600, 60.017895 Hz
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /storage/.drirc: No such file or directory.
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /storage/.drirc: No such file or directory.
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /storage/.drirc: No such file or directory.
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /storage/.drirc: No such file or directory.
[INFO] [GL]: Found GL context: "kms".
[INFO] [GL]: Detecting screen resolution: 1024x600.
[INFO] [EGL] Found EGL client version >= 1.5, trying eglGetPlatformDisplay
[INFO] [EGL]: EGL version: 1.4
[INFO] [EGL]: Current context: 0xb3d2e300.
[INFO] [KMS]: New FB: 1024x600 (stride: 4096).
[INFO] [GL]: Vendor: Mesa Project, Renderer: i915 (chipset: 945GME).
[INFO] [GL]: Version: 2.1 Mesa 22.1.7.
[INFO] [GL]: Using resolution 1024x600.
[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.
MESA: error: Out of instructions
MESA: error: Exceeded max ALU instructions
[INFO] [GLSL]: Compiling modern snow shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
MESA: error: Out of instructions
MESA: error: Exceeded max ALU instructions
[INFO] [GLSL]: Compiling bokeh shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
MESA: error: bad opcode BGNLOOP (99)
[INFO] Linker log: error: looping not supported i915 fragment shaders, all loops must be statically unrollable.
[ERROR] Failed to link program #58.
[INFO] [GLSL]: Compiling snowflake shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
MESA: error: Exceeded 16 max TGSI temps
[INFO] Linker log: error: looping not supported i915 fragment shaders, all loops must be statically unrollable.
[ERROR] Failed to link program #57.
[INFO] [GL]: Using 4 textures.
[INFO] [GL]: Loaded 1 program(s).
[INFO] [GL]: Using GL_RGB565 for texture uploads.
[ERROR] [GL]: GL: Invalid value.
[ERROR] [Video]: Cannot open threaded video driver ... Exiting ...
[ERROR] Fatal error received in: "video_driver_init_internal()"
[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: 0, Frames dropped: 0.

I have an HP Mini 5101 laptop with an Intel APU 32bit. Someone could help me? thank you. Hablo español.

1 Like

Hello, I am a user with basic computer knowledge. You can still try the following: install lakka 3.0 for generic pc https://github.com/libretro/Lakka-LibreELEC/releases/download/v3.0/Lakka-Generic.i386-3.0.img.gz this version should not generate the loop on startup When you install it, its interface will move very slowly. To solve this problem go to settings>user interface>appearance>menu shader pipeline>off

I hope it works for you

you need to drop down to command line. you’re on pc, so it’s not too difficult. assuming you have a live disc of any distro(ubuntu, arch, whatever, any live distro will do, or just an install if you’ve got it) You’ll need to mount the root partition(I’ll assume a debian/ubuntu base, change the commands as required) replace DRIVE_LAKKA_IS_ON with your drive, eg, sdb1 most likely(lsblk should give you a listing) sudo mount -o rw /dev/DRIVE_LAKKA_IS_ON /mnt sudo nano /mnt/syslinux.cfg on the line that says APPEND boot=UUID=bunchofalphanumerics quiet add textmode retroarch=0 like this APPEND boot=UUID=bunchofalphanumerics textmode retroarch=0 quiet and do the same for grub.cfg sudo nano /mnt/EFI/BOOT/grub.cfg only the line this time looks like this linux /KERNEL boot=UUID=bunchofalphanumerics quiet to this linux /KERNEL boot=UUID=bunchofalphanumerics textmode retroarch=0 quiet

ctrl s to save, ctrl x to exit(or just ctrl x, press y to save) reboot. you should now be at a terminal now, modify your retroarch config nano .config/retroarch/retroarch.cfg add "video_driver = “gl1” save and exit. type in retroarch and you should be good. anyway, gotta love how much support is shown. Hope you figured it out, and if not, hope this helps. you can also type retroarch -v to see what it’s doing if it doesn’t work. to make boot like normal again, you’ll need to mount the root read write with this command mount -o remount,rw /flash then edit the configs and remove textmode retroarch=0 nano /flash/EFI/BOOT/grub.cfg nano /flash/syslinux.cfg

if you have ssh access, it’s easier. ssh into lakka. edit the retroarch config with the video_driver = “gl1”, reboot.

sorry, missed that you had ssh. ssh into it nano .config/retroarch/retroarch.cfg add video_driver = “gl1” ctrl s to save ctrl x to exit reboot