OpenCore 0.5.8 - Can't recover from sleep

Just set up my Hackintosh with the following spec:

CPU: i5-9400F

Mobo :ASRock h370m-ITX/ac

GPU: ASRock RX570 8G

USB port patched and limited to fit the 15 port limit & internal USB port for wifi/bt card has also been taken into consideration.

Everything else is working blazing fast and smoothly, however, it just refused to wake from sleep.

The pmset gives the attached log to me.

It looks like it failed to boot due to "Failure during wake: PEG0() : Some drivers failed to handle setPowerState panic". My guess over this issue is the AMD driver provided is not working as expected, not able to handle the instruction of "wake from sleep".

I'm not using any GPU related kext at the time of the snapshot, tried WEG, nothing changed.

Do you have kind of suggestion or idea about what's actually going wrong on this?

2020-05-29 11:33:06 -0700 ShutdownCause SMC shutdown cause: 5: Software initiated shutdown
2020-05-29 11:33:07 -0700 HibernateStats hibmode=0 standbydelaylow=0 standbydelayhigh=0 0
Sleep/Wakes since boot at 2020-05-27 19:50:45 -0700 :0 Dark Wake Count in this sleep cycle:4

Time stamp Domain Message Duration Delay
========== ====== ======= ======== =====
UUID: Unknown UUID
2020-05-29 11:33:07 -0700 Sleep Entering Sleep state due to '': Using AC (Charge:0%)
2020-05-29 11:33:07 -0700 Failure Failure during wake: PEG0() : Some drivers failed to handle setPowerState panic
Sleep/Wakes since boot at 2020-05-27 19:50:45 -0700 :0 Dark Wake Count in this sleep cycle:4

System-wide power settings:

Currently in use:

autorestart 0

Sleep On Power Button 1

hibernatefile /var/vm/sleepimage

proximitywake 1

powernap 1

gpuswitch 2

networkoversleep 0

disksleep 10

sleep 1

hibernatemode 0

ttyskeepawake 1

displaysleep 10

tcpkeepalive 1

womp 1

Author: @cnnblike