Contribute
Register

[Guide] Intel Framebuffer patching using WhateverGreen

you can find IGPU by IORegistryExplorer.
0x0412000B is an id with no connectors

Code:
ID: 0412000B, STOLEN: 32 MB, FBMEM: 0 bytes, VRAM: 1536 MB, Flags: 0x00000000
TOTAL STOLEN: 1 MB, TOTAL CURSOR: 0 bytes, MAX STOLEN: 1 MB, MAX OVERALL: 1 MB
GPU Name: Intel HD Graphics 4600
Model Name(s): iMac15,1
Camelia: Disabled, Freq: 0 Hz, FreqMax: 0 Hz
Mobile: 0, PipeCount: 0, PortCount: 0, FBMemoryCount: 0

Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>Devices</key>
    <dict>
        <key>Properties</key>
        <dict>
            <key>PciRoot(0x0)/Pci(0x1b,0x0)</key>
            <dict>
                <key>layout-id</key>
                <data>
                AQAAAA==
                </data>
            </dict>
            <key>PciRoot(0x0)/Pci(0x2,0x0)</key>
            <dict>
                <key>AAPL,ig-platform-id</key>
                <data>
                CwASBA==
                </data>
                <key>device-id</key>
                <data>
                EgQAAA==
                </data>
                <key>framebuffer-fbmem</key>
                <data>
                AAAAAA==
                </data>
                <key>framebuffer-memorycount</key>
                <data>
                AAAAAA==
                </data>
                <key>framebuffer-mobile</key>
                <data>
                AAAAAA==
                </data>
                <key>framebuffer-patch-enable</key>
                <data>
                AQAAAA==
                </data>
                <key>framebuffer-pipecount</key>
                <data>
                AAAAAA==
                </data>
                <key>framebuffer-portcount</key>
                <data>
                AAAAAA==
                </data>
                <key>framebuffer-stolenmem</key>
                <data>
                AAAAAg==
                </data>
                <key>framebuffer-unifiedmem</key>
                <data>
                AAAAYA==
                </data>
            </dict>
        </dict>
    </dict>
</dict>
</plist>

I inserted this code, besides being missing the PM, does not give HEVC for Hardware, H264 works at 100%.

Regards
 
Hey guys,
After two days of trying and failing, I finally managed to set up Clover (config.plist and kexts) to boot my macOS Mojave USB. However, after booting I can use the installation media for 2-3 minutes and then the screen becomes black and 2-3 seconds later the machine restarts. No matter if I start the installation process or just do something in disk utility, 2-3 minutes after the boot the laptop restarts. I followed this guide and think I set up the framer for my HD 530 correctly. However, I still believe the problem is with my iGPU, because if I open Apple's webpage in Safari from the USB the animations are bad. I am sharing my CLOVER folder as an attachment. Please if anyone can help me find where the problem is or knows a different way to configure HD 530 with i7, write a reply. Thanks in advance.
 

Attachments

  • CLOVER.zip
    10.4 MB · Views: 85
I've updated my Qotom mini-pc (i5-5250U) to Mojave and everything works except audio via HDMI output (using the internal intel HD6000 graphic). Have Lilu+Whatevegreen present but I'm really not sure how to generate proper config for IGPU in config.plist. I've only setup the very basic AAPL,ig-platform-id (using Haswell laptop from p.1). I'm attaching ioreg report. Anything else I need to get?
 

Attachments

  • Qotom-5250U.ioreg.zip
    566.6 KB · Views: 71
I've updated my Qotom mini-pc (i5-5250U) to Mojave and everything works except audio via HDMI output (using the internal intel HD6000 graphic). Have Lilu+Whatevegreen present but I'm really not sure how to generate proper config for IGPU in config.plist. I've only setup the very basic AAPL,ig-platform-id (using Haswell laptop from p.1). I'm attaching ioreg report. Anything else I need to get?

Your graphics in i5-5675C is actuall " Intel® Iris™ Pro Graphics 6200":
https://ark.intel.com/products/88095/Intel-Core-i5-5675C-Processor-4M-Cache-up-to-3_60-GHz
You should fix your profile for accuracy.

From your ioreg, looks like you're trying to use VoodooHDA. Perhaps consider patched AppleHDA via AppleALC.kext+WhateverGreen.kext.

Note: Your hardware is Broadwell, not Haswell.
 
Your graphics in i5-5675C is actuall " Intel® Iris™ Pro Graphics 6200":
https://ark.intel.com/products/88095/Intel-Core-i5-5675C-Processor-4M-Cache-up-to-3_60-GHz
You should fix your profile for accuracy.

From your ioreg, looks like you're trying to use VoodooHDA. Perhaps consider patched AppleHDA via AppleALC.kext+WhateverGreen.kext.

Note: Your hardware is Broadwell, not Haswell.
Well when trying to set the profile there wasn't any option for 5250u so I went for the closest one that was on the list.
Code:
vendor_id    : GenuineIntel
cpu family    : 6
model        : 61
model name    : Intel(R) Core(TM) i5-5250U CPU @ 1.60GHz
Yes I've tried Voodoo after failing with HDMI (VoodooHDA works for my analogue sound). Will install AppleALC.kext and report back.

Edit: After removing VoodooHDA and installing AppleALC.kext I get no audio device. Again ioreg is attached.
 

Attachments

  • Qotom-new.ioreg.zip
    548.5 KB · Views: 64
Last edited:
Hi,

I must be an idiot, but I can't make the dump of my FB (HD3000).

I downloaded the debug versions of Lilu and Whatevergreen (on github) and set the -igfxdump boot arg, but I don't get the dump file.

What am I doing wrong?

I already have a find/replace entry on my config.plist to patch on the fly AppleIntelSNBGraphicsFB to use only 3 ports (LVDS, VGA and HDMI) and works fine. I need this utility to try to set the DVMT prealloc to 32MB because I experience some glitches and ocasionally freezes of the screen (except the mouse pointer). I already have 8GB of RAM (tried 16GB and still glitches) and I'm out of ideas to get rid of those annoying lines glitches.

Thanks in advance for your advices.
 
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>Devices</key>
    <dict>
        <key>Properties</key>
        <dict>
            <key>PciRoot(0x0)/Pci(0x1b,0x0)</key>
            <dict>
                <key>layout-id</key>
                <data>
                AQAAAA==
                </data>
            </dict>
            <key>PciRoot(0x0)/Pci(0x2,0x0)</key>
            <dict>
                <key>AAPL,ig-platform-id</key>
                <data>
                CwASBA==
                </data>
                <key>device-id</key>
                <data>
                EgQAAA==
                </data>
                <key>framebuffer-fbmem</key>
                <data>
                AAAAAA==
                </data>
                <key>framebuffer-memorycount</key>
                <data>
                AAAAAA==
                </data>
                <key>framebuffer-mobile</key>
                <data>
                AAAAAA==
                </data>
                <key>framebuffer-patch-enable</key>
                <data>
                AQAAAA==
                </data>
                <key>framebuffer-pipecount</key>
                <data>
                AAAAAA==
                </data>
                <key>framebuffer-portcount</key>
                <data>
                AAAAAA==
                </data>
                <key>framebuffer-stolenmem</key>
                <data>
                AAAAAg==
                </data>
                <key>framebuffer-unifiedmem</key>
                <data>
                AAAAYA==
                </data>
            </dict>
        </dict>
    </dict>
</dict>
</plist>

I inserted this code, besides being missing the PM, does not give HEVC for Hardware, H264 works at 100%.

Regards
The code are not for you.Please look at it carefully!
 
Hey guys,
After two days of trying and failing, I finally managed to set up Clover (config.plist and kexts) to boot my macOS Mojave USB. However, after booting I can use the installation media for 2-3 minutes and then the screen becomes black and 2-3 seconds later the machine restarts. No matter if I start the installation process or just do something in disk utility, 2-3 minutes after the boot the laptop restarts. I followed this guide and think I set up the framer for my HD 530 correctly. However, I still believe the problem is with my iGPU, because if I open Apple's webpage in Safari from the USB the animations are bad. I am sharing my CLOVER folder as an attachment. Please if anyone can help me find where the problem is or knows a different way to configure HD 530 with i7, write a reply. Thanks in advance.
I think you need this tool
https://www.insanelymac.com/forum/t...fb-patcher-v133/?tab=comments#comment-2628025
 
I think you need DVMT pre-alloc 32MB patch.
I use FB-Patcher v1.4.1 to generate some patch for your HD520.
Code:
<key>Devices</key>
    <dict>
        <key>Properties</key>
        <dict>
            <key>PciRoot(0x0)/Pci(0x2,0x0)</key>
            <dict>
                <key>AAPL,ig-platform-id</key>
                <data>
                AAAWGQ==
                </data>
                <key>device-id</key>
                <data>
                FhkAAA==
                </data>
                <key>disable-external-gpu</key>
                <data>
                AQAAAA==
                </data>
                <key>enable-hdmi20</key>
                <data>
                AQAAAA==
                </data>
                <key>framebuffer-con1-enable</key>
                <data>
                AQAAAA==
                </data>
                <key>framebuffer-con1-type</key>
                <data>
                AAgAAA==
                </data>
                <key>framebuffer-con2-busid</key>
                <data>
                AAAAAA==
                </data>
                <key>framebuffer-con2-enable</key>
                <data>
                AQAAAA==
                </data>
                <key>framebuffer-con2-flags</key>
                <data>
                AAAAAA==
                </data>
                <key>framebuffer-con2-index</key>
                <data>
                /////w==
                </data>
                <key>framebuffer-con2-pipe</key>
                <data>
                AAAAAA==
                </data>
                <key>framebuffer-con2-type</key>
                <data>
                AQAAAA==
                </data>
                <key>framebuffer-con3-enable</key>
                <data>
                AQAAAA==
                </data>
                <key>framebuffer-con3-flags</key>
                <data>
                AAAAAA==
                </data>
                <key>framebuffer-fbmem</key>
                <data>
                AACQAA==
                </data>
                <key>framebuffer-patch-enable</key>
                <data>
                AQAAAA==
                </data>
                <key>framebuffer-pipecount</key>
                <data>
                AgAAAA==
                </data>
                <key>framebuffer-portcount</key>
                <data>
                AgAAAA==
                </data>
                <key>framebuffer-stolenmem</key>
                <data>
                AAAwAQ==
                </data>
                <key>framebuffer-unifiedmem</key>
                <data>
                AAAAgA==
                </data>
            </dict>
        </dict>
    </dict>

Thanks for you help!
After I added the optional configuration of framebuffer-* to config. plist, I was able to boot to Mojave success.
Thanks again.
 
Back
Top