Jump to content
3 posts in this topic

Recommended Posts

Hello. 

Does anyone have insight into wake up from sleep and graphics card initialisation? 

 

Have recently installed OS-X Sierra on a Dell T5610.  IT works just fine apart from 'sleep'.

 

When I select 'sleep' the screens immediately go black. About 20 seconds later the machine goes into 'deep sleep' mode with the fans off. 

 

It wakes up when I move the mouse or hit a key.  It doesn't appear to have crashed:

 

 

However, the screen stays black.    Yesterday, the machine was rebooting but then I realised that I needed to remove NullCPUPowerManagement.kext.  Once that was removed, the crashes stopped happening - however - the screen stays black on wake up.  

 

If I move the mouse before the machine actually enters 'deep sleep' then the screens come back on just fine. 

 

I have not managed to find much information about the darkwake=x  flag in clover apart from this:

 

darkwake=0            -
darkwake=1            HIDTickleEarly
darkwake=2            HIDTickleLate
darkwake=3            HIDTickleNone
darkwake=4            IgnoreDiskIOInDark  (believed removed)
darkwake=8            IgnoreDiskIOAlways  (believed removed) 
darkwake=10           HIDTickleLate | IgnoreDiskIOAlways

 

HIDTickleEarly                hid tickle before gfx suppression
HIDTickleLate                 hid tickle after gfx suppression
HIDTickleNone                 hid tickle is not posted
IgnoreDiskIOInDark *          ignore disk idle in DW
IgnoreDiskIOAlways *          always ignore disk idle
AlarmIsDark                   0x100
GraphicsPowerState1           0x200
AudioNotSuppressed            0x400

 

I tried darkwake=0 with no effect. 

I tried darkwake=1 and the system didn't enter 'deep sleep' at all. 

 

Running this command in the terminal:   pmset -g log

 

Gives me the below.  I don't see anything particularly unpleasant there - does anyone know if this is normal? 

 

Time stamp                Domain              Message                                                                    Duration  Delay     

==========                ======              =======                                                                    ========  =====     

UUID: FBDF8577-1707-45D2-9B1A-2CCBEAB92073

2018-01-07 12:58:34 +0000 Notification        Display is turned off                                                                

2018-01-07 12:58:34 +0000 Assertions          PID 116(hidd) Summary UserIsActive "com.apple.iohideventsystem.queue.tickle.4294968540.17" 00:01:40  id:0x0x900008086 [system: DeclUser BGTask kDisp]          

2018-01-07 12:58:34 +0000 Assertions          PID 215(mds_stores) Summary BackgroundTask "com.apple.metadata.mds_stores.power" 00:00:00  id:0x0xb00008162 [system: DeclUser BGTask kDisp]          

2018-01-07 12:58:34 +0000 Assertions          PID 97(apsd) Summary ApplePushServiceTask "com.apple.apsd-login" 00:01:30  id:0x0xb00008091 [system: DeclUser BGTask kDisp]          

2018-01-07 12:58:34 +0000 Assertions          Kernel Idle sleep preventers: -None-          

2018-01-07 12:58:34 +0000 Assertions          PID 64(powerd) Created InternalPreventSleep "com.apple.powermanagement.darkwakelinger" 00:00:00  id:0x0xd00008164 [system: PrevIdle DeclUser BGTask SRPrevSleep kCPU kDisp]          

2018-01-07 12:58:34 +0000 Assertions          PID 97(apsd) Released ApplePushServiceTask "com.apple.apsd-login" 00:01:30  id:0x0xb00008091 [system: PrevIdle DeclUser BGTask SRPrevSleep IPushSrvc kCPU kDisp]          

2018-01-07 12:58:35 +0000 Assertions          Kernel Idle sleep preventers: IODisplayWrangler          

2018-01-07 12:58:35 +0000 Notification        Display is turned on                                                                 

2018-01-07 12:58:49 +0000 Assertions          PID 64(powerd) TimedOut InternalPreventSleep "com.apple.powermanagement.darkwakelinger" 00:00:15  id:0x0xd00008164 [system: DeclUser SRPrevSleep kCPU kDisp]          

2018-01-07 12:58:49 +0000 Assertions          Summary- [system: DeclUser kDisp] Using AC          

2018-01-07 12:59:07 +0000 Assertions          PID 216(backupd) ClientDied PreventUserIdleSystemSleep "Time Machine backup" 00:02:21  id:0x0x100008006 [system: DeclUser BGTask kDisp]          

2018-01-07 12:59:07 +0000 Assertions          PID 216(backupd) ClientDied BackgroundTask "Time Machine backup" 00:02:21  id:0x0xb00008005 [system: DeclUser BGTask kDisp]          

 

Total Sleep/Wakes since boot at 2018-01-07 12:56:43 +0000 :0

 

2018-01-07 13:10:36 +0000 : Showing all currently held IOKit power assertions

Assertion status system-wide:

   BackgroundTask                 0

   ApplePushServiceTask           0

   UserIsActive                   1

   PreventUserIdleDisplaySleep    0

   PreventSystemSleep             0

   ExternalMedia                  0

   PreventUserIdleSystemSleep     0

   NetworkClientActive            0

Listed by owning process:

   pid 116(hidd): [0x0000000f00098086] 00:13:42 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294968464.3" 

No kernel assertions.

 

Idle sleep preventers: IODisplayWrangler

 

Amendment.  Darkwake = 1 and the system did enter 'deep sleep' after about 35 seconds of 'screen off'.  

And it woke up and gave me a display too.  But no mouse/keyboard response and no mouse pointer visible.  

 

Digging around a bit more, I'm getting the impression that the system DSDT still isn't right. 

I read that the USB devices may need a _DSM method to inject power related information in this post:

 

http://www.insanelymac.com/forum/topic/311144-wake-up-from-sleep-and-usb-issues-10112/

 

Does anyone have any pointers about that? 

×
×
  • Create New...