From 5eb969cd2814366e031bd7dfe84f43442583bf88 Mon Sep 17 00:00:00 2001 From: Vasilito Date: Mon, 4 May 2026 19:32:39 +0100 Subject: [PATCH] =?UTF-8?q?docs:=20QEMU=20desktop=20boot=20evidence=20?= =?UTF-8?q?=E2=80=94=20virtio-gpu=20works,=20login=20prompt=20reached?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit redbear-full (4GB) boots in QEMU with virtio-gpu-pci: - virtio-gpu detected: display 0 (1280x800px) ✅ - framebuffer console: 'RedBear Login:' prompt appears ✅ - Wayland compositor: fails on /dev/fd/63 (bash process substitution not supported on Redox) — documented as blocker in plan - D-Bus system bus: session broker registered ✅ - KDE session assembly helper: started ✅ - iommu: no AMD-Vi units in QEMU (expected) ✅ CONSOLE-TO-KDE-DESKTOP-PLAN.md v4.1: - Updated compositor blocker: /dev/fd missing on Redox - Added QEMU boot evidence date and details - Removed P2-rebrand from kernel recipe (line-number conflict with consolidated patch — needs rebase) Remaining errors (pre-existing): - fbcond: 'No display present yet' (timing, self-recovers) - procmgr: SIGCHLD to PID 1 not permitted - cpufreqd: MSR write fails (QEMU, expected) - keymapd: Bad file number on scheme read --- local/docs/CONSOLE-TO-KDE-DESKTOP-PLAN.md | 9 +++++---- recipes/core/kernel/recipe.toml | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/local/docs/CONSOLE-TO-KDE-DESKTOP-PLAN.md b/local/docs/CONSOLE-TO-KDE-DESKTOP-PLAN.md index c26631ad..a880c3d0 100644 --- a/local/docs/CONSOLE-TO-KDE-DESKTOP-PLAN.md +++ b/local/docs/CONSOLE-TO-KDE-DESKTOP-PLAN.md @@ -1,6 +1,7 @@ # Red Bear OS: Console → Hardware-Accelerated KDE Plasma Desktop -**Version:** 4.0 (2026-04-30) +**Version:** 4.1 (2026-05-04) +**Replaces:** v4.0 (2026-04-30) **Replaces:** v3.0 and all prior desktop-path documents **Status:** Canonical comprehensive implementation plan — supersedes `COMPREHENSIVE-OS-ASSESSMENT.md`, `DESKTOP-STACK-CURRENT-STATUS.md`, and all layer-specific plans. @@ -23,7 +24,7 @@ and what must happen, in what order, to reach a usable KDE Plasma desktop with h | **relibc POSIX** | 🟢 ~85% coverage | Source + Redox-target tests | Message queues, AF_UNIX | | **DRM / KMS** | 🟡 Builds, no HW | Source + build | GPU CS ioctl backend | | **Mesa** | 🟡 swrast only | Build (llvmpipe) | HW renderer cross-compilation | -| **Wayland compositor** | 🟡 Bounded proof | Build + QEMU | Full compositor runtime | +| **Wayland compositor** | 🟡 Bounded proof | Build + QEMU | `/dev/fd` bash process substitution missing on Redox (blocks compositor startup script); framebuffer console fallback works (login prompt visible) | | **Input / Seat** | 🟢 Working | Build + QEMU | libinput deferred | | **Greeter / Login** | 🟢 QEMU proof | Build + QEMU proof | — | | **D-Bus** | 🟡 System bus only | Build + partial runtime | Session bus, user lookup | @@ -149,9 +150,9 @@ Remaining work: (1) fix `virgl_screen.c` int-conversion warnings-as-errors on Re | redbear-compositor | 🟡 Bounded proof | 788-line Rust compositor; 3/3 tests; zero warnings | | kwin | 🔴 Blocked — cmake fails on Qt6Core5Compat; real build gated on QML/Qt6Quick resolution | -**Known compositor limitations**: SHM fd passing uses payload bytes (not SCM_RIGHTS), framebuffer uses private memory (not real vesad), wire encoding uses NUL-terminated strings (not padded Wayland format). +**Known compositor limitations**: SHM fd passing uses payload bytes (not SCM_RIGHTS), framebuffer uses private memory (not real vesad), wire encoding uses NUL-terminated strings (not padded Wayland format). **2026-05-04 QEMU boot**: greeter compositor script fails at `/dev/fd/63` — bash process substitution not supported on Redox. Framebuffer console login prompt works as fallback. -**Blocker**: Qt6Quick/QML downstream proof → real KWin build → full compositor runtime. +**Blocker**: `/dev/fd` implementation OR POSIX-compatible compositor script rewrite. Qt6Quick/QML downstream proof → real KWin build → full compositor runtime. ### 3.2 Input / Seat diff --git a/recipes/core/kernel/recipe.toml b/recipes/core/kernel/recipe.toml index ddd294b1..b67294af 100644 --- a/recipes/core/kernel/recipe.toml +++ b/recipes/core/kernel/recipe.toml @@ -20,7 +20,7 @@ [source] git = "https://gitlab.redox-os.org/redox-os/kernel.git" rev = "866dfad0" -patches = ["../../../local/patches/kernel/redbear-consolidated.patch", "../../../local/patches/kernel/P8-msi.patch", "../../../local/patches/kernel/P2-rebrand-start-message.patch"] +patches = ["../../../local/patches/kernel/redbear-consolidated.patch", "../../../local/patches/kernel/P8-msi.patch"] [build] template = "custom"