Skip to content

j516s (MacBook Pro 16" M3 Pro): Apple Studio Display hangs dcpext at 5120x2880 (DSC); non-DSC modes work #266

Open

Description

@jonfer

Description

Machine: Apple MacBook Pro (16-inch, M3 Pro, Nov 2023), apple,j516s apple,t6030
Firmware: os-fw 14.7, system-fw 27.0, iBoot1 mBoot-20457.1.29, iBoot2 iBoot-10151.140.19.700.2, ACIO AppleCIOFirmware-480~8882
Build: Omarchy 4.0.0.r7396, linux-aurora 7.2.11.aurora9-1 (7.2.11-9-1-ARCH), m1n1-aurora 1.6.1.aurora22-1, uboot-aurora 2026.07.aurora4-1, omarchy-aurora-firmware 20261014-7, mesa-aurora 26.3.0_devel.20261028, Hyprland 0.56.2
Thunderbolt: Apple Studio Display connected directly with its Thunderbolt cable (TB3, 2 lanes × 20 Gb/s, authorized by boltd), no dock. Only the port on 701ac0000.cio / dpin0 tested.
appledrm parameters: defaults (tiled_split=Y, dcpext_pageflip=N, dcpext_probe=N, unstable_edid=Y, typec_follow_crtc=Y)

The firmware publishes five modes for the display: 5120x2880, 3840x2160, 2560x2880, 2560x1440 and 1920x1080, all at 60 Hz. The compositor picks the preferred 5120x2880 on hotplug. For that mode the external DCP firmware chooses DSC=YES link: 1. About 5 s later swap_start (0x41343037, A407) times out, the DPTX remote port stops answering, and the driver releases the link with "no retry until reboot". After that the display stays dark for the rest of the boot. The modes that need no DSC work on the same port.

What worked

  • Thunderbolt link (Gen2 lanes in CL0), PCIe tunnel and USB through the display: camera (uvcvideo 05ac:1114) and HID sensors enumerate.
  • 2560x1440@60 (237.6 MHz) and 3840x2160@60 (529.19 MHz): both log DSC=NO, both display correctly and keep working across unplug/replug. Workaround: pin the compositor to 3840x2160@60.
  • After one dcpext hung (2d6c00000), a suspend/resume brought the display up on the other dcpext (2d2c00000) at 2560x1440.

What did not / limits observed

  • 5120x2880@60 (936 MHz, timing 43, color 48) hangs every time. Reproduced 3 times:
    • at login on two separate boots, on dcpext 2d6c00000;
    • once at runtime (compositor mode change from 3840x2160) on dcpext 2d2c00000.
      So the hang is not tied to one DCP.
  • ERROR: Modeset done, but pipe not enabled: fSoftPowerState=0, fDisplayPowerState=0, fHardPowerState=1 is logged on the first mode_set_gated for every mode, including the working ones. It may be a red herring. The difference is DSC=YES followed by the swap_start timeout.
  • The driver reports DPTXPort: port 0 carries tile (0,0) of a 2x1 tiled 5120x2880 display, but only one DP tunnel (dpin0) is built. The second tile never shows up (DP-2 stays disconnected), so the firmware takes the single-stream DSC path rather than two uncompressed tiles. This looks related to thunderbolt: share an Apple host link between DP tunnels that come up together #154 and to the "dual-stream 5K" limit in the release notes, but on T6030 the DSC path itself also hangs.
  • set_active_lane_count: unexpected lane count:4 phy: 0 on every attach (5K or not).

Not tested

Logs

# at login, compositor sets the preferred mode on hotplug (dcpext 2d6c00000)
$ journalctl -k -b -o short-precise | grep -E '<display/dcp filter>'
Oct 28 20:11:47.725841 kernel: thunderbolt 0-1: Apple Inc. Studio Display
Oct 28 20:11:48.069064 kernel: thunderbolt-apple-acio 701ac0000.cio: dpin0: waiting for display driver/firmware readiness
Oct 28 20:11:49.581997 kernel: apple-dcp 2d6c00000.dcp: display routed to Thunderbolt DP tunnel dpin0
Oct 28 20:11:49.583117 kernel: apple-display-crossbar 70304c000.mux: dpin0: T602X route 2, clocks disabled
Oct 28 20:11:49.644181 kernel: apple-dcp 2d6c00000.dcp: DPTXPort: port 0 carries tile (0,0) of a 2x1 tiled 5120x2880 display
Oct 28 20:11:49.659642 kernel: apple-dcp 2d6c00000.dcp: set_active_lane_count: unexpected lane count:4 phy: 0
Oct 28 20:11:50.013464 kernel: apple-dcp 2d6c00000.dcp: nifiedPipeline.cpp:9068: IOMFBStatus UnifiedPipeline::mode_set_gated(uint32_t, uint32_t): 5120x2880@60 Hz DSC=YES VRR=NO link: 1
Oct 28 20:11:50.013582 kernel: apple-dcp 2d6c00000.dcp: nifiedPipeline.cpp:9486: ERROR: Modeset done, but pipe not enabled: fSoftPowerState=0, fDisplayPowerState=0, fHardPowerState=1
Oct 28 20:11:50.038463 kernel: apple-dcp 2d6c00000.dcp: display mode "5120x2880": 60 936000 5120 5128 5160 5200 2880 2986 2994 3000 0x48 0x0 (timing 43, color 48): 0
Oct 28 20:11:50.039472 kernel: apple-dcp 2d6c00000.dcp: nifiedPipeline.cpp:9068: IOMFBStatus UnifiedPipeline::mode_set_gated(uint32_t, uint32_t): 5120x2880@60 Hz DSC=YES VRR=NO link: 1
Oct 28 20:11:55.262222 kernel: apple-dcp 2d6c00000.dcp: DCP call 0x41343037 failed: -110; recovery requires a reboot
Oct 28 20:11:55.262597 kernel: apple-dcp 2d6c00000.dcp: native DCP flip failed -110; buffers pinned until reboot
Oct 28 20:11:55.264482 kernel: apple-dcp 2d6c00000.dcp: external display session stopped: its display is reported disconnected
Oct 28 20:11:56.349889 kernel: apple-dcp 2d6c00000.dcp: AFK timeout channel=1 tag=0x400 TX r/w=0x1940/0x1940 RX r/w=0x1bc0/0x1bc0 running=1 crashed=0
Oct 28 20:11:56.350485 kernel: apple-dcp 2d6c00000.dcp: failed to deassert Type-C DPTX HPD: -110
Oct 28 20:11:57.374881 kernel: apple-dcp 2d6c00000.dcp: AFK timeout channel=1 tag=0x501 TX r/w=0x19c0/0x19c0 RX r/w=0x1bc0/0x1bc0 running=1 crashed=0
Oct 28 20:11:57.375478 kernel: apple-dcp 2d6c00000.dcp: display link released with an HPD error (-110): the external display processor stopped; no retry until reboot
# replug with the compositor pinned to 2560x1440, then 3840x2160, then a runtime switch to 5120x2880 (dcpext 2d2c00000)
$ journalctl -k -b -o short-precise | grep -E '<display/dcp filter>'
Oct 28 20:24:32.979425 kernel: thunderbolt 0-1: Apple Inc. Studio Display
Oct 28 20:24:33.323364 kernel: apple-dcp 2d2c00000.dcp: display routed to Thunderbolt DP tunnel dpin0
Oct 28 20:24:33.376493 kernel: apple-dcp 2d2c00000.dcp: DPTXPort: port 0 carries tile (0,0) of a 2x1 tiled 5120x2880 display
Oct 28 20:24:33.391681 kernel: apple-dcp 2d2c00000.dcp: set_active_lane_count: unexpected lane count:4 phy: 0
Oct 28 20:24:33.756353 kernel: apple-dcp 2d2c00000.dcp: nifiedPipeline.cpp:9068: IOMFBStatus UnifiedPipeline::mode_set_gated(uint32_t, uint32_t): 2560x1440@60 Hz DSC=NO VRR=NO link: 1
Oct 28 20:24:33.757115 kernel: apple-dcp 2d2c00000.dcp: nifiedPipeline.cpp:9486: ERROR: Modeset done, but pipe not enabled: fSoftPowerState=0, fDisplayPowerState=0, fHardPowerState=1
Oct 28 20:24:33.800228 kernel: apple-dcp 2d2c00000.dcp: display mode "2560x1440": 60 237600 2560 2568 2600 2640 1440 1486 1494 1500 0x40 0x0 (timing 38, color 48): 0
Oct 28 20:24:33.802144 kernel: apple-dcp 2d2c00000.dcp: nifiedPipeline.cpp:9068: IOMFBStatus UnifiedPipeline::mode_set_gated(uint32_t, uint32_t): 2560x1440@60 Hz DSC=NO VRR=NO link: 1
Oct 28 20:24:41.189881 kernel: apple-dcp 2d2c00000.dcp: nifiedPipeline.cpp:9068: IOMFBStatus UnifiedPipeline::mode_set_gated(uint32_t, uint32_t): 3840x2160@59 Hz DSC=NO VRR=NO link: 1
Oct 28 20:24:41.190495 kernel: apple-dcp 2d2c00000.dcp: nifiedPipeline.cpp:9486: ERROR: Modeset done, but pipe not enabled: fSoftPowerState=0, fDisplayPowerState=0, fHardPowerState=1
Oct 28 20:24:41.233277 kernel: apple-dcp 2d2c00000.dcp: display mode "3840x2160": 60 529190 3840 3848 3880 3920 2160 2172 2180 2250 0x40 0x0 (timing 37, color 48): 0
Oct 28 20:24:41.234433 kernel: apple-dcp 2d2c00000.dcp: nifiedPipeline.cpp:9068: IOMFBStatus UnifiedPipeline::mode_set_gated(uint32_t, uint32_t): 3840x2160@59 Hz DSC=NO VRR=NO link: 1
Oct 28 20:26:40.928237 kernel: apple-dcp 2d2c00000.dcp: nifiedPipeline.cpp:9068: IOMFBStatus UnifiedPipeline::mode_set_gated(uint32_t, uint32_t): 5120x2880@60 Hz DSC=YES VRR=NO link: 1
Oct 28 20:26:40.928884 kernel: apple-dcp 2d2c00000.dcp: nifiedPipeline.cpp:9486: ERROR: Modeset done, but pipe not enabled: fSoftPowerState=0, fDisplayPowerState=0, fHardPowerState=1
Oct 28 20:26:40.956392 kernel: apple-dcp 2d2c00000.dcp: display mode "5120x2880": 60 936000 5120 5128 5160 5200 2880 2986 2994 3000 0x48 0x0 (timing 43, color 48): 0
Oct 28 20:26:40.958160 kernel: apple-dcp 2d2c00000.dcp: nifiedPipeline.cpp:9068: IOMFBStatus UnifiedPipeline::mode_set_gated(uint32_t, uint32_t): 5120x2880@60 Hz DSC=YES VRR=NO link: 1
Oct 28 20:26:46.367844 kernel: apple-dcp 2d2c00000.dcp: DCP call 0x41343037 failed: -110; recovery requires a reboot
Oct 28 20:26:46.367922 kernel: apple-dcp 2d2c00000.dcp: external display session stopped: its display is reported disconnected
Oct 28 20:26:46.368061 kernel: apple-dcp 2d2c00000.dcp: native DCP flip failed -110; buffers pinned until reboot
Oct 28 20:26:47.456158 kernel: apple-dcp 2d2c00000.dcp: AFK timeout channel=1 tag=0xa00 TX r/w=0xac0/0xac0 RX r/w=0xd40/0xd40 running=1 crashed=0
Oct 28 20:26:47.457012 kernel: apple-dcp 2d2c00000.dcp: failed to deassert Type-C DPTX HPD: -110
Oct 28 20:26:48.479775 kernel: apple-dcp 2d2c00000.dcp: AFK timeout channel=1 tag=0xb01 TX r/w=0xb40/0xb40 RX r/w=0xd40/0xd40 running=1 crashed=0
Oct 28 20:26:48.480051 kernel: apple-dcp 2d2c00000.dcp: display link released with an HPD error (-110): the external display processor stopped; no retry until reboot

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions