Andres ZeroCross Posted July 26, 2019 Share Posted July 26, 2019 (edited) So, i have wake issue in Catalina from DP 3 (Second Wake always Fail), but now in DP 4 i always get Kernel panic after wake about "AppleHDA HDMI_DP Driver fail to set power 0 -> 1." But i thought i get solution now. First take a look at this _DSM of HDEF in real iMac18,3. Device (HDEF) { Name (_ADR, 0x001F0003) // _ADR: Address OperationRegion (HDAR, PCI_Config, Zero, 0x60) Field (HDAR, WordAcc, NoLock, Preserve) { VID0, 16, DID0, 16 } Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method { If (Arg0 == ToUUID ("a0b5b7c6-1318-441c-b0c9-fe695eaf949b")) { If ((VID0 & 0xFFFF) != 0xFFFF) { Local0 = Package (0x04) { "No-hda-gfx", Buffer (0x08) { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 /* ........ */ }, "No-idle-support", Buffer (0x02) { "0" } } DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0)) Return (Local0) } } Return (0x80000002) } } And if you check for IGPU device in Real iMac 18,3 you won't found "hda gfx" properties too. I am sure, it because Real iMac18,3 didn't use HDMI Audio from IGPU (HDAU), just HDAU (HDMI audio) from AMD GPU only. Then both GFX0 and HDAU of Real iMac18,3 use this properties, "hda-gfx", Buffer (0x0A) { "onboard-1" } So i have added this code below and remove "hda-gfx onboard-1" properties from my HDEF device, and change "onboard-2" in my GFX0 and HDAU (AMD Graphics) to "onboard-1". "No-hda-gfx", Buffer (0x08) { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 /* ........ */ }, "No-idle-support", Buffer (0x02) { "0" } Then problem is gone. I can sleep and wake my Hackintosh PC for more then 10 times without Kernel Panic or Freeze. Take a look different in IOREG Conclusions is "you need to disable your HDMI Audio of IGPU" if you don't use it (connector-less ig-platform-id). I don't know if people with multiple monitor from IGPU and EGPU still need to disable HDMI Audio in Catalina". My computer specifications is in my signature Edited July 26, 2019 by Andres ZeroCross 5 1 Link to comment https://www.insanelymac.com/forum/topic/339695-fix-kernel-panic-freeze-because-hdmi_dp-applehda-after-wake-in-catalina-with-connectorless-ig-platfrom-id-of-igpu-supported-egpu/ Share on other sites More sharing options...
tyufhl Posted July 29, 2019 Share Posted July 29, 2019 @Andres ZeroCross iMac — fw (3).zip I disable it through the iDisplay Audio Disconnect variable and the device turns off completely. Like in Apple. 1 Link to comment https://www.insanelymac.com/forum/topic/339695-fix-kernel-panic-freeze-because-hdmi_dp-applehda-after-wake-in-catalina-with-connectorless-ig-platfrom-id-of-igpu-supported-egpu/#findComment-2683340 Share on other sites More sharing options...
Andres ZeroCross Posted July 29, 2019 Author Share Posted July 29, 2019 17 minutes ago, tyufhl said: @Andres ZeroCross iMac — fw (3).zip I disable it through the iDisplay Audio Disconnect variable and the device turns off completely. Like in Apple. Nice,, honestly i don't know how to set this variable. Can you write a guide? Link to comment https://www.insanelymac.com/forum/topic/339695-fix-kernel-panic-freeze-because-hdmi_dp-applehda-after-wake-in-catalina-with-connectorless-ig-platfrom-id-of-igpu-supported-egpu/#findComment-2683344 Share on other sites More sharing options...
tyufhl Posted July 29, 2019 Share Posted July 29, 2019 (edited) as an example https://github.com/acidanthera/AptioFixPkg#verifymsre2 But for accessing variables, I use RU.efi http://ruexe.blogspot.com PS. in pdf showed how to do it.iDisplay Audio Disconnect.zip Edited August 10, 2019 by tyufhl 2 Link to comment https://www.insanelymac.com/forum/topic/339695-fix-kernel-panic-freeze-because-hdmi_dp-applehda-after-wake-in-catalina-with-connectorless-ig-platfrom-id-of-igpu-supported-egpu/#findComment-2683351 Share on other sites More sharing options...
tyufhl Posted August 11, 2019 Share Posted August 11, 2019 @Andres ZeroCross you tried? post above. Link to comment https://www.insanelymac.com/forum/topic/339695-fix-kernel-panic-freeze-because-hdmi_dp-applehda-after-wake-in-catalina-with-connectorless-ig-platfrom-id-of-igpu-supported-egpu/#findComment-2685489 Share on other sites More sharing options...
DearTanker Posted September 16, 2019 Share Posted September 16, 2019 How to disable HDMI Audio in Catalina ? must be fix from the bios ? Link to comment https://www.insanelymac.com/forum/topic/339695-fix-kernel-panic-freeze-because-hdmi_dp-applehda-after-wake-in-catalina-with-connectorless-ig-platfrom-id-of-igpu-supported-egpu/#findComment-2690237 Share on other sites More sharing options...
Andres ZeroCross Posted September 16, 2019 Author Share Posted September 16, 2019 1 minute ago, DearTanker said: How to disable HDMI Audio in Catalina ? must be fix from the bios ? Just remove "hda-gfx", Buffer (0x0A) { "onboard-1" } From _DSM of your HDEF in DSDT or HDEF properties in config.plist Link to comment https://www.insanelymac.com/forum/topic/339695-fix-kernel-panic-freeze-because-hdmi_dp-applehda-after-wake-in-catalina-with-connectorless-ig-platfrom-id-of-igpu-supported-egpu/#findComment-2690238 Share on other sites More sharing options...
DearTanker Posted September 16, 2019 Share Posted September 16, 2019 4 minutes ago, Andres ZeroCross said: Just remove "hda-gfx", Buffer (0x0A) { "onboard-1" } From _DSM of your HDEF in DSDT or HDEF properties in config.plist I don't find anything like this with in config.plist. config.plist.zip Link to comment https://www.insanelymac.com/forum/topic/339695-fix-kernel-panic-freeze-because-hdmi_dp-applehda-after-wake-in-catalina-with-connectorless-ig-platfrom-id-of-igpu-supported-egpu/#findComment-2690239 Share on other sites More sharing options...
Andres ZeroCross Posted September 16, 2019 Author Share Posted September 16, 2019 Just now, DearTanker said: I don't find anything like this with in config.plist. config.plist.zip Then set it from your DSDT Link to comment https://www.insanelymac.com/forum/topic/339695-fix-kernel-panic-freeze-because-hdmi_dp-applehda-after-wake-in-catalina-with-connectorless-ig-platfrom-id-of-igpu-supported-egpu/#findComment-2690240 Share on other sites More sharing options...
DearTanker Posted September 16, 2019 Share Posted September 16, 2019 1 minute ago, Andres ZeroCross said: Then set it from your DSDT sorry I have not using DSDT, any guide can help me to do this? Link to comment https://www.insanelymac.com/forum/topic/339695-fix-kernel-panic-freeze-because-hdmi_dp-applehda-after-wake-in-catalina-with-connectorless-ig-platfrom-id-of-igpu-supported-egpu/#findComment-2690241 Share on other sites More sharing options...
DearTanker Posted September 16, 2019 Share Posted September 16, 2019 (edited) On 7/30/2019 at 12:42 AM, tyufhl said: as an example https://github.com/acidanthera/AptioFixPkg#verifymsre2 But for accessing variables, I use RU.efi http://ruexe.blogspot.com PS. in pdf showed how to do it.iDisplay Audio Disconnect.zip I have tried this way, still can find the HDMI audio with IOREG Edited September 16, 2019 by DearTanker Link to comment https://www.insanelymac.com/forum/topic/339695-fix-kernel-panic-freeze-because-hdmi_dp-applehda-after-wake-in-catalina-with-connectorless-ig-platfrom-id-of-igpu-supported-egpu/#findComment-2690301 Share on other sites More sharing options...
tyufhl Posted September 17, 2019 Share Posted September 17, 2019 @DearTanker can show ioreg? Link to comment https://www.insanelymac.com/forum/topic/339695-fix-kernel-panic-freeze-because-hdmi_dp-applehda-after-wake-in-catalina-with-connectorless-ig-platfrom-id-of-igpu-supported-egpu/#findComment-2690370 Share on other sites More sharing options...
DearTanker Posted September 17, 2019 Share Posted September 17, 2019 7 hours ago, tyufhl said: @DearTanker can show ioreg? IOREG&BIOS_setup_body.zip Link to comment https://www.insanelymac.com/forum/topic/339695-fix-kernel-panic-freeze-because-hdmi_dp-applehda-after-wake-in-catalina-with-connectorless-ig-platfrom-id-of-igpu-supported-egpu/#findComment-2690405 Share on other sites More sharing options...
tyufhl Posted September 17, 2019 Share Posted September 17, 2019 @DearTanker can show a photo of the page "Setup" with the offset 0xF54? Link to comment https://www.insanelymac.com/forum/topic/339695-fix-kernel-panic-freeze-because-hdmi_dp-applehda-after-wake-in-catalina-with-connectorless-ig-platfrom-id-of-igpu-supported-egpu/#findComment-2690444 Share on other sites More sharing options...
DearTanker Posted September 17, 2019 Share Posted September 17, 2019 (edited) 16 minutes ago, tyufhl said: @DearTanker can show a photo of the page "Setup" with the offset 0xF54? I have set it to 0x1, and I have check two times to make sure I was right. I will take the photo for u ... Edited September 17, 2019 by DearTanker Link to comment https://www.insanelymac.com/forum/topic/339695-fix-kernel-panic-freeze-because-hdmi_dp-applehda-after-wake-in-catalina-with-connectorless-ig-platfrom-id-of-igpu-supported-egpu/#findComment-2690447 Share on other sites More sharing options...
tyufhl Posted September 17, 2019 Share Posted September 17, 2019 48 minutes ago, DearTanker said: I have set it to 0x1, and I have check two times to make sure I was right. I will take the photo for u ... can you change CFG Lock? Link to comment https://www.insanelymac.com/forum/topic/339695-fix-kernel-panic-freeze-because-hdmi_dp-applehda-after-wake-in-catalina-with-connectorless-ig-platfrom-id-of-igpu-supported-egpu/#findComment-2690450 Share on other sites More sharing options...
DearTanker Posted September 18, 2019 Share Posted September 18, 2019 19 hours ago, tyufhl said: can you change CFG Lock? I have already done that. Link to comment https://www.insanelymac.com/forum/topic/339695-fix-kernel-panic-freeze-because-hdmi_dp-applehda-after-wake-in-catalina-with-connectorless-ig-platfrom-id-of-igpu-supported-egpu/#findComment-2690557 Share on other sites More sharing options...
tyufhl Posted September 18, 2019 Share Posted September 18, 2019 3 hours ago, DearTanker said: I have already done that. I can't help you. long ago you unlocked CFG? Link to comment https://www.insanelymac.com/forum/topic/339695-fix-kernel-panic-freeze-because-hdmi_dp-applehda-after-wake-in-catalina-with-connectorless-ig-platfrom-id-of-igpu-supported-egpu/#findComment-2690574 Share on other sites More sharing options...
DearTanker Posted September 18, 2019 Share Posted September 18, 2019 1 hour ago, tyufhl said: I can't help you. long ago you unlocked CFG? No, just do that. any idea? Link to comment https://www.insanelymac.com/forum/topic/339695-fix-kernel-panic-freeze-because-hdmi_dp-applehda-after-wake-in-catalina-with-connectorless-ig-platfrom-id-of-igpu-supported-egpu/#findComment-2690580 Share on other sites More sharing options...
ghoys Posted September 30, 2019 Share Posted September 30, 2019 On 7/29/2019 at 11:06 PM, tyufhl said: @Andres ZeroCross iMac — fw (3).zip I disable it through the iDisplay Audio Disconnect variable and the device turns off completely. Like in Apple. wow! just got fixed by using uefi tool and ru.efi. thanks @tyufhl. 1 Link to comment https://www.insanelymac.com/forum/topic/339695-fix-kernel-panic-freeze-because-hdmi_dp-applehda-after-wake-in-catalina-with-connectorless-ig-platfrom-id-of-igpu-supported-egpu/#findComment-2691787 Share on other sites More sharing options...
okubo-show Posted October 21, 2019 Share Posted October 21, 2019 "iDisplay Audio Disconnect.zip" Guide works for me! Thanks. Z390 AORUS PRO Link to comment https://www.insanelymac.com/forum/topic/339695-fix-kernel-panic-freeze-because-hdmi_dp-applehda-after-wake-in-catalina-with-connectorless-ig-platfrom-id-of-igpu-supported-egpu/#findComment-2694430 Share on other sites More sharing options...
ks5z Posted October 21, 2019 Share Posted October 21, 2019 I have a wake from sleep issue on my Z390 Aorus Ultra motherboard with just the igpu activated. Screen comes back to life, cursor will move around for a few seconds, and then the machine just locks with no kernel panic, just freezes in place. Wake from sleep works fine in Mojave, and this only happens in Catalina using the same EFI folder. I've tried the various fixes in the thread, but none seem to disable the HDMI audio device. With regards to the iDisplay Audio Disconnect instructions in the pdf, how am I supposed to open the firmware in the first step? I have downloaded it from gigabyte to open, is this correct, or should I be opening u some other file in UEFITool? Link to comment https://www.insanelymac.com/forum/topic/339695-fix-kernel-panic-freeze-because-hdmi_dp-applehda-after-wake-in-catalina-with-connectorless-ig-platfrom-id-of-igpu-supported-egpu/#findComment-2694560 Share on other sites More sharing options...
tyufhl Posted October 24, 2019 Share Posted October 24, 2019 (edited) On 10/22/2019 at 3:44 AM, ks5z said: I have a wake from sleep issue on my Z390 Aorus Ultra motherboard with just the igpu activated. Screen comes back to life, cursor will move around for a few seconds, and then the machine just locks with no kernel panic, just freezes in place. Wake from sleep works fine in Mojave, and this only happens in Catalina using the same EFI folder. I've tried the various fixes in the thread, but none seem to disable the HDMI audio device. With regards to the iDisplay Audio Disconnect instructions in the pdf, how am I supposed to open the firmware in the first step? I have downloaded it from gigabyte to open, is this correct, or should I be opening u some other file in UEFITool? https://github.com/acidanthera/bugtracker/issues/513 Edited October 24, 2019 by tyufhl Link to comment https://www.insanelymac.com/forum/topic/339695-fix-kernel-panic-freeze-because-hdmi_dp-applehda-after-wake-in-catalina-with-connectorless-ig-platfrom-id-of-igpu-supported-egpu/#findComment-2694798 Share on other sites More sharing options...
ks5z Posted October 28, 2019 Share Posted October 28, 2019 On 10/23/2019 at 11:04 PM, tyufhl said: https://github.com/acidanthera/bugtracker/issues/513 Thanks for posting this link!.. I've got my wake from sleep working now after following some of the fixes in that thread.. Link to comment https://www.insanelymac.com/forum/topic/339695-fix-kernel-panic-freeze-because-hdmi_dp-applehda-after-wake-in-catalina-with-connectorless-ig-platfrom-id-of-igpu-supported-egpu/#findComment-2695258 Share on other sites More sharing options...
Recommended Posts