Skip to content

omarchy-mac: wait for J514C graphics before SDDM - #92

Closed
chriskearney wants to merge 4 commits into
omacom:mainfrom
chriskearney:chris/j514c-sddm-readiness-20261105
Closed

chriskearney wants to merge 4 commits into
omacom:mainfrom
chriskearney:chris/j514c-sddm-readiness-20261105

Conversation

@chriskearney

@chriskearney chriskearney commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

On the J514C/T6031 native graphics path, SDDM can open the login VT before native DRM replaces the boot framebuffer. The first autologin session then receives SIGTERM before its compositor starts. A later SDDM restart succeeds. The existing omarchy-mac/lib/wait-for-display watches the older display-subsystem by-path entry and misses this handoff.

Extend that existing helper, behind the Apple Silicon predicate and exact J514C/T6031 checks, without an enable parameter. Wait for an apple-drm card and an asahi-g15 render device for at most 30 seconds, settle udev for at most 10 seconds, and recheck. Other Macs retain the existing display wait. Timeout and settle failures never fail the greeter; the helper enables no driver, changes no owner settings, and starts or restarts no service. Bump the candidate package to 0.2.5 and document the normal automatic-login ordering without changing channel or release metadata.

The first commit isolates the existing speaker-recovery fixture from the host's optional Steam packages: that fixture previously reached the real pacman when Steam happened to be installed.

Validation:

  • The new staged-helper fixture tests pass: platform/board/SoC gates and a normal boot without an enable parameter, simpledrm rejection, native driver and render-device checks, late readiness, nonfatal settle failure and a real bounded missing-GPU timeout.

  • Existing display tests pass, preserving the previous non-J514C path. Bash syntax and git diff --check pass.

  • omarchy-mac/test/all now passes. The earlier systemd-261 failure reproduced on the untouched base: two staged Touch ID roots omitted sysinit.target. A separate fixture-only commit supplies that required unit, retaining the real systemd verification and all Touch ID assertions. Production Touch ID code is unchanged.

  • A separate target-local prototype passed installed-package and normal automatic-login checks on the full 40-core J514C, paired with linux-aurora#363 and m1n1#23. This packaged Bash implementation has fixture evidence only. The live target was not changed for this PR, and package cold-boot qualification is still required before release.

This is a draft follow-up for the SDDM fix identified in the kernel review; it does not promote a channel or release new GPU packages.

Current head 00ee010 includes the fixture correction. Native graphics and this readiness wait start automatically for the exact board, without kernel-command-line gating.

The live speaker-recovery fixture calls the staged system setup, which also checks optional Steam packages. Stub pacman in that fixture so an installed host Steam cannot invoke a real package transaction or make the test machine-dependent. This changes no runtime code.

Assisted-by: Codex:GPT-6
J514C native DRM can replace the boot framebuffer after SDDM has opened the login VT, terminating the first autologin session. The existing helper watches the older display-subsystem by-path name and misses this handoff.

For exact J514C/T6031 boots with the effective bring-up parameter equal to 1, wait at most 30 seconds for an apple-drm card plus an asahi-g15 render device, settle device events for at most 10 seconds and recheck. Other boots retain their existing display wait. Timeouts never fail the greeter, and no driver, owner setting or service is enabled or restarted.

A target-local prototype passed installed and ordinary automatic-login checks on the bring-up hardware. This packaged implementation has fixture evidence only; cold-boot package qualification remains required before release. Keep the experimental board outside general support.

Assisted-by: Codex:GPT-6
Normal J514C bring-up must start graphics and login without an enable parameter. Gate the readiness wait only on Apple Silicon and exact J514C/T6031 identity, matching the normal kernel and Stage2 defaults. Remove kernel-command-line parsing from the helper and document the automatic behavior.

The staged helper tests cover a normal empty command line, exact board/SoC exclusion, native DRM identities, late readiness, settle failure and a bounded missing-GPU timeout. The full package suite reaches the same inherited systemd261 Touch ID fixture failure reproduced on its unchanged base.

Assisted-by: Codex:GPT-6
@chriskearney chriskearney changed the title omarchy-mac: wait for opted-in J514C graphics before SDDM omarchy-mac: wait for J514C graphics before SDDM Nov 5, 2026
The Touch ID unit-verification fixtures fail under systemd 261 because their isolated roots omit sysinit.target, which service default dependencies require. The same missing-target failure occurs on the untouched readiness base before the T6034 change.

Stage the minimal boot target through a shared fixture helper before the real systemd-analyze verification in both Touch ID suites. Keep production Touch ID behavior, unit files, verification commands and assertions unchanged.

The complete omarchy-mac package suite now passes on the controller, including native graphics readiness and both real staged-root Touch ID unit checks. No verification is skipped or ignored.

Assisted-by: Codex:GPT-6
@maralcbr

maralcbr commented Nov 7, 2026

Copy link
Copy Markdown
Member

Carried as #104, now merged. It adds one fix: the J514C wait runs only when the boot loader handed the GPU and display over.

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.

2 participants