Contribute
Register

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

RehabMan

Moderator
Joined
May 3, 2012
Messages
184,621
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Please see my attached files. What should i do for HDMI Audio?

As per post #1...
- layout-id must match on HDAU and HDEF. You have 0x0c on HDAU and 0x1b on HDEF.
- and you must patch the connector-type for HDMI (the 0204 connector @2 still shows DP <00 04 00 00> instead of <00 08 00 00>
 
Joined
Feb 20, 2016
Messages
30
Motherboard
Gigabyte Z490 Vision D
CPU
i5-10400
Graphics
Gigabyte RX 5500 XT
Mobile Phone
  1. iOS
As per post #1...
- layout-id must match on HDAU and HDEF. You have 0x0c on HDAU and 0x1b on HDEF.
- and you must patch the connector-type for HDMI (the 0204 connector @2 still shows DP <00 04 00 00> instead of <00 08 00 00>
  • I applied [audio] Audio Layout 3 patch to DSDT/HDEF
  • I applied [igpu] Rename B0D3 to HDAU with Layout 3 to SSDT-4/HDAU
  • I applied HDMI 0204 and 0204(12) patches one by one with config and I added one copy of ioreg for each contidion
I applied each HDMI 204 or 204(12) patches one by one then i unplugged HDMI cable and i rebooted my laptop and saved a copy of ioreg as Unplugged_HDMI and the i plugged HDMI cable and i saved a copy of ioreg as Plugged_HDMI.
If you check each ioreg, when i rebooted it changes to <00 08 00 00> after i plugged it changes to <00 04 00 00>.

Also i activated audio with AppleALC.kext with layout 27 for ALC668. Should i use Layout 27 when i apply layout patches to DSDT and SSDT-4?

What should i do know?
 

Attachments

  • Archive.zip
    7.6 MB · Views: 80
Last edited:

RehabMan

Moderator
Joined
May 3, 2012
Messages
184,621
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
  • I applied [audio] Audio Layout 3 patch to DSDT/HDEF
  • I applied [igpu] Rename B0D3 to HDAU with Layout 3 to SSDT-4/HDAU
  • I applied HDMI 0204 and 0204(12) patches one by one with config and I added one copy of ioreg for each contidion
I applied each HDMI 204 or 204(12) patches one by one then i unplugged HDMI cable and i rebooted my laptop and saved a copy of ioreg as Unplugged_HDMI and the i plugged HDMI cable and i saved a copy of ioreg as Plugged_HDMI.
If you check each ioreg, when i rebooted it changes to <00 08 00 00> after i plugged it changes to <00 04 00 00>.

What should i do know?

MacBookPro11,4 is not appropriate. Better would be MacBookPro11,1.

Your kextcache output proves kexts are not installed correctly.
All kexts you need must be installed to the system volume.
Read post #2 of the Clover guide for details:
https://www.tonymacx86.com/threads/guide-booting-the-os-x-installer-on-laptops-with-clover.148093/
 
Joined
Jun 11, 2015
Messages
10
Motherboard
ASUS X550LN
CPU
i5 4210u
Graphics
HD4400 / GT 840M
Hi, when I use 0x0a260006 in ig-plataform-id, my hdmi audio works with clover patch on AppleIntelFramebuffer@2, but when I use 0x0a2e0008, nor of the clover patches change the DP to HDMI. I have High Sierra 10.13.4 and HD4400.

PS. When I use the 0105 port patch, in IORegistry, the AppleIntelFramebuffer@1 change to HDMI, but my HDMI is on the @2. Only the 0204 patch don't works for 0x0a2e0008.
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
184,621
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Hi, when I use 0x0a260006 in ig-plataform-id, my hdmi audio works with clover patch on AppleIntelFramebuffer@2, but when I use 0x0a2e0008, nor of the clover patches change the DP to HDMI. I have High Sierra 10.13.4 and HD4400.

PS. When I use the 0105 port patch, in IORegistry, the AppleIntelFramebuffer@1 change to HDMI, but my HDMI is on the @2. Only the 0204 patch don't works for 0x0a2e0008.

Framebuffer patches are specific to ig-platform-id (the patches are patching data related to the ig-platform-id connector data).
Different ig-platform-id... different patches.
 
Joined
Jun 11, 2015
Messages
10
Motherboard
ASUS X550LN
CPU
i5 4210u
Graphics
HD4400 / GT 840M
Framebuffer patches are specific to ig-platform-id (the patches are patching data related to the ig-platform-id connector data).
Different ig-platform-id... different patches.
These work (change to <00 08 00 00>)
- HDMI-audio, port 0204, 0x0a260005 0x0a260006 with 0x0a260006 ig-plataform-id
- HDMI-audio, port 0105, 0x0a2e0008, 0x0a16000c, 0x0a2e000d, 0x0a26000d with 0x0a2e0008 ig-plataform-id

These don't work (stay <00 04 00 00>)
- HDMI-audio, port 0204, 0x0a2e0008, 0x0a16000c, 0x0a2e000d, 0x0a26000d with 0x0a2e0008 ig-plataform-id
- HDMI-audio, port 0204, 0x0a2e0008, 0x0a16000c, 0x0a2e000d, 0x0a26000d with 0x0a2e0008 ig-plataform-id

Can u help me with the patch?
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
184,621
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
These work (change to <00 08 00 00>)
- HDMI-audio, port 0204, 0x0a260005 0x0a260006 with 0x0a260006 ig-plataform-id
- HDMI-audio, port 0105, 0x0a2e0008, 0x0a16000c, 0x0a2e000d, 0x0a26000d with 0x0a2e0008 ig-plataform-id

These don't work (stay <00 04 00 00>)
- HDMI-audio, port 0204, 0x0a2e0008, 0x0a16000c, 0x0a2e000d, 0x0a26000d with 0x0a2e0008 ig-plataform-id
- HDMI-audio, port 0204, 0x0a2e0008, 0x0a16000c, 0x0a2e000d, 0x0a26000d with 0x0a2e0008 ig-plataform-id

Can u help me with the patch?

First, you must determine which port (0105 or 0204) corresponds to your HDMI port.
Which one is it?
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
184,621
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
My port is 0204 and I use 0x0a2e0008 ig-plataform-id

Connector data in 0x0a2e0008 from 10.13.4 is this:
00 00 08 00 02 00 00 00 30 00 00 00
01 05 09 00 00 04 00 00 07 01 00 00
02 04 0A 00 00 04 00 00 07 01 00 00
FF 00 00 00 01 00 00 00 40 00 00 00

So...
Find: 02 04 0A 00 00 04 00 00 07 01 00 00
Replace: 02 04 0A 00 00 08 00 00 07 01 00 00
 
Joined
Jun 11, 2015
Messages
10
Motherboard
ASUS X550LN
CPU
i5 4210u
Graphics
HD4400 / GT 840M
Connector data in 0x0a2e0008 from 10.13.4 is this:
00 00 08 00 02 00 00 00 30 00 00 00
01 05 09 00 00 04 00 00 07 01 00 00
02 04 0A 00 00 04 00 00 07 01 00 00
FF 00 00 00 01 00 00 00 40 00 00 00

So...
Find: 02 04 0A 00 00 04 00 00 07 01 00 00
Replace: 02 04 0A 00 00 08 00 00 07 01 00 00
Thanks, now it works!
 
Top