Joel Haase

Q: Monitor keeps going to sleep after Yosemite install

I installed Yosemite 10.10.1 on my iMac and my monitor keeps going to sleep while I am using it. I need to push the power button to turn it back on. And sometimes I have to hold the power button down to restart it and reboot the machine. Any idea how to fix this?

iMac, OS X Yosemite (10.10.1), 27-inch, Mid 2011

Posted on Dec 6, 2014 8:01 AM

Close

Q: Monitor keeps going to sleep after Yosemite install

  • All replies
  • Helpful answers

  • by Joel Haase,

    Joel Haase Joel Haase Dec 6, 2014 12:15 PM in response to Joel Haase
    Level 1 (50 points)
    Dec 6, 2014 12:15 PM in response to Joel Haase

    I have been watching the Console logs, this seems to be consistent each time the screen blacks out.

     

    12/6/14 1:59:07.154 PM coreaudiod[254]: 2014-12-06 01:59:07.154415 PM [AirPlay] Power: SystemWillSleep

    12/6/14 1:59:07.155 PM watchdogd[158]: [watchdog_daemon] @(         pm_callback) - ref=0x0 msg_type=0xe0000280 msg=0x490007

    12/6/14 1:59:07.155 PM watchdogd[158]: [watchdog_daemon] @(    wd_daemon_thread) - events buffer: 38r1230 270s1230 274r30016 278s30016 283r31389 485s31389 490r48757 549s48757

    12/6/14 1:59:07.155 PM coreaudiod[254]: 2014-12-06 01:59:07.154520 PM [AirPlay] BTLE client stopping to browse for AirPlay Solo Target Presence.

    12/6/14 1:59:07.156 PM coreaudiod[254]: 2014-12-06 01:59:07.155593 PM [AirPlay] BTLE discovery removing all devices

    12/6/14 1:59:07.158 PM coreaudiod[254]: 2014-12-06 01:59:07.157634 PM [AirPlay] BTLE client stopped to browse for AirPlay Solo Target Presence.

    12/6/14 1:59:08.146 PM WindowServer[405]: device_generate_desktop_screenshot: authw 0x0(0), shield 0x7fd349569de0(2001)

    12/6/14 1:59:08.246 PM imagent[487]: <IMMacNotificationCenterManager: 0x7fea0b6227d0>: notification observer: com.apple.FaceTime   notification: __CFNotification 0x7fea0b41c520 {name = _NSDoNotDisturbEnabledNotification}

    12/6/14 1:59:08.246 PM identityservicesd[491]: <IMMacNotificationCenterManager: 0x7fad217496e0>: notification observer: com.apple.iChat   notification: __CFNotification 0x7fad2143d7b0 {name = _NSDoNotDisturbEnabledNotification}

    12/6/14 1:59:08.273 PM WindowServer[405]: device_generate_lock_screen_screenshot: authw 0x0(0)[inf, inf, 0, 0] shield 0x7fd349569de0(2001), dev [2560,1440]

    12/6/14 1:59:08.410 PM identityservicesd[491]: <IMMacNotificationCenterManager: 0x7fad217496e0>:    NC Disabled: NO

    12/6/14 1:59:08.410 PM imagent[487]: <IMMacNotificationCenterManager: 0x7fea0b6227d0>:    NC Disabled: NO

    12/6/14 1:59:08.418 PM identityservicesd[491]: <IMMacNotificationCenterManager: 0x7fad217496e0>:   DND Enabled: YES

    12/6/14 1:59:08.418 PM imagent[487]: <IMMacNotificationCenterManager: 0x7fea0b6227d0>:   DND Enabled: YES

    12/6/14 1:59:08.418 PM identityservicesd[491]: <IMMacNotificationCenterManager: 0x7fad217496e0>: Updating enabled: NO   (Topics: (null))

    12/6/14 1:59:08.418 PM imagent[487]: <IMMacNotificationCenterManager: 0x7fea0b6227d0>: Updating enabled: NO   (Topics: (null))

    12/6/14 1:59:10.729 PM watchdogd[158]: [watchdog_daemon] @(         pm_callback) - ref=0x0 msg_type=0xe0000320 msg=0x0

    12/6/14 1:59:10.817 PM WindowServer[405]: CGXDisplayDidWakeNotification [553271619559]: posting kCGSDisplayDidWake

    12/6/14 1:59:10.817 PM WindowServer[405]: handle_will_sleep_auth_and_shield_windows: Deferring.

    12/6/14 1:59:10.927 PM imagent[487]: <IMMacNotificationCenterManager: 0x7fea0b6227d0>: notification observer: com.apple.FaceTime   notification: __CFNotification 0x7fea0b6191d0 {name = _NSDoNotDisturbDisabledNotification}

    12/6/14 1:59:10.927 PM identityservicesd[491]: <IMMacNotificationCenterManager: 0x7fad217496e0>: notification observer: com.apple.iChat   notification: __CFNotification 0x7fad21660ed0 {name = _NSDoNotDisturbDisabledNotification}

    12/6/14 1:59:10.944 PM imagent[487]: <IMMacNotificationCenterManager: 0x7fea0b6227d0>:    NC Disabled: NO

    12/6/14 1:59:10.944 PM identityservicesd[491]: <IMMacNotificationCenterManager: 0x7fad217496e0>:    NC Disabled: NO

    12/6/14 1:59:10.951 PM imagent[487]: <IMMacNotificationCenterManager: 0x7fea0b6227d0>:   DND Enabled: NO

    12/6/14 1:59:10.951 PM identityservicesd[491]: <IMMacNotificationCenterManager: 0x7fad217496e0>:   DND Enabled: NO

    12/6/14 1:59:10.951 PM imagent[487]: <IMMacNotificationCenterManager: 0x7fea0b6227d0>: Updating enabled: YES   (Topics: (

        "com.apple.ess",

        "com.apple.private.ac"

    ))

    12/6/14 1:59:10.952 PM identityservicesd[491]: <IMMacNotificationCenterManager: 0x7fad217496e0>: Updating enabled: YES   (Topics: (

        "com.apple.private.alloy.icloudpairing",

        "com.apple.private.alloy.continuity.encryption",

        "com.apple.private.alloy.continuity.activity",

        "com.apple.ess",

        "com.apple.private.ids",

        "com.apple.private.alloy.phonecontinuity",

        "com.apple.private.alloy.continuity.activity.public",

        "com.apple.madrid",

        "com.apple.private.alloy.continuity.auth",

        "com.apple.private.ac",

        "com.apple.private.alloy.idsremoteurlconnection",

        "com.apple.private.alloy.sms",

        "com.apple.private.alloy.screensharing",

        "com.apple.private.alloy.maps",

        "com.apple.private.alloy.callhistorysync",

        "com.apple.private.alloy.continuity.tethering"

    ))

    12/6/14 1:59:11.212 PM sharingd[469]: 13:59:11.212 : Starting AirDrop server for user 501 on wake

    12/6/14 1:59:11.212 PM watchdogd[158]: [watchdog_daemon] @(         pm_callback) - ref=0x0 msg_type=0xe0000300 msg=0x0

    12/6/14 1:59:11.218 PM coreaudiod[254]: 2014-12-06 01:59:11.217570 PM [AirPlay] Power: SystemHasPoweredOn

    12/6/14 1:59:11.218 PM coreaudiod[254]: 2014-12-06 01:59:11.217878 PM [AirPlay] BTLE client starting to browse for AirPlay Solo Target Presence.

    12/6/14 1:59:11.238 PM sharingd[469]: 13:59:11.237 : SDStatusMonitor::kStatusWirelessPowerChanged

  • by Joel Haase,

    Joel Haase Joel Haase Dec 6, 2014 12:19 PM in response to Joel Haase
    Level 1 (50 points)
    Dec 6, 2014 12:19 PM in response to Joel Haase

    And it just happened again:

     

    12/6/14 2:17:24.672 PM com.apple.SecurityServer[52]: Session 100035 created

    12/6/14 2:17:36.414 PM watchdogd[158]: [watchdog_daemon] @(         pm_callback) - ref=0x0 msg_type=0xe0000280 msg=0x520007

    12/6/14 2:17:36.414 PM watchdogd[158]: [watchdog_daemon] @(    wd_daemon_thread) - events buffer: 38r1230 270s1230 274r30016 278s30016 283r31389 485s31389 490r48757 549s48757 553r58267 1658s58267

    12/6/14 2:17:36.415 PM coreaudiod[254]: 2014-12-06 02:17:36.414289 PM [AirPlay] Power: SystemWillSleep

    12/6/14 2:17:36.415 PM coreaudiod[254]: 2014-12-06 02:17:36.415235 PM [AirPlay] BTLE client stopping to browse for AirPlay Solo Target Presence.

    12/6/14 2:17:36.416 PM coreaudiod[254]: 2014-12-06 02:17:36.415840 PM [AirPlay] BTLE discovery removing all devices

    12/6/14 2:17:36.418 PM coreaudiod[254]: 2014-12-06 02:17:36.417538 PM [AirPlay] BTLE client stopped to browse for AirPlay Solo Target Presence.

    12/6/14 2:17:37.485 PM WindowServer[405]: device_generate_desktop_screenshot: authw 0x0(0), shield 0x7fd34957cd20(2001)

    12/6/14 2:17:37.505 PM identityservicesd[491]: <IMMacNotificationCenterManager: 0x7fad217496e0>: notification observer: com.apple.iChat   notification: __CFNotification 0x7fad2171e9c0 {name = _NSDoNotDisturbEnabledNotification}

    12/6/14 2:17:37.505 PM imagent[487]: <IMMacNotificationCenterManager: 0x7fea0b6227d0>: notification observer: com.apple.FaceTime   notification: __CFNotification 0x7fea0b4299f0 {name = _NSDoNotDisturbEnabledNotification}

    12/6/14 2:17:37.588 PM imagent[487]: <IMMacNotificationCenterManager: 0x7fea0b6227d0>:    NC Disabled: NO

    12/6/14 2:17:37.588 PM identityservicesd[491]: <IMMacNotificationCenterManager: 0x7fad217496e0>:    NC Disabled: NO

    12/6/14 2:17:37.598 PM imagent[487]: <IMMacNotificationCenterManager: 0x7fea0b6227d0>:   DND Enabled: YES

    12/6/14 2:17:37.598 PM identityservicesd[491]: <IMMacNotificationCenterManager: 0x7fad217496e0>:   DND Enabled: YES

    12/6/14 2:17:37.598 PM imagent[487]: <IMMacNotificationCenterManager: 0x7fea0b6227d0>: Updating enabled: NO   (Topics: (null))

    12/6/14 2:17:37.598 PM identityservicesd[491]: <IMMacNotificationCenterManager: 0x7fad217496e0>: Updating enabled: NO   (Topics: (null))

    12/6/14 2:17:37.747 PM WindowServer[405]: CGXNextSurface : IOAccelReadLockSurface(0x1f113) returns -536870196

    12/6/14 2:17:38.226 PM WindowServer[405]: device_generate_lock_screen_screenshot: authw 0x0(0)[inf, inf, 0, 0] shield 0x7fd34957cd20(2001), dev [2560,1440]

    12/6/14 2:17:41.478 PM osascript[1076]: Error loading /Library/ScriptingAdditions/QXPScriptingAdditions.osax/Contents/MacOS/QXPScript ingAdditions:  dlopen(/Library/ScriptingAdditions/QXPScriptingAdditions.osax/Contents/MacOS/QX PScriptingAdditions, 262): no suitable image found.  Did find:

        /Library/ScriptingAdditions/QXPScriptingAdditions.osax/Contents/MacOS/QXPScript ingAdditions: no matching architecture in universal wrapper

    12/6/14 2:17:42.727 PM watchdogd[158]: [watchdog_daemon] @(         pm_callback) - ref=0x0 msg_type=0xe0000320 msg=0x0

    12/6/14 2:17:42.821 PM WindowServer[405]: CGXDisplayDidWakeNotification [1665301344716]: posting kCGSDisplayDidWake

    12/6/14 2:17:42.822 PM WindowServer[405]: handle_will_sleep_auth_and_shield_windows: Deferring.

    12/6/14 2:17:42.935 PM identityservicesd[491]: <IMMacNotificationCenterManager: 0x7fad217496e0>: notification observer: com.apple.iChat   notification: __CFNotification 0x7fad21730f90 {name = _NSDoNotDisturbDisabledNotification}

    12/6/14 2:17:42.935 PM imagent[487]: <IMMacNotificationCenterManager: 0x7fea0b6227d0>: notification observer: com.apple.FaceTime   notification: __CFNotification 0x7fea0b50da60 {name = _NSDoNotDisturbDisabledNotification}

    12/6/14 2:17:42.963 PM identityservicesd[491]: <IMMacNotificationCenterManager: 0x7fad217496e0>:    NC Disabled: NO

    12/6/14 2:17:42.963 PM imagent[487]: <IMMacNotificationCenterManager: 0x7fea0b6227d0>:    NC Disabled: NO

    12/6/14 2:17:42.985 PM identityservicesd[491]: <IMMacNotificationCenterManager: 0x7fad217496e0>:   DND Enabled: NO

    12/6/14 2:17:42.985 PM imagent[487]: <IMMacNotificationCenterManager: 0x7fea0b6227d0>:   DND Enabled: NO

    12/6/14 2:17:42.985 PM imagent[487]: <IMMacNotificationCenterManager: 0x7fea0b6227d0>: Updating enabled: YES   (Topics: (

        "com.apple.ess",

        "com.apple.private.ac"

    ))

    12/6/14 2:17:42.985 PM identityservicesd[491]: <IMMacNotificationCenterManager: 0x7fad217496e0>: Updating enabled: YES   (Topics: (

        "com.apple.private.alloy.icloudpairing",

        "com.apple.private.alloy.continuity.encryption",

        "com.apple.private.alloy.continuity.activity",

        "com.apple.ess",

        "com.apple.private.ids",

        "com.apple.private.alloy.phonecontinuity",

        "com.apple.private.alloy.continuity.activity.public",

        "com.apple.madrid",

        "com.apple.private.alloy.continuity.auth",

        "com.apple.private.ac",

        "com.apple.private.alloy.idsremoteurlconnection",

        "com.apple.private.alloy.sms",

        "com.apple.private.alloy.screensharing",

        "com.apple.private.alloy.maps",

        "com.apple.private.alloy.callhistorysync",

        "com.apple.private.alloy.continuity.tethering"

    ))

    12/6/14 2:17:43.222 PM watchdogd[158]: [watchdog_daemon] @(         pm_callback) - ref=0x0 msg_type=0xe0000300 msg=0x0

    12/6/14 2:17:43.224 PM coreaudiod[254]: 2014-12-06 02:17:43.223812 PM [AirPlay] Power: SystemHasPoweredOn

    12/6/14 2:17:43.224 PM coreaudiod[254]: 2014-12-06 02:17:43.223911 PM [AirPlay] BTLE client starting to browse for AirPlay Solo Target Presence.

    12/6/14 2:17:43.224 PM sharingd[469]: 14:17:43.224 : Starting AirDrop server for user 501 on wake

    12/6/14 2:17:43.302 PM sharingd[469]: 14:17:43.302 : SDStatusMonitor::kStatusWirelessPowerChanged

  • by ebaauw,

    ebaauw ebaauw Dec 7, 2014 4:27 AM in response to Joel Haase
    Level 1 (15 points)
    Dec 7, 2014 4:27 AM in response to Joel Haase

    Same issue here.  Since the upgrade to Yosemite 10.10, the display on my 27" mid 2011 imac (iMac 12,2) goes to sleep with no apparent reason (at least for me).  Everything else is still working fine, it's just the display that goes black.  No amount of typing, clicking, ssh-ing, or even screen sharing wakes the display.  Putting the imac to sleep (with the power button or thru remote desktop) and waking it (by mouse or keyboard) brings back the display... for five seconds or so.  Even a reboot / power cycle doesn't seem change this behaviour - only a reset of PRAM/NVRAM (hold Alt-Cmd P R during reboot) seems to cure it for a couple of days (sleep/wake cycles?) or so.

     

    I re-installed Yosemite 10.10 (over the existing installation), but that didn't help either.  I didn't see this behaviour under Mavericks nor Yosemite 10.0.

  • by Joel Haase,

    Joel Haase Joel Haase Dec 7, 2014 9:18 AM in response to ebaauw
    Level 1 (50 points)
    Dec 7, 2014 9:18 AM in response to ebaauw

    I'd be curious to see if you have some of the same things happening as me, can you open Console in your Utilities and keep an eye on the time when your Mac blacks out and the messages the Console logs give you? Hopefully they are similar to mine.

     

    I get a lot of recurring code messages revolving around AirPlay issues and mentions, and a "SystemWillSleep" and

    12/6/14 7:20:42.000 PM kernel[0]: Previous sleep cause: 5

     

    So it might have something to do with those items. I just know we aren't the only ones that it is affecting! It is really random, too. Sometimes it happens four times in a row and just touching the power button will wake it up. Other times i will have to completely restart, which sometimes the screen goes right to black after the chime, and i dont see the Apple logo yet. Zapping the PRAM brings it back for a while.

  • by ebaauw,

    ebaauw ebaauw Dec 20, 2014 6:56 AM in response to Joel Haase
    Level 1 (15 points)
    Dec 20, 2014 6:56 AM in response to Joel Haase

    Yeah, I see similar messages in the syslog, but I'm afraid they don't mean much to me.  I see them also when the system goes into regular sleep.

    I'm starting to think it's a hardware-related problem after all, the upgrade to Yosemite 10.10.1 just being a "lucky" coincidence.  Getting sick of the issue, I wiped the hard disk and did a clean install of Mavericks (10.9.5).  Guess what: the problem still occurs: the display goes to sleep randomly while the rest of the system continues working happily.  Screen sharing still works, a secondary display also still works.  It looks like the OS doesn't realise the display has gone to sleep, so it doesn't wake it.  That is, until it knows the display sleeps, e.g. by moving the mouse into a hot corner or by pressing the power button or by pressing Ctrl-Shift-Eject.

    I found some old threads suggesting this could be a thermal issue, caused by dust clogging the air vents or a faulty graphics heat sink.  The hardware turns off the display to prevent damage from overheating.  As that would explain the random behaviour, I installed Hardware Monitor to test this.  In more or less idle state, the graphics processor temperature diode and heat sink are below 60º C and 50º C respectively.  They seem to be considerably higher (up to 90º C for the diode) when the display goes to sleep, but I've yet to find exactly which sensor and threshold trigger this.  Looks like I'll be planing a trip to the repair shop...

  • by Joel Haase,

    Joel Haase Joel Haase Jan 11, 2015 4:00 PM in response to ebaauw
    Level 1 (50 points)
    Jan 11, 2015 4:00 PM in response to ebaauw

    I had to drop $800 right before Christmas to get it repaired. $600 for a new monitor display, and the rest for labor. Ugh. Worst time of the year for that to happen, too. So far so good, though. Let's see if it starts acting up again in a few months. I had it replaced in July, and it started up again in October. If it does it again, we'll know it's internal hardware that might be the problem. Are you still having issues?

  • by ebaauw,

    ebaauw ebaauw Jan 12, 2015 9:54 AM in response to Joel Haase
    Level 1 (15 points)
    Jan 12, 2015 9:54 AM in response to Joel Haase

    The jury is still out.  I brought the iMac to the Apple store, after having found a graphics card replacement programme (see http://support.apple.com/en-us/HT203787).  They were quite helpful, but found nothing wrong with the graphics card.  They did find something wrong with system memory (I installed 4x 4GB Kingston modules in 2011), and they claimed that that was the cause.  While they were quite helpful, they did complain about the SSD I had installed last April, indicating that they probably wouldn't replace a faulty graphics card because of that unsupported change.  They didn't charge me anything, though.

     

    Using Apple Hardware Test (boot with Cmd-D) repeatedly with different memory modules installed, I found the defective module (and even got a refund from the supplier).  However, even with the factory installed 2x 2GB memory modules, the problem still occurs (but seemingly less frequently?).  So I called MacRepair, the shop that installed the SSD for me.  On the phone they were quite optimistic, stating that this was a well-known issue with the 2011 27" inch model and that it could very well be a somewhat loose cable connection as a result of the SDD installation.  So I brought the iMac to them for investigation, but they were very busy because of the holiday season.  I'm expecting to hear back from them this week.

     

    Not sure if the display is the issue, however.  When I connect my MacBook Pro over thunderbolt, wait for the screen to of blank, and then switch the iMac into external display mode (Cmd-F2), it seems to work fine.  After switching back and reviving the screen, it blanks again (at some irregular interval).  I didn't test this extensively, though.