Sleep issues galore - RX 5700 XT, Catalina, i5 6600K

Sleep issues galore - RX 5700 XT, Catalina, i5 6600K

Hey all, back again with more issues. If anyone can help with the below, I'll donate to your favorite charity, your favorite anything.

Basic system info:

GPU: Sapphire Nitro+ RX 5700 XT (connected to monitor via on-board DisplayPort)

WiFi/BT card: BCM943602CS (wifi works via PCIe, bluetooth requires on-board USB connection)

CPU: i5 6600K

Motherboard: ASUS Z170-A ATX LGA115

OS: Catalina 10.15.2

SMBIOS: iMacPro1,1

Debug file linked below, but I'll put it here too: https://drive.google.com/open?id=1ZrzJ2FCMLVJnn8p-C5gm6dhF-AiewVL9

--

So, I've successfully fixed everything else aside from one issue that is bothering me solely because I can't figure it out. It's 2 parts, but I feel they're both related.

1) It won't go to sleep on its own

My Energy Saver settings are basic, nondescript.

https://preview.redd.it/e9nwf679op941.png?width=780&format=png&auto=webp&s=2e08f22affac3255ef1ffd4762dbfe7b743cac07

However, no matter how long I leave my computer, it never goes to sleep. The display never goes to sleep, so then the computer itself can't go to sleep - it's a whole thing. BUT, I believe it's tied to...

2) Manually putting it to sleep results in the computer immediately waking up

If I do  > Sleep the display will go to sleep, then some seconds later, my computer will attempt to go to sleep and enter standby but a literal second later, lights come back on, fans turn on again - all of it. HOWEVER, it goes like this usually. Hit Sleep -> display sleep -> computer sleep -> computer and display wake up -> display sleep on its own after a few seconds. But then the computer never goes to sleep.

Debug file is here: https://drive.google.com/open?id=1ZrzJ2FCMLVJnn8p-C5gm6dhF-AiewVL9

Here's what i get from running `pmset -g assertions`

2020-01-09 03:16:44 -0500

Assertion status system-wide:

BackgroundTask 1

ApplePushServiceTask 0

UserIsActive 1

PreventUserIdleDisplaySleep 0

PreventSystemSleep 0

ExternalMedia 1

PreventUserIdleSystemSleep 0

NetworkClientActive 0

Listed by owning process:

pid 76(powerd): [0x0000000600088005] 00:18:36 ExternalMedia named: "com.apple.powermanagement.externalmediamounted"

pid 408(nsurlsessiond): [0x00000441000b848e] 00:00:02 BackgroundTask named: "NSURLSessionTask D4AB970A-8773-4FD0-B1CB-0EA219F5D1E1"

Timeout will fire in 10797 secs Action=TimeoutActionTurnOff

pid 99(apsd): [0x00000442000b8492] 00:00:01 ApplePushServiceTask named: "com.apple.apsd-lastpowerassertionlinger"

pid 123(hidd): [0x0000000800098023] 00:00:00 UserIsActive named: "com.apple.iohideventsystem.queue.tickle serviceID:100000501 name:AppleUserHIDEventSe product:USB-HID Keyboard eventType:3"

Timeout will fire in 900 secs Action=TimeoutActionRelease

Kernel Assertions: 0x4=USB

id=500 level=255 0x4=USB mod=12/31/69, 7:00 PM description=com.apple.usb.externaldevice.14400000 owner=USB-HID Keyboard

id=501 level=255 0x4=USB mod=12/31/69, 7:00 PM description=com.apple.usb.externaldevice.14600000 owner=4-Port USB 2.0 Hub

id=504 level=255 0x4=USB mod=12/31/69, 7:00 PM description=com.apple.usb.externaldevice.14641000 owner=Wireless Controller

Idle sleep preventers: IODisplayWrangler

Some other info:

  • If I reboot and sit on the lock/sign-in screen and hit the Sleep button there, it seems to work the first one or two times. The third time, same issue as everywhere else.
  • I made a custom USBMap.kext vis the USBMap script.
  • I came from a GTX 1060 Ti 6GB and full sleep never worked there either.
  • I run a BCM943602CS for WiFi and bluetooth and I need the Brcm and AirPort fix kexts for both of them to work after sleep.
  • This has been a problem before I did this, but I've also edited the USBMap.kext to report the card as being internal.
submitted by /u/hotcereal
[link] [comments]