Repository navigation
aurora-boot: carry the display chain and its PMP in the initramfs - #117
Merged
Merged
Conversation
On the M4 Pro the kernel's T6041 display gate enables the external display processors only once the PMP driver binds, and falls back to the internal panel 20 s into the boot. The ALARM initramfs had neither apple-pmp nor appledrm: the configured HOOKS leave out kms, so both came from the root filesystem. With an encrypted root that is only after the passphrase, and on the Alpha 17 J616s install the gate gave up at 20.45 s, apple-pmp bound at 55 s, and no external display or Type-C DP route came up for that boot. A new aurora-display initcpio hook, run before sd-encrypt, adds apple-pmp, the display crossbar and appledrm (whose dependencies bring dcp-fabric-core and typec), as Fedora's 91aurora-early-kms does with instmods appledrm. The pacman hook rebuilds the initramfs when it changes. Assisted-by: LLM Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
RyanTheTide
added a commit
that referenced
this pull request
Nov 3, 2026
Keep #117's aurora-display hook next to aurora-early-kms, both before sd-encrypt, and bump aurora-boot to 20261018-10 above main's -9. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Problem
On the Alpha 17 J616s install (encrypted root), no external display works: only
card2-eDP-1, and both dcpext nodes staydisabled.The configured HOOKS leave out
kms, soapple-pmpandappledrmonly reach the system from the root filesystem. That happens after the LUKS passphrase, which is past the kernel gate's 20 s PMP deadline. The dev install (unencrypted, DTB 225132f8) bound the PMP at 1.77 s and had DP-3. The Stage 2 DTB is the same (225132f8) in both cases, so the DTB and aura are not the cause.Fix
A new
aurora-displayinitcpio hook, run beforesd-encrypt, addsapple-pmp,mux-apple-display-crossbarandappledrm. appledrm's dependencies bring in dcp-fabric-core and typec. This matches what Fedora's91aurora-early-kmsdoes withinstmods appledrm. The pacman hook rebuilds the initramfs when the hook changes. The package release goes to 9.Tests
tests/test_initramfs_modules.py::test_display_chain_and_pmp_come_before_the_root_is_unlocked, and the fulltests/suite passes.mkinitcpio -D <hook dir> -c <conf> -g /run/..., leaving the installed initramfs untouched: the hook runs, and the image contains apple-pmp, appledrm, dcp-fabric-core, drm_dma_helper, mux-apple-display-crossbar and typec.Assisted-by: LLM
🤖 Generated with Claude Code