Repository navigation
Description
Mac and installed build
MacBook Pro 16" M3 Pro (apple,j516s, apple,t6030). Aurora 2026.10.11.14: linux-aurora 7.1.12.aurora2-20261011.14 (running 7.1.12-2-20261011.14-sep-ARCH), m1n1-aurora 1.6.1.aurora17-5. Asahi Alarm v0.9.2 base with omarchy-mac (Hyprland 0.56.2, Aquamarine 0.15.1).
Local changes: our appledrm build with the t6030 120 Hz/early-flip/backlight patches from #31 and #32. Those touch the internal panel path only (iomfb_v14_7.c swap timing and brightness), not the external DCP or the DP2HDMI code.
Both firmware versions and provisioning
asahi,os-fw-version 14.7, asahi,system-fw-version 26.6.2.
Reproduction, expected result, and actual result
Display: iiyama ProLite PL2492H (1920x1080, 60 and 75 Hz) on the laptop's own HDMI port (2d2c00000.dcp, DP2HDMI), plain HDMI cable, no dock.
Steps: plug the monitor into HDMI, or let the compositor do a modeset on it (login, mode change). It happens on every connect and modeset I looked at today: 7, 1 and 4 drops across three boots.
Expected: the connector stays connected while the driver retries its own link setup.
Actual: the first link setup fails with -67. While the driver retries, it reports the connector as disconnected to userspace for about half a second, and then connected again:
11:46:56.410 DP2HDMI HPD irq, 500ms debounce: connected:1
11:46:57.118 HDMI display link not set up (-67): retry 1 of 3 in 1000 ms
11:46:57.307 dcp_hotplug() connected:1 valid_mode:0 nr_modes:24
11:46:57.316 display ColorElements withdrawn, 0 bytes
11:46:57.316 display TimingElements withdrawn, 0 bytes
11:46:57.318 display DisplayAttributes withdrawn, 0 bytes
11:46:57.322 dcp_hotplug() connected:0 valid_mode:0 nr_modes:24
11:46:57.529 display description incomplete (0x2); waiting before the mode is set
11:46:57.593 display description complete again
11:46:57.847 dcp_hotplug() connected:1 valid_mode:0 nr_modes:24
11:46:58.138 display retry: the display is back and set
The kernel ends up fine (the mode is set, modetest lists all 24 modes), but userspace sees a real unplug and replug. Two consequences here, both in Hyprland/Aquamarine:
- Aquamarine reconnected the output inside the gap, read
count_modes = 0, and kept a 0x0 output with no modes. The screen stayed black until I patched Aquamarine to reconnect a mode-less output once modes appear. - Later, the same flap (
15:13:48 DP2HDMI HPD irq, connected:0, thenconnected:1a second later, then anotherdisplay link not set up (-67)at 15:13:51) made Hyprland remove and re-add thewl_outputglobal while Xwayland was binding it. Xwayland exited (global wl_output (170) is unavailable), and from then on every X client hung, which eventually froze Hyprland. That part is a Hyprland race (it destroys an unbound removed global immediately), and I patched it locally, but the flap is what triggers it, and it happens on every HDMI connect on this Mac.
Graphics or session details (if relevant)
Hyprland 0.56.2 (omarchy-mac), Aquamarine 0.15.1, Xwayland 24.1.14, mesa-m3 from the .14 release.
Relevant error lines
See the sequence above. The flap always has the same shape: display link not set up (-67): retry, the firmware withdraws ColorElements/TimingElements/DisplayAttributes/Transport, dcp_hotplug() connected:0, then description complete again, dcp_hotplug() connected:1, display retry: the display is back and set.
Related issues, pull requests, or code examples
- Display routing: complete remaining board/port retests of the shipped CRTC fix #41 (display routing retests) and Software-rendered desktop: make late USB-C hotplug obtain a usable display route #39 (late USB-C hotplug) are about the external display paths, but neither covers HDMI link-retry hotplug events.
- Workarounds on our side, both in userspace: an Aquamarine change that re-reads modes for a connector that was connected without any (with aquamarine#426), and a Hyprland change that keeps removed
wl_outputglobals for 5 s before destroying them, the way wlroots does. They make the desktop survive the flap but do not stop it. - Suggestion: while the driver's own
display link not set upretry is pending, keep the connectorconnected(or don't send the hotplug event for the intermediate state), so userspace only sees the final result.
What was not tested
- Other HDMI monitors, cables or resolutions. Only this iiyama.
- Whether earlier Aurora builds behave the same.
- HDMI through a USB-C dock or adapter, as opposed to the built-in port.
- Whether the 75 Hz mode the driver picks on retry, against the 60 Hz the compositor asked for, plays a part.
Activity
chriskearney commentedon Oct 13, 2026
Thanks for the detailed report. The cause is in the kernel, and a fix is in draft #115 (branch
fix/j516s-hdmi-hold).-67: every T6030 HDMI connect returned-ENOLINKafter the link was already up, because it checked the Type-C cable flag. That queued the 1 s retry on every attach. It now checks the HDMI port's HPD.Our lab M3 Pro has no HDMI display attached, so could you run your sequence on this branch with stock aquamarine and Hyprland?
The kernel log,
udevadm monitorand the Hyprland log from that would settle it. You should see no-67, the status should never read disconnected while plugged in, and there should be no 0x0 output. Your appledrm panel patches touch other code, so they can stay.aronvandepol commentedon Oct 14, 2026
Results from the J516S on
aurora-2026.10.13.18, with appledrm built from the .18 tag plusgh pr diff 115, stock aquamarine 0.15.1-1.1 and Hyprland 0.56.2-5. HDMI display: iiyama 1920x1080 on the built-in port.display withdrawn on the HDMI port with HPD: kept connected until it is described again, no-67, no 0x0 outputkept connectedduring the re-describe, Hyprland output back about 1 s after the replugNo
-67, no modeless output and no GPU faults in the whole session.s2idle.
dcp_external_sleep_vetoed()refuses every suspend while an external display is attached:The first line is HDMI only. The USB-C refusal also came with DPMS off on every output. Our module without #115 refuses the same way, so it is not from the PR.
The comment above the check says resume does not bring an attached display back. We tested that with a module parameter that skips only the "link is up" and "attached" reasons. The start and failed-session cases still refuse:
sleep_with_display patch (dcp.c)
DPMS off, then
systemctl suspend, lid as the wake source:HDMI: setting up the output again (after system sleep), onekept connected, output back at 1920x1080 without a replug.display withdrawn on a Type-C route with HPD: kept connected, output back at 1920x1080. Onesn201202x 2-08: cd321x_interrupt: failed to read eventsat resume.No GPU or firmware faults in any of them.
Questions:
xhci-hcd.3.autoall havepower/wakeupenabled. In the .18 sources the AIC irq_chips have noirq_set_wakeand noIRQCHIP_SKIP_SET_WAKE, xhci-plat never callsenable_irq_wake, andxhci_suspend()halts the controller. Is USB wake planned, or is there a known wake path for dwc3-apple?chriskearney commentedon Oct 15, 2026
Thanks @aronvandepol, your test settled it. #115 is merged into
integration/auroraasfa2a2a70and goes out in the next release. The merged tree is the one we built and KUnit-tested locally. The review notes, with a few narrow follow-ups, are on #115.#115 doesn't cover your two sleep questions:
I've passed both on to the team to pick up separately.
chriskearney commentedon Oct 15, 2026
@aronvandepol your two sleep questions are now tracked in #121, with your runs and logs: the J516S external-display sleep veto, and USB keyboard wake.
drm/apple: t6030: don't fail an HDMI connect whose link came up
drm/apple: t6030: keep an HDMI display connected while it is describe…