nysander Posted February 18, 2019 Share Posted February 18, 2019 I've working PM and brightness control. System go to sleep without problem (from menu or closing lid) and wakes via button or opening lid but screen do not wake and stays black. I'm attaching debug files. there are no PNTL SSDT patches for brightness because it works native with Lilu/Weg any help appreciated, and suggestions for config.plist cleanup also debug_3452.zip Link to comment Share on other sites More sharing options...
Hervé Posted February 18, 2019 Share Posted February 18, 2019 (edited) As a test, can you wait like 5 to 10mins when waking the laptop? Just to see of the screen comes out or not after that time. There's a known issue such as that on 4th gen Intel HD 4600 due to the number of ports enabled in the framebuffer. My Haswell/HD4600 Dell Latitude E6440 does that, just not all the time. Never looked into it to be honest... Edited February 18, 2019 by Hervé Link to comment Share on other sites More sharing options...
nysander Posted February 18, 2019 Author Share Posted February 18, 2019 I've waited for 15 minutes and screen did not woke from black. I have VGA and miniDP / Thunderbolt port for external display. maybe there is some way to fix this (removing fb ports via some patch? ) Link to comment Share on other sites More sharing options...
nysander Posted February 18, 2019 Author Share Posted February 18, 2019 this is pmset -g log: ime stamp Domain Message Duration Delay ========== ====== ======= ======== ===== UUID: 4C77FE8D-7CFA-438D-A4F2-7883A2B339FE 2019-02-18 21:45:16 +0100 Notification Display is turned off 2019-02-18 21:45:16 +0100 Assertions PID 168(coreaudiod) Summary PreventUserIdleSystemSleep "com.apple.audio.AppleHDAEngineOutput:1B,0,1,1:0.context.preventuseridlesleep" 00:00:59 id:0x0x100008355 [System: PrevIdle PrevDisp DeclUser IntPrevDisp kDisp] 2019-02-18 21:45:16 +0100 Assertions PID 16510(com.apple.WebKit.WebContent) Summary PreventUserIdleDisplaySleep "com.apple.WebCore: HTMLMediaElement playback" 00:00:59 id:0x0x500008480 [System: PrevIdle PrevDisp DeclUser IntPrevDisp kDisp] 2019-02-18 21:45:16 +0100 Assertions PID 103(hidd) Summary UserIsActive "com.apple.iohideventsystem.queue.tickle.4294968126.17" 00:00:00 id:0x0x900008028 [System: PrevIdle PrevDisp DeclUser IntPrevDisp kDisp] 2019-02-18 21:45:16 +0100 Assertions PID 59(powerd) Summary InternalPreventDisplaySleep "com.apple.powermanagement.delayDisplayOff" 00:01:19 id:0x0x1000008366 [System: PrevIdle PrevDisp DeclUser IntPrevDisp kDisp] 2019-02-18 21:45:16 +0100 Assertions Kernel Idle sleep preventers: -None- 2019-02-18 21:45:16 +0100 Assertions PID 168(coreaudiod) TurnedOff PreventUserIdleSystemSleep "com.apple.audio.AppleHDAEngineOutput:1B,0,1,1:0.context.preventuseridlesleep" 00:00:59 id:0x0x100008355 [System: PrevIdle PrevDisp DeclUser IntPrevDisp kDisp] 2019-02-18 21:45:16 +0100 Assertions PID 59(powerd) Created InternalPreventSleep "com.apple.powermanagement.darkwakelinger" 00:00:00 id:0x0xd0000848c [System: PrevIdle PrevDisp DeclUser SRPrevSleep IntPrevDisp kCPU kDisp] 2019-02-18 21:45:16 +0100 Assertions PID 16510(com.apple.WebKit.WebContent) Released PreventUserIdleDisplaySleep "com.apple.WebCore: HTMLMediaElement playback" 00:00:59 id:0x0x500008480 [System: PrevIdle DeclUser BGTask SRPrevSleep IntPrevDisp IPushSrvc kCPU kDisp] 2019-02-18 21:45:31 +0100 Assertions PID 59(powerd) TimedOut InternalPreventSleep "com.apple.powermanagement.darkwakelinger" 00:00:15 id:0x0xd0000848c [System: DeclUser BGTask SRPrevSleep IntPrevDisp kCPU kDisp] 2019-02-18 21:45:31 +0100 Sleep Entering Sleep state due to 'Software Sleep pid=97': Using AC (Charge:100%) 125 secs 2019-02-18 21:45:34 +0100 PM Client Acks Delays to Sleep notifications: [com.apple.apsd is slow(3078 ms)] 2019-02-18 21:47:26 +0100 Kernel Client Acks Delays to Sleep notifications: [AppleIntelFramebuffer driver is slow(msg: SetState to 1)(364 ms)] [AppleHDADriver driver is slow(msg: SetState to 0)(309 ms)] [powerd is slow(3080 ms)] [IOBluetoothHostControllerUSBTransport driver is slow(msg: WillChangeState to 2)(5002 ms)] [AppleAHCIDiskQueueManager driver is slow(msg: SetState to 0)(602 ms)] 2019-02-18 21:47:26 +0100 Assertions Kernel Idle sleep preventers: IODisplayWrangler 2019-02-18 21:47:26 +0100 Notification Display is turned on 2019-02-18 21:47:26 +0100 Assertions PID 229(mDNSResponder) Created MaintenanceWake "mDNSResponder:maintenance" 00:00:00 id:0x0xd000084a2 [System: PrevIdle DeclUser BGTask SRPrevSleep IntPrevDisp kCPU kDisp] 2019-02-18 21:47:26 +0100 Assertions PID 229(mDNSResponder) Released MaintenanceWake "mDNSResponder:maintenance" 00:00:00 id:0x0xd000084a2 [System: PrevIdle DeclUser BGTask IntPrevDisp kDisp] 2019-02-18 21:47:36 +0100 Wake Wake from Normal Sleep [CDNVA] due to power-button IGBE XHC/User: Using AC (Charge:100%) 2019-02-18 21:47:36 +0100 WakeDetails DriverReason:XHC - DriverDetails: 2019-02-18 21:47:36 +0100 HibernateStats hibmode=0 standbydelay=10800 3 2019-02-18 21:47:36 +0100 WakeTime WakeTime: 10.319 sec 2019-02-18 21:47:36 +0100 Kernel Client Acks Delays to Wake notifications: [AppleHDADriver driver is slow(msg: SetState to 1)(794 ms)] [ApplePS2Controller driver is slow(msg: SetState to 2)(1223 ms)] [RtWlanU driver is slow(msg: SetState to 1)(1498 ms)] [PRT0 driver is slow(msg: SetState to 2)(2128 ms)] 2019-02-18 21:47:36 +0100 Assertions PID 59(powerd) Created InternalPreventSleep "com.apple.powermanagement.acwakelinger" 00:00:00 id:0x0xd000084a4 [System: PrevIdle DeclUser BGTask SRPrevSleep IntPrevDisp kCPU kDisp] 2019-02-18 21:47:56 +0100 Notification Display is turned off 2019-02-18 21:47:56 +0100 Assertions PID 103(hidd) Summary UserIsActive "com.apple.iohideventsystem.queue.tickle.4294968126.17" 00:02:40 id:0x0x900008028 [System: DeclUser BGTask SRPrevSleep IntPrevDisp kCPU kDisp] 2019-02-18 21:47:56 +0100 Assertions PID 16220(cloudphotosd) Summary BackgroundTask "com.apple.cloudphotosd.darkwake.sync" 00:02:39 id:0x0xb00008492 [System: DeclUser BGTask SRPrevSleep IntPrevDisp kCPU kDisp] 2019-02-18 21:47:56 +0100 Assertions PID 59(powerd) Summary InternalPreventSleep "com.apple.powermanagement.acwakelinger" 00:00:19 id:0x0xd000084a4 [System: DeclUser BGTask SRPrevSleep IntPrevDisp kCPU kDisp] 2019-02-18 21:47:56 +0100 Assertions PID 59(powerd) Summary InternalPreventDisplaySleep "com.apple.powermanagement.delayDisplayOff" 00:02:39 id:0x0x1000008366 [System: DeclUser BGTask SRPrevSleep IntPrevDisp kCPU kDisp] 2019-02-18 21:47:56 +0100 Assertions Kernel Idle sleep preventers: -None- 2019-02-18 21:48:21 +0100 Assertions PID 59(powerd) TimedOut InternalPreventSleep "com.apple.powermanagement.acwakelinger" 00:00:45 id:0x0xd000084a4 [System: DeclUser BGTask SRPrevSleep IntPrevDisp kCPU kDisp] 2019-02-18 21:49:03 +0100 Assertions PID 336(cloudd) Released PreventUserIdleSystemSleep 00:00:13 id:0x0x1000084e4 [System: DeclUser BGTask IntPrevDisp kDisp] 2019-02-18 21:51:17 +0100 Assertions PID 103(hidd) TurnedOn UserIsActive "com.apple.iohideventsystem.queue.tickle.4294967996.3" 00:00:00 id:0x0x900008028 [System: DeclUser BGTask IntPrevDisp kDisp] 2019-02-18 21:51:17 +0100 Assertions Kernel Idle sleep preventers: IODisplayWrangler 2019-02-18 21:51:17 +0100 Notification Display is turned on 2019-02-18 21:51:36 +0100 Assertions Summary- [System: DeclUser IntPrevDisp kDisp] Using Batt(Charge: 100) 2019-02-18 21:51:43 +0100 Assertions Summary- [System: DeclUser BGTask IntPrevDisp kDisp] Using AC(Charge: 100) 2019-02-18 21:52:02 +0100 Assertions PID 59(powerd) TimedOut InternalPreventDisplaySleep "com.apple.powermanagement.delayDisplayOff" 00:06:45 id:0x0x1000008366 [System: DeclUser BGTask IntPrevDisp kDisp] 2019-02-18 21:52:04 +0100 Notification Display is turned off 2019-02-18 21:52:04 +0100 Assertions PID 103(hidd) Summary UserIsActive "com.apple.iohideventsystem.queue.tickle.4294967996.3" 00:00:45 id:0x0x900008028 [System: DeclUser BGTask kDisp] 2019-02-18 21:52:04 +0100 Assertions PID 325(UserEventAgent) Summary BackgroundTask "com.apple.mediaanalysisd.fullanalysis" 00:01:30 id:0x0xb000084e7 [System: DeclUser BGTask kDisp] 2019-02-18 21:52:04 +0100 Assertions PID 16220(cloudphotosd) Summary BackgroundTask "com.apple.cloudphotosd.darkwake.sync" 00:06:47 id:0x0xb00008492 [System: DeclUser BGTask kDisp] 2019-02-18 21:52:04 +0100 Assertions Kernel Idle sleep preventers: -None- 2019-02-18 21:52:22 +0100 Assertions PID 325(UserEventAgent) Released BackgroundTask "com.apple.mediaanalysisd.fullanalysis" 00:01:48 id:0x0xb000084e7 [System: PrevIdle DeclUser BGTask kDisp] 2019-02-18 21:54:27 +0100 Assertions PID 103(hidd) TurnedOn UserIsActive "com.apple.iohideventsystem.queue.tickle.4294967996.3" 00:00:00 id:0x0x900008028 [System: DeclUser BGTask kDisp] 2019-02-18 21:54:27 +0100 Assertions Kernel Idle sleep preventers: IODisplayWrangler 2019-02-18 21:54:27 +0100 Notification Display is turned on 2019-02-18 21:55:10 +0100 Notification Display is turned off 2019-02-18 21:55:10 +0100 Assertions PID 103(hidd) Summary UserIsActive "com.apple.iohideventsystem.queue.tickle.4294967996.3" 00:00:32 id:0x0x900008028 [System: DeclUser BGTask kDisp] 2019-02-18 21:55:10 +0100 Assertions PID 16220(cloudphotosd) Summary BackgroundTask "com.apple.cloudphotosd.darkwake.sync" 00:09:53 id:0x0xb00008492 [System: DeclUser BGTask kDisp] 2019-02-18 21:55:10 +0100 Assertions Kernel Idle sleep preventers: -None- 2019-02-18 21:56:50 +0100 Assertions PID 103(hidd) TurnedOn UserIsActive "com.apple.iohideventsystem.queue.tickle.4294967996.3" 00:00:00 id:0x0x900008028 [System: DeclUser BGTask kDisp] 2019-02-18 21:56:50 +0100 Assertions Kernel Idle sleep preventers: IODisplayWrangler 2019-02-18 21:56:50 +0100 Notification Display is turned on 2019-02-18 21:57:43 +0100 Notification Display is turned off 2019-02-18 21:57:43 +0100 Assertions PID 103(hidd) Summary UserIsActive "com.apple.iohideventsystem.queue.tickle.4294967996.3" 00:00:32 id:0x0x900008028 [System: DeclUser BGTask kDisp] 2019-02-18 21:57:43 +0100 Assertions PID 16220(cloudphotosd) Summary BackgroundTask "com.apple.cloudphotosd.darkwake.sync" 00:12:27 id:0x0xb00008492 [System: DeclUser BGTask kDisp] 2019-02-18 21:57:43 +0100 Assertions Kernel Idle sleep preventers: -None- 2019-02-18 21:58:16 +0100 Assertions PID 269(apsd) Released ApplePushServiceTask "com.apple.apsd-recreatecourierstate-push.apple.com" 00:00:10 id:0x0xb000084f9 [System: DeclUser BGTask kDisp] Sleep/Wakes since boot at 2019-02-18 20:35:19 +0100 :1 Dark Wake Count in this sleep cycle:1 I have no bootleg darkwake for now but tested 0, 8, 10 - nothing changed Link to comment Share on other sites More sharing options...
nysander Posted February 19, 2019 Author Share Posted February 19, 2019 I found topic about patching FB and was able to remove one FB with FB limit patch. everything works I got also 2GB of mem but situation with screen waking did not changed. I'm sure that laptop wakes is that I can connect to it via TeamViewer. LID is connected via eDP and the only ig-platform-id on which I got full memory is Haswell desktop one. I attach my current clover config. file tested name is config-kopia.plist I've also tested boot flag igfxclfbklt: wrap - sleep but reboot after wake freq - screen went off, but after button click backlight on black screen was going on/off - no sleep at all also I've found before patching that screen in Hackintool is disconnected after wake (no green bar on Framebuffer). any hints what to check more? CLOVER.zip Link to comment Share on other sites More sharing options...
nysander Posted February 20, 2019 Author Share Posted February 20, 2019 @Hervé @headkaze maybe you have some idea what do do / check next to make it work? Link to comment Share on other sites More sharing options...
Recommended Posts