Repository navigation
Sleep in s2idle on the MacBookPro14,3 - #14692
niconistal wants to merge 1 commit into
Conversation
S3 cannot resume the Radeon that drives the 15-inch panel. Select s2idle and keep the T1 from waking the machine. Depends on the linux-omarchy s2idle fixes in omarchy-pkgs omacom#596 and omacom#544. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
|
Additional MacBookPro14,3 evidence, including a possible missing lid-wake prerequisite on another firmware/kernel setup. This is not a test of this PR's installer or migration. Hardware: 2017 15-inch, i7-7820HQ, Radeon Pro 560, BCM43602, two Alpine Ridge domains, T1. S3 previously failed with Radeon SMU errors, so the working local path uses s2idle. With built host fixes equivalent to omacom/omarchy-pkgs#596 ( However, this unit also needed a separate EC wake-capability correction:
The subsequent slow device resume was a separate ACPICA problem; the premature closed-lid return was a separate T1-remote-wake problem. They should not be conflated with the missing EC marking. This is an additional prerequisite observed on 7.2.15-2-omarchy and the local corrected test kernel, not a claim that your tested setup has the same firmware state. I have not reproduced it on a current clean vanilla mainline kernel, and I am not proposing that an exact-release DKMS helper be shipped as the upstream fix. A separate Linux-ACPI report is being prepared to ask whether the correct solution belongs in generic no-LPS0 EC handling or a narrowly scoped quirk. I am posting this here because it may matter when assessing whether the s2idle + T1 policy is sufficient across 14,3 units. Your existing dependency warnings should remain; this result does not establish universal lid wake or low sleep power. The locally installed persistent T1 policy has not yet been retested through its automatic boot/pre-sleep path. Prepared with AI assistance from existing local firmware/source inspection, read-only metadata checks, traces and owner-confirmed visual results. No raw memory, private device identifiers, or firmware dumps are attached. |
|
@patattzel, thanks. The missing lid wake reproduces on my 14,3 with stock In one lid-closed s2idle cycle with @niconistal, this affects the description's line that the lid still wakes the machine: in my cycle on this firmware and kernel it didn't. Your omacom/omarchy-pkgs#596 test has the kernel back 0.5 s after |
|
Follow-up to my lid-wake comment above: marking the EC GPE for wake made the lid wake the machine in both cycles I tried on my 14,3. Stock I loaded a module that only calls the exported
The 7.2.15 source matches your description. For comparison, macOS appears to use S3 on this Mac (its power log reads @patattzel, are you still preparing the linux-acpi report? If so, I'd rather add this unit to it as a second data point than send a separate patch. |
|
@niconistal, a status check against the current kernel, since the description's testing was on 7.2.5. On my 14,3 with the stock kernel
So on 7.2.15 the remaining blocker looks like Thunderbolt, plus the lid wake. Given your note that every lid close in S3 ended in a forced power-off, would you consider taking this out of draft with those two limits documented, or do you still plan to wait for omacom/omarchy-pkgs#596? This is a small sample from one machine. |
|
@makoni Yes. The linux-acpi report is still a draft and has not been mailed. Please add this unit there rather than sending a separate patch. Your stock From the 7.2.15 tree, your source reading matches:
I checked current mainline ( I will fold your two comments in as the second machine, only as published:
Still not claimed: a vanilla mainline build, battery drain, or every 14,3 firmware. The open question is unchanged: generic no-LPS0 EC handling, or a narrow quirk. I am not sending the exact-release helper as the fix. If anything you want in the report is not already in those two comments, including how you want to be credited, reply here. I will not mail linux-acpi until you have had a chance to correct that, so this stays one report. |
|
The distro carry of the quirk is up, separate from the linux-acpi report: omacom/omarchy-pkgs#2472 It is the same @makoni, if you boot that kernel without the out-of-tree module, the expected line is |
|
@patattzel, your summary of my two comments is accurate; there's nothing to correct. For the report, please credit me as One addition since: a kernel built from the branch of omacom/omarchy-pkgs#2472 (a plain |
|
@makoni The summary you confirmed stands. The draft credits you as: Tested-by: Sergey Armodin [email protected] The additional cycle is included only as published on omarchy-pkgs#2472: recipe The report is still a draft and has not been mailed. No new lid cycle was run on this machine for this reply. Prepared with AI assistance from the published comments. No new hardware test. |
|
Tested on a MacBookPro14,3 (firmware Radeon +
T1 udev rule ( Migration (
|
|
@niconistal, a status update since my comments of 10 November, and a question at the end. The branch hasn't changed since 9 October.
Do you want to keep working on this PR? If you don't have the time, would you mind if I opened a follow-up based on your branch, with you credited as co-author? It would take in the points above and state plainly what still depends on the kernel. I'll wait about a week before doing that. |
|
@makoni, a correction on the first point: closing omacom/omarchy-pkgs#2472 was an accident. I deleted my fork by mistake and GitHub closed the PR with it. It's back unchanged as omacom/omarchy-pkgs#3393, same commit, so the EC GPE quirk for the lid wake is pending again. |
Problem
On a MacBookPro14,3 (15-inch 2017, Radeon Pro 555 driving the internal panel), every lid close since install ended in a forced power-off. S3 resume fails inside
amdgpu:SMU load firmware failed→amdgpu_device_ip_resume failed (-22). The panel stays black. #596 reports the same-22on another 14,3. Dunedan/mbp-2016-linux notes that the 15-inch models resume only on the Intel GPU.Change
For
MacBookPro14,3only:mem_sleep_default=s2idle button.lid_init_state=open.05ac:8600) getspower/wakeup=disabled. QT scaling #596 found it waking the machine 12–141 s into s2idle. The lid (LID0) and the keyboard (SPIT) still wake it.MacBookPro13,3has the same Radeon-on-panel design but is untested, so it stays out of the match. Widen it after the same suspend test.How this fits with the other T1 sleep PRs
8086:15d2/15d4rule was active during these tests. Its "S3 works on this firmware" holds for the 14,2, not the 14,3; see my comment there.144d:a804NVMe and didn't need them.Testing
On the MacBookPro14,3, with Omarchy 4.0.4,
linux-omarchy7.2.5 rebuilt with #596 + #544, this command line and the T1 rule:-108and no Wi-Fi probe failures. Details: linux-omarchy: MacBookPro14,3 backlight, BCM43602 D0, Thunderbolt and fan s2idle fixes omarchy-pkgs#596 (comment)./test/clipasses, andtest/shell.d/apple-radeon-s2idle-test.shpasses. I didn't run the full./test/shellsuite on this live session, because it starts Quickshell instances on the desktop.omarchy-migrate.🤖 Generated with Claude Code