Black screen after wake from sleep (kernel panic?)

Here's the build I'm working on:

Gigabyte x299 Designare EX

i9-9820x (Skylake refresh)

Sapphire Pulse RTX 570

I've followed most of this guide:

iMac Pro X299 - Live the Future now with macOS 10.14 Mojave [Successful Build/Extended Guide]

(I haven't made it completely through the E.9 section though (only E.9.1).)

So far everything works great! The remaining big issue is sleep/wake. This is going to be a workstation so working sleep is a must. What happens is that I'll initiate sleep, and everything powers down correctly--the drives, the fans, the lights--but when I tap a key to wake it, nearly everything wakes up but the display. The LED on the display goes red and the screen is black. So I'll hold down the power button to the PC to turn it off, which shuts it down (tower doesn't have a restart button), but a few seconds later it turns back on on its own. When booting into MacOS from Clover, in verbose mode, one of the first messages is "System was automatically rebooted after panic." Other than that it boots up normally and Apple asks me if I want to send a crash report.

The guide has a link to this article, but it seems to be out of date as I can't find PMStatusCode in IORegistryExplorer.

I've tried

darkwake 1-10

standby 0

hibernate 0

clover config file: https://pastebin.com/nByNqQrU

kext folder: https://imgur.com/a/WDVGMnQ

Is there anything else I can try to get it working properly?

Thanks for any help!!

submitted by /u/timetrapped
[link] [comments]