Contribute
Register

[solved] DVMT patching for a skylake system

Status
Not open for further replies.
I searched in the kext binary for "FFFFFFFF" and for the first ig-platform-id number.
The only thing I figure out is that ig-platform-ids are located at the end of the binary.
My problem is that when I search for "FFFFFFFF", before the code are only many 0000 and no other numbers.

Wrong. You should not search for FFFFFFFF (you will find too many instances).
Read what I wrote. Again. Carefully.

When I unplug the HDMI cable from the notebook now I don´t get a KP.

Hmmmm... you never mentioned a KP.

The only problem is left that when I play sound it uses the internal notebook speaker and not the TV speaker.

HDMI output must be selected manually.
 
Crazy, it worked for me.
When I unplug the HDMI cable from the notebook now I don´t get a KP.
The only problem is left that when I play sound it uses the internal notebook speaker and not the TV speaker.
Glad to hear it worked for you too.
I think this information should be on FAQ or HDMI audio tutorial.
I have some friends that have Skylake systems and needed to use this trick.
Audio should be fine if you have connector type showing 08. You just need to assign audio out to HDMI on audio preferences.
 
HDMI output must be selected manually.
When I open Audio settings I can´t select TV.
Audio.jpg
 
Here are "Problem Reporting" files.

You did not inject "hda-gfx" (must be on both HDEF and IGPU) ... therefore no expectation of HDMI audio.
See HDMI audio guide linked from the FAQ.
 
Apply Rename B0D3 to HDAU patch and it will change your GFX0 from this
Code:
Device (GFX0)
                {
                    Name (_ADR, 0x00020000)  // _ADR: Address
                    Method (_INI, 0, NotSerialized)  // _INI: Initialize
                    {
                        CRBL ()
                    }
                }
into this
Code:
Device (GFX0)
                {
                    Name (_ADR, 0x00020000)  // _ADR: Address
                    Method (_INI, 0, NotSerialized)  // _INI: Initialize
                    {
                        CRBL ()
                    }
                    Method (_DSM, 4, NotSerialized)
                    {
                        If (LEqual (Arg2, Zero)) { Return (Buffer() { 0x03 } ) }
                        Return (Package()
                        {
                            "hda-gfx", Buffer() { "onboard-1" },
                        })
                    }
                }

It doesn't´t matter if you don´t have B0D3 on your code.
 
You did not inject "hda-gfx" (must be on both HDEF and IGPU) ... therefore no expectation of HDMI audio.
See HDMI audio guide linked from the FAQ.
I renamed HDAS to HDEF manually with MaciASL. I also have "Rename HDAS to HDEF" as a hotpatch in my config.plist.
Could this be a problem?
I also apply Audio layout ID=3 to my DSDT.
What could be the problem?
"Problem Reporting" files are the same like in #225, because I changed nothing in the configuration.

Apply Rename B0D3 to HDAU patch and it will change your GFX0 from this
Code:
Device (GFX0)
                {
                    Name (_ADR, 0x00020000)  // _ADR: Address
                    Method (_INI, 0, NotSerialized)  // _INI: Initialize
                    {
                        CRBL ()
                    }
                }
into this
Code:
Device (GFX0)
                {
                    Name (_ADR, 0x00020000)  // _ADR: Address
                    Method (_INI, 0, NotSerialized)  // _INI: Initialize
                    {
                        CRBL ()
                    }
                    Method (_DSM, 4, NotSerialized)
                    {
                        If (LEqual (Arg2, Zero)) { Return (Buffer() { 0x03 } ) }
                        Return (Package()
                        {
                            "hda-gfx", Buffer() { "onboard-1" },
                        })
                    }
                }

It doesn't´t matter if you don´t have B0D3 on your code.
Can you explain me the technical background of this patch, because my Skylake system has no B03D and I want to know what I change with this patch...
 
Can you explain me the technical background of this patch, because my Skylake system has no B03D and I want to know what I change with this patch...
This patch looks to B0D3 and tries to change its name to HDAU AND ALSO INJECTS hda-gfx INTO YOUR GFX0. It will not find B0D3, so nothing will be renamed, but it will find GFX0 and inject hda-gfx there. Your should use the patch to rename GFX0 to IGPU too and use hot patch to change GFX0 to IGPU 'cause you have not patched your SSDTs and are not dropping original ones and GFX0 should be IGPU on SSDTs too.
 
This patch looks to B0D3 and tries to change its name to HDAU AND ALSO INJECTS hda-gfx INTO YOUR GFX0. It will not find B0D3, so nothing will be renamed, but it will find GFX0 and inject hda-gfx there. Your should use the patch to rename GFX0 to IGPU too and use hot patch to change GFX0 to IGPU 'cause you have not patched your SSDTs and are not dropping original ones and GFX0 should be IGPU on SSDTs too.
I already used a hotpatch that renames GFX0 to IGPU, therefore I need no native ACPI files in EFI/Clover/ACPI/patched.
When I open IOREG, it also shows IGPU and not GFX0...
But thank you for your reply, I will test it and report back if it works...:thumbup:
 
Status
Not open for further replies.
Back
Top