Contribute
Register

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

0x0d260007 has this data for 0306: 03060300 00080000 06000000

Note: Probably your internal screen doesn't work with 0x0d260007 due to different PWMmax values in that ig-platform-id... It uses 0x07a1, vs. the 0x0ad9 used by 0x0a260006.
I try 0306: 03060300 00080000 06000000 still the same, But the value 03060300 00080000 06000000 or 03060300 00080000 87000000 work with some last version. There is any way to patch PWMmax values?
 
I try 0306: 03060300 00080000 06000000 still the same, But the value 03060300 00080000 06000000 or 03060300 00080000 87000000 work with some last version.

No idea what you mean by "some last version".
No "Problem Reporting" files attached.

There is any way to patch PWMmax values?

You can patch the values with Clover KextsToPatch.
 
It work in 10.12.1, 10.12.2 and 10.12.3. And stop work after i update to 10.12.4.
I don't know how to patch PWMmax, can you show me?

You could change the PWMmax from 0x07a1 to 0x0ad9 with this:
Find: <A1070000 A1070000>
Replace: <D90A0000 D90A0000>
 
You could change the PWMmax from 0x07a1 to 0x0ad9 with this:
Find: <A1070000 A1070000>
Replace: <D90A0000 D90A0000>
I try and it not work, i attach the report when use 0x0d260007 as id, patch PWMmax, connect both display. Laptop screen flick
 

Attachments

  • report.zip
    5.6 MB · Views: 78
I try and it not work, i attach the report when use 0x0d260007 as id, patch PWMmax, connect both display. Laptop screen flick

You didn't implement backlight control correctly.
Refer to guide:
https://www.tonymacx86.com/threads/...rol-using-applebacklightinjector-kext.218222/

Also, 0x0d220007 assumes DVMT-prealloc 64mb. So you would have to change your DVMT-prealloc to match or patch additional data within the framebuffer.

For example:
Find: 00000004 00002002 00005001
Replace: 00000002 00003001 00009000
(note above "replace" has for 9mb cursor bytes)
 
You didn't implement backlight control correctly.
Refer to guide:
https://www.tonymacx86.com/threads/...rol-using-applebacklightinjector-kext.218222/

Also, 0x0d220007 assumes DVMT-prealloc 64mb. So you would have to change your DVMT-prealloc to match or patch additional data within the framebuffer.

For example:
Find: 00000004 00002002 00005001
Replace: 00000002 00003001 00009000
(note above "replace" has for 9mb cursor bytes)
I will try backlight control later since it still work.
I try 64 MB for 0x0d260007 and PWMmax patch but it still the same. Is there any way to downgrade without full reinstall?
Find <0700260d 01030303 00000002>
Replace <0700260d 01030303 00000004>
 
I will try backlight control later since it still work.
I try 64 MB for 0x0d260007 and PWMmax patch but it still the same. Is there any way to downgrade without full reinstall?
Find <0700260d 01030303 00000002>
Replace <0700260d 01030303 00000004>

You need to fix your backlight control.
No "Problem Reporting" files attached.
 
You did not patch the framebuffer (the 0204 port) to change the connector-type from DP (00 04 00 00) to HDMI (00 08 00 00).
If you look at ioreg, you'll see connector-type for framebuffer @2 is still <00 04 00 00>
I little lost here I put patch in config for this but I looking in ioreg and I don't find mistake what I have do wrong maybe you can more explain about this patch :(
 
I little lost here I put patch in config for this but I looking in ioreg and I don't find mistake what I have do wrong maybe you can more explain about this patch :(

You should set config.plist/KernelAndKextPatches/Debug=true.
Then you can see if the patch is applied as you expect.
 
Back
Top