From ca1cae67189f6a0d52986ca743f9ec2f870f9561 Mon Sep 17 00:00:00 2001 From: Vasilito Date: Fri, 1 May 2026 01:07:09 +0100 Subject: [PATCH] =?UTF-8?q?docs:=20final=20consistency=20pass=20=E2=80=94?= =?UTF-8?q?=20KWin=20status,=20KF6=20count,=2007=20ph=203-5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - docs/07: Phase 3-5 descriptions updated (no stubs, honest blockers) - docs/README: KF6 count 32/32 → 36/48 built, 12 blocked by QML - KWin recipe: clarified cmake configs are for downstream plasma-* packages, not for KWin itself --- docs/07-RED-BEAR-OS-IMPLEMENTATION-PLAN.md | 6 +++--- docs/README.md | 2 +- local/recipes/kde/kwin/recipe.toml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/07-RED-BEAR-OS-IMPLEMENTATION-PLAN.md b/docs/07-RED-BEAR-OS-IMPLEMENTATION-PLAN.md index 3dc795bd..a885b03b 100644 --- a/docs/07-RED-BEAR-OS-IMPLEMENTATION-PLAN.md +++ b/docs/07-RED-BEAR-OS-IMPLEMENTATION-PLAN.md @@ -364,9 +364,9 @@ Current state (2026-04-29): - **Phase 1 (Runtime Substrate):** build-verified complete. Zero warnings, zero test failures, zero LSP errors. Four Phase 1 check binaries (evdev, udev, firmware, DRM) + `redbear-info --probe` + automated QEMU test harness exist. Runtime validation pending (requires QEMU/bare metal). - **Phase 2 (Wayland Compositor):** bounded proof scaffold exists. `redbear-compositor` (788-line Rust compositor) builds with zero warnings and self-consistent protocol dispatch (3/3 tests pass). Known limitations: SHM fd passing uses payload bytes (not Unix SCM_RIGHTS), framebuffer compositing uses private heap memory, wire encoding uses NUL-terminated strings. Phase 2 check binary + test harness exist. Not yet a real client-compatible compositor runtime proof. -- **Phase 3 (KWin Session):** KWin recipe is a cmake config stub. Wrapper scripts delegate to `redbear-compositor`. Real KWin build requires sufficient Qt6Quick/QML build+runtime proof (qtdeclarative exists, downstream QML paths unproven). Phase 3 preflight check binary + test harness exist. -- **Phase 4 (KDE Plasma):** All Phase 4 KDE recipes (plasma-workspace, plasma-desktop, plasma-framework, kdecoration, kf6-kwayland, plasma-wayland-protocols) are cmake config stubs marked `#TODO`. Real builds gated on Qt6Quick/QML + real KWin. Legacy test scripts exist (test-phase4-wayland-qemu.sh, test-phase6-kde-qemu.sh). -- **Phase 5 (Hardware GPU):** redox-drm exists with Intel Gen8-Gen12 + AMD device support and quirk tables. Mesa builds with llvmpipe software renderer (hardware renderers not yet cross-compiled). GPU command submission (CS ioctl) missing. DRM display check binary exists. No hardware validation yet. +- **Phase 3 (KWin Session):** KWin recipe attempts real cmake build with QML/Quick disabled. Blocked by QML gate. Redbear-compositor provides kwin_wayland binary as separate package. Phase 3 preflight check binary + test harness exist. +- **Phase 4 (KDE Plasma):** 36/48 KDE recipes build. 12 blocked by QML gate (kirigami → plasma-framework → plasma-workspace → plasma-desktop). Real builds gated on QML resolution. Legacy test scripts exist. +- **Phase 5 (Hardware GPU):** redox-drm with Intel Gen8-Gen12 + AMD + virtio-gpu. Mesa builds with llvmpipe + virgl (virtio_gpu_dri.so). GPU CS ioctl protocol exists, backend pending. DRM display check binary exists. Hardware validation pending. Canonical references: diff --git a/docs/README.md b/docs/README.md index d2d4539d..3b83238f 100644 --- a/docs/README.md +++ b/docs/README.md @@ -107,7 +107,7 @@ This summary is only a quick orientation layer. For canonical current-state deta - **Wayland**: libwayland + wayland-protocols built. A bounded greeter/compositor-backed login proof now passes, but broader compositor/runtime stability remains incomplete. - **Qt6**: qtbase 6.11.0 (Core+Gui+Widgets+DBus+Wayland), qtdeclarative, qtsvg, qtwayland ALL BUILT - **D-Bus**: 1.16.2 built for Redox. Qt6DBus enabled. -- **KF6 Frameworks**: all 32/32 built. Some packages remain shimmed or stubbed (kirigami stub-only, kf6-kio heavy shim). +- **KF6 Frameworks**: 36/48 built, 12 blocked by QML gate. See `local/docs/CONSOLE-TO-KDE-DESKTOP-PLAN.md` for full breakdown. - **Mesa**: software-rendered path is present; full GBM / hardware-validated Wayland path is still incomplete. - **GPU drivers**: redox-drm scheme daemon exists; Intel build-oriented path exists; AMD currently has a bounded retained compile path (`redox-drm` + Red Bear glue) while the imported Linux AMD DC/TTM/core trees remain builds and included in redbear-full (2026-04-29). Hardware validation is still pending. - **Input**: evdevd compiled, libevdev built, libinput 1.30.2 built diff --git a/local/recipes/kde/kwin/recipe.toml b/local/recipes/kde/kwin/recipe.toml index 0579f8fd..5e445d97 100644 --- a/local/recipes/kde/kwin/recipe.toml +++ b/local/recipes/kde/kwin/recipe.toml @@ -79,7 +79,7 @@ if cmake "${COOKBOOK_SOURCE}" \ cmake --install . --prefix "${STAGE}" 2>&1 fi -# cmake config stubs for downstream KDE recipes (needed by plasma-*) +# Downstream cmake configs for KF6WindowSystem/KF6Config (needed by plasma-framework, plasma-workspace, plasma-desktop — not KWin itself) mkdir -p "${STAGE}/lib/cmake/KF6WindowSystem" "${STAGE}/lib/cmake/KF6Config" cat > "${STAGE}/lib/cmake/KF6WindowSystem/KF6WindowSystemConfig.cmake" << 'EOFCMAKE' find_package(Qt6 REQUIRED COMPONENTS Core Gui Widgets)