
This guide should resolve Catalina from freezing when a hackintosh is waked from sleep when running off the Intel iGPU (integrated graphics). The mouse will freeze a couple seconds after being waked up and there may be a sudden restart with a kernel panic message saying there was a problem with Intel HDMI audio when you boot back in.
I noticed this kernel panic only happens when these conditions exist:
- Using AppleALC.kext with Clover (AppleALC is no longer being tested on Clover as the developer moved his support to OpenCore causing this issue)
- Only happens when Intel graphics is enabled.
- When the display monitor doesn’t have an HDMI audio output (This kernel panic happened to me on a monitor that didn’t have speakers, but when I plug in my other monitor that did have HDMI audio with built in speakers the kernel panic goes away)
To get around this issue we disable HDMI audio with a HDEF patch. If you are using the EFI files in the main Catalina guide this patch has already been included.
- Download gfxutil
- Open downloaded folder and Right-click open gfxutil
- A list will populate find PCI0.HDEF and copy its PciRoot device path
- Open config.plist located in your EFI folder with Clover Configurator
- Select Devices column in Clover Configurator
- Select the drop down menu and select No or type it in the box is in the top right corner of the Devices page
- Select the Properties tab near the bottom of the Devices page
- Click the “+” sign under the Devices* table
- Paste the device path you copied from gfxutil
- Select the Device path thats been added to the table and add:
- Click the “+” sign under the Properties table to the right
Properties Key* Properties Value Value Type No-hda-gfx AAAAAAAA AA DATA alc-layout-id 1 NUMBER - Restart to apply changes and see if sleep works after.
I’m my testing this issue only happens when using AppleALC on a monitor without speakers over integrated graphics. Other ways to circumvent this issue would be:
- Switching your EFI to OpenCore or by using a different audio solution than AppleALC.kext.
- Switching to a monitor with speakers built in so the panic doesn’t occur.
Leave a Reply
11 Comments on "Stop macOS from freezing during sleep/wake on a Catalina Hackintosh"
Why for the first time I’m having issues with the waking up from the sleep with AMD graphics card?
This guide is for intel graphics, so it wont help for you. What card are you using? I know Sapphire RX 5700 XT has sleep issues.
I use Sapphire RX 5700 XT and I’m having issues with waking up from the sleep. Keyboard and mouse not responding
I have the same issue.
After waking up from sleep, my keyboard and mouse not working at all.
GIGABYTE B365M HD3
Intel Core i7-8700 Coffee Lake
Hi
Im having same problem did you find a solution?
I tried the instructions but didnt work !! Any help !
Thanks for such simple guide. Its works great for me. Now, my last problem is solved.
Asus H310T R2.0
Core i5-9500
Broadcom BCM94360CS2
I’m having this problem with OpenCore 0.5.5 (using Lilu 1.4.1 and AppleALC 1.4.6, on a MSI B150M MORTAR motherboard, with intel i7-6700)
Can you explain how to apply this HDEF fix with OpenCore, please? I’d like to try it, I don’t have another monitor 🙁
Could really use some help here.
i7 8700k, iGPU, Gigabyte Aorus Gaming 5.
Everything was fine till I updated to 10.15.4
First the update wouldn’t go through, I updated clover, then graphics started glitching out partly.
Sleep/wake panic started after the update.
Now I’m down to
Clover 5112
Apple ALC 1.4.8 (No output devices now)
Lilu 1.4.3
WhateverGreen 1.3.8
This method hasn’t worked for me.
I do have a monitor that has speakers and uses Intel HDMI to transmit audio (It was working perfectly before)
Now my Hackintosh wakes up, takes upto 5 seconds to turn the display on, Graphics are glitching occasionally, and no audio output devices.
What do you guys suggest?
Thanks in advance.
I lost audio after following these steps. Graphics are glitching as well.
And display goes to a much smaller resolution after wake.
i7 8700k
UHD 630
Aorus Gaming 5
MacOS 10.15.4
Clover 5114
Same problem here. Did you find any solution?