vasilito
48ec92b486
fix: udev-shim panic, sessiond duplicate, scheme Bad-fd handling
...
- udev-shim: replace .expect() with graceful errors (no more panic on Broken pipe)
- P4-initfs: remove duplicate sessiond (conflicted with config)
- accessibility/ime/keymapd: break instead of exit(1) on EBADF
- P6 driver patches rebased
- Docs: archive old reports, add implementation master plan
2026-05-04 14:04:03 +01:00
vasilito
ce0ac10b6d
chore: sync all pending changes — kirigami platform headers, cookbook fix, docs, patches
...
Kirigami: remove stub .cpp, add Qt platform integration headers for
QML gate. Matches KDE src/pattern for direct header-only builds.
Cookbook: add --no-backup-if-mismatch to patch invocation (fetch.rs).
Kernel: consolidate patch chain, add debug-scheme-serial-fix.
Docs: archive old audit reports, add CHANGELOG and hardware validation
matrix. Update AGENTS.md with Linux reference source policy.
Scripts: add test-network-qemu.sh, test-storage-qemu.sh.
.gitignore: add local/reference/ exclusion.
2026-05-04 11:57:48 +01:00
vasilito
1b5c19b22a
chore: sync all pending changes — kirigami platform headers, cookbook fix, docs, patches
...
Kirigami: remove stub .cpp, add Qt platform integration headers for
QML gate. Matches KDE src/pattern for direct header-only builds.
Cookbook: add --no-backup-if-mismatch to patch invocation (fetch.rs).
Kernel: consolidate patch chain, add debug-scheme-serial-fix.
Docs: archive old audit reports, add CHANGELOG and hardware validation
matrix. Update AGENTS.md with Linux reference source policy.
Scripts: add test-network-qemu.sh, test-storage-qemu.sh.
.gitignore: add local/reference/ exclusion.
2026-05-04 11:57:48 +01:00
vasilito
b9874d0941
feat: USB storage read/write proof + full Red Bear OS tree sync
...
Add redbear-usb-storage-check in-guest binary that validates USB mass
storage read and write I/O: discovers /scheme/disk/ devices, writes a
test pattern to sector 2048, reads it back, verifies match, restores
original content. Updates test-usb-storage-qemu.sh with write-proof
verification step.
Includes all accumulated Red Bear OS work: kernel patches, relibc
patches, driver infrastructure, DRM/GPU, KDE recipes, firmware,
validation tooling, build system hardening, and documentation.
2026-05-03 23:03:24 +01:00
vasilito
15d0707e74
feat: USB storage read/write proof + full Red Bear OS tree sync
...
Add redbear-usb-storage-check in-guest binary that validates USB mass
storage read and write I/O: discovers /scheme/disk/ devices, writes a
test pattern to sector 2048, reads it back, verifies match, restores
original content. Updates test-usb-storage-qemu.sh with write-proof
verification step.
Includes all accumulated Red Bear OS work: kernel patches, relibc
patches, driver infrastructure, DRM/GPU, KDE recipes, firmware,
validation tooling, build system hardening, and documentation.
2026-05-03 23:03:24 +01:00
vasilito
2e764746e7
feat: build system hardening — collision detection, validation gates, init path enforcement
...
5-phase hardening to prevent silent file-layer collisions (the D-Bus
regression class):
Phase 1: lint-config-paths.sh + make lint-config in depends.mk
Phase 2: CollisionTracker in installer (content-hash comparison)
Phase 3: installs manifests in recipe.toml + validate-file-ownership.sh
Phase 4: validate-init-services.sh + make validate in disk.mk
Phase 5: documentation (AGENTS.md, BUILD-SYSTEM-HARDENING-PLAN.md)
Both redbear-mini and redbear-full build and validate clean.
66 declared install paths in base, zero conflicts.
2026-05-03 22:25:22 +01:00
vasilito
b31fd7d3e5
feat: build system hardening — collision detection, validation gates, init path enforcement
...
5-phase hardening to prevent silent file-layer collisions (the D-Bus
regression class):
Phase 1: lint-config-paths.sh + make lint-config in depends.mk
Phase 2: CollisionTracker in installer (content-hash comparison)
Phase 3: installs manifests in recipe.toml + validate-file-ownership.sh
Phase 4: validate-init-services.sh + make validate in disk.mk
Phase 5: documentation (AGENTS.md, BUILD-SYSTEM-HARDENING-PLAN.md)
Both redbear-mini and redbear-full build and validate clean.
66 declared install paths in base, zero conflicts.
2026-05-03 22:25:22 +01:00
vasilito
13ac42b218
docs: final stale doc cleanup — 22 archived, 18 active
...
Archived: IOMMU-SPEC, KERNEL-IPC, KERNEL-SCHEDULER, PROFILE-MATRIX,
QUIRKS-IMPROVEMENT, RELIBC-IPC, repo-governance, SCHEDULER-REVIEW,
SCRIPT-BEHAVIOR, USB-VALIDATION, XHCID-DEVICE-IMPROVEMENT.
Active: all implementation plans + 3 audits + governance docs.
2026-05-03 16:26:13 +01:00
vasilito
98e68b7999
docs: final stale doc cleanup — 22 archived, 18 active
...
Archived: IOMMU-SPEC, KERNEL-IPC, KERNEL-SCHEDULER, PROFILE-MATRIX,
QUIRKS-IMPROVEMENT, RELIBC-IPC, repo-governance, SCHEDULER-REVIEW,
SCRIPT-BEHAVIOR, USB-VALIDATION, XHCID-DEVICE-IMPROVEMENT.
Active: all implementation plans + 3 audits + governance docs.
2026-05-03 16:26:13 +01:00
vasilito
466b68a643
docs: comprehensive fix plan (final) — KDE build chain, graphical boot, remaining gaps
...
Consolidated from all audits, QEMU testing, and implementation sessions.
P0: KDE build chain broken — libwayland pkgar staging race in cookbook.
Fix requires investigation of src/cook/package.rs pkgar path lookup.
P1: Graphical boot testing — dbus-daemon, sessiond, compositor, greeter.
P2: 7 remaining gaps — ion shell, shadow support, polkit, scrollback.
Includes cookbook tool investigation areas and total effort estimate
(~12 days per developer).
2026-05-03 10:46:19 +01:00
vasilito
3ed5bd9754
docs: comprehensive fix plan (final) — KDE build chain, graphical boot, remaining gaps
...
Consolidated from all audits, QEMU testing, and implementation sessions.
P0: KDE build chain broken — libwayland pkgar staging race in cookbook.
Fix requires investigation of src/cook/package.rs pkgar path lookup.
P1: Graphical boot testing — dbus-daemon, sessiond, compositor, greeter.
P2: 7 remaining gaps — ion shell, shadow support, polkit, scrollback.
Includes cookbook tool investigation areas and total effort estimate
(~12 days per developer).
2026-05-03 10:46:19 +01:00
vasilito
3f957ba6c2
docs: graphical boot assessment — redbear-full KDE build chain broken
...
libwayland stage.pkgar missing when kf6-kitemviews builds during
make live CONFIG_NAME=redbear-full. This is a cookbook pkgar
staging race condition, not a code error.
redbear-mini (text-only) boots fully in QEMU with colored init
output, 25+ services, and login prompt on framebuffer console.
2026-05-03 10:44:05 +01:00
vasilito
5c8ecbe3aa
docs: graphical boot assessment — redbear-full KDE build chain broken
...
libwayland stage.pkgar missing when kf6-kitemviews builds during
make live CONFIG_NAME=redbear-full. This is a cookbook pkgar
staging race condition, not a code error.
redbear-mini (text-only) boots fully in QEMU with colored init
output, 25+ services, and login prompt on framebuffer console.
2026-05-03 10:44:05 +01:00
vasilito
2e313860f0
docs: comprehensive fix and improvement plan — consolidated P0-P4 roadmap
...
Merges findings from both boot audits into a single authoritative plan:
- 0. Current state (12 patches, 3 targets, completed phases)
- 1. Priority matrix (P0 blocking → P4 deferred)
- 2. P0 — 2 blocking issues (boot redbear-full, clean build verify)
- 3. P1 — 4 critical gaps (D-Bus runtime, ion job control, tab completion, DRM in boot)
- 4. P2 — 4 high priority (shadow support, rate limiting, network in initfs, polkit)
- 5. P3 — 6 medium priority (ion features, fbcond, ACPI sleep, thermal, battery)
- 6. P4 — 6 deferred items
- 7. Week-by-week implementation order with parallel opportunities
- 8. Acceptance gates (G1-G5)
- 9. Total effort: ~103h / ~13 days solo, ~1 week with 2 devs
2026-05-03 09:42:14 +01:00
vasilito
dcb672ec6e
docs: comprehensive fix and improvement plan — consolidated P0-P4 roadmap
...
Merges findings from both boot audits into a single authoritative plan:
- 0. Current state (12 patches, 3 targets, completed phases)
- 1. Priority matrix (P0 blocking → P4 deferred)
- 2. P0 — 2 blocking issues (boot redbear-full, clean build verify)
- 3. P1 — 4 critical gaps (D-Bus runtime, ion job control, tab completion, DRM in boot)
- 4. P2 — 4 high priority (shadow support, rate limiting, network in initfs, polkit)
- 5. P3 — 6 medium priority (ion features, fbcond, ACPI sleep, thermal, battery)
- 6. P4 — 6 deferred items
- 7. Week-by-week implementation order with parallel opportunities
- 8. Acceptance gates (G1-G5)
- 9. Total effort: ~103h / ~13 days solo, ~1 week with 2 devs
2026-05-03 09:42:14 +01:00
vasilito
e586a44be6
docs: second-pass boot audit (D-Bus honesty, shell quality, login), archive 4 stale docs
...
BOOT-PROCESS-SECOND-AUDIT-2026-05-03.md: deep dive into:
- D-Bus implementation honesty (15/19 login1 methods real, not stubs)
- ion shell quality matrix (vs bash/dash)
- Login prompt completeness (getty→login→ion chain)
- Per-subsystem hardware init status (storage/display/input/network/USB/audio/ACPI)
- Implementation plan Phases F1-F6
Archived 4 completed/deferred plans: GRUB, VFAT, USB-BOOT-INPUT, ZSH-PORTING
2026-05-03 09:37:09 +01:00
vasilito
07da88c5bf
docs: second-pass boot audit (D-Bus honesty, shell quality, login), archive 4 stale docs
...
BOOT-PROCESS-SECOND-AUDIT-2026-05-03.md: deep dive into:
- D-Bus implementation honesty (15/19 login1 methods real, not stubs)
- ion shell quality matrix (vs bash/dash)
- Login prompt completeness (getty→login→ion chain)
- Per-subsystem hardware init status (storage/display/input/network/USB/audio/ACPI)
- Implementation plan Phases F1-F6
Archived 4 completed/deferred plans: GRUB, VFAT, USB-BOOT-INPUT, ZSH-PORTING
2026-05-03 09:37:09 +01:00
vasilito
1c7ce83173
docs: comprehensive boot process audit + archive stale plans
...
BOOT-PROCESS-AUDIT-2026-05-03.md: full daemon-by-daemon review
of boot sequence from power-on to login prompt. Covers:
- 25+ daemons assessed (critical path, input, display, hardware,
storage, network, audio, UI, system services)
- Hardware initialization completeness matrix
- ion shell analysis (strengths/gaps vs bash/dash)
- Stale documentation inventory
Archived 5 superseded plans to local/docs/archived/:
- ACPI-I2C-HID, BOOT-PROCESS-IMPROVEMENT, DEVICE-INIT,
GREETER-LOGIN-ANALYSIS, INTEL-HDA-IMPLEMENTATION
Improvement plan: 5 phases (boot reliability, drivers, UX,
documentation, security) across 6 weeks
2026-05-03 08:47:24 +01:00
vasilito
3e9b79fb8d
docs: comprehensive boot process audit + archive stale plans
...
BOOT-PROCESS-AUDIT-2026-05-03.md: full daemon-by-daemon review
of boot sequence from power-on to login prompt. Covers:
- 25+ daemons assessed (critical path, input, display, hardware,
storage, network, audio, UI, system services)
- Hardware initialization completeness matrix
- ion shell analysis (strengths/gaps vs bash/dash)
- Stale documentation inventory
Archived 5 superseded plans to local/docs/archived/:
- ACPI-I2C-HID, BOOT-PROCESS-IMPROVEMENT, DEVICE-INIT,
GREETER-LOGIN-ANALYSIS, INTEL-HDA-IMPLEMENTATION
Improvement plan: 5 phases (boot reliability, drivers, UX,
documentation, security) across 6 weeks
2026-05-03 08:47:24 +01:00
vasilito
a15d79209c
docs: define build invariants and fix-before-disable policy
2026-05-02 22:09:19 +01:00
vasilito
62a3c9f3fa
docs: define build invariants and fix-before-disable policy
2026-05-02 22:09:19 +01:00
vasilito
5851974b20
feat: build system transition to release fork + archive hardening
...
Release fork infrastructure:
- REDBEAR_RELEASE=0.1.1 with offline enforcement (fetch/distclean/unfetch blocked)
- 195 BLAKE3-verified source archives in standard format
- Atomic provisioning via provision-release.sh (staging + .complete sentry)
- 5-phase improvement plan: restore format auto-detection, source tree
validation (validate-source-trees.py), archive-map.json, REPO_BINARY fallback
Archive normalization:
- Removed 87 duplicate/unversioned archives from shared pool
- Regenerated all archives in consistent format with source/ + recipe.toml
- BLAKE3SUMS and manifest.json generated from stable tarball set
Patch management:
- verify-patches.sh: pre-sync dry-run report (OK/REVERSED/CONFLICT)
- 121 upstream-absorbed patches moved to absorbed/ directories
- 43 active patches verified clean against rebased sources
- Stress test: base updated to upstream HEAD, relibc reset and patched
Compilation fixes:
- relibc: Vec imports in redox-rt (proc.rs, lib.rs, sys.rs)
- relibc: unsafe from_raw_parts in mod.rs (2024 edition)
- fetch.rs: rev comparison handles short/full hash prefixes
- kibi recipe: corrected rev mismatch
New scripts: restore-sources.sh, provision-release.sh, verify-sources-archived.sh,
check-upstream-releases.sh, validate-source-trees.py, verify-patches.sh,
repair-archive-format.sh, generate-manifest.py
Documentation: AGENTS.md, README.md, local/AGENTS.md updated for release fork model
2026-05-02 01:41:17 +01:00
vasilito
9af8da420a
feat: build system transition to release fork + archive hardening
...
Release fork infrastructure:
- REDBEAR_RELEASE=0.1.1 with offline enforcement (fetch/distclean/unfetch blocked)
- 195 BLAKE3-verified source archives in standard format
- Atomic provisioning via provision-release.sh (staging + .complete sentry)
- 5-phase improvement plan: restore format auto-detection, source tree
validation (validate-source-trees.py), archive-map.json, REPO_BINARY fallback
Archive normalization:
- Removed 87 duplicate/unversioned archives from shared pool
- Regenerated all archives in consistent format with source/ + recipe.toml
- BLAKE3SUMS and manifest.json generated from stable tarball set
Patch management:
- verify-patches.sh: pre-sync dry-run report (OK/REVERSED/CONFLICT)
- 121 upstream-absorbed patches moved to absorbed/ directories
- 43 active patches verified clean against rebased sources
- Stress test: base updated to upstream HEAD, relibc reset and patched
Compilation fixes:
- relibc: Vec imports in redox-rt (proc.rs, lib.rs, sys.rs)
- relibc: unsafe from_raw_parts in mod.rs (2024 edition)
- fetch.rs: rev comparison handles short/full hash prefixes
- kibi recipe: corrected rev mismatch
New scripts: restore-sources.sh, provision-release.sh, verify-sources-archived.sh,
check-upstream-releases.sh, validate-source-trees.py, verify-patches.sh,
repair-archive-format.sh, generate-manifest.py
Documentation: AGENTS.md, README.md, local/AGENTS.md updated for release fork model
2026-05-02 01:41:17 +01:00
vasilito
eeee88b806
docs: fix last stale KWin "Stub" → "Blocked — cmake fails on Qt6Core5Compat"
2026-05-01 03:31:02 +01:00
vasilito
495b8e3a1d
docs: fix last stale KWin "Stub" → "Blocked — cmake fails on Qt6Core5Compat"
2026-05-01 03:31:02 +01:00
vasilito
fb831ef281
docs: round 16 — final stale doc references sweep
...
KERNEL-IPC-CREDENTIAL, 05-KDE, RELIBC-IPC, AGENTS.md, wip/AGENTS
all updated: COMPREHENSIVE-OS-ASSESSMENT, QT6-PORT-STATUS,
RELIBC-COMPLETENESS replaced with CONSOLE-TO-KDE-DESKTOP-PLAN.md
2026-05-01 02:46:15 +01:00
vasilito
4aa45fdc9e
docs: round 16 — final stale doc references sweep
...
KERNEL-IPC-CREDENTIAL, 05-KDE, RELIBC-IPC, AGENTS.md, wip/AGENTS
all updated: COMPREHENSIVE-OS-ASSESSMENT, QT6-PORT-STATUS,
RELIBC-COMPLETENESS replaced with CONSOLE-TO-KDE-DESKTOP-PLAN.md
2026-05-01 02:46:15 +01:00
vasilito
e51eecf458
docs: round 15 — remaining deleted-doc refs in KERNEL-IPC, WAYLAND, 05-KDE
...
Fixed stale references to COMPREHENSIVE-OS-ASSESSMENT, DESKTOP-STACK,
QT6-PORT in subsystem plans. All now point to CONSOLE-TO-KDE v4.0.
2026-05-01 02:41:02 +01:00
vasilito
a736d897ca
docs: round 15 — remaining deleted-doc refs in KERNEL-IPC, WAYLAND, 05-KDE
...
Fixed stale references to COMPREHENSIVE-OS-ASSESSMENT, DESKTOP-STACK,
QT6-PORT in subsystem plans. All now point to CONSOLE-TO-KDE v4.0.
2026-05-01 02:41:02 +01:00
vasilito
15d0317c31
fix: Oracle round 10 — AGENTS stale state, config stray keys, redbear-kde→full
...
1. local/AGENTS.md: KWin/greeter/KF6 status updated to current truth
2. config/redbear-full.toml: konsole + kf6-pty moved under [packages]
3. docs/05 + BLUETOOTH + VFAT: redbear-kde.toml → redbear-full.toml
4. All remaining fixable Oracle issues from round 9 resolved
2026-05-01 02:10:10 +01:00
vasilito
5c1a481aae
fix: Oracle round 10 — AGENTS stale state, config stray keys, redbear-kde→full
...
1. local/AGENTS.md: KWin/greeter/KF6 status updated to current truth
2. config/redbear-full.toml: konsole + kf6-pty moved under [packages]
3. docs/05 + BLUETOOTH + VFAT: redbear-kde.toml → redbear-full.toml
4. All remaining fixable Oracle issues from round 9 resolved
2026-05-01 02:10:10 +01:00
vasilito
b66807c33e
docs: remaining v3.0 → v4.0 references in subsystem plans
...
GREETER-LOGIN, DBUS-INTEGRATION, BOOT-PROCESS-IMPROVEMENT
all now reference CONSOLE-TO-KDE v4.0
2026-05-01 02:01:28 +01:00
vasilito
9ab11d59ca
docs: remaining v3.0 → v4.0 references in subsystem plans
...
GREETER-LOGIN, DBUS-INTEGRATION, BOOT-PROCESS-IMPROVEMENT
all now reference CONSOLE-TO-KDE v4.0
2026-05-01 02:01:28 +01:00
vasilito
abc6e10a53
fix: Oracle round 7 — all kwin_wayland_wrapper references → redbear-compositor
...
Replaced in:
- config/wayland.toml (session launcher)
- redbear-kde-session (KDE session launcher)
- redbear-greeter-compositor (compositor selection)
- test-kde-session.sh (validation script)
- build-system/003-config.patch (durable reapply patch)
- GREETER-LOGIN-IMPLEMENTATION-PLAN.md
- DBUS-INTEGRATION-PLAN.md
Zero kwin_wayland_wrapper references remaining. Redbear-compositor
is the single Wayland compositor throughout the entire repo.
2026-05-01 01:37:27 +01:00
vasilito
b0783213dd
fix: Oracle round 7 — all kwin_wayland_wrapper references → redbear-compositor
...
Replaced in:
- config/wayland.toml (session launcher)
- redbear-kde-session (KDE session launcher)
- redbear-greeter-compositor (compositor selection)
- test-kde-session.sh (validation script)
- build-system/003-config.patch (durable reapply patch)
- GREETER-LOGIN-IMPLEMENTATION-PLAN.md
- DBUS-INTEGRATION-PLAN.md
Zero kwin_wayland_wrapper references remaining. Redbear-compositor
is the single Wayland compositor throughout the entire repo.
2026-05-01 01:37:27 +01:00
vasilito
e77b429563
docs: final stale reference cleanup — all dead doc links removed
...
Fixed remaining Oracle-found issues:
- docs/AGENTS.md: RELIBC-COMPLETENESS → CONSOLE-TO-KDE,
RELIBC-IMPLEMENTATION → KERNEL-IPC-CREDENTIAL
- docs/07: QT6-PORT-STATUS + DESKTOP-STACK → CONSOLE-TO-KDE
- CONSOLE-TO-KDE: KWin status updated (no longer has wrapper
scripts; redbear-compositor provides kwin_wayland separately)
All 13 deleted docs now have zero references in canonical docs.
2026-05-01 01:04:09 +01:00
vasilito
165046c401
docs: final stale reference cleanup — all dead doc links removed
...
Fixed remaining Oracle-found issues:
- docs/AGENTS.md: RELIBC-COMPLETENESS → CONSOLE-TO-KDE,
RELIBC-IMPLEMENTATION → KERNEL-IPC-CREDENTIAL
- docs/07: QT6-PORT-STATUS + DESKTOP-STACK → CONSOLE-TO-KDE
- CONSOLE-TO-KDE: KWin status updated (no longer has wrapper
scripts; redbear-compositor provides kwin_wayland separately)
All 13 deleted docs now have zero references in canonical docs.
2026-05-01 01:04:09 +01:00
vasilito
053324f5d0
docs: mesa virgl status → BUILDS (virtio_gpu_dri.so confirmed)
2026-05-01 00:39:31 +01:00
vasilito
3d4c8a120a
docs: mesa virgl status → BUILDS (virtio_gpu_dri.so confirmed)
2026-05-01 00:39:31 +01:00
vasilito
5daa6813ac
docs: honest virgl assessment — linker blocker, exact root cause
...
Mesa virgl:
- All virgl C objects compile successfully
- Linker fails: undefined reference to static_assert in virgl_drm_winsys.c
- Root cause: Mesa util/macros.h #define static_assert _Static_assert
not picked up before Linux drm.h uses static_assert() in include chain
- Fix candidates: patch drm.h or add -include util/macros.h to CFLAGS
- swrast-only build verified (stable)
Achievements this session:
- Mesa virgl compilation proven (objects build)
- virgl_screen.c disk cache patched for Redox
- bits/safamily-t.h provided to toolchain
- Linux 7.0 kernel source cached durably
- Virtio-gpu display driver confirmed working in redox-drm
- Credential syscalls fully implemented
2026-05-01 00:30:45 +01:00
vasilito
d6d2a6b971
docs: honest virgl assessment — linker blocker, exact root cause
...
Mesa virgl:
- All virgl C objects compile successfully
- Linker fails: undefined reference to static_assert in virgl_drm_winsys.c
- Root cause: Mesa util/macros.h #define static_assert _Static_assert
not picked up before Linux drm.h uses static_assert() in include chain
- Fix candidates: patch drm.h or add -include util/macros.h to CFLAGS
- swrast-only build verified (stable)
Achievements this session:
- Mesa virgl compilation proven (objects build)
- virgl_screen.c disk cache patched for Redox
- bits/safamily-t.h provided to toolchain
- Linux 7.0 kernel source cached durably
- Virtio-gpu display driver confirmed working in redox-drm
- Credential syscalls fully implemented
2026-05-01 00:30:45 +01:00
vasilito
1c3ed9ec0d
docs: virtio-gpu + virgl assessment — honest state, linux-7.0 cache protected
...
Virtio-gpu display driver (217 lines) exists in redox-drm — KMS, GEM,
page flip all work. QEMU display path functional.
Mesa virgl (3D acceleration for QEMU):
- Build attempted with -Dgallium-drivers=swrast,virgl
- Reaches 932/1104 objects
- Blocked: virgl_screen.c int-conversion errors, vtest winsys needs
bits/safamily-t.h
- Reverted to swrast-only for stability
- Remaining virgl port documented as WIP
Linux 7.0 kernel source:
- Cloned to local/linux-kernel-cache/linux-7.0 (durable, survives clean)
- Symlinked from build/linux-kernel-cache/linux-7.0
- Added to .gitignore (embedded repo)
- Drivers/gpu/drm/virtio/ available for virgl protocol reference
2026-05-01 00:13:20 +01:00
vasilito
6b6ef2eaff
docs: virtio-gpu + virgl assessment — honest state, linux-7.0 cache protected
...
Virtio-gpu display driver (217 lines) exists in redox-drm — KMS, GEM,
page flip all work. QEMU display path functional.
Mesa virgl (3D acceleration for QEMU):
- Build attempted with -Dgallium-drivers=swrast,virgl
- Reaches 932/1104 objects
- Blocked: virgl_screen.c int-conversion errors, vtest winsys needs
bits/safamily-t.h
- Reverted to swrast-only for stability
- Remaining virgl port documented as WIP
Linux 7.0 kernel source:
- Cloned to local/linux-kernel-cache/linux-7.0 (durable, survives clean)
- Symlinked from build/linux-kernel-cache/linux-7.0
- Added to .gitignore (embedded repo)
- Drivers/gpu/drm/virtio/ available for virgl protocol reference
2026-05-01 00:13:20 +01:00
vasilito
a2d3c9181e
docs: consolidate — CONSOLE-TO-KDE v4.0 supersedes all individual plans
...
CONSOLE-TO-KDE-DESKTOP-PLAN.md rewritten as v4.0 comprehensive plan:
- Single authority for all desktop-path decisions
- Full layer reassessment: DRM→Mesa→Wayland→KDE (6 layers)
- Honest blocker map with effort estimates
- Credential syscalls marked RESOLVED
- Software-rendered path: 8-14 weeks
- Hardware-accelerated path: 20-34 weeks
Stale docs deleted (13, consolidated):
- COMPREHENSIVE-OS-ASSESSMENT, DESKTOP-STACK-CURRENT-STATUS
- AMD-FIRST-INTEGRATION, HARDWARE-3D-ASSESSMENT, DMA-BUF-IMPROVEMENT, INPUT-SCHEME-ENHANCEMENT
- BOOT-PROCESS-ASSESSMENT, LINUX-BORROWING-RUST
- QT6-PORT-STATUS, REDBEAR-INFO-RUNTIME-REPORT
- RELIBC-COMPREHENSIVE, RELIBC-COMPLETENESS, RELIBC-IMPLEMENTATION
docs/README.md: updated status matrix, removed dead references
2026-04-30 23:59:36 +01:00
vasilito
5a8a73e7af
docs: consolidate — CONSOLE-TO-KDE v4.0 supersedes all individual plans
...
CONSOLE-TO-KDE-DESKTOP-PLAN.md rewritten as v4.0 comprehensive plan:
- Single authority for all desktop-path decisions
- Full layer reassessment: DRM→Mesa→Wayland→KDE (6 layers)
- Honest blocker map with effort estimates
- Credential syscalls marked RESOLVED
- Software-rendered path: 8-14 weeks
- Hardware-accelerated path: 20-34 weeks
Stale docs deleted (13, consolidated):
- COMPREHENSIVE-OS-ASSESSMENT, DESKTOP-STACK-CURRENT-STATUS
- AMD-FIRST-INTEGRATION, HARDWARE-3D-ASSESSMENT, DMA-BUF-IMPROVEMENT, INPUT-SCHEME-ENHANCEMENT
- BOOT-PROCESS-ASSESSMENT, LINUX-BORROWING-RUST
- QT6-PORT-STATUS, REDBEAR-INFO-RUNTIME-REPORT
- RELIBC-COMPREHENSIVE, RELIBC-COMPLETENESS, RELIBC-IMPLEMENTATION
docs/README.md: updated status matrix, removed dead references
2026-04-30 23:59:36 +01:00
vasilito
34360e1e4f
feat: P0-P6 kernel scheduler + relibc threading comprehensive implementation
...
P0-P2: Barrier SMP, sigmask/pthread_kill races, robust mutexes, RT scheduling, POSIX sched API
P3: PerCpuSched struct, per-CPU wiring, work stealing, load balancing, initial placement
P4: 64-shard futex table, REQUEUE, PI futexes (LOCK_PI/UNLOCK_PI/TRYLOCK_PI), robust futexes, vruntime tracking, min-vruntime SCHED_OTHER selection
P5: setpriority/getpriority, pthread_setaffinity_np, pthread_setname_np, pthread_setschedparam (Redox)
P6: Cache-affine scheduling (last_cpu + vruntime bonus), NUMA topology kernel hints + numad userspace daemon
Stability fixes: make_consistent stores 0 (dead TID fix), cond.rs error propagation, SPIN_COUNT adaptive spinning, Sys::open &str fix, PI futex CAS race, proc.rs lock ordering, barrier destroy
Patches: 33 kernel + 58 relibc patches, all tracked in recipes
Docs: KERNEL-SCHEDULER-MULTITHREAD-IMPROVEMENT-PLAN.md updated, SCHEDULER-REVIEW-FINAL.md created
Architecture: NUMA topology parsing stays userspace (numad daemon), kernel stores lightweight NumaTopology hints
2026-04-30 18:21:48 +01:00
vasilito
2e99d4073b
feat: P0-P6 kernel scheduler + relibc threading comprehensive implementation
...
P0-P2: Barrier SMP, sigmask/pthread_kill races, robust mutexes, RT scheduling, POSIX sched API
P3: PerCpuSched struct, per-CPU wiring, work stealing, load balancing, initial placement
P4: 64-shard futex table, REQUEUE, PI futexes (LOCK_PI/UNLOCK_PI/TRYLOCK_PI), robust futexes, vruntime tracking, min-vruntime SCHED_OTHER selection
P5: setpriority/getpriority, pthread_setaffinity_np, pthread_setname_np, pthread_setschedparam (Redox)
P6: Cache-affine scheduling (last_cpu + vruntime bonus), NUMA topology kernel hints + numad userspace daemon
Stability fixes: make_consistent stores 0 (dead TID fix), cond.rs error propagation, SPIN_COUNT adaptive spinning, Sys::open &str fix, PI futex CAS race, proc.rs lock ordering, barrier destroy
Patches: 33 kernel + 58 relibc patches, all tracked in recipes
Docs: KERNEL-SCHEDULER-MULTITHREAD-IMPROVEMENT-PLAN.md updated, SCHEDULER-REVIEW-FINAL.md created
Architecture: NUMA topology parsing stays userspace (numad daemon), kernel stores lightweight NumaTopology hints
2026-04-30 18:21:48 +01:00
vasilito
24289bf93f
feat: supplementary groups + credential syscalls — setgroups/getgroups/RLIMIT
...
Kernel (3 files, 32 lines):
- Context.groups: Vec<u32> — supplementary group storage
- CallerCtx.groups — exposed to schemes for access control
- Proc scheme Groups handle — auth-{fd}-groups read/write path
- Fork inheritance — new-context copies parent groups to child
Relibc (4 files, 82 insertions, 84 deletions):
- posix_setgroups()/posix_getgroups() in redox-rt sys.rs
- DynamicProcInfo.groups cache in lib.rs
- setgroups() real impl via thr_fd.dup(auth-{fd}-groups)
- getgroups() kernel-only (no /etc/group fallback)
- initgroups() functional via setgroups()
- getrlimit/setrlimit userspace stubs with defaults
Patches:
- local/patches/kernel/P4-supplementary-groups.patch
- local/patches/relibc/P4-setgroups-getgroups.patch
Docs updated:
- COMPREHENSIVE-OS-ASSESSMENT: credential blocker → RESOLVED
- KERNEL-IPC-CREDENTIAL-PLAN: marked Phases K1-K2,K4 complete
- local/AGENTS.md: credential gap section → RESOLVED
Unblocks: polkit, dbus-daemon, logind, sudo/su, redbear-authd
2026-04-30 10:08:54 +01:00
vasilito
46197a111e
feat: supplementary groups + credential syscalls — setgroups/getgroups/RLIMIT
...
Kernel (3 files, 32 lines):
- Context.groups: Vec<u32> — supplementary group storage
- CallerCtx.groups — exposed to schemes for access control
- Proc scheme Groups handle — auth-{fd}-groups read/write path
- Fork inheritance — new-context copies parent groups to child
Relibc (4 files, 82 insertions, 84 deletions):
- posix_setgroups()/posix_getgroups() in redox-rt sys.rs
- DynamicProcInfo.groups cache in lib.rs
- setgroups() real impl via thr_fd.dup(auth-{fd}-groups)
- getgroups() kernel-only (no /etc/group fallback)
- initgroups() functional via setgroups()
- getrlimit/setrlimit userspace stubs with defaults
Patches:
- local/patches/kernel/P4-supplementary-groups.patch
- local/patches/relibc/P4-setgroups-getgroups.patch
Docs updated:
- COMPREHENSIVE-OS-ASSESSMENT: credential blocker → RESOLVED
- KERNEL-IPC-CREDENTIAL-PLAN: marked Phases K1-K2,K4 complete
- local/AGENTS.md: credential gap section → RESOLVED
Unblocks: polkit, dbus-daemon, logind, sudo/su, redbear-authd
2026-04-30 10:08:54 +01:00
vasilito
8fa62d20c9
state: Qt6::Sensors + libinput both built — 2 of 3 platform prerequisites resolved
...
Platform prerequisite status:
- Qt6::Sensors: BUILT (v6.11.0, 520KB pkgar, dummy backend)
- libinput: BUILT (v1.30.2, with libevdev v1.13.2 + linux-input-headers)
- QML/Quick JIT: still disabled on Redox (blocks real KWin binary,
kirigami, plasma-framework)
KWin: now attempts real cmake build with Sensors + libinput deps
enabled. Falls back to redbear-compositor shim on cmake failure
(QML/Quick gate). Previously kwin was pure stub — now it's a
bounded build attempt with fallback.
Enabled in config (new this session):
- qt6-sensors, libevdev, libinput, kdecoration, kf6-kcmutils
Previously OOTB dependencies now resolved:
- libevdev → libinput → KWin real build path opened
- linux-input-headers → libevdev → libinput chain
- qt6-sensors → KWin Sensors dependency satisfied
2026-04-30 08:47:15 +01:00