Contribute
Register

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

Joined
Nov 25, 2013
Messages
73
Motherboard
MSI GE60 2PE Apache Pro -Clover
CPU
i7-4720HQ/HM87
Graphics
HD4600, 1920x1080
It is because the patch is invalid. You cannot change the BIOS memory allocation without also changing the framebuffer size and cursor bytes size.

See complete/correct patch in post #407.
You mean i must patch when run with id 0x0d260007 the data of 0x0a260006?
32mb bios allocated
19mb framebuffer
6mb cursor bytes
1536MB vram
2777hz bcl
2777hz max bcl pwm

But i clearly don't know the detail, now i only know about the PWM Max, bios allocate, please show me.
 

RehabMan

Moderator
Joined
May 2, 2012
Messages
183,968
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
You mean i must patch when run with id 0x0d260007 the data of 0x0a260006?

The header data, yes.
I already provided the correct patch.
You have, so far, just failed to even try it...
 
Joined
Nov 25, 2013
Messages
73
Motherboard
MSI GE60 2PE Apache Pro -Clover
CPU
i7-4720HQ/HM87
Graphics
HD4600, 1920x1080
The header data, yes.
I already provided the correct patch.
You have, so far, just failed to even try it...
I find the original data: 0700260D 01030403 00000004 00002002 00005001 now i replace it with:
0700260D 01030403 00000002 00003001 00006000, is this OK. I use HexFiend and found this data
 

RehabMan

Moderator
Joined
May 2, 2012
Messages
183,968
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
I find the original data: 0700260D 01030403 00000004 00002002 00005001 now i replace it with:
0700260D 01030403 00000002 00003001 00006000, is this OK. I use HexFiend and found this data

Note patch from #407:
For example:
Find: 00000004 00002002 00005001
Replace: 00000002 00003001 00009000
(note above "replace" has for 9mb cursor bytes)

I have not tested the limits, but I suspect that the framebuffer and cursor bytes memory are allocated out of DVMT-prealloc, and thus the sum of those two sizes must less or equal to the BIOS memory/DVMT-prealloc number.
 
Last edited:
Joined
Nov 25, 2013
Messages
73
Motherboard
MSI GE60 2PE Apache Pro -Clover
CPU
i7-4720HQ/HM87
Graphics
HD4600, 1920x1080
Note patch from #407:


I have not tested the limits, but I suspect that the framebuffer and cursor bytes memory are allocated out of DVMT-prealloc, and thus the sum of those two sizes must less or equal to the BIOS memory/DVMT-prealloc number.
Great, it work, thank you so much. But it still lag when start, i will try to adapt lag fix from the 0x0a260006
 
Joined
Mar 10, 2017
Messages
161
Motherboard
Asus Laptop ASUS GL752VW-T4183D chipset 100/C230 series
CPU
Core i7-6700HQ
Graphics
Intel HD530 & Geforce GTX 960M (4GB)
Mac
  1. MacBook Pro
Mobile Phone
  1. Android
rehabman can you look now? I just install fresh Mac and just left update to 10.12.4 but I first want bring back hdmi audio
just I added touchpad acpibattary and audio
 

Attachments

  • RehabMan.zip
    2.4 MB · Views: 78

RehabMan

Moderator
Joined
May 2, 2012
Messages
183,968
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
rehabman can you look now? I just install fresh Mac and just left update to 10.12.4 but I first want bring back hdmi audio
just I added touchpad acpibattary and audio

Read post #1, "Checking your work". If you do, you will see there is a problem with "hda-gfx"...
 
Joined
Mar 10, 2017
Messages
161
Motherboard
Asus Laptop ASUS GL752VW-T4183D chipset 100/C230 series
CPU
Core i7-6700HQ
Graphics
Intel HD530 & Geforce GTX 960M (4GB)
Mac
  1. MacBook Pro
Mobile Phone
  1. Android
and whats now wrong I patched all in dsdt
 

Attachments

  • RehabMan.zip
    2.4 MB · Views: 71

RehabMan

Moderator
Joined
May 2, 2012
Messages
183,968
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
and whats now wrong I patched all in dsdt

Your ioreg shows the same problem (hda-gfx is only on IGPU.... must be on IGPU and HDEF).
 
Joined
Feb 21, 2017
Messages
18
Motherboard
Toshiba L50-A
CPU
Core I5 3230M Intel 7 Series C216,HM76
Graphics
Intel HD 4000/GT 740M(disabled) 1366x768
and whats now wrong I patched all in dsdt
try to repatch audio layout 3 on your dsdt

or you can try this dsdt that i edit
 

Attachments

  • DSDT.aml
    152.8 KB · Views: 135
Last edited:
Top