Mac Scheduled Sleep Issues

Core Machine (Operating system/System info/Roon build number)

Mac Mini / High Sierra 10.13.6 / 2.6GHz Intel Core i5 / Roon 1.6, Build 416

Network Details (Including networking gear model/manufacturer and if on WiFi/Ethernet)

Apple Airport Extreme, dual band 6th gen, Last model

Audio Devices (Specify what device you’re using and its connection type - USB/HDMI/etc.)

Network Streamer Allo DigiOne, SPDIF to Bifrost DAC

Description Of Issue

Hi All.
I’ve been struggling to get the MacMini to sleep as scheduled, this started since I updated to High Sierra last year. To experiment I’ve been shutting off the ROON Core every night for a week and the Mac sleeps and wakes as scheduled without any problems. As soon as I have the Core running again it doesn’t sleep. When I wake the Mac it resumes the sleep countdown at the 9 minute mark.

As suggested I made sure no music is playing and I even shut down all the Roon remotes on other computers.

Thanks in advance for your help.
Jay

Hello @Jason,

The next time this behavior occurs, please perform the following steps to help us investigate this issue:

  1. Open the macOS Terminal.app application and run the command pmset -g assertions. You can find Terminal.app in the Applications/Utilities folder on your Mac.
  2. Copy the output of the pmset -g assertions command and paste it in a new post in this thread.
  3. Send us a copy of your Roon logs. You can find instructions on how to do this here here. You can use a file hosting service like Firefox Send to deliver the .zip file to us. Simply copy the link generated by Firefox Send and include it in your post body.

-John

Hi John,
Output of pmset -g assertions enclosed below.

2019-06-15 07:44:30 -0400
Assertion status system-wide:
BackgroundTask 0
ApplePushServiceTask 0
UserIsActive 1
PreventUserIdleDisplaySleep 1
PreventSystemSleep 0
ExternalMedia 1
InternalPreventDisplaySleep 1
PreventUserIdleSystemSleep 1
NetworkClientActive 0
Listed by owning process:
pid 111(hidd): [0x0012f771000986ed] 00:00:00 UserIsActive named: “com.apple.iohideventsystem.queue.tickle.4294983230.3”
Timeout will fire in 1200 secs Action=TimeoutActionRelease
pid 121(coreaudiod): [0x0012f8b20001872d] 00:03:05 PreventUserIdleSystemSleep named: “com.apple.audio.AppleHDAEngineOutputDP:3,0,1,1:0:{6D1E-5AB8-00015341}.context.preventuseridlesleep”
Created for PID: 49384.
pid 121(coreaudiod): [0x0012f8b20005872e] 00:03:05 PreventUserIdleDisplaySleep named: “com.apple.audio.AppleHDAEngineOutputDP:3,0,1,1:0:{6D1E-5AB8-00015341}.context.preventuseridledisplaysleep”
Created for PID: 49384.
pid 88149(Roon): [0x001278290001a689] 09:11:32 NoIdleSleepAssertion named: “Music is playing”
pid 88149(Roon): [0x0010efaf00018d62] 37:06:08 NoIdleSleepAssertion named: “Music is playing”
pid 88149(Roon): [0x000fdbdc0001a37a] 56:43:01 NoIdleSleepAssertion named: “Music is playing”
pid 88149(Roon): [0x000fdba20001a378] 56:43:59 NoIdleSleepAssertion named: “Music is playing”
pid 88149(Roon): [0x000fdb870001a375] 56:44:26 NoIdleSleepAssertion named: “Music is playing”
pid 88149(Roon): [0x000d1ce600019b5c] 132:55:44 NoIdleSleepAssertion named: “Music is playing”
pid 88149(Roon): [0x000d1a2f00019b35] 133:07:19 NoIdleSleepAssertion named: “Music is playing”
pid 88149(Roon): [0x000d0e3500019a6b] 133:58:24 NoIdleSleepAssertion named: “Music is playing”
pid 88149(Roon): [0x000cf5d100019897] 135:42:29 NoIdleSleepAssertion named: “Music is playing”
pid 88149(Roon): [0x000ce1cc0001975c] 137:07:54 NoIdleSleepAssertion named: “Music is playing”
pid 88149(Roon): [0x000bc5160001850f] 157:22:42 NoIdleSleepAssertion named: “Music is playing”
pid 88149(Roon): [0x000bc50d0001850e] 157:22:51 NoIdleSleepAssertion named: “Music is playing”
pid 88149(Roon): [0x000bc15f000184e0] 157:38:33 NoIdleSleepAssertion named: “Music is playing”
pid 88149(Roon): [0x000bbf2a0001849b] 157:47:58 NoIdleSleepAssertion named: “Music is playing”
pid 88149(Roon): [0x000bb661000183c4] 158:25:27 NoIdleSleepAssertion named: “Music is playing”
pid 88149(Roon): [0x000bb657000183c2] 158:25:37 NoIdleSleepAssertion named: “Music is playing”
pid 88149(Roon): [0x000bb542000183a0] 158:30:14 NoIdleSleepAssertion named: “Music is playing”
pid 88149(Roon): [0x000bafdc00018341] 158:53:16 NoIdleSleepAssertion named: “Music is playing”
pid 88149(Roon): [0x000b70eb0001a6d2] 163:21:49 NoIdleSleepAssertion named: “Music is playing”
pid 88149(Roon): [0x000b40580001a355] 166:49:05 NoIdleSleepAssertion named: “Music is playing”
pid 88149(Roon): [0x000b1b050001a041] 177:07:50 NoIdleSleepAssertion named: “Music is playing”
pid 88149(Roon): [0x000ae24100019c62] 181:10:02 NoIdleSleepAssertion named: “Music is playing”
pid 88149(Roon): [0x000acaaa00019945] 201:16:10 NoIdleSleepAssertion named: “Music is playing”
pid 88149(Roon): [0x000abed200019851] 202:06:42 NoIdleSleepAssertion named: “Music is playing”
pid 88149(Roon): [0x000ab8d4000197b1] 202:32:16 NoIdleSleepAssertion named: “Music is playing”
pid 88149(Roon): [0x000ab7570001978d] 202:38:38 NoIdleSleepAssertion named: “Music is playing”
pid 88149(Roon): [0x000aab2300019678] 203:30:41 NoIdleSleepAssertion named: “Music is playing”
pid 88149(Roon): [0x000a995900019526] 204:46:35 NoIdleSleepAssertion named: “Music is playing”
pid 88149(Roon): [0x000a0a7500018a92] 224:45:38 NoIdleSleepAssertion named: “Music is playing”
pid 71(powerd): [0x0000000c00088000] 512:40:21 ExternalMedia named: “com.apple.powermanagement.externalmediamounted”
pid 71(powerd): [0x0012f8e00010a488] 00:02:20 InternalPreventDisplaySleep named: “com.apple.powermanagement.delayDisplayOff”
Timeout will fire in 160 secs Action=TimeoutActionTurnOff
Kernel Assertions: 0xc=USB,BT-HID
id=502 level=255 0x4=USB mod=1969-12-31, 7:00 PM description=com.apple.usb.externaldevice.14800000 owner=USB3.0 Hub
id=504 level=255 0x4=USB mod=1969-12-31, 7:00 PM description=com.apple.usb.externaldevice.14100000 owner=USB2.0 Hub
id=506 level=255 0x4=USB mod=1969-12-31, 7:00 PM description=com.apple.usb.externaldevice.14200000 owner=USB2.0 & 1394 & eSATA combo Drive
id=509 level=255 0x4=USB mod=1969-12-31, 7:00 PM description=com.apple.usb.externaldevice.14140000 owner=USB2.0 Hub
id=511 level=255 0x4=USB mod=1969-12-31, 7:00 PM description=com.apple.usb.externaldevice.14130000 owner=Storage
id=513 level=255 0x4=USB mod=1969-12-31, 7:00 PM description=com.apple.usb.externaldevice.14600000 owner=USB2.0 & 1394 & eSATA combo Drive
id=618 level=255 0x8=BT-HID mod=1969-12-31, 7:00 PM description=com.apple.driver.IOBluetoothHIDDriver owner=BNBTrackpadDevice
id=720 level=255 0x8=BT-HID mod=1969-12-31, 7:00 PM description=com.apple.driver.IOBluetoothHIDDriver owner=AppleBluetoothHIDKeyboard
id=769 level=255 0x4=USB mod=1969-12-31, 7:00 PM description=com.apple.usb.externaldevice.14144000 owner=USB Flash Drive
id=804 level=255 0x4=USB mod=1969-12-31, 7:00 PM description=com.apple.usb.externaldevice.14110000 owner=My Book
Idle sleep preventers: IODisplayWrangler

Hi John,
Logs have been posted here:

Thanks for your help.
Jay

PS> Edit. Resent logs with renamed file. Thanks.

Hello @Jason,

When I go to the Firefox send link I am seeing that the link is expired. Please reupload the logs on a new Firefox Send link. Thanks!

-John

Hi John,
Reupload as requested. Thanks.

Hello @Jason,

I have passed this info along to the QA team, we will be sure to reach out to you once they have completed their investigation.

-John

Hi John,
Any update or insight on the sleep issue for my Mac? I’m still having issues as per the original post.
Thanks again,
Jay

Hello @Jason,

Are you using the HDMI output on your Mac mini in Roon? If so, would it be possible to disable the HDMI zone in Roon, reboot the computer, and see if you run into this issue in the time-frame that it normally occurs with the HDMI output disabled?

-John

Hi John,
I followed your instructions and disable the HDMI output in ROON. I kept an eye on the sleep issues and so far it has not helped. The first 2 nights the Mac went to sleep as scheduled but it reverted back and doesn’t behave as scheduled.

Thanks,
Jay

Hi John,
Any progress with this issues. The Mac still doesn’t sleep as scheduled.
Thanks again in advance for your help.
Jay

Hello @Jason,

We have been able to reproduce this behavior in our QA lab albeit with inconsistent results. We are working on making this issue reproducible for the development team. I can’t give an estimate on when this work will be done, but I’m glad to report progress has been made.

-John

Hi John,
Thanks for the update. I’m glad this was reproduced in the lab. Keep in mind the “inconsistent” nature of the issue is exactly what I’m experiencing. Sometimes the Mac sleeps and sometimes it doesn’t, it just doesn’t work as expected, so it seems your team has reproduced the behaviour perfectly.

Thanks again,
Jay

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.