Devlog · 20 November 2026
The boot screen stops blinking.

Three separate gaps
The timeline was not one bug. It was three layers that each gave up a little too early. SDL’s KMSDRM window took about 2.7 seconds to create on the RK3326, so the image appeared late. The ArkOS/BaRT launch wrapper added about 3.3 seconds of checks before the ES binary even started. And when the splash exited, it released the display before ES had drawn anything, so the panel went black again.
The first two were startup costs. The last one was an ownership problem: a DRM/KMS splash and EmulationStation cannot both own the display, and the old splash let go before the next owner was ready.
What changed
- The splash no longer uses SDL. It writes a dumb buffer and calls
drmModeSetCrtcdirectly. First frame went from about 3.5 seconds to 15–50 milliseconds. - It starts earlier. The service no longer waits for
systemd-udevd; the launcher waits for/dev/dri/card0itself. The first frame now arrives at about 5.05 seconds. - It leaves the last frame behind. On exit it writes the same 640×480 frame into
/dev/fb0, restores the previous CRTC/fbcon and drops DRM master. The framebuffer console keeps showing the image while ES starts. - ES draws the same image immediately. Instead of waiting for fonts and resources,
Window::initdraws the selected PNG right after the renderer is ready, then the loading screen reuses it full-screen. - The ArkOS wrapper is bypassed. The launcher execs the ES binary directly, saving about three seconds. The boot menu is a separate concern and is not part of the normal path.
Measured on the unit
A cold boot on our test R36S, with the new path:
splash first frame 5.05s splash stop / fb0 write 11.88s ES binary first log 13.85s ES window created 16.42s ES early boot image 16.68s (+0.26s) ES loading first frame 17.51s
The framebuffer content after the splash exited was byte-identical to the selected image. On the unit, what is left is a brief modeset flicker — not the old two-or-three-second black gap.
What is still not fixed
The first five seconds are still black: U-Boot and the early kernel do not turn on the backlight or draw anything before userspace. Covering that needs a U-Boot logo with backlight control, or a minimal initramfs with a splash — a different layer from this change. It is still a known limitation in 0.1.3.
The total time to the menu is about 17–18 seconds. ES still spends a couple of seconds creating its window and loading resources; the image now covers that time instead of showing black, but it is not instant.
Where it lives
The splash source, the ES patch, the prebuilt binary and the 21 matching images are in the public TreeOS repository:
- docs/23_boot-splash.md — the handoff notes and measured timeline.
- tools/launcher — the splash source, service and installer.
- tools/es — the ES patch and prebuilt binary.
This is part of 0.1.3, now available as a preview. 0.1.2 is superseded. Back to the devlog · The handheld itself