Skip to content

fix(os): scope VirtualBox cursor workaround and rebind Wayland services - #283

Closed
MichaelWave369 wants to merge 2 commits into
docs/source-delivery-qualificationfrom
fix/virtualbox-session-compat
Closed

MichaelWave369 wants to merge 2 commits into
docs/source-delivery-qualificationfrom
fix/virtualbox-session-compat

Conversation

@MichaelWave369

@MichaelWave369 MichaelWave369 commented Oct 1, 2026 •

Copy link
Copy Markdown
Owner

VirtualBox VMSVGA on Windows 11 Home rendered the existing qualified PhiOS alpha after enabling 3D, but its cursor remained invisible until WLR_NO_HARDWARE_CURSORS=1. A newly launched Wayfire session also left already-running browser/panel services on the previous display. This draft scopes the cursor override to detected VirtualBox/VMSVGA and rebinds active services after importing the compositor environment.

The wrapper requires successful systemd-detect-virt --vm identification as oracle plus a sysfs 15ad:0405 display-class PCI device before setting the cursor variable. Other/missing/failed detection leaves the environment unchanged. The ready hook validates the Wayland socket, imports its runtime/display/desktop environment into user systemd/D-Bus, clears stale absent Xwayland DISPLAY, then stops/starts the existing session target. PhiShell package release advances to 0.16.0-3; the OS stays 0.1.0-alpha.1 and authority/release semantics remain unchanged. Host 3D acceleration remains an operator VM setting.

Stack: #280 → #281 → #282 → this draft. Base docs/source-delivery-qualification remains 3670a490b8698e64b31d5d369017156402c01fd2. Existing candidate heads, ISO identities and qualification receipts remain intact.

docs/os/evidence/virtualbox-field-1c16c473.json and VIRTUALBOX_COMPATIBILITY.md preserve the owner's exact #281/head 3d282bdd6466052def8e632245f312863040cafc, qualified source 1c16c4732442d69d2c7b5763212f1977860a15ae, original ISO 376fd601f66b13dccd6a08644a7b807129f315882d355fd376d0934a80ae29aa, full settings, initial 3D-off EGL/renderer failure, invisible cursor, manual cursor/target-restart sequence and successful interaction. Both supplied screenshot digests and the later cold-boot TDX/vmwgfx warning messages are retained; the images are not uploaded publicly. Exact VirtualBox version/raw service logs were not supplied, and a cold boot continuing does not prove persistence of the manual cursor environment.

Validation:

  • 76 focused checks passed, including 28 new shell compatibility/refusal/ordering cases and six manager-environment parser/refusal cases; focused Ruff, Bash syntax and diff checks passed.
  • Qualification run 36916494462 passed all nine jobs, including the aggregate release-gate, 2,358 Python tests with six existing optional skips, Ruff/mypy, wheel/vector/ledger/PhiShell and both exact image lanes.
  • Reviewed head: d1a4a2bc515907d1011b6aa1c2a203acc200cad8; tested prospective source: 9510024d06d822729bd98579fefb6644ca0498c0; identical tree: 0dd0e998671105174b4bf2918a00ca06ac68f44a.
  • The normal ISO passed two distinct fixture-free live boots, actual PAM locking/refusal/unlock, complete logout/reauthentication, and both new rebinding observations: contaminate the manager's display variables, connect to the compositor socket, invoke the packaged ready hook, and require individually active replacement Chromium/Waybar processes after environment import. The same normal ISO passed production-command installation, three disk-only boots, durable data/proof and matched root/EFI recovery.
  • The separate QA ISO passed live/reboot/install/recovery and its ephemeral signed-package/refusal/interruption cases. It does not qualify a real maintainer-signed release transition.
  • Both compact evidence ZIP digests were independently checked: 57 normal / 51 QA metadata file hashes and sizes, 15 available SHA256SUMS payloads each, and source/ISO consistency. Normal recovery and wrong-password screenshots were visually inspected. Large ISO/package/source/notice archives were not redownloaded; their identities remain producer hashes.

Exact new normal artifact for the owner's VirtualBox retest:

  • Normal ISO and payloads, expires 2026-10-08.
  • ISO SHA-256: 33bfb34251d7f65abe7f8a9d600c21794d051640a305d50c1bca9b21364c2c68.
  • Normal compact evidence, ZIP SHA-256 1fd270906735df097194500dc13d01047a98529f3278c05858731b23bb8cd2d6.
  • Separate QA compact evidence, ZIP SHA-256 a2df96771ec0af3825ee49ef2be2701948bcd8923184f3cdc38d6fc9db04cb5a; QA ISO producer SHA-256 91679d427c427c53e36438887492c89b6cf09814f69c689280f540473adf085c.

The first follow-up run 36913191826, source 146e470f6d9ee0e5ff8700cf3fab5e779c9ddacd / tree e2df371c387b2a6b5ea87fb2177122f29d285679, failed the added normal probe with no supervised desktop environment available for rebinding; installation/recovery was skipped. The screenshot renders PhiShell/Waybar, but that does not qualify a failed gate. The first probe omitted which PID/environment predicate failed. Its normal ISO producer SHA-256 is f544ce35f4ae09ecf67b18f19b079a94489c65f10a8bd8cd74a8f3626c2abab2; its independently checked compact ZIP digest, screenshot/serial identities and exception remain in virtualbox-compatibility-attempts.json. Its QA lane passed and aggregate gate correctly failed. The subsequent repair changed only qualification observation/diagnostics: explicit shell-quoted manager display state and individually active named replacement processes. Production cursor/session behavior stayed unchanged.

The owner subsequently supplied a local Windows VirtualBox report for this exact new normal ISO, retaining VMSVGA/128 MB/3D on. It reports the full ISO hash match before boot, graphical greeter/login, automatic PhiShell/Waybar and visible functional cursor, plus a complete ACPI power-off/cold-start cycle, with no manual environment export or session-target restart. Documentation-only draft #285 preserves the original report digest, bounded source/ISO binding and all exceptions without changing this qualified head. These are owner-supplied local desktop Codex GPT-5.6 observations; this review did not operate the VM, independently hash its local ISO or receive raw guest logs/screenshots/command transcripts. Exact VirtualBox version was not supplied.

Super+L produced a blank screen and VirtualBox wrong-password refusal/PAM unlock remain untested; fresh greeter login after session termination is not a successful lock/unlock test. The reported live-account sudo poweroff refusal and unavailable Secure Boot disable are retained. ACPI shutdown succeeded without widening sudo/logind/PolicyKit authority. QEMU locking and rebinding do not replace the missing VirtualBox lock check. Skytech/RTX 5070 physical tests, actual maintainer signing and delivery/release review remain separate. This PR stays draft; no merge, tag, publication, adapter promotion or physical-support claim follows from these results.

Copy link
Copy Markdown
Owner Author

Superseded by merged consolidation PR #291.

The reviewed implementation/evidence lineage is preserved on main at merge commit 81103bbfeb59b0864b97e5bd64935730d301f349.
This closure is repository cleanup only and does not change any preserved release, publication, hardware, signing, source/license, or field-test holds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant