Hi everyone,
I've got a mostly successful build now, the specs are:
The main thing I haven't been able to get working is sleep/wake, does anyone know how to debug this?
Currently it seems like the system is pretending to sleep, the display turns off but the fans/lights are still active and I can 'wake' from this state and the system seems to function without issue.
Things I've tried:
Thanks in advance for your help, will be sure to update a successful solution if we get there!
---
Console output when trying to sleep the system:
default 01:24:49.321039+0100 kernel PMRD: prevent idle sleep list: IODisplayWrangler- (0)
default 01:24:49.321048+0100 kernel PMRD: changePowerStateTo(2)
default 01:24:49.321052+0100 kernel PMRD: changePowerStateToPriv(4)
default 01:24:49.321085+0100 kernel PMRD: askChangeDownDone(0x5c2, 0) type 3, cap f->9
default 01:24:49.321089+0100 kernel PMRD: tellChangeDown ON_STATE->ON_STATE
default 01:24:49.321090+0100 kernel PMRD: tellChangeDown::userActivityAtSleep 8
default 01:24:49.321532+0100 kernel PMRD: trace point 0x31 msg 0xe0000280 to kernel
default 01:24:49.321180+0100 powerd Process hidd.141 Summary UserIsActive "com.apple.iohideventsystem.queue.tickle serviceID:10000067b name:NULL product:mikepjb’s Mouse eventType:11" age:00:00:00 id:38654738472 [System: DeclUser BGTask kDisp]
default 01:24:49.321755+0100 powerd Process (null).0 Released Idle Sleep Preventer "IODisplayWrangler" age: id:0 [System: DeclUser BGTask kDisp]
p.s It's also worth pointing out that the system would shutdown if I left it to auto sleep via energy saver, it would complain about the XHCI controller which makes me suspect it's something to do with USB
I've got a mostly successful build now, the specs are:
- Ryzen 5 1600 cpu
- MSI B350m gaming pro motherboard
- RX 5700XT gpu
- 16gb Corsair 3200mhz ram
- 500gb samsung 860 evo ssd
- OpenCore 0.5.9
The main thing I haven't been able to get working is sleep/wake, does anyone know how to debug this?
Currently it seems like the system is pretending to sleep, the display turns off but the fans/lights are still active and I can 'wake' from this state and the system seems to function without issue.
Things I've tried:
- Searching through the console logs.. there is a lot of output and I'm unsure how helpful that is (see below for an excerpt), without experience in the matter a lot of the output seems hard to parse.
- Setting ErP to enabled/disabled (disabled seems better as I can 'wake' from the current pseudo sleep)
- enabling/disabling IOMMU (I read somewhere that someone set this to enabled to resolve an issue, it did nothing so it's left enabled for now)
- Disabling serial ports (I don't use them so I've left this disabled)
- Mapping USB ports.. I found this a bit confusing but have included a hand crafted AMD-USB-Map.kext, it's working because I can disable my USBs by removing entries but it doesn't resolve sleep issues.
- Removing as many USB devices as possible to check if it affects sleep (could not get a properly sleep this way either)
Thanks in advance for your help, will be sure to update a successful solution if we get there!
---
Console output when trying to sleep the system:
default 01:24:49.321039+0100 kernel PMRD: prevent idle sleep list: IODisplayWrangler- (0)
default 01:24:49.321048+0100 kernel PMRD: changePowerStateTo(2)
default 01:24:49.321052+0100 kernel PMRD: changePowerStateToPriv(4)
default 01:24:49.321085+0100 kernel PMRD: askChangeDownDone(0x5c2, 0) type 3, cap f->9
default 01:24:49.321089+0100 kernel PMRD: tellChangeDown ON_STATE->ON_STATE
default 01:24:49.321090+0100 kernel PMRD: tellChangeDown::userActivityAtSleep 8
default 01:24:49.321532+0100 kernel PMRD: trace point 0x31 msg 0xe0000280 to kernel
default 01:24:49.321180+0100 powerd Process hidd.141 Summary UserIsActive "com.apple.iohideventsystem.queue.tickle serviceID:10000067b name:NULL product:mikepjb’s Mouse eventType:11" age:00:00:00 id:38654738472 [System: DeclUser BGTask kDisp]
default 01:24:49.321755+0100 powerd Process (null).0 Released Idle Sleep Preventer "IODisplayWrangler" age: id:0 [System: DeclUser BGTask kDisp]
p.s It's also worth pointing out that the system would shutdown if I left it to auto sleep via energy saver, it would complain about the XHCI controller which makes me suspect it's something to do with USB