Contribute
Register

AppleHDAHDMI_DPDriver loading only after unplug/plug DP cable

Status
Not open for further replies.
Joined
Apr 28, 2011
Messages
909
Motherboard
Asus Prime Z690M-Plus D4
CPU
i7-12700KF
Graphics
RX 6600
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
Hi everybody. Need a little help, here.
I've noticed a strange behavior about Intel® UHD Graphics 630 iGPU HDMI audio.
Here's the scenario:
  • macOS Big Sur 11.2.1
  • Asus Prime Z490-P
  • Intel i9 10900K
  • iGPU enabled and working through AppleCinemaDisplay (DisplayPort connection)
  • iMac20,2 (waiting for an MSI RX 5700XT which has not arrived yet)
  • opencore 0.6.6 (Debug version files attached down here)

Everything works as expected but...
Audio HDMI works only if I unplug then plug back the DisplayPort cable. In IOReg/HDEF AppleHDAHDMI_DPDriver shows up only after unplug and re-plug back the video cable (and obviously HDMI audio in sound outputs).
Both onboard HDMI 1.4b port and DisplayPort 1.4 have the same issue, so I guess it's not hardware related. Likely I'm missing something here.

Here's what I have before I touch anything
full


And here's what happens when I unplug and plug the DP cable (or HDMI) back
full


Any clues?

Attachments:
  • EFI folder
  • IOReg (version 2.1 for 10.6.3) with AppleHDAHDMI_DPDriver not loaded (before unplug/plug DisplayPort)
  • IOReg with AppleHDAHDMI_DPDriver loaded (after unplug/plug DisplayPort)
  • BIOS 1602 settings
Any help would be strongly welcomed!
 

Attachments

  • bios_setting.txt.zip
    4.7 KB · Views: 119
  • EFI Partition.zip
    3.2 MB · Views: 159
  • IORegs.zip
    1.4 MB · Views: 134
Last edited:
Hi mate
so hdmi only used for catalina and dp only for windows , no issue with audio ( used logitech pro x and bose soundlink mini bluetooth

 
Hi mate
so hdmi only used for catalina and dp only for windows , no issue with audio ( used logitech pro x and

Bose SoundLink Mini Bluetooth Speaker​

@bertaz You mean as soon as you boot the system with a connected display on iGPU you have Digital Audio from that display without unplug and replug it back?
What bios version are you on?
In fact, would you do a small test for me, please?
  1. Power off the system
  2. Attach to onboard DP or HDMI a monitor that have Digital Audio
  3. Power on the system
  4. open IORegistryExplorer (download it from here)
  5. From IORegistryExplorer menu: File/Save a Copy As (name it as you wish, like Ioreg1)
  6. Close IORegistryExplorer
  7. Unplug/plug back the same display
  8. Re-open IORegistryExplorer
  9. From IORegistryExplorer menu: File/Save a Copy As (another name, like Ioreg2 or something)
  10. Attach the files here
That would be hugely appreciated!

PS: Please keep in mind that I'm focusing on HDMI/DP Audio, carried along the video signal, not the Bluetooth or analog HDEF Audio ;)
 
Last edited:
I didn't unplug anything , just have change on monitor DP or HDMI
Bios 1602 Beta Version
Just trying your EFI and spec cpu showing i7 so is good but is somthing wrong with it not running smooth
Im not expert mate

Below Iroeg like you asking ( HDMI unplug and plug back )
I hope this can help you !
 

Attachments

  • Screenshot 2021-02-22 at 19.17.45.png
    Screenshot 2021-02-22 at 19.17.45.png
    331.4 KB · Views: 151
Last edited:
No AppleHDAHDMI_DPDriver shows up in your IORegs. Perhaps your monitor doesn't have audio. Thank you anyway.
One last question: I noticed in your config that you're using layout-id 11 for your on board Audio. Any particular reason?
 
That's right my monitor don't have speakers ( dell s2721dgf)
layout-id 11 i think it doesn't matter because I use Bluetooth or usb for audio
 
That's right my monitor don't have speakers ( dell s2721dgf)
layout-id 11 i think it doesn't matter because I use Bluetooth or usb for audio
It does have audio!
Schermata 2021-02-22 alle 21.45.21.png


This is from the S2721DGF User’s Guide here
 
@pastrychef @shilohh @headkaze
I'm trying to bypass Whatevergreen, and it's quite easy: I have onboard IGPU, onboard Audio, HDMI Audio (with the above unplug/plug problem) via SSDT injection (attached).
I can't manage the frame buffer patching via Kext patch in open core/config.plist
I'm wondering: is there a way to inject frame buffer patch via SSDT? Here's what I need to do:
Code:
com.apple.driver.AppleIntelCFLGraphicsFramebuffer

Platform-id ID: 3E9B0000

FIND
00000800 02000000 98000000
01050900 00040000 87010000
02040A00 00040000 87010000

REPLACE
00000800 02000000 98000000
01050900 00040000 87010000
02020A00 00080000 87010000
 

Attachments

  • SSDT-HDAS.aml
    297 bytes · Views: 123
  • SSDT-HDMI.aml
    422 bytes · Views: 129
Last edited:
Hi
Your EFI is wrong mate :confused: Please use. ttps://opencore.slowgeek.com
Just paste your config and you will be knows whats wrong is with it



Screenshot 2021-02-24 at 16.59.06.png

One more issue missing one ssdt

Screenshot 2021-02-24 at 17.01.01.png
 
Hi
Your EFI is wrong mate :confused: Please use. ttps://opencore.slowgeek.com
Just paste your config and you will be knows whats wrong is with it



View attachment 510395
One more issue missing one ssdt

View attachment 510396
Hi bertaz.
  • ResetLogoStatus is set to YES cause I have a custom boot logo. I'm pretty sure (I can be wrong) that Boot Graphics Resource Table has nothing to do with my HDMI issue.
  • The AAPL,ig-platform-id I'm using is the result of many trial/error steps. You can use at least two of the many that are present in AppleIntelCFLGraphicsFramebuffer:
    • 07009B3E Used when the Desktop iGPU is used to drive a display
    • 00009B3E Alternative to 07009B3E if it doesn't work
as stated here by Acidanthera.​
If you want to know better, this page would be a good way to start.​
  • DisableIoMapper needs to be set to YES only if you have VT-d enabled in BIOS, which is not my case, since I have no need of virtualization whatsoever.
  • PickerMode is set to External cause I like graphics mode on OpenCore boot page (with icons and stuff, you know ;) )
  • AllowSetDefault allows CTRL+Enter and CTRL+Index handle the default boot option in boot picker. No need of that either. Also, that is irrelevant about my issue.
  • SSDT-RHUB turns off the RHUB device and forces macOS to manually rebuild the ports. That is mandatory to build your own USB (re) map. Once you've created your own USB.kext (or you've patched the XHC with USBInjectAll.kext + SSDT USB) you don't need SSDT-RHUB anymore.
Sanity checker is extremely useful, though!
Thanks anyway for pointing out the ResetLogoStatus, which was unnoticed, until now.
Cheers
g.
 
Status
Not open for further replies.
Back
Top