Hey all,
First AMD hack build but long time hack user (since Lion)
I have had sleep/wake/hibernate working 100% on all my intel builds after a little bit of headache and trials but I have hit a brick wall with the AMD setup.
Setup:
Gigabyte Aorus B450 I Pro Wifi
AMD Ryzen 9 3900x
VisionTek AMD 5700
Opencore bootloader
All USB mapping done by hand with DSDT to avoid issues sleeping / waking with USB.
OK So if you just read these logs you would probably look at me and go "wtf is wrong with it?"
The issue is that after display sleep and kernel submits a code 5 "clean sleep by user"
my mobo never actually goes into "hibernate/deep sleep" mode and the only way to wake it up is by pulling power/forcing off
Then upon reboot OSX acts as if I had just woken it from from hibernate.
Is this an Opencore problem or is this an installation problem?
PS
I have an intel opencore install with deep sleep/hibernate working fine so I would lean more towards a configuration issue
First AMD hack build but long time hack user (since Lion)
I have had sleep/wake/hibernate working 100% on all my intel builds after a little bit of headache and trials but I have hit a brick wall with the AMD setup.
Setup:
Gigabyte Aorus B450 I Pro Wifi
AMD Ryzen 9 3900x
VisionTek AMD 5700
Opencore bootloader
All USB mapping done by hand with DSDT to avoid issues sleeping / waking with USB.
Code:
Time stamp Domain Message Duration Delay
========== ====== ======= ======== =====
UUID: 863FEE9D-C287-48E7-80A5-4F0536548044
2020-05-25 22:24:55 -0600 Notification Display is turned off
2020-05-25 22:24:55 -0600 Assertions PID 73(powerd) Summary ExternalMedia "com.apple.powermanagement.externalmediamounted" 00:01:33 id:0x0x800008006 [System: DeclUser BGTask IntPrevDisp kDisp]
2020-05-25 22:24:55 -0600 Assertions PID 119(hidd) Summary UserIsActive "com.apple.iohideventsystem.queue.tickle serviceID:1000003cc name:AppleUserHIDEventSe product:Razer Lancehead eventType:17" 00:00:00 id:0x0x90000823f [System: DeclUser BGTask IntPrevDisp kDisp]
2020-05-25 22:24:55 -0600 Assertions PID 407(UserEventAgent) Summary BackgroundTask "com.apple.coreduet.sync.update-source-device-identifiers" 00:01:16 id:0x0xb000081aa [System: DeclUser BGTask IntPrevDisp kDisp]
2020-05-25 22:24:55 -0600 Assertions PID 73(powerd) Summary InternalPreventDisplaySleep "com.apple.powermanagement.delayDisplayOff" 00:01:12 id:0x0x1000008001 [System: DeclUser BGTask IntPrevDisp kDisp]
2020-05-25 22:24:55 -0600 Assertions Kernel Idle sleep preventers: -None-
2020-05-25 22:24:55 -0600 Assertions [System: DeclUser BGTask IntPrevDisp kDisp]
2020-05-25 22:24:55 -0600 Assertions PID 73(powerd) Created InternalPreventSleep "com.apple.powermanagement.darkwakelinger" 00:00:00 id:0x0xd00008265 [System: DeclUser BGTask SRPrevSleep IntPrevDisp kCPU kDisp]
2020-05-25 22:24:55 -0600 AppWakeReason AppWoke:com.apple.bluetoothd-blueavengers Reason:BlueAvengers: Toggle beacon state
2020-05-25 22:25:10 -0600 Assertions PID 73(powerd) TimedOut InternalPreventSleep "com.apple.powermanagement.darkwakelinger" 00:00:15 id:0x0xd00008265 [System: DeclUser BGTask SRPrevSleep IntPrevDisp kCPU kDisp]
2020-05-25 22:25:10 -0600 Assertions Summary- [System: DeclUser BGTask IntPrevDisp kDisp] Using AC
2020-05-25 22:25:26 -0600 Sleep Entering Sleep state due to 'Software Sleep pid=131':TCPKeepAlive=disabled Using AC (Charge:0%)
2020-05-25 22:25:27 -0600 Assertions PID 203(coreaudiod) Released PreventUserIdleSystemSleep "com.apple.audio.context111.preventuseridlesleep" 00:01:59 id:0x0x100008041 [System: DeclUser BGTask IntPrevDisp kDisp]
2020-05-25 22:25:29 -0600 PM Client Acks Delays to Sleep notifications: [com.apple.apsd is slow(2116 ms)]
2020-05-25 22:27:48 -0600 ShutdownCause SMC shutdown cause: 5: Software initiated shutdown
Sleep/Wakes since boot at 2020-05-25 22:23:22 -0600 :0 Dark Wake Count in this sleep cycle:0
Time stamp Domain Message Duration Delay
========== ====== ======= ======== =====
UUID: (null)
2020-05-25 22:27:49 -0600 Start powerd process is started
2020-05-25 22:27:49 -0600 Assertions Summary- [System: No Assertions] Using AC
2020-05-25 22:27:49 -0600 Assertions PID 162(fsck_apfs) Created PreventUserIdleDisplaySleep "Running FSCK" 00:00:00 id:0x0x500008000 [System: PrevDisp kDisp]
2020-05-25 22:27:49 -0600 Assertions PID 73(powerd) Created ExternalMedia "com.apple.powermanagement.externalmediamounted" 00:00:00 id:0x0x800008001 [System: BGTask IntPrevDisp kDisp]
OK So if you just read these logs you would probably look at me and go "wtf is wrong with it?"
The issue is that after display sleep and kernel submits a code 5 "clean sleep by user"
my mobo never actually goes into "hibernate/deep sleep" mode and the only way to wake it up is by pulling power/forcing off
Then upon reboot OSX acts as if I had just woken it from from hibernate.
Is this an Opencore problem or is this an installation problem?
PS
I have an intel opencore install with deep sleep/hibernate working fine so I would lean more towards a configuration issue