Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

M2 Mac mini: DCP dies on waking from s2idle #332

Open
chadmed opened this issue Oct 10, 2024 · 2 comments
Open

M2 Mac mini: DCP dies on waking from s2idle #332

chadmed opened this issue Oct 10, 2024 · 2 comments

Comments

@chadmed
Copy link

chadmed commented Oct 10, 2024

asahi-diagnose-20241010-192429.txt

FAR 40, standard M2 mini connected to an AOC 1440p144 monitor. Tested with SFW 13.x and 15.x

Steps to reproduce:

  1. Boot into FAR 40
  2. Put machine into s2idle
  3. Attempt to wake machine from s2idle

Expected behaviour: machine wakes up and monitor turns back on

Observed behaviour: machine wakes up, but DCP dies. Rest of machine remains responsive, but monitor never comes back on even when re-plugged.

@chadmed
Copy link
Author

chadmed commented Oct 10, 2024

Monitor's EDID

@chadmed
Copy link
Author

chadmed commented Oct 10, 2024

Seemingly relevant kernel log after waking from s2idle

Oct 10 18:58:37 REDACTED kernel: apple-dcp 271c00000.dcp: DP2HDMI HPD irq, connected:1
Oct 10 18:58:37 REDACTED kernel: apple-dcp 271c00000.dcp: resume: HPD connected:1
Oct 10 18:58:37 REDACTED kernel: apple-dcp 271c00000.dcp: dcp_dptx_connect(port=0)
Oct 10 18:58:37 REDACTED kernel: apple-dcp 271c00000.dcp: RTKit: syslog message: AppleDCPDPTX.cpp:355: [AFK]powering nub 0x871140
Oct 10 18:58:37 REDACTED kernel: usb 3-1: reset full-speed USB device number 2 using xhci-hcd
Oct 10 18:58:37 REDACTED kernel: apple-dcp 271c00000.dcp: DP2HDMI HPD irq, 500ms debounce: connected:1
Oct 10 18:58:37 REDACTED kernel: apple-dcp 271c00000.dcp: dcp_dptx_connect(port=0)
Oct 10 18:58:37 REDACTED kernel: apple-dcp 271c00000.dcp: dcp_poweron: DP2HDMI HPD connected:1
Oct 10 18:58:37 REDACTED kernel: apple-dcp 271c00000.dcp: dcp_dptx_connect(port=0)
Oct 10 18:58:37 REDACTED kernel: apple-dcp 271c00000.dcp: dcp_poweron() starting
Oct 10 18:58:37 REDACTED kernel: apple-dcp 271c00000.dcp: RTKit: syslog message: FramebufferDCP.cpp:5931: IOMFBParameter_adaptive_sync Req minRR = 0x0, mediaTargetRate = 0x0, Fractional Rate = 0
Oct 10 18:58:37 REDACTED kernel: apple-dcp 271c00000.dcp: set_digital_out_mode(color:87 timing:83) "2560x1440": 144 592000 2560 2568 2600 2666 1440 1465 1473 1543 0x40 0x0
Oct 10 18:58:37 REDACTED kernel: apple-dcp 271c00000.dcp: set_digital_out_mode() color mode depth:8 format:0 colorimetry:10 eotf:0 range:0
Oct 10 18:58:37 REDACTED kernel: apple-dcp 271c00000.dcp: RTKit: syslog message: nifiedPipeline.cpp:7462: set_digital_out_mode: Modeset requested for colorID: 87, timingID: 83
Oct 10 18:58:37 REDACTED kernel: apple-dcp 271c00000.dcp: RTKit: syslog message: PPipeDCP_H13P.cpp:18011: Dual pipe disabled offset 0
Oct 10 18:58:37 REDACTED kernel: apple-dcp 271c00000.dcp: RTKit: syslog message: nifiedPipeline.cpp:7700: set_mode: timingID: 83 colorID: 87
Oct 10 18:58:37 REDACTED kernel: apple-dcp 271c00000.dcp: RTKit: syslog message: oInterfaceIOAV.cpp:1211: auto VideoInterfaceIOAV::set_mode(uint32_t, uint32_t, uint32_t *, uint32_t *, IOAVArray *, IOAVArray *)::(anonymous class)::ope
Oct 10 18:58:37 REDACTED kernel: apple-dcp 271c00000.dcp: RTKit: syslog message: nifiedPipeline.cpp:7739: setmode failed
Oct 10 18:58:37 REDACTED kernel: apple-dcp 271c00000.dcp: RTKit: syslog message: nifiedPipeline.cpp:7758: ERROR: Modeset done, but pipe not enabled: fSoftPowerState=1, fDisplayPowerState=0, fHardPowerState=1
Oct 10 18:58:37 REDACTED kernel: apple-dcp 271c00000.dcp: RTKit: syslog message: nifiedPipeline.cpp:7465: set_digital_out_mode returned 80000104
Oct 10 18:58:37 REDACTED kernel: apple-dcp 271c00000.dcp: set_digital_out_mode finished:8299
Oct 10 18:58:37 REDACTED kernel: PM: resume devices took 1.727 seconds
Oct 10 18:58:37 REDACTED kernel: OOM killer enabled.
Oct 10 18:58:37 REDACTED kernel: Restarting tasks ... done.
Oct 10 18:58:37 REDACTED kernel: random: crng reseeded on system resumption
Oct 10 18:58:37 REDACTED kernel: PM: suspend exit
Oct 10 18:58:37 REDACTED kernel: apple-dcp 271c00000.dcp: crtc_atomic_check: disconnected but no modeset

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant