Repository navigation
Conversation
amdgpu SMU init fails on iMac20,1/iMac20,2 with Radeon Pro 5300/5500, so Plymouth and the kms hook blank the panel before LUKS. Persist plymouth.enable=0 nomodeset for that hardware, migrate existing installs, and document the models. Fixes omacom#12197
README.md rewritten to explain the intent of the patch, the hardware signature it targets, the pairing with omacom/omarchy#12203, the quick start, verification, and rollback procedures. AGENTS.md added so any AI coding agent that opens this repo understands the layout, the critical invariants (vermagic match, magic constants, LOCALVERSION, strip before install, backup before overwrite, safe Limine entry stays default), and what NOT to do (no upstream pushes, no direct /boot/limine.conf edits, no pacman -Syu without verifying the patch survives).
Companion repo for opt-in HW accelerationThis PR correctly defers the Navi 14 SMU bug to https://github.com/McoreD/imac20-amdgpu-patch It targets the exact hardware signature this PR detects ( Verified on the iMac20,1 used to develop this: The repo has the same review-brief structure (AGENTS.md + reviews/) that this PR demonstrates, so anyone scanning it will land in the same shape. Recommend linking it from |
|
Reviewed by Claude Opus 5.5 at 91fc171 against What ran: The open question is whether Could you say, on the current
If the stock kernel now works, the smaller change is the flags that keep acceleration, or none at all. If it still fails, One smaller finding in the migration, This is waiting on you for the answers above. The maintainer decides whether to merge. |
The rebuild was skipped when /proc/cmdline already had plymouth.enable=0 and nomodeset. Users hit by omacom#12197 type exactly those flags into the Limine editor, so if limine-mkinitcpio failed on the first run, the retry completed without rebuilding and the next unedited boot was black again. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Thanks for the review. Below are the answers from the iMac20,1 ( Is
Your questions 1 and 2:
What gives hardware acceleration here: the same flags, plus an Migration: fixed in 27ff7db. The rebuild now runs whenever the repair marker is missing, whatever the running cmdline says, so a retry after a failed One limit: this machine got its safe flags from my local tooling, not from this migration, so the on-hardware migration test is still unchecked in the test plan. |
|
|
A question for the maintainers about where the real fix should live. Today
If neither is on the table, #12203 as it stands (safe |
limine-mkinitcpio exits 0 when it skips a kernel whose build failed, so the migration could record the repair while the linux-t2 entry still lacked plymouth.enable=0 nomodeset, and later runs would skip it. Check the linux-t2 entry's cmdline in limine.conf after the rebuild and exit non-zero, leaving the migration pending, when the flags are missing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Reading the cmdline: line after the entry's path: in limine.conf assumed a layout limine-entry-tool doesn't guarantee, and could reject a good rebuild and block later migrations. Read the .cmdline section of the linux-t2 UKI with objcopy instead, as omarchy-upgrade-to-quattro does, and fail only when a UKI lacks the flags or none exists. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
For reviewers: the 4/5 in Greptile's latest summary comes from the Grok migration that can remove a separately installed |
|
Thanks for the answers and the table. Read by Claude Opus 5.5 at f09091e; no second opinion ran on this head, because the reviewer's daily allowance (Codex Medium) was already spent. The migration finding is fixed. In Why the review stops here this time. Each review needs two models to agree on what kind of change this is before it goes further, and only one could be asked today, so the classification at this head is unsettled. The full review, with tests on a worker and a second opinion, runs again once the reviewer is available. Your question about moving T2 Macs to |
|
Appreciate the thorough iMac20 Navi 14 write-up and tests. Main open question before merge is product, not code shape: this permanently adds Could this gate on a detected SMU failure / opt-in, or document it as a recovery path rather than the default install leaf? Happy either way once maintainers pick the policy. |
T2 Macs installed before the 3.x move to CUSTOM_UKI_NAME="omarchy" can still carry an unused <machine-id>_linux-t2.efi: neither that migration nor omarchy-upgrade-to-quattro removes it. It never gets the new flags, so requiring every *linux-t2.efi to carry them failed this migration on every run and blocked every later migration for that user. Check omarchy_linux-t2.efi, the image limine-mkinitcpio builds on quattro. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-Authored-By: Codex Medium <noreply@openai.com>
|
Reviewed by Claude Opus 5.5 at 4bfea61 against What ran, on a clean Omarchy worker VM: with this branch merged onto current One fix pushed, 4bfea61. Not changed: a custom What this doesn't prove. The SMU failure can't happen on a VM, so the only hardware evidence is your own boot table on the iMac20,1. The bot doesn't count a pull request author's own testing as independent confirmation, so this isn't marked Waiting on the maintainer. Whether these iMacs should get |
|
CI follow-up at Checked by GPT-6 in Codex at high effort, with Opus 5.5 High as a second opinion. Opus agreed that the evidence establishes no actionable code defect and noted that the run may have failed before starting any job. Its independence is not guaranteed. No tests ran on a worker in this follow-up, and no changes were pushed. CI remains unverified, and this stays with the maintainer alongside the boot-policy decision described in the previous review. |
Summary
The T2 installer path gives a 2020 27-inch iMac a kernel, keyboard, Wi-Fi, audio, and fans, then leaves the 5K AMD panel to stock Plymouth +
kms. On iMac20,1 / iMac20,2 with Radeon Pro 5300/5500 (Navi 14,1002:7340),amdgputakes over the EFI framebuffer and SMU init fails (hw_init of IP block <smu> failed -62). The LUKS prompt is invisible.This follows the existing hardware-quirk pattern (see
install/hardware/asus/fix-asus-ptl-b9406-display.sh):1002:7340. MacBookPro16,1 also uses that GPU as a dGPU, so the GPU ID alone is not enough.plymouth.enable=0 nomodesetin/etc/limine-entry-tool.d/imac20-display.confso Limine regenerates keep a working EFI simple-framebuffer through unlock.nomodesetis a last-resort that reaches a desktop without GPU acceleration. A lateramdgpuSMU fix can drop it. Navi 10 5700/5700 XT parts are left alone.Results on the iMac20,1 (
106b:0219) this was developed onEvery boot from 2026-09-16 to 2026-10-02, taken from
journalctl -kon the machine (rebuilt modules identified by the out-of-tree taint):msg_reg: 6,-62)linux-t2package 7.2.4, stock Omarchy cmdlinequiet splash, Plymouth,kmslinux-t2package 7.2.6.arch2-4 (6001)plymouth.enable=0 amdgpu.modeset=1 video=efifb:offDPM_UCLKenabled after initplymouth.enable=0 nomodeset(this PR)plymouth.enable=0 amdgpu.modeset=1 video=efifb:offplus anamdgpu.korebuilt from vanilla source with the deferred-UCLK patch, which replaces t2linux 6001. That needs a module rebuild, which Omarchy can't ship. It lives in https://github.com/McoreD/imac20-amdgpu-patch.EnableAllSmuFeatures. wiki#743 bisected the hang to that bit. Six clean boots on the rebuilt 6001 module don't contradict this; the samples are small. The currentlinux-t27.2.7.arch1-1 module still has 6001's mask and not the deferred-UCLK fix, so it can fail the same way.EnableAllSmuFeatures.With Omarchy's
kmshook ahead ofencrypt, amdgpu takes over the framebuffer about 3.7 s into boot, before the passphrase prompt. So on the package module, a failure blanks LUKS whatever Plymouth is set to.That is why this PR keeps
nomodesetas the default. Oncelinux-t2ships the deferred-UCLK fix, the drop-in can switch toplymouth.enable=0 video=efifb:offand keep acceleration.Fixes #12197
Test plan
bash test/shell.d/imac20-display-test.shbash test/shell.d/t2-hardware-test.sh./test/cli(metadata includesomarchy-hw-imac20-navi14)plymouth.enable=0 nomodeset, LUKS is visible and Hyprland starts on simpledrm (12 boots, table above)nomodeset