[Guide] Enable Intel IGPU HDMI/DP Audio (Sandy/Ivy/Haswell/Broadwell/Skylake/Kaby Lake/Kaby Lake-R)


EliteMacx86

Administrator
Staff member
Audio is an essential component of any system. Having a HDMI/DP Audio is a great pleasure on Mac. With this feature enabled, you can enjoy watching movies, shows on your big screen television or external Monitor.

The following is a guide for enabling HDMI/DP Audio for laptops.

Before using this guide, we recommend you to perform a clean installation of macOS.

The method is supported on the following.

Chipsets :
  • Sandy Bridge
  • Ivy Bridge
  • Haswell
  • Broadwell
  • Skylake
  • Kaby Lake
  • Coffee Lake
macOS/OS X versions:
  • Supports macOS/OS X versions: 10.13.x, 10.12.x, 10.11.x
Supported Vendors:
  • Intel HD Graphics
Requirements
  • Any of the above chipset
  • Any of the above macOS/OS X version
  • Working Intel HD Graphics with correct VRAM and Full QE/CI
  • Patched AppleHDA

Before you start

Notes :
  • If you've used any other method such as VoodooHDA, AppleALC, or aDummyHDA, make sure to remove those files to avoid conflicts.
  • If you're using any injector, make sure to remove it.
  • AppleHDADisabler, HDAEnabler should be removed.
  • For HDMI audio, you need to inject the hda-gfx, use a patch in config.plist file for the HDMI/DP port and a valid ig-platform id.
  • For some Chipsets such as Haswell and Broadwell, renaming B0D3 to HDAU is necessary.
  • Your Graphics should be working natively with the particular OS X or macOS version and should have no issues.
  • Your Audio should be working using AppleHDA or AppleALC method. For more information, read here: https://www.elitemacx86.com/threads/a-beginners-guide-how-to-patch-applehda-for-laptops.184/
  • For unsupported HDMI Audio Device, FakePCIID.kext and FakePCIID_Intel_HDMI_Audio.kext installation is required

Mount your EFI Partition
The very first step is to mount the EFI partition and make the necessary changes
Open your EFI partition and then open your DSDT

Common Patches (DSDT)
  • Rename GFX0 to IGPU
  • Rename B0D3 to HDAU
Note :
Acpi patches
  • Change HDAS to HDEF
Open your EFI partition and then open your Config.plist file with Clover Configurator.
Go to Acpi Tab then DSDT section, Find Patches and type following:
Code:
Comment: Rename HDAS to HDEF
Find* [HEX]: 48444153
Replace [HEX]: 48444546
Layout ID
  • Layout ID as per the AppleHDA
Go to Device Tab then Audio section and delete existing value if any and type your layout ID.
Under Audio section, be sure to check the ResetHDA Check Box if not checked already.

Notes :
  • The DSDT must be patched with the same layout ID.
  • Use Audio layout according to your Audio Codec and also change it while renaming B0D3.
Add Device Properties (hda-gfx)
  • Inject hda-gfx=onboard-1
Go to Add Properties section and then add the following :
Code:
Device: IntelGFX
Key: hda-gfx
Value: 6F6E626F6172642D3100
Value Type: DATA
Comment: hda-gfx=onboard-1 for HDMI audio
Code:
Device: HDA
Key: hda-gfx
Value: 6F6E626F6172642D3100
Value Type: DATA
Comment : hda-gfx=onboard-1 for HDMI audio
Code:
Device: HDA
Key: layout-id
Value: 03000000
Value Type: DATA
Comment: layout-id=3
Note :
  • Change the layout according to your Audio Codec in Device properties section, in the last patch.

Kernel and Kext Patches
  • A HDMI/DP Audio patch
Go to Kernel and Kext Patches Tab and type the following :

Sandy Bridge (Intel HD 3000)
Code:
Name: AppleIntelSNBGraphicsFB
Find: 02050000 00040000 07000000 03040000 00040000 09000000 04060000 00040000 09000000
Replace: 02050000 00080000 07000000 03040000 00080000 09000000 04060000 00080000 09000000
Comment: Laptop Intel HD3000 HDMI (snb-platform-id 0x00010000)
Ivy Bridge (Intel HD 4000)
Code:
Name:
Finde:
Replace:
Comment:
Haswell (Intel HD 4200, 4400, 4600)
Code:
Name: com.apple.driver.AppleIntelFramebufferAzul
Find: 020409000004000087000000
Replace: 020409000008000087000000
Comment: HDMI-audio, port 0204, 0x0a260005 0x0a260006
Broadwell (Intel HD 5300, 5500, 6000)
Code:
Name: com.apple.driver.AppleIntelBDWGraphicsFramebuffer
Find: 01050B00 00040000 07050000
Replace: 01050B00 00080000 82000000
Comment: HDMI-audio, port 0105, 0x16120003 0x16120005 0x16120006 0x16260006
Skylake (Intel HD 515, 520, 530, 540, 550)
Code:
Name: AppleIntelSKLGraphicsFramebuffer
Find: 00000800020000009800000001050900000400008701000002040A000004000087010000
Replace: 00000800020000009800000001050900000800008701000002040A000008000087010000
Comment: Laptop Intel HD520 HDMI (ig-platform-id 0x191b0000)
Kaby Lake (Intel HD 615, 620, 630, 640, 650)
Code:
Name: com.apple.driver.AppleIntelKBLGraphicsFramebuffer
Find: 02040A00000800008701000003060A
Replace: 01050A00000800008701000002040A
Comment: 0x591b0000, 0105 instead of 0306, HDMI
ig-platform-id
  • Use correct ig-platform-id as per the graphics device.
Open your config.plist file.
Go to Graphics, under ig-platform-id, type the following:
Sandy Bridge: 0x00010000
Ivy Bridge: 0x01660003
Haswell: 0x0a260006
Broadwell: 0x16260006
Skylake: 0x191b0000
Kaby Lake: 0x591b0000

Save your config.plist.
Save your patched DSDT to your EFI Partition at : /EFI/Clover/ACPI/patched

Check Unsupported HDMI Audio Device
Using DPCIManager, check the Audio Device

Here's a list of unsupported HDMI Audio Device
8086:0c0c, 8086:9d70, 8086:9d71, 8086:9d74, 8086:a170, 8086:a171, 8086:a2f0, or 8086:a348

If you've any of the above device, you'll need to install FakePCIID_Intel_HDMI_Audio.kext along with FakePCIID

Downloads
  1. FakePCIID
Notes :
  • Download the latest version only.
Step 5: Installing Graphics kexts

After editing your config.plist file, the next step is to install the Graphics kexts.
You can use either terminal or any other app for installing the kexts.

Download the kexts
Extract it to your Desktop
Open terminal
Type
Code:
sudo cp -R /Users/your user name/Desktop/FakePCIID_Intel_HDMI_Audio.kext FakePCIID /System/Library/Extensions
Press enter, when promoted, enter your password

Note :
  • Make sure to replace your user name with "your user name"

Restart your System
  1. After performing all the above steps, restart your system in order to enable the Intel HD Graphics.
  2. Now you should have a working HDMI Audio
Note :
  • OS X/macOS does not allow control of HDMI Audio from the system. You need to control it from the HDMI/DP Device.
Problem Reporting

Details :
  1. Audio Codec
  2. macOS version
  3. Copy of IOReg
  4. Installed AppleHDA.kext
Screen shots :
  • DPCIManager/Status
  • System Information/Hardware/Audio (All the available Devices)
  • System Preferences/Sound/Output
  • System Preferences/Sound/Input
Clover Files :
  • Compress EFI/Clover, exclude the themes folder Do not include complete EFI folder.
Put all files in a folder with your name, compress files as Zip and attach files using site attachments only. Do not use any external links.

Credits :
RehabMan
Vit9696
 

Top