Repository navigation
omarchy-mac: wait for J514C native graphics before SDDM - #104
Merged
Merged
Conversation
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 Signed-off-by: Marcelo Alcantara <maralc@gmail.com>
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 Signed-off-by: Marcelo Alcantara <maralc@gmail.com>
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 Signed-off-by: Marcelo Alcantara <maralc@gmail.com>
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 Signed-off-by: Marcelo Alcantara <maralc@gmail.com>
The J514C wait held every greeter for 30 s whenever the boot loader had not handed the GPU and display over: an owner opt-out, a refused check, or an m1n1 from before the J514C defaults. Wait only when the GPU node is enabled, the DCP carries the T6031 handoff marker and apple_t6031_display.enable is not off; otherwise keep the existing display wait. Signed-off-by: Marcelo Alcantara <maralc@gmail.com>
[Medium impact] The latest changes appear safe to merge. SummaryAdds a bounded native-graphics wait before SDDM on J514C/T6031 when the boot loader handed graphics over. Other Macs keep the existing display wait.
|
Take the last apple_t6031_display.enable on the command line and read it as kstrtobool does, so false, no, OFF and disable also skip the wait and a final enable=1 still waits. A J514C without a handover now exits at once instead of falling into the older 10 s display-subsystem wait. Signed-off-by: Marcelo Alcantara <maralc@gmail.com>
Strip quotes, treat a bare apple_t6031_display.enable as on, and ignore a value kstrtobool rejects, so the last valid setting decides as it does in the kernel. Signed-off-by: Marcelo Alcantara <maralc@gmail.com>
…switch Group double-quoted text, stop at --, and match - and _ alike in the switch name, so a switch quoted inside another parameter or passed to init is not taken for the kernel's. Signed-off-by: Marcelo Alcantara <maralc@gmail.com>
scottjones
approved these changes
Nov 7, 2026
scottjones
left a comment
Collaborator
There was a problem hiding this comment.
Approving. The new device-tree marker check hasn't had a packaged cold boot in our lab yet; I'd like to run that on the J514C before this reaches stable.
This was referenced Nov 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Carries Chris Kearney's #92 (J514C waits for native graphics before SDDM), with my sign-off and one fix. Chris has left the project. Authorship is kept on his four commits. Replaces #92.
aliases/gpu->/soc/gpu@40a400000with statusokay, andapple,t6031-handoffon/soc/dcp@386c00000.Version 0.2.5. Pairs with omacom/linux-aurora#363 (merged) and omacom/m1n1#31.
Evidence
apple_t6031_display.enable=0enters the 30 s wait.test/native-display-test.sh, Arch container):test/display-test.shstill passes.Merge Danger
Door: two-way
Blast Radius: J514C login
Other Macs keep the existing display wait. On a J514C the worst case is a 40 s greeter delay when a handover was made but native graphics never come up; login still proceeds.