Stuck at first time boot screen (infinite reboot loop)

Please provide complete Lakka system log and graphic card log.

Hope this helps. @gouchi

And graphic card logs ?

@gouchi

I am afraid your card is too old for RA.

What is strange is that it does not find DRM device even if the kernel module is loaded for your card.

What is the output of ?

for p in /sys/class/drm/*/status; do con=${p%/status}; echo -n "${con#*/card?-}: "; cat $p; done

Thank you.

hello can you help me im trying to install lakka on my laptop (hp mini 110-3700) but it keeps saying this: [ 7.245671] ACPI BIOS Error (bug): \_SBPCI0._OSC: Excess arguments - ASL declared 5, ACPI requires 4 (20200925/nsarguments-162) And right after that it keeps bootlooping

You should have opened a new thread but try to a make a test by appending this parameter acpi=off in the cmdline.

If you installed it, try this documentation.

Also you can try live mode using those parameters live debugging nosplash acpi=off

Just curious, have you tried the 32-bit version of the Lakka build (i686) version? Because that computer, and Iā€™m pretty sure of this, will not compile a 64-bit version of this program (it doesnā€™t know what to do with it). Maybe Iā€™m off and full of shit, and havenā€™t reviewed the rest of this thread yet, but I donā€™t know. But Iā€™m pretty sure youā€™re going to need the 32-bit version in one of the older builds.

Hello, Iā€™m a new user so Iā€™m only able to reply and not create a new topic. Iā€™m trying to install Lakka on an Acer Aspire One ZG5 netbook. Iā€™m just using the LIVE version for now, since the documentation recommends that to see if Lakka can be run on it before going for the actual installation. With the Live Boot, Lakka boots up and I see a screen flashing at a low pace with the flower logo and ā€œLakka (official): 4.2ā€ on the top left corner. Iā€™m using the 32 bit version. Reading some other posts here, I took the liberty to create some logs by using SSH and connecting to the netbook. The logs are below. I hope it helps figure out if this netbook is able to run it or not. Iā€™ve added some small comments between the logs. Iā€™ve left out the ā€˜dmesgā€™ log, let me know if that is necessary:

###########################################
# Lakka - The DIY retro emulation console #
###########################################

Lakka (official): 4.2 (Generic.i386)

-- Stopping Retroarch
Lakka:~ # systemctl stop retroarch

-- Here I'm switching menu_driver from 'xmb' to 'rgui'
Lakka:~ # nano /storage/.config/retroarch/retroarch.cfg

-- Restarting in verbose mode
Lakka:~ # retroarch -v
[INFO] [Config]: Loading default config.
[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 directory.") https://github.com/FeralInteractive/gamemode needs to be installed.
[WARN] [Config]: GameMode unsupported - disabling...
[INFO] RetroArch 1.10.3 (Git 9b282aa)
[INFO] === Build =======================================
[INFO] CPU Model Name: Intel(R) Atom(TM) CPU N270   @ 1.60GHz
[INFO] Capabilities:  MMX MMXEXT SSE SSE2 SSE3 SSSE3
[INFO] Built: Apr 25 2022
[INFO] Version: 1.10.3
[INFO] Git: 9b282aa
[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.000000 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: 0xb3c2dfd0.
[INFO] [KMS]: New FB: 1024x600 (stride: 4096).
[INFO] [GL]: Vendor: Mesa Project, Renderer: i915 (chipset: 945GME).
[INFO] [GL]: Version: 2.1 Mesa 22.0.2.
[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] [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.
[WARN] [udev]: Full-screen pointer won't be available.
[INFO] [udev]: Keyboard #0: "Power Button" (/dev/input/event3).
[INFO] [udev]: Keyboard #1: "Video Bus" (/dev/input/event4).
[INFO] [udev]: Keyboard #2: "Power Button" (/dev/input/event0).
[INFO] [udev]: Keyboard #3: "Sleep Button" (/dev/input/event2).
[INFO] [udev]: Keyboard #4: "AT Translated Set 2 keyboard" (/dev/input/event5).
[INFO] [udev]: Mouse #0: "SynPS/2 Synaptics TouchPad" (ABS) /dev/input/event6
[INFO] [Joypad]: Found joypad driver: "udev".
[INFO] [Video]: Found display server: "null".
[WARN] [udev]: Mouse grab/ungrab feature unavailable.
[INFO] ALSA: Using floating point format.
[INFO] ALSA: Period size: 1024 frames
[INFO] ALSA: Buffer size: 2048 frames
wifi is already enabled
[INFO] [Display]: Found display driver: "gl".
Segmentation fault

-- Video log
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: Acer Incorporated [ALI] Mobile 945GSE Express Integrated Graphics Controller [1025:015b]
        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)

-- Audio log
Lakka:~ # aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
default:CARD=Intel
    HDA Intel, ALC268 Analog
    Default Audio Device
sysdefault:CARD=Intel
    HDA Intel, ALC268 Analog
    Default Audio Device
front:CARD=Intel,DEV=0
    HDA Intel, ALC268 Analog
    Front output / input
surround21:CARD=Intel,DEV=0
    HDA Intel, ALC268 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Intel,DEV=0
    HDA Intel, ALC268 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
    HDA Intel, ALC268 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
    HDA Intel, ALC268 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
    HDA Intel, ALC268 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
    HDA Intel, ALC268 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers

-- USB log
Lakka:~ # lsusb
Bus 001 Device 003: ID 0c45:62c0 Microdia Sonix USB 2.0 Camera
Bus 001 Device 002: ID 058f:6387 Alcor Micro Corp. Flash Drive
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Lakka:~ # for p in /sys/class/drm/*/status; do con=${p%/status}; echo -n "${con#*/card?-}: "; cat $p; done
LVDS-1: connected
VGA-1: disconnected

Iā€™m having the same problem with a Raspberry Pi 4 1GB using the AARCH64 4.2 release. It gets stuck on a bootloop after the partition resizing.

The same release works fine on a RPi4 2GB and 4GB boards. I also tested on another 1GB I had lying around with the same results (boot loop).

This is what Iā€™ve tested on the Raspberry Pi 4 1GB:

  • Raspberry Pi OS 64bit (bullseye) works fine. Tried to update the Piā€™s firmware but it was already on latest version.
  • Ubuntu works fine
  • Libreelec works fine
  • Lakka-RPi4.aarch64-4.2.img.gz - boot loop after partition resizing
  • Lakka-RPi4.aarch64-4.1.img.gz - splash screen shows up after partition resizing and then a blank screen
  • Lakka-RPi4.aarch64-4.0.img.gz - boot loop after partition resizing
  • Lakka-RPi4.aarch64-3.7.img.gz - works fine

I reverted back to 3.7 for now but I wonder why 4+ releases just donā€™t boot on the 1GB version. Does the 4+ release write something in the >1GB memory region? As stated, it works fine on the 2GB ad 4GB boards I have.

I donā€™t have a Pi4 but checking the source for lakka I think that this might be the issue:

gpu_mem=384

Reducing it should fix it.

Thank you. Iā€™ll try that and report back

Yes, that did it. I set it to 320 and it booted fine. Thank you

I think I spoke too soon. I had to lower the gpu mem to 256 and switch to the ozone gui. Otherwise I would get random crashes here and there, specially when going through lists. I tested with an UHS1, A1 and A2 type sd card with almost the same results.

For the time being Iā€™m going with the A1 card, ozone gui and 256 GPU mem (the UHS1 card was giving me some slowdowns when going through lists). So far no crashes.

If push comes to shove I think Iā€™ll give up and switch to a 2GB board although I had specifically bought both 1GB boards for emulation (one for the Playstation mini case and other for the SFC mini case).

Ok, new development, I kept getting crashes while browsing lists with thumbnails, maybe after browsing about a hundred games or so. I set the GPU mem to 128 and I managed to crash lakka after browsing some more, maybe around 150 games.

So I think that lakka caches the thumbnails into RAM but it expects at least 2GB of ram to be available(???).

At the end I went back to the UHS1 card, set gpu_mem to 256 but didnā€™t download any thumbnails. I hope this setup holds.

Yes RetroArch crashing when browsing playlists with thumbnails is a thing that is known to happen (on some RPiā€™s at least). It used to be more prevalent when RPi2/3 were more widely used.

I myself have a Pi3 and have not experienced this crash in a very long time (specifically since the switch from 32 to 64 bit), but Iā€™m not surprised it hasnā€™t completely gone away.

Oh I see. I had lakka running before on a PC and never happened, I donā€™t know if that was because of the RAM amount or due to the architecture.

Anyway, I wanted something low power for that and got the 1GB Pi 4s. I already had one 4GB board running Raspberry Pi OS and a 2GB board running OSMC. I thought the 1GB boards would be good for emulation and so far that seems to be the case but from the onset it seems that lakka hasnā€™t been tested much on 1GB boards, at least not the 4+ versions.

Well, then I guess Iā€™ll forego the thumbnails. Thank you for your support metchebe.

Set the boot options to UEFI then boot in legacy mode with bios menu (F12 or F9)

Hey there, I am just new, and this thread helps me quite a lot :slight_smile: Got another issue :frowning: I canā€™t load a core,ā€¦ I just put the 2 does box pure files onto the core folder via WinScP But no core were found, also with file pre checkā€¦ Please.help

1 Like

I am assuming one of the two files is an info file and needs to be in the info folder, not the cores folder.