Contribute
Register

[Success] ASRock Z390 Phantom Gaming-ITX + TB3 + iGPU + Mojave + SFF Build

Which method are you using ? SSDT or Firmware patch ?
The same as @fangf2018 , I use SSDT method. Don't know the relationship of enabling TB and the KP. But the error code can be traced to this article but I can not duplicate the process as the article mentioned.
 

Attachments

  • SSDT-TbtOnPch_PINI.aml.zip
    2.5 KB · Views: 91
  • SSDT-TbtOnPch.aml.zip
    2.8 KB · Views: 92
  • KP info.zip
    26.5 KB · Views: 87
I don't have an answer to this - I think we need someone to improve the SSDT. The KP's seem to be happening with an external GPU. With the internal GPU only setup - no KP's were reported
 
Time stamp Domain Message Duration Delay
========== ====== ======= ======== =====
UUID: (null)
2020-05-19 21:34:22 +0800 Start powerd process is started
2020-05-19 21:34:22 +0800 Assertions Summary- [System: No Assertions] Using AC
2020-05-19 21:34:22 +0800 Assertions PID 184(fsck_apfs) Created PreventUserIdleDisplaySleep "Running FSCK" 00:00:00 id:0x0x500008002 [System: PrevDisp BGTask kDisp]
2020-05-19 21:34:22 +0800 Assertions PID 83(powerd) Created InternalPreventDisplaySleep "com.apple.powermanagement.delayDisplayOff" 00:00:00 id:0x0x1000008003 [System: PrevDisp BGTask IntPrevDisp kDisp]
2020-05-19 21:34:22 +0800 Assertions PID 184(fsck_apfs) Released PreventUserIdleDisplaySleep "Running FSCK" 00:00:00 id:0x0x500008002 [System: BGTask IntPrevDisp kDisp]
2020-05-19 21:34:22 +0800 Assertions PID 203(fsck_apfs) Created PreventUserIdleDisplaySleep "Running FSCK" 00:00:00 id:0x0x500008004 [System: PrevDisp BGTask IntPrevDisp kDisp]
2020-05-19 21:34:22 +0800 Assertions PID 203(fsck_apfs) Released PreventUserIdleDisplaySleep "Running FSCK" 00:00:00 id:0x0x500008004 [System: BGTask IntPrevDisp kDisp]
2020-05-19 21:34:22 +0800 Assertions PID 219(fsck_apfs) Created PreventUserIdleDisplaySleep "Running FSCK" 00:00:00 id:0x0x500008005 [System: PrevDisp BGTask IntPrevDisp kDisp]
2020-05-19 21:34:22 +0800 Assertions PID 219(fsck_apfs) Released PreventUserIdleDisplaySleep "Running FSCK" 00:00:00 id:0x0x500008005 [System: BGTask IntPrevDisp kDisp]
2020-05-19 21:34:22 +0800 Assertions PID 233(fsck_apfs) Created PreventUserIdleDisplaySleep "Running FSCK" 00:00:00 id:0x0x500008006 [System: PrevDisp BGTask IntPrevDisp kDisp]
2020-05-19 21:34:22 +0800 Assertions PID 233(fsck_apfs) Released PreventUserIdleDisplaySleep "Running FSCK" 00:00:00 id:0x0x500008006 [System: BGTask IntPrevDisp kDisp]
2020-05-19 21:34:22 +0800 Assertions PID 246(fsck_apfs) Created PreventUserIdleDisplaySleep "Running FSCK" 00:00:00 id:0x0x500008007 [System: PrevDisp BGTask IntPrevDisp kDisp]
2020-05-19 21:34:22 +0800 Assertions PID 246(fsck_apfs) Released PreventUserIdleDisplaySleep "Running FSCK" 00:00:00 id:0x0x500008007 [System: BGTask IntPrevDisp kDisp]
2020-05-19 21:34:22 +0800 ShutdownCause SMC shutdown cause: 5: Software initiated shutdown
2020-05-19 21:34:22 +0800 HibernateStats hibmode=0 standbydelaylow=0 standbydelayhigh=0 0
Sleep/Wakes since boot at 2020-05-19 21:34:22 +0800 :0 Dark Wake Count in this sleep cycle:0

Time stamp Domain Message Duration Delay
========== ====== ======= ======== =====
UUID: Unknown UUID
2020-05-19 21:34:22 +0800 Sleep Entering Sleep state due to '': Using AC (Charge:0%)
2020-05-19 21:34:22 +0800 Failure Failure during wake: PEG0(),GFX0(),RP21(AppleThunderboltHAL XHC2),HDAS(),GLAN() : Some drivers failed to handle setPowerState panic
2020-05-19 21:34:22 +0800 Assertions Kernel Idle sleep preventers: IODisplayWrangler
2020-05-19 21:34:32 +0800 Assertions PID 127(hidd) Created UserIsActive "com.apple.iohideventsystem.queue.tickle serviceID:10000051c name:AppleUserHIDEventSe product:USB Keyboard eventType:3" 00:00:00 id:0x0x9000080b4 [System: DeclUser BGTask IntPrevDisp kDisp]

2020-05-19 21:34:54 +0800 : Showing all currently held IOKit power assertions
Assertion status system-wide:
BackgroundTask 1
ApplePushServiceTask 0
UserIsActive 1
PreventUserIdleDisplaySleep 0
InteractivePushServiceTask 1
PreventSystemSleep 0
ExternalMedia 0
InternalPreventDisplaySleep 1
PreventUserIdleSystemSleep 0
NetworkClientActive 0
Listed by owning process:
pid 97(mds): [0x00000013000b8009] 00:00:29 BackgroundTask named: "com.apple.metadata.mds.power"
pid 618(mds_stores): [0x00000014000b800a] 00:00:29 BackgroundTask named: "com.apple.metadata.mds_stores.power"
pid 83(powerd): [0x0000001000108003] 00:00:00 InternalPreventDisplaySleep named: "com.apple.powermanagement.delayDisplayOff"
Timeout will fire in 300 secs Action=TimeoutActionTurnOff
pid 127(hidd): [0x00000019000980b4] 00:00:00 UserIsActive named: "com.apple.iohideventsystem.queue.tickle serviceID:10000051e name:AppleUserHIDEventSe product:USB Receiver eventType:17"
Timeout will fire in 900 secs Action=TimeoutActionRelease
pid 106(apsd): [0x0000002a00128195] 00:00:05 InteractivePushServiceTask named: "com.apple.apsd-recreatecourierstate-sandbox.push.apple.com"
Timeout will fire in 86394 secs Action=TimeoutActionTurnOff
pid 106(apsd): [0x0000002d001281d2] 00:00:01 InteractivePushServiceTask named: "com.apple.apsd-recreatecourierstate-push.apple.com"
Timeout will fire in 86398 secs Action=TimeoutActionTurnOff
Kernel Assertions: 0x4=USB
id=502 level=255 0x4=USB mod= description=com.apple.usb.externaldevice.14300000 owner=USB Keyboard
Idle sleep preventers: IODisplayWrangler
 
You can try injecting the DROM and UUID in the SSDT and see if that helps. Look at my post earlier
 
I guess I'm confused here. I am using an external GPU (RX 580) and I haven't experienced any KPs. Not sure how I can assist you folks, but I'd be glad to help out.
 
I suppose that's a good thing to do. BTW on the SSDT method are you injecting any DROM properties ? Im trying to inject both the DROM and UUID to see if that stabilises the system after sleep. Will post an update soon.

I'm injecting the DROM based on Casey's guide but that's about it. I'll try adding the UUID to see if it helps. Let me know what you experience as well
 
I guess I'm confused here. I am using an external GPU (RX 580) and I haven't experienced any KPs. Not sure how I can assist you folks, but I'd be glad to help out.

See post 1003 for the combinations I tried. From what I remember, RX 480/580 (i.e. polaris) worked best with the current SSDTs. Even better than iGPU only if I recall correctly (as far as disks being ejected etc)

Seems like the KPs happen with R9 270x (Hawaii??) as well. So something with the AMD Drivers & Thunderbolt is causing this when used with the current SSDT.

@mango1122 is correct. We need someone to take a look at the SSDT to see if anything can be improved. @dgsga Do you experience the same KPs (Thunderbolt failed to power on..) when you use the SSDT only approach along with an RX 5700XT on your Z370 ITX?
 
Back
Top