Repository navigation
Description
The current Linux Dev AppImage cannot create a window when using a newer host Mesa/LLVM software Vulkan driver: the driver requires GLIBC_2.44, which the AppImage's bundled libm.so.6 does not provide.
Package: maple-agent-dev-0.1.0-883ac72-linux-x86_64.AppImage, source 883ac7247a4a1d6ef0a615a7683e2598be78248e, from master build 38958567021. GitHub provenance, metadata/checksums and the extracted AppRun --build-info / --version checks passed.
Environment: Ubuntu-based x86_64 VM, Xfce/X11, Nix-provided Mesa 26.2.4 / LLVM 21.1.8 / Lavapipe. The existing streamed desktop works with that software driver.
Reproduction:
- Extract the verified AppImage with
--appimage-extract. - Use fresh XDG config/data roots and the existing desktop environment, including its
DISPLAY, Xauthority andVK_DRIVER_FILESpointing tolvp_icd.x86_64.json. - Start
squashfs-root/AppRun host serve, thensquashfs-root/AppRunwith the same environment/profile. The explicit host is a workaround for a separate observed self-spawn issue; this gets the test to backend/GPUI readiness. - Window creation fails and the GUI exits 101 before a login screen.
Sanitized diagnostics:
startup: backend ready at 0 ms
startup: gpui app ready at 8 ms
[Vulkan Loader] ERROR: .../squashfs-root/usr/lib/libm.so.6: version `GLIBC_2.44' not found (required by .../llvm-21.1.8-lib/lib/libLLVM.so.21.1)
[Vulkan Loader] ERROR | DRIVER: loader_icd_scan: Failed loading library associated with ICD JSON .../mesa-26.2.4/lib/libvulkan_lvp.so. Ignoring this JSON
[Vulkan Loader] ERROR | DRIVER: vkCreateInstance: Found no drivers!
failed to open main window: Failed to create surface: Failed to create surface for any enabled backend: {}
AppRun deliberately invokes the bundled loader and library path while loading graphics drivers from the host. Adding another glibc package to the host PATH does not change that library selection. We should revisit that runtime/driver contract, either supporting a coherent combination or reporting the incompatibility clearly. A Nix-native package aligned with the host graphics closure is another option to evaluate.
The bounded experiment stopped here; no library replacements or source changes were attempted. Headless startup with an explicit host reaches ACP's expected sign-in-required guard without display/Vulkan settings. Authenticated ACP, login and inference have not been validated.
Activity
katla50 commentedon Oct 30, 2026
Confirming this on the production bundle (not just the Dev AppImage), on real hardware rather than a software driver, plus a workaround that keeps the app's own launch-chain validation happy.
Reproduction
Launch from the desktop entry (
Exec=~/.local/bin/maple-agent %U) or~/.local/bin/maple-agentdirectly, in the normal Wayland session. No window; exit code 101.~/.local/share/maple-agent-prod/store-v1/logs/maple-agent.log:Before the panic (
RUST_LOG=debug/VK_LOADER_DEBUG=error,warn,driver):Notes
AppRunforces$appdir/usr/lib/ld-linux-x86-64.so.2 --inhibit-cache --library-path "$appdir/usr/lib:…", and the bundle's glibc is 2.42 (<bundle>/usr/lib/libc.so.6 | head -1). The host driver that getsdlopen()ed into that process needsGLIBC_2.44.libEGL_mesa→libgallium→libLLVM), so switching to X11 does not help.for any enabled backend: {}(empty set) is the only symptom, and the Vulkan-loader line only appears withVK_LOADER_DEBUGset. A clear "no GPU backend could be initialised — driver needs a newer glibc" message would go a long way.Workaround that works (and that the app accepts)
Putting the host glibc files at the bundle's own paths fixes it:
Result: window opens, sign-in screen renders.
One caveat worth recording: repointing
AppRunat/usr/lib/ld-linux-x86-64.so.2does not work — it gets past the GPU error and then the app rejects its own launch chain:So the launch-chain validation (
APPDIR/ loader / payload) has to be satisfied by keeping the originalAppRunand swapping file contents in place. Worth knowing before designing the fix: any solution that changes the loader path is rejected by the app itself.The swap has to be re-applied after every reinstall or self-update, since the updater replaces the whole
maple-agent.apptree — so this is a workaround, not a fix. A bundle built against a recent glibc (or not bundling glibc/ld-linux at all and using the host one) would resolve it properly.