Contribute
Register

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

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.
 
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...
 
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
 
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:
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
 
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: 95
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"...
 
and whats now wrong I patched all in dsdt
 

Attachments

  • RehabMan.zip
    2.4 MB · Views: 86
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).
 
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: 151
Last edited:
Back
Top