Secondary Display not waking after screen sleep
Currently i am running into an issue with external displays (projectors)
I am looking at setting up a lab environment at the moment to try and replicate the problem,
but thought id mention what i know so far and see if anyone has any comments to add.
Secondary Screen not waking after screen sleep signal sent.
Symptoms
Issue can be manually recreated by connecting external projector in known problem locations and causing the screen to sleep by pressing ctl+shift+eject to sleep the display, once it has slept waking it by providing an input recreated the problem.
Lectern Macs are locking up when their display is put to sleep (typically due to inactivity) and they are connected to the external projector display,
External display does not show the machine waking again, but the primary inbuilt display does at least show its previous screen.
Other Observations and Tests
Reproducible on several iMacs 21.5" late 2013 models running OS X 10.9.5 and a MacBook Air mid 2013 model running OS X 10.10.2,
issue only appears to only occur connected to projector locations,
Unfortunately i don't have the model of the projectors just yet but they are different brands.
they are connected using Apple Display port to VGA adaptors.
unplugging the Apple display port and reconnecting it will reinitiate the second screens display,
while the display is not waking the Mac appears to recognise the display is connected,
however the Windowserver process is not redrawing the secondary display.
the following log was captured during the process of recreating the problem on an iMac
I have annotated physical actions taken relative to the logs in bold
Forced Sleep of displays with Ctrl+Shift+Eject keyboard input
24/04/2015 4:07:34.441 pm | WindowServer[1209] | device_generate_desktop_screenshot: authw 0x0(0), shield 0x7ff3a9f5a440(2001) |
24/04/2015 4:07:34.505 pm | WindowServer[1209] | device_generate_desktop_screenshot: authw 0x0(0), shield 0x7ff3a9f5a440(2001) |
24/04/2015 4:07:34.523 pm | WindowServer[1209] | device_generate_lock_screen_screenshot: authw 0x0(0), shield 0x7ff3a9f5a440(2001) |
24/04/2015 4:07:44.563 pm | WindowServer[1209] | _CGXHWCaptureWindowList: No capable active display found. |
24/04/2015 4:07:46.440 pm | WindowServer[1209] | handle_will_sleep_auth_and_shield_windows: Deferring. |
24/04/2015 4:07:46.441 pm | WindowServer[1209] | CGXDisplayDidWakeNotification [810068400724]: posting kCGSDisplayDidWake This is the point i attempted to wake the machine by random key input |
24/04/2015 4:08:05.575 pm | WindowServer[1209] | Received display connect changed for display 0x5b81c5c0 |
24/04/2015 4:08:05.575 pm | WindowServer[1209] | Found 1 modes for display 0x5b81c5c0 [1, 0] |
24/04/2015 4:08:05.575 pm | WindowServer[1209] | Display 0x5b81c5c0 changed state to offline |
24/04/2015 4:08:05.590 pm | WindowServer[1209] | Received display connect changed for display 0x3f003d |
24/04/2015 4:08:05.590 pm | WindowServer[1209] | Found 1 modes for display 0x003f003d [1, 0] |
24/04/2015 4:08:05.590 pm | WindowServer[1209] | Received display connect changed for display 0x4280482 |
24/04/2015 4:08:05.592 pm | WindowServer[1209] | Found 15 modes for display 0x04280482 [15, 0] |
24/04/2015 4:08:05.627 pm | WindowServer[1209] | Display 0x04280482: GL mask 0x4; bounds (0, 0)[1920 x 1080], 15 modes available |
Main, Active, on-line, enabled, built-in, boot, OpenGL-accel, Vendor 610, Model a012, S/N 0, Unit 2, Rotation 0
UUID 0x2838c3dda39478c14a5e57649bbc5643, ColorProfile { 2, "iMac"}
24/04/2015 4:08:05.627 pm | WindowServer[1209] | GLCompositor: GL renderer id 0x01024502, GL mask 0x0000000f, accelerator 0x000045d7, unit 0, caps QEX|MIPMAP, vram 1024 MB |
texture max 16384, viewport max {16384, 16384}, extensions FPRG|NPOT|GLSL|FLOAT
24/04/2015 4:08:05.627 pm | WindowServer[1209] | Display 0x003f003f: GL mask 0x8; bounds (3744, 0)[1 x 1], 2 modes available |
off-line, enabled, OpenGL-accel, Vendor ffffffff, Model ffffffff, S/N ffffffff, Unit 3, Rotation 0
UUID 0xffffffffffffffffffffffffffffffff
24/04/2015 4:08:05.627 pm | WindowServer[1209] | GLCompositor: GL renderer id 0x01024502, GL mask 0x0000000f, accelerator 0x000045d7, unit 0, caps QEX|MIPMAP, vram 1024 MB |
texture max 16384, viewport max {16384, 16384}, extensions FPRG|NPOT|GLSL|FLOAT
24/04/2015 4:08:05.627 pm | WindowServer[1209] | Display 0x003f003d: GL mask 0x2; bounds (3745, 0)[1 x 1], 1 modes available |
off-line, enabled, Vendor ffffffff, Model ffffffff, S/N ffffffff, Unit 1, Rotation 0
UUID 0xffffffffffffffffffffffffffffffff
24/04/2015 4:08:05.627 pm | WindowServer[1209] | Display 0x003f003c: GL mask 0x1; bounds (1920, 0)[1 x 1], 1 modes available |
off-line, enabled, OpenGL-accel, Vendor ffffffff, Model ffffffff, S/N ffffffff, Unit 0, Rotation 0
UUID 0xffffffffffffffffffffffffffffffff, ColorProfile { 3, "Display"}
24/04/2015 4:08:05.627 pm | WindowServer[1209] | GLCompositor: GL renderer id 0x01024502, GL mask 0x0000000f, accelerator 0x000045d7, unit 0, caps QEX|MIPMAP, vram 1024 MB |
texture max 16384, viewport max {16384, 16384}, extensions FPRG|NPOT|GLSL|FLOAT
24/04/2015 4:08:05.878 pm | WindowServer[1209] | CGError post_notification(const CGSNotificationType, void *const, const size_t, const bool, const CGSRealTimeDelta, const int, const CGSConnectionID *const, const pid_t): Timed out 0.250 second wait for reply from "Console" for synchronous notification type 100 (kCGSDisplayWillReconfigure) (CID 0x11803, PID 1495) |
24/04/2015 4:08:05.880 pm | WindowServer[1209] | Display 0x04280482: Unit 2: Startup Mode 1920 x 1080, CGSThirtytwoBitColor, Resolution 1, ioModeID 0x80007000, ioModeDepth 0x0, IOReturn 0x0 |
24/04/2015 4:08:05.880 pm | WindowServer[1209] | Display added |
24/04/2015 4:08:05.880 pm | WindowServer[1209] | Display removed |
24/04/2015 4:08:05.882 pm | WindowServer[1209] | Display 0x04280482: GL mask 0x4; bounds (0, 0)[1920 x 1080], 15 modes available |
Main, Active, on-line, enabled, built-in, boot, OpenGL-accel, Vendor 610, Model a012, S/N 0, Unit 2, Rotation 0
UUID 0x2838c3dda39478c14a5e57649bbc5643, ColorProfile { 2, "iMac"}
24/04/2015 4:08:05.882 pm | WindowServer[1209] | GLCompositor: GL renderer id 0x01024502, GL mask 0x0000000f, accelerator 0x000045d7, unit 0, caps QEX|MIPMAP, vram 1024 MB |
texture max 16384, viewport max {16384, 16384}, extensions FPRG|NPOT|GLSL|FLOAT
24/04/2015 4:08:05.882 pm | WindowServer[1209] | Display 0x003f003f: GL mask 0x8; bounds (2944, 0)[1 x 1], 2 modes available |
off-line, enabled, OpenGL-accel, Vendor ffffffff, Model ffffffff, S/N ffffffff, Unit 3, Rotation 0
UUID 0xffffffffffffffffffffffffffffffff
24/04/2015 4:08:05.882 pm | WindowServer[1209] | GLCompositor: GL renderer id 0x01024502, GL mask 0x0000000f, accelerator 0x000045d7, unit 0, caps QEX|MIPMAP, vram 1024 MB |
texture max 16384, viewport max {16384, 16384}, extensions FPRG|NPOT|GLSL|FLOAT
24/04/2015 4:08:05.882 pm | WindowServer[1209] | Display 0x003f003d: GL mask 0x2; bounds (2945, 0)[1 x 1], 1 modes available |
off-line, enabled, Vendor ffffffff, Model ffffffff, S/N ffffffff, Unit 1, Rotation 0
UUID 0xffffffffffffffffffffffffffffffff
24/04/2015 4:08:05.882 pm | WindowServer[1209] | Display 0x003f003c: GL mask 0x1; bounds (2946, 0)[1 x 1], 1 modes available |
off-line, enabled, Vendor ffffffff, Model ffffffff, S/N ffffffff, Unit 0, Rotation 0
UUID 0xffffffffffffffffffffffffffffffff, ColorProfile { 3, "Display"}
Display port cable unplugged and replugged due to machine being slow.
24/04/2015 4:08:05.890 pm | WindowServer[1209] | MPAccessSurfaceForDisplayDevice: Set up page flip mode on display 0x04280482 device: 0x7ff3a9e0c700 isBackBuffered: 1 numComp: 3 numDisp: 3 |
24/04/2015 4:08:07.597 pm | WindowServer[1209] | **DMPROXY** (2) Found `/System/Library/CoreServices/DMProxy'. |
24/04/2015 4:08:07.620 pm | WindowServer[1209] | Display 0x04280482: Unit 2; ColorProfile { 2, "iMac"}; TransferFormula (1.000000, 1.000000, 1.000000) |
24/04/2015 4:08:07.646 pm | WindowServer[1209] | Display 0x04280482: Unit 2; ColorProfile { 2, "iMac"}; TransferFormula (1.000000, 1.000000, 1.000000) |
24/04/2015 4:08:07.880 pm | WindowServer[1209] | **DMPROXY** (2) Found `/System/Library/CoreServices/DMProxy'. |
24/04/2015 4:08:07.903 pm | WindowServer[1209] | Display 0x04280482: Unit 2; ColorProfile { 2, "iMac"}; TransferFormula (1.000000, 1.000000, 1.000000) |
24/04/2015 4:08:07.930 pm | WindowServer[1209] | Display 0x04280482: Unit 2; ColorProfile { 2, "iMac"}; TransferFormula (1.000000, 1.000000, 1.000000) |
24/04/2015 4:08:16.237 pm | WindowServer[1209] | Received display connect changed for display 0x3f003c |
24/04/2015 4:08:16.238 pm | WindowServer[1209] | Found 45 modes for display 0x003f003c [45, 0] |
24/04/2015 4:08:16.238 pm | WindowServer[1209] | Display 0x003f003c changed state to online |
24/04/2015 4:08:16.258 pm | WindowServer[1209] | Received display connect changed for display 0x3f003d |
24/04/2015 4:08:16.258 pm | WindowServer[1209] | Found 1 modes for display 0x003f003d [1, 0] |
24/04/2015 4:08:16.258 pm | WindowServer[1209] | Received display connect changed for display 0x4280482 |
24/04/2015 4:08:16.259 pm | WindowServer[1209] | Found 15 modes for display 0x04280482 [15, 0] |
24/04/2015 4:08:16.300 pm | WindowServer[1209] | Display 0x04280482: GL mask 0x4; bounds (0, 0)[1920 x 1080], 15 modes available |
Main, Active, on-line, enabled, built-in, boot, OpenGL-accel, Vendor 610, Model a012, S/N 0, Unit 2, Rotation 0
UUID 0x2838c3dda39478c14a5e57649bbc5643, ColorProfile { 2, "iMac"}
24/04/2015 4:08:16.300 pm | WindowServer[1209] | GLCompositor: GL renderer id 0x01024502, GL mask 0x0000000f, accelerator 0x000045d7, unit 0, caps QEX|MIPMAP, vram 1024 MB |
texture max 16384, viewport max {16384, 16384}, extensions FPRG|NPOT|GLSL|FLOAT
24/04/2015 4:08:16.300 pm | WindowServer[1209] | Display 0x003f003f: GL mask 0x8; bounds (2944, 0)[1 x 1], 2 modes available |
off-line, enabled, OpenGL-accel, Vendor ffffffff, Model ffffffff, S/N ffffffff, Unit 3, Rotation 0
UUID 0xffffffffffffffffffffffffffffffff
24/04/2015 4:08:16.300 pm | WindowServer[1209] | GLCompositor: GL renderer id 0x01024502, GL mask 0x0000000f, accelerator 0x000045d7, unit 0, caps QEX|MIPMAP, vram 1024 MB |
texture max 16384, viewport max {16384, 16384}, extensions FPRG|NPOT|GLSL|FLOAT
24/04/2015 4:08:16.300 pm | WindowServer[1209] | Display 0x003f003d: GL mask 0x2; bounds (2945, 0)[1 x 1], 1 modes available |
off-line, enabled, Vendor ffffffff, Model ffffffff, S/N ffffffff, Unit 1, Rotation 0
UUID 0xffffffffffffffffffffffffffffffff
24/04/2015 4:08:16.300 pm | WindowServer[1209] | Display 0x5b81c5c0: GL mask 0x1; bounds (1920, 0)[800 x 600], 45 modes available |
Active, on-line, enabled, Vendor 756e6b6e, Model 717, S/N 0, Unit 0, Rotation 0
UUID 0x8d79cbc9a4ecdde112fc91ba625b13c2, ColorProfile { 3, "Display"}
24/04/2015 4:08:16.331 pm | WindowServer[1209] | Display 0x04280482: Unit 2: Startup Mode 1920 x 1080, CGSThirtytwoBitColor, Resolution 1, ioModeID 0x80001000, ioModeDepth 0x0, IOReturn 0x0 |
24/04/2015 4:08:16.331 pm | WindowServer[1209] | Display 0x5b81c5c0: Unit 0: Startup Mode 800 x 600, CGSThirtytwoBitColor, Resolution 1, ioModeID 0x80001007, ioModeDepth 0x0, IOReturn 0x0 |
24/04/2015 4:08:16.331 pm | WindowServer[1209] | Display added |
24/04/2015 4:08:16.331 pm | WindowServer[1209] | Display removed |
24/04/2015 4:08:16.334 pm | WindowServer[1209] | Display 0x04280482: GL mask 0x4; bounds (0, 0)[1920 x 1080], 15 modes available |
Main, Active, on-line, enabled, built-in, boot, OpenGL-accel, Vendor 610, Model a012, S/N 0, Unit 2, Rotation 0
UUID 0x2838c3dda39478c14a5e57649bbc5643, ColorProfile { 2, "iMac"}
24/04/2015 4:08:16.334 pm | WindowServer[1209] | GLCompositor: GL renderer id 0x01024502, GL mask 0x0000000f, accelerator 0x000045d7, unit 0, caps QEX|MIPMAP, vram 1024 MB |
texture max 16384, viewport max {16384, 16384}, extensions FPRG|NPOT|GLSL|FLOAT
24/04/2015 4:08:16.334 pm | WindowServer[1209] | Display 0x003f003f: GL mask 0x8; bounds (3744, 0)[1 x 1], 2 modes available |
off-line, enabled, OpenGL-accel, Vendor ffffffff, Model ffffffff, S/N ffffffff, Unit 3, Rotation 0
UUID 0xffffffffffffffffffffffffffffffff
24/04/2015 4:08:16.334 pm | WindowServer[1209] | GLCompositor: GL renderer id 0x01024502, GL mask 0x0000000f, accelerator 0x000045d7, unit 0, caps QEX|MIPMAP, vram 1024 MB |
texture max 16384, viewport max {16384, 16384}, extensions FPRG|NPOT|GLSL|FLOAT
24/04/2015 4:08:16.334 pm | WindowServer[1209] | Display 0x003f003d: GL mask 0x2; bounds (3745, 0)[1 x 1], 1 modes available |
off-line, enabled, Vendor ffffffff, Model ffffffff, S/N ffffffff, Unit 1, Rotation 0
UUID 0xffffffffffffffffffffffffffffffff
24/04/2015 4:08:16.334 pm | WindowServer[1209] | Display 0x5b81c5c0: GL mask 0x1; bounds (1920, 0)[800 x 600], 45 modes available |
Active, on-line, enabled, Vendor 756e6b6e, Model 717, S/N 0, Unit 0, Rotation 0
UUID 0x8d79cbc9a4ecdde112fc91ba625b13c2, ColorProfile { 3, "Display"}
24/04/2015 4:08:16.334 pm | WindowServer[1209] | _CGXGLDisplayContextForDisplayDevice: acquired display context (0x7ff3a9e0cae0) - enabling OpenGL |
24/04/2015 4:08:16.334 pm | WindowServer[1209] | GLCompositor: GL renderer id 0x01024502, GL mask 0x0000000f, accelerator 0x000045d7, unit 0, caps QEX|MIPMAP, vram 1024 MB |
texture max 16384, viewport max {16384, 16384}, extensions FPRG|NPOT|GLSL|FLOAT
24/04/2015 4:08:16.354 pm | WindowServer[1209] | MPAccessSurfaceForDisplayDevice: Set up page flip mode on display 0x04280482 device: 0x7ff3a9e0c700 isBackBuffered: 1 numComp: 3 numDisp: 3 |
24/04/2015 4:08:16.362 pm | WindowServer[1209] | MPAccessSurfaceForDisplayDevice: Set up page flip mode on display 0x5b81c5c0 device: 0x7ff3a9e0cae0 isBackBuffered: 1 numComp: 3 numDisp: 3 |
24/04/2015 4:08:18.258 pm | WindowServer[1209] | **DMPROXY** (2) Found `/System/Library/CoreServices/DMProxy'. |
24/04/2015 4:08:18.264 pm | WindowServer[1209] | **DMPROXY** (2) Found `/System/Library/CoreServices/DMProxy'. |
24/04/2015 4:08:18.288 pm | WindowServer[1209] | Display 0x04280482: Unit 2; ColorProfile { 2, "iMac"}; TransferFormula (1.000000, 1.000000, 1.000000) |
24/04/2015 4:08:18.289 pm | WindowServer[1209] | Display 0x5b81c5c0: Unit 0; ColorProfile { 3, "Display"}; TransferFormula (1.000000, 1.000000, 1.000000) |
24/04/2015 4:08:18.327 pm | WindowServer[1209] | Display 0x04280482: Unit 2; ColorProfile { 2, "iMac"}; TransferFormula (1.000000, 1.000000, 1.000000) |
24/04/2015 4:08:18.328 pm | WindowServer[1209] | Display 0x5b81c5c0: Unit 0; ColorProfile { 3, "Display"}; TransferFormula (1.000000, 1.000000, 1.000000) |
24/04/2015 4:08:18.331 pm | WindowServer[1209] | **DMPROXY** (2) Found `/System/Library/CoreServices/DMProxy'. |
24/04/2015 4:08:18.334 pm | WindowServer[1209] | **DMPROXY** (2) Found `/System/Library/CoreServices/DMProxy'. |
24/04/2015 4:08:18.360 pm | WindowServer[1209] | Display 0x04280482: Unit 2; ColorProfile { 2, "iMac"}; TransferFormula (1.000000, 1.000000, 1.000000) |
24/04/2015 4:08:18.361 pm | WindowServer[1209] | Display 0x5b81c5c0: Unit 0; ColorProfile { 3, "Display"}; TransferFormula (1.000000, 1.000000, 1.000000) |
24/04/2015 4:08:18.389 pm | WindowServer[1209] | Display 0x04280482: Unit 2; ColorProfile { 2, "iMac"}; TransferFormula (1.000000, 1.000000, 1.000000) |
24/04/2015 4:08:18.390 pm | WindowServer[1209] | Display 0x5b81c5c0: Unit 0; ColorProfile { 3, "Display"}; TransferFormula (1.000000, 1.000000, 1.000000) |
24/04/2015 4:08:18.426 pm | WindowServer[1209] | Display 0x04280482: Unit 2; ColorProfile { 2, "iMac"}; TransferFormula (1.000000, 1.000000, 1.000000) |
24/04/2015 4:08:18.427 pm | WindowServer[1209] | Display 0x5b81c5c0: Unit 0; ColorProfile { 3, "Display"}; TransferFormula (1.000000, 1.000000, 1.000000) |
24/04/2015 4:08:18.463 pm | WindowServer[1209] | Display 0x04280482: Unit 2; ColorProfile { 2, "iMac"}; TransferFormula (1.000000, 1.000000, 1.000000) |
24/04/2015 4:08:18.464 pm | WindowServer[1209] | Display 0x5b81c5c0: Unit 0; ColorProfile { 3, "Display"}; TransferFormula (1.000000, 1.000000, 1.000000) |
24/04/2015 4:08:18.488 pm | WindowServer[1209] | Display 0x04280482: Unit 2; ColorProfile { 2, "iMac"}; TransferFormula (1.000000, 1.000000, 1.000000) |
24/04/2015 4:08:18.489 pm | WindowServer[1209] | Display 0x5b81c5c0: Unit 0; ColorProfile { 3, "Display"}; TransferFormula (1.000000, 1.000000, 1.000000) |
24/04/2015 4:08:18.497 pm | WindowServer[1209] | Display 0x04280482: Unit 2; ColorProfile { 2, "iMac"}; TransferFormula (1.000000, 1.000000, 1.000000) |
24/04/2015 4:08:18.498 pm | WindowServer[1209] | Display 0x5b81c5c0: Unit 0; ColorProfile { 3, "Display"}; TransferFormula (1.000000, 1.000000, 1.000000) |
Things are normal again.