Mojave sleep/wake issue: mouse jitter, gpu blinking black

i7 8700K, ASUS MAXIMUS HERO XI, Sapphire RX 580 Pulse 8GB. Success' href='/2020/12/install-macos-mojave-on-supported-pc.html'>Mojave 10.14.6, Clover

When I first got this Hack working, everything was fine. Then I went through some fun and games getting Win10 to dual-boot. Eventually that worked, and everything was still fine. So I was no longer messing with kexts and stuff because everything was working and life was good. This happy state lasted for a week or so. Then one day I ran Win10 for about 48 hrs, then switched back to MacOS... and starting with that session, Success' href='/2020/12/install-macos-mojave-on-supported-pc.html'>Mojave started waking up semi-crippled after power-save sleep (or manually initiated sleep).

System is fine, performance well up to spec, all good. Then we go into sleep mode. We wake up promptly (no big delay on wake up) but after waking, system is almost unusably laggy. Mouse movement is jittery, leaps across the screen in discrete steps instead of smoothly. And every now and then the display blinks black for a fraction of a second!

Reboot, and all of a sudden everything is fine again. Wind10, BTW, can sleep, hibernate, wake as many times as you like without any problem. Which is kind of embarrassing (Win10 being less flaky than MacOS? ouch!).

I'm heading for Success' href='/2020/12/install-macos-catalina-on-supported-pc.html'>Catalina if I can ever get it to boot (a whole other on-going story with lots of hair tearing and cussing). So I don't really mind if this is "just a Success' href='/2020/12/install-macos-mojave-on-supported-pc.html'>Mojave thing" -- I could live with it, if there was a quick and easy way to restore normal function. Like a reset of something or other, or kill -HUP some process id.

As it is, I have to do a Restart to get normal mouse function back. Keyboard doesn't seem to be affected (no typing lag) so I really think it must be the GPU, that it's been parked in some weird power-saving mode and hasn't snapped back out of it during wake; and it's not updating the screen region fast enough where the mouse pointer is moving. Fortunately I boot off SSD so it doesn't take all that long, but initial login is kinda slow because my user acct is loaded with login startup apps.

If anyone has a workaround that's faster than reboot, I'd really like to know about it. If not... oh well, keep wrestling with Success' href='/2020/12/install-macos-catalina-on-supported-pc.html'>Catalina I guess...

Author: @Tazling