Tazling Posted February 26, 2020 Share Posted February 26, 2020 (edited) System: ASUS MAXIMUS XI HERO, i8700K, Sapphire AMD RX580 Pulse, 32GB RAM, booting from internal nvme SSD, Mojave 10.14.6 When I first built this Hackintosh and finally got Mojave running, it was flawless for a few days. At some time since then, I'm not sure exactly when or why, I became aware of an issue. When the system sleeps (whether automatically or manually) it all seems OK. It doesn't do sleep refusal or spontaneous waking as some other people have reported. It sleeps and hibernates and so on. And it wakes up OK on keyboard or mouse input. BUT... After it wakes up, for some reason 3 strange things are going on. 1) super laggy, mouse movement jerky, almost unusable 2) kernel_task getting 75 percent or more of the CPU forever and yet not much seems to be going on really (what's it doing?) 3) intermittent very brief blink-to-black events on main monitor -- apparently random When I reboot (which is pretty quick from SSD) everything is just fine again. So I've just been rebooting to recover from "broken mode". Reboot is pretty fast but login is kinda slow (waiting for all my start-at-login apps to finish launching) so it's rather annoying. I dual boot Win10 on this machine from a 2nd internal SSD, and Win10 has no problem sleeping, hibernating, waking. Definitely Mojave specific. HD Audio is working. All my USB ports appear to be working. All my USB input devices appear to be working, including joysticks, game controllers, keyboards, mice. All my internal storage devices are working (2 HDDs and 3 SSDs plus a DVD writer). External devices like thumbdrives, WD portable HDDs, WD portable SSDs, all work great. All three monitors appear to be working. Benchmarks look OK (for example, Unigine Heaven bench reports about the same GPU performance results even when the system is "crippled" after waking from sleep!) I've been feebly trying this and that, but don't really know what I'm doing :-) I got as far as a working Hack by blindly following TonyMacx86 recipes and doing a heckuva lot of googling when weird things happened. I am using USBInjectAll and the 4-part USB port limit patch (by DalianSky and PMHeart) and it seems to be working (see above). In fact everything seems to be working except this one odd glitch, that when I wake up from sleep something is clearly wrong. Haven't found any way to clear the problem other than reboot. I've been told that wake-from-sleep problems are often USB related, and I know I should really be figuring out how to do custom SSDTs... started to read ReHabMan's guide... but it is so darned incomprehensibly technical that I'm too intimidated even to try, for fear of really bollixing up my system. So if anyone else has seen this problem and has a clue, I'd be really grateful. I'm having such trouble getting Catalina to boot all the way (off a whole separate USB drive with its own recent version of Clover, distinct EFI, etc) that I may be stuck at Mojave for a while! And this is making Mojave life annoying. Kinda bugs me when Win10 is more stable than MacOS, something wrong with this picture :-) Edited February 28, 2020 by Tazling problem solved Link to comment https://www.insanelymac.com/forum/topic/342727-solved-mojave-hackintosh-laggy-after-waking-from-sleep/ Share on other sites More sharing options...
Tazling Posted February 26, 2020 Author Share Posted February 26, 2020 NEW CLUE! While working on this issue I adopted an EFI folder outright from an experienced builder, to try it out. Everything worked OK but (at first) the wake problem was not solved. However after a power cycle (totally clean boot) I found two things had happened. The wake problem was gone (!!!!) and also I could no longer preview JPEGs. The borrowed EFI folder didn't have the shikigva boot args in Clover config.plist. I have to use the machine for production work today so can't be rebooting and testing, but next step is to reintroduce the shikigva boot args and see if (a) JPEG preview comes back, and (b) the sleep/wake issue also comes back. If both these things happen, then I would say that the probable cause of the sleep/wake bug is the shikigva args being fed to WEG (??). Pretty exciting, a real clue at last. Link to comment https://www.insanelymac.com/forum/topic/342727-solved-mojave-hackintosh-laggy-after-waking-from-sleep/#findComment-2710016 Share on other sites More sharing options...
Tazling Posted February 28, 2020 Author Share Posted February 28, 2020 This problem has now been fixed, by adopting a new EFI folder from a more experienced Hackintosher. I'm still not sure exactly what feature of the replacement EFI folder fixed the problem. I was able to restore shikigva boot args, preview JPGs, and still not experience lagginess on wake from sleep. Then I enabled IGPU and got rid of shiki args, and everything still worked (except my HD Audio device disappeared, oh well). Plugged in a Soundblaster USB audio adapter and now it's all good. When I have nothin' but free time (ha!) I'll try to diff my old EFI folder with the new one that works, and see if I can figure out what changes actually made the difference. Link to comment https://www.insanelymac.com/forum/topic/342727-solved-mojave-hackintosh-laggy-after-waking-from-sleep/#findComment-2710235 Share on other sites More sharing options...
Recommended Posts