Contribute
Register

Quick Sync hardware encode w/ nVideo card as primary

Status
Not open for further replies.
@pastrychef
hmmm.. oke
I'll Change it 0x0d220003 to 0x04120004
should id Inject intel too ? and Install Lastest Shiki, IntelGraphicsFixup ? Enable Intel HD on BIOS ? currently running Sierra 10.12.4 with GTX 1050...
thank you

Yes, inject Intel.
I would install both Shiki and IntelGraphicsFixup. I'm not positive they are absolutely necessary, but having them there can't hurt anything.
Yes, enable IGPU in BIOS, but make your dedicated graphics card primary.
The version of macOS you are running shouldn't make any difference. Procedure should be the same.
 
Yes, inject Intel.
I would install both Shiki and IntelGraphicsFixup. I'm not positive they are absolutely necessary, but having them there can't hurt anything.
Yes, enable IGPU in BIOS, but make your dedicated graphics card primary.
The version of macOS you are running shouldn't make any difference. Procedure should be the same.
OK Thank You @pastrychef
 
I had trouble finding it also, but eventually found it here.

Cheers
 
There is a new actual method directly from developers
- Use only LAST version of IntelGraphicsFixup.kext 1.2.7 https://github.com/lvs1974/IntelGraphicsFixup/releases it autodetects all except device-id.
- Use only LAST version of Lilu kext 1.2.4 https://github.com/acidanthera/Lilu/releases

- Do NOT use Shiki.kext. Shiki.kext no more needed for iGPU compute power acceleration. It needs only if you want to watch DRM protected video in iTunes and Safari.
- Remove all FakePCIID kexts
- For AMD you may need to add WhatEverGreen.kext
https://github.com/acidanthera/WhateverGreen/releases
- For Nvidia add NvidiaGraphicsFixup.kext https://github.com/lvs1974/NvidiaGraphicsFixup/releases
- Update to Clover UEFI Boot Mode v2.4k r4586 https://www.tonymacx86.com/resources/clover-uefi-boot-mode-v2-4k-r4586.396/

in Clover Configurator:
[Acpi] remove all those patches GFX0->IGPU, PEGP->GFX0, MEI/HECI->IMEI
[Devices] remove FakeID IntelGFX (set it to 0x0)
[Devices] disable UseIntelHDMI
[Graphics] uncheck Inject Intel
[Graphics] remove ig-platform-id

[Boot] You can add boot arg igfxfw=1 (this will load GuC iGPU microcode and enable it at 100% full speed (up to 1.2GHz). There are reports that it may produce problems and bugs on some systems. It is for experimental use)
Note that -disablegfxfirmware boot flag disables igfxfw=1 boot flag

Next you need to Inject Intel HD device-id with new "Arbitrary" method to config.plist.
- Clover Configurator UI is not updated yet to use this method so you need to open config.plist in plist editor or text editor and add this code to Devices area manually. "Arbitrary" method supported in Clover Configurator v 5.1.3.1
- Values of parameters in Arbitrary written down by byte backwards. For example: 0166000B in Arbitrary should be written as 0B006601.
- Do not leave empty Value lines in Arbitrary. If some parameter is not required, then delete the entire section with this parameter!
Note that device-id below is only for Intel HD630 Coffee Lake/Kaby Lake. For other systems and iGPUs you need use different device-id and more additional patches. can find more info at dedicated forum discussions.

Code:
    </dict>
    <key>Devices</key>
    <dict>
        <key>Arbitrary</key>
        <array>
            <dict>
                <key>Comment</key>
                <string>Inject Intel HD properties</string>
                <key>CustomProperties</key>
                <array>
                    <dict>
                        <key>Key</key>
                        <string>device-id</string>
                        <key>Value</key>
                        <data>
                        ElkAAA==
                        </data>
                    </dict>
                </array>
                <key>PciAddr</key>
                <string>00:02.00</string>
            </dict>
        </array>

This is how it looks in Plist Editor:

Screen Shot 2018-07-13 at 4.39.44 AM.png



Enable iGPU in UEFI BIOS.
Advanced > System Agent(SA) Configuration > IGPU Multi-Monitor : Enabled
Advanced > System Agent(SA) Configuration > DVMT pre-Allocated : 32M
Advanced > System Agent(SA) Configuration > Primary Display : PCIE

To check if iGPU works use VDADecoderChecker utility https://github.com/cylonbrain/VDADecoderCheck/releases . iGPU also visible in Geekbench devices list, Intel Power gadget and in iStat Menu. It will not visible in System Profiler because don't outputs graphics.

Screen Shot 2018-07-13 at 4.39.18 AM.png

Screen Shot 2018-07-12 at 11.36.47 PM.png
 

Attachments

  • ASUS-PRIME-Z370-A-config.plist
    4.7 KB · Views: 221
Last edited:
There is a new actual method directly from developers
- Use only LAST version of IntelGraphicsFixup.kext 1.2.7 https://github.com/lvs1974/IntelGraphicsFixup/releases it autodetects all except device-id.
- Use only LAST version of Lilu kext 1.2.4 https://github.com/acidanthera/Lilu/releases

- Do NOT use Shiki.kext. Shiki.kext no more needed for iGPU compute power acceleration. It needs only if you want to watch DRM protected video in iTunes and Safari.
- Remove all FakePCIID kexts
- For some AMD cards you may need to add WhatEverGreen.kext
https://github.com/acidanthera/WhateverGreen/releases
- For Nvidia NvidiaGraphicsFixup.kext https://github.com/lvs1974/NvidiaGraphicsFixup/releases
- Update to Clover UEFI Boot Mode v2.4k r4586 https://www.tonymacx86.com/resources/clover-uefi-boot-mode-v2-4k-r4586.396/

in Clover Configurator:
[Acpi] remove all those patches GFX0->IGPU, PEGP->GFX0, MEI/HECI->IMEI
[Devices] remove FakeID IntelGFX (set it to 0x0)
[Devices] disable UseIntelHDMI
[Graphics] uncheck Inject Intel
[Graphics] remove ig-platform-id

[Boot] You can add boot arg igfxfw=1 (this will load GuC iGPU microcode and enable it at 100% full speed (up to 1.2GHz). There are reports that it may produce problems and bugs on some systems. It is for experimental use)

Next you need to Inject Intel HD device-id with new "Arbitrary" method to config.plist. Clover Configurator UI is not updated yet to use this method so you need to open config.plist in plist editor or text editor and add this code to Devices area manually.
Note that device-id below is only for Intel HD630 Coffee Lake. For other systems and iGPUs you need use different device-id and more additional patches. can find more info at dedicated forum discussions.

Code:
    </dict>
    <key>Devices</key>
    <dict>
        <key>Arbitrary</key>
        <array>
            <dict>
                <key>Comment</key>
                <string>Inject Intel HD properties</string>
                <key>CustomProperties</key>
                <array>
                    <dict>
                        <key>Key</key>
                        <string>device-id</string>
                        <key>Value</key>
                        <data>
                        ElkAAA==
                        </data>
                    </dict>
                </array>
                <key>PciAddr</key>
                <string>00:02.00</string>
            </dict>
        </array>

This is how it looks in Plist Editor:

View attachment 340788


Enable iGPU in UEFI BIOS.
Advanced > System Agent(SA) Configuration > IGPU Multi-Monitor : Enabled
Advanced > System Agent(SA) Configuration > DVMT pre-Allocated : 32M
Advanced > System Agent(SA) Configuration > Primary Display : PCIE

To check if iGPU works use VDADecoderChecker utility https://github.com/cylonbrain/VDADecoderCheck/releases . iGPU also visible in Geekbench devices list, Intel Power gadget and in iStat Menu. It will not visible in System Profiler because don't outputs graphics.

View attachment 340787
View attachment 340786

Thanks for this. I just applied the config.plist edits and it seems to be working.

The only thing I didn't do was disable the ACPI renames. I currently don't have WhateverGreen.kext installed which should be what's responsible for renaming PEGP to GFX0 so I did it through config.plist.
 
If I understand correctly last version of IntelGraphicsFixup.kext now automatically adds those GFX0->IGPU, PEGP->GFX0, MEI/HECI->IMEI patches and detects if they needed. last beta version of WhateverGreen.kext automatically adds -disablegfxfirmware boot flag.
Also i found that -disablegfxfirmware boot flag disables igfxfw=1 boot flag

Future versions of WhateverGreen.kext will combine IntelGraphicsFixup.kext, NvidiaGraphicsFixup.kext and Shiki.kext functionality. You can compile beta versions here https://github.com/acidanthera Note that beta version of WhateverGreen.kext don't support boot arg igfxfw=1 because developers decide that it is too buggy and that loading of GuC iGPU microcode it is not yet finished at High Sierra OS level.
 
Last edited:
Some additional notes:
- Do not leave empty Value lines in Arbitrary. If some parameter is not required, then delete the entire section with this parameter!
- Values of parameters in Arbitrary written down by byte backwards. For example: 0166000B in Arbitrary should be written as 0B006601.
 
Last edited:
There is a new actual method directly from developers
- Use only LAST version of IntelGraphicsFixup.kext 1.2.7 https://github.com/lvs1974/IntelGraphicsFixup/releases it autodetects all except device-id.
- Use only LAST version of Lilu kext 1.2.4 https://github.com/acidanthera/Lilu/releases

- Do NOT use Shiki.kext. Shiki.kext no more needed for iGPU compute power acceleration. It needs only if you want to watch DRM protected video in iTunes and Safari.
- Remove all FakePCIID kexts
- You may need to add WhatEverGreen.kext
https://github.com/acidanthera/WhateverGreen/releases
- For Nvidia add NvidiaGraphicsFixup.kext https://github.com/lvs1974/NvidiaGraphicsFixup/releases
- Update to Clover UEFI Boot Mode v2.4k r4586 https://www.tonymacx86.com/resources/clover-uefi-boot-mode-v2-4k-r4586.396/

in Clover Configurator:
[Acpi] remove all those patches GFX0->IGPU, PEGP->GFX0, MEI/HECI->IMEI
[Devices] remove FakeID IntelGFX (set it to 0x0)
[Devices] disable UseIntelHDMI
[Graphics] uncheck Inject Intel
[Graphics] remove ig-platform-id

[Boot] You can add boot arg igfxfw=1 (this will load GuC iGPU microcode and enable it at 100% full speed (up to 1.2GHz). There are reports that it may produce problems and bugs on some systems. It is for experimental use)

Next you need to Inject Intel HD device-id with new "Arbitrary" method to config.plist.
- Clover Configurator UI is not updated yet to use this method so you need to open config.plist in plist editor or text editor and add this code to Devices area manually.
- Values of parameters in Arbitrary written down by byte backwards. For example: 0166000B in Arbitrary should be written as 0B006601.
- Do not leave empty Value lines in Arbitrary. If some parameter is not required, then delete the entire section with this parameter!
Note that device-id below is only for Intel HD630 Coffee Lake/Kaby Lake. For other systems and iGPUs you need use different device-id and more additional patches. can find more info at dedicated forum discussions.

Code:
    </dict>
    <key>Devices</key>
    <dict>
        <key>Arbitrary</key>
        <array>
            <dict>
                <key>Comment</key>
                <string>Inject Intel HD properties</string>
                <key>CustomProperties</key>
                <array>
                    <dict>
                        <key>Key</key>
                        <string>device-id</string>
                        <key>Value</key>
                        <data>
                        ElkAAA==
                        </data>
                    </dict>
                </array>
                <key>PciAddr</key>
                <string>00:02.00</string>
            </dict>
        </array>

This is how it looks in Plist Editor:

View attachment 340788


Enable iGPU in UEFI BIOS.
Advanced > System Agent(SA) Configuration > IGPU Multi-Monitor : Enabled
Advanced > System Agent(SA) Configuration > DVMT pre-Allocated : 32M
Advanced > System Agent(SA) Configuration > Primary Display : PCIE

To check if iGPU works use VDADecoderChecker utility https://github.com/cylonbrain/VDADecoderCheck/releases . iGPU also visible in Geekbench devices list, Intel Power gadget and in iStat Menu. It will not visible in System Profiler because don't outputs graphics.

View attachment 340787
View attachment 340786

Thank you :)
I removed Inject Intel, ig-platform-id and HECI -> IMEI patch and it works perfectly!

Even without using "igfxfw=1" as boot arg it goes up to 1.2GHz
Schermata 2018-07-13 alle 11.46.45.png
 
Interesting. This is my result without boot arg igfxfw=1
Maybe i need to try different device-id... have no idea how they got that device-id, but it works

Screen Shot 2018-07-13 at 1.37.50 PM.png
 
Last edited:
Status
Not open for further replies.
Back
Top