Contribute
Register

[Guide] Intel IGPU HDMI/DP audio (all Sandy Bridge -> Kaby Lake [and likely later])

RehabMan

Moderator
Joined
May 2, 2012
Messages
184,103
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Thanks @RehabMan .


I am not able to get HDMI audio on my TV.

  1. I get HDMI audio sporadically with my current settings and (PR files attached.) only when I boot with the HDMI cable connected to the TV. If I hotplug, there is no HDMI audio.
  2. If I lose HDMI audio, even after booting with the cable connected, I make some random changes in the framebuffer-con1* values (enable and disable the keys) and finally restore it exactly back to where I started from. This exercise sometimes restores the HDMI audio, if I boot with the cable connected again, but definitely not if I hotplug.
  3. The connector type for AppleIntelFrameBuffer@1 does not change to 00 08 00 00 and it's stuck at 00 04 00 00 regardless of the cable is connected or not. Also, there is no HDMI shown in System Preferences>Sound>Output even though I am able to get the video output on the TV.

One more thing is that there used to be a pink tint on the TV, which I worked around by using the "patch-edid.rb" script. I never faced this in High Sierra.

I have tried other SMBIOS models also, such as the MacBook Pro 14,1 and 14,2.

HDMI audio works in Windows. Also previously it worked using the "0x591b0000, 0105 instead of 0204, HDMI" patch, in "KextsToPatch".

PR files generated after booting with HDMI cable connected, otherwise it wont show in IORegistryExplorer.

It is a typical problem with KBL.
You might experiment with different ig-platform-id values, different framebuffer patching, and FakePCIID_Intel_HDMI_Audio.kext.
 
Joined
Sep 3, 2012
Messages
95
Motherboard
ASUS WS C422 FW PRO/SE
CPU
W-2175
Graphics
Vega 64
Mac
  1. iMac
  2. MacBook
  3. Mac mini
Mobile Phone
  1. iOS
Hi.
Have a problem to get HDMI (DP) working on my HP EliteBook 840 G1. Tried to follow the guide but failed. injecting property "hda-gfx" = "onboard-1" on HDAU, IGPU, HDEF objects not working. Any help appreciated.

Hardware:
Mobo: HP EliteBook 840 G1 8 Series
CPU: i5-4300U
Graphics: Intel HD 4400 frame buffer 0x04260000
 

Attachments

  • debug_24629.zip
    2.9 MB · Views: 119
Last edited:
Joined
Sep 3, 2012
Messages
95
Motherboard
ASUS WS C422 FW PRO/SE
CPU
W-2175
Graphics
Vega 64
Mac
  1. iMac
  2. MacBook
  3. Mac mini
Mobile Phone
  1. iOS
HDMI is obviously working. Sorry my bad.
I thought that HDMI should show up as an permanent option in: About my Mac -> Audio, but I was wrong. When I connect my display to the display port on my EliteBook 840 HDMI shows up and everything is working perfect.

Thank's Rehabman for all your good work:headbang:
 
Joined
Mar 22, 2016
Messages
30
Motherboard
Laptop make & model # > See Rules!
CPU
I5-3217U
Graphics
HD 4000, NVIDIA GT720M
Mac
  1. MacBook Pro
Classic Mac
  1. Portable
Mobile Phone
  1. Android
Hi @RehabMan , i don't know this opt in to config ? what funtional ?
393276
 

Sniki

Moderator
Joined
Jan 5, 2016
Messages
2,302
Motherboard
HP Elite 8300 SFF
CPU
i7-3770
Graphics
HD 3000 | GTX 1650 LP
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
Hi @RehabMan , i don't know this opt in to config ? what funtional ?
View attachment 393276
As you see it and have it selected:
It is to enable internal display after sleep (when laptop wake from sleep) for those specified ig-platform-id's as if you use them, your screen will be black/won't wake. these patches are templates for different laptop models, you should use the ones you need accordingly and remove the unnecessary patches for your setup.
 
Joined
Feb 16, 2016
Messages
22
Motherboard
Haswell Toshiba Satellite Pro
CPU
i7-4700MQ
Graphics
HD4600
Mobile Phone
  1. iOS
Hi Rehab,

I am on Mojave 10.14.3

Through your guides managed to get

the following working:
- DSDT error free + Patched
- disabled Discrete IGPU native power management
- Sleep/wake/lid closure
- Brightness control
- USB ports limitation
- wifi + BT
- HDMI sound on HDAU

Not Working:
Sound on HDEF with device ID pci8086,8c20, although device is listed in PCI, system report as attached. Tried to patch through AppleHDApatcher, no hope.

Could you help me please.

Thanks
 

Attachments

  • Ioreg.zip
    612.8 KB · Views: 149
  • EFI.zip
    1.6 MB · Views: 177
  • Screen Shot 2019-03-26 at 2.17.21 AM.zip
    125.3 KB · Views: 108
Joined
Oct 6, 2018
Messages
100
Motherboard
Elite X2 1012 G2 << need manufacturer >> See Forum Rules !!
CPU
i5-7300U
Graphics
HD 620, 2736 x 1824
Note: In case you're wondering, Skylake (and Kaby Lake, and Coffee Lake) are similar to HD3000/HD4000 in that the HDMI/DP codec is on HDEF (typically HDAS in PC DSDT, renamed to HDEF for OS X) instead on a separate device HDAU.
Hello. Do I not need to rename B0D4 to HDAU or inject information to it if I have a Kaby Lake R system? More like can anyone tell me what B0D4 does if HDEF has the codec for HDMI on Sky Lake+? No use for it in macOS?
 
Last edited:
Joined
Apr 10, 2016
Messages
605
Motherboard
<< need model # >> See Forum Rules !!
CPU
I3 5020U
Graphics
Hd5500
Mac
  1. MacBook Pro
Mobile Phone
  1. Android
Didn't work for me. My Lenovo laptop HD5500, hdmi audio sometimes works. When it works, ioregistryexplorer shows connector type 00080000. But when it not works ioregistryexplorer shows connector type 00040000. Have checked all requirement , layout-id in HDEF HDAU, "hda-gfx" = "onboard-1". Can not change connector-type to 00080000
 
Top