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



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 iGPU HDMI/DP Audio for Desktops.

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.14.x, 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
  • Audio using AppleALC or AppleHDA

Before you start

Notes :
  • If you've used any other method such as VoodooHDA, aDummyHDA etc, 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.
  • 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/guide-how-to-enable-audio-on-your-hardware.99/

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 Config.plist file with Clover Configurator.
Go to Acpi Tab then DSDT section, Find Patches and type following:
Code:
Comment: change GFX0 to IGPU
Find* [HEX]: 47465830
Replace [HEX]: 49475055
Code:
Comment: change HECI to IMEI
Find* [HEX]: 48454349
Replace [HEX]: 494D4549
Code:
Comment: Rename HDAS to HDEF
Find* [HEX]: 48444153
Replace [HEX]: 48444546
Layout ID
  • Layout ID as per the AppleHDA or AppleALC
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.

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
Notes :
  • Change the layout according to your Audio Codec in Device properties section, in the last patch.
  • You must convert the layout ID from Decimal to Hex. For example, if you use layout ID as a 11, you need to set 0B000000 as a value in the last patch, for the layout ID.

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 00080000 06000000
Replace: 02050000 00080000 07000000 03040000 00080000 09000000 04060000 00080000 06000000
Comment: Desktop Intel HD3000 HDMI (snb-platform-id 0x00030010)
Ivy Bridge (Intel HD 4000)
Code:
Name: AppleIntelFramebufferCapri
Finde: 02050000 00040000 07010000 03040000 00040000 07010000 04060000 00080000 06000000
Replace: 02050000 00080000 07010000 03040000 00080000 07010000 04060000 00080000 06000000
Comment: Desktop Intel HD4000 HDMI (ig-platform-id 0x0166000A)
Haswell (Intel HD 4200, 4400, 4600)
Code:
Name: AppleIntelFramebufferAzul
Find: 01050900 00040000 87000000 02040A00 00040000 87000000 03060800 00040000 11000000
Replace: 01050900 00080000 87000000 02040A00 00080000 87000000 03060800 00080000 11000000
Comment: Desktop Intel HD4X00 HDMI (ig-platform-id 0x0d220003)
Broadwell (Intel HD 5500)
Code:
Name: com.apple.driver.AppleIntelBDWGraphicsFramebuffer
Find: 02040B000004000007050000
Replace: 02040B000008000082000000
Comment: HDMI-audio, port 0204, 0x16120003 0x16120005 0x16120006 0x16260006
Skylake (Intel HD 530)
Code:
Name: AppleIntelSKLGraphicsFramebuffer
Find: 01050900 00040000 87010000 02040A00 00040000 87010000 03060A00 00040000 87010000
Replace: 01050900 00080000 87010000 02040A00 00080000 87010000 03060A00 00080000 87010000
Comment: Desktop Intel HD530 HDMI (ig-platform-id 0x19120000)
Kaby Lake (Intel HD 630)
Code:
Name: AppleIntelKBLGraphicsFramebuffer
Find: 01050900 00040000 87010000 02040A00 00040000 87010000 03060A00 00040000 87010000
Replace: 01050900 00080000 87010000 02040A00 00080000 87010000 03060A00 00080000 87010000
Comment: Desktop Intel HD630 HDMI (ig-platform-id 0x59120000)
Coffee Lake (Intel UHD 630)
Code:
Name: AppleIntelKBLGraphicsFramebuffer
Find: 01050900 00040000 87010000 02040A00 00040000 87010000 03060A00 00040000 87010000
Replace: 01050900 00080000 87010000 02040A00 00080000 87010000 03060A00 00080000 87010000
Comment: Desktop Intel HD630 HDMI (ig-platform-id 0x59120000)
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: 0x0d220003
Broadwell: 0x16260006
Skylake: 0x19120000
Kaby Lake: 0x59120000

Save your config.plist.

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 or AppleALC and Lilu.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
 

Similar threads



Top