Contribute
Register

[Guide] Alternative to the minStolenSize patch with 32mb DVMT-prealloc

Joined
May 6, 2014
Messages
214
Motherboard
Lenovo Ideapad 320-14ikb
CPU
i5-7200U
Graphics
HD 620 (1920x1080)
Mac
MacBook Pro
Mobile Phone
Other
Good idea for all in one solution when will be availabe
 
Joined
Jun 20, 2014
Messages
978
Motherboard
Gigabyte Aero 15X v8-BK4K4P
CPU
i7-8750H
Graphics
UHD 630 / GTX 1070 Max-Q / 4K
Good idea for all in one solution when will be availabe
Very close actually. Just ironing out some issues mainly with the way Clover reads certain data types from config.plist. Once that's sorted I will make a post about it.
 
Joined
Nov 27, 2011
Messages
27
Motherboard
HP Envy 15 as-043 (Clover)
CPU
i7-6560U
Graphics
Intel IRIS HD 540 - 4K
Mac
MacBook Pro
Mobile Phone
Android
I contacted vit9696 and showed him my info on Mojave and he came up with an idea for a Lilu based solution and I've been working through implementing it. So the good news is I have something working now.

So the future of framebuffer patching is going to be using Lilu + WhateverGreen which is going to support AMD, Intel and nVidia patching and will include other patches like CoreDisplayFixup. It's going to be an all-in-one solution.

The way to patch framebuffers will be using SSDT patching or Devices->Properties Clover patching.

Eg. 0x591b0000, 32MB BIOS, 19MB stolenmem (framebuffer) 9MB fbmem (cursor)

Code:
<key>Devices</key>
<dict>
    <key>Properties</key>
    <dict>
        <key>PciRoot(0x0)/Pci(0x2,0x0)</key>
        <dict>
            <key>framebuffer-patch-enable</key>
            <integer>1</integer>
            <key>framebuffer-stolenmem</key>
            <integer>0x01300000</integer>
            <key>framebuffer-fbmem</key>
            <integer>0x00900000</integer>
        </dict>
    </dict>
</dict>
You can include framebuffer-framebufferid and framebuffer-patch0-framebufferid respectively to patch a particular framebuffer address Eg. 0x59120000 or 0x591B0000 otherwise the kext will detect and use your current one.

This will be the only practical and reliable way to patch framebuffers with Mojave and above.
Hi,
Very close actually. Just ironing out some issues mainly with the way Clover reads certain data types from config.plist. Once that's sorted I will make a post about it.
Hi,
Can you check please what I need to find for 10.14.D3 in my AppleIntelSKLGraphicsFramebuffer (Dev. Beta 3).
My card is Intel hd 540 UHD 4K with 0x19260004 and my DVMT in BIOS 64MB. I need 128 or 192 MB.

Here is the code:
04002619 488D35F8 17020048 89354C27 08004488 154D2708 0041B401 44883544 27080044 88353E27 08004488 35382708 00B90000 2002890D 2E270800 89052C27 08004489 0D292708 00B96C05 0000890D 22270800 890D2027 08004889 051D2708 00488B0D 56700100 48890D3F 27080048 8B0D4070 01004889 0D292708 00488B0D 2A700100 48890D13 27080048 8B0D1470 01004889 0DFD2608 00488B0D FE6F0100 48890DE7 26080048 8B0DE86F 01004889 0DD12608 00C705F7 2608000A 0B030088 05F52608 0041B307 44881DEC 26080041 B0064488 05E32608 00B90300 0000890D DA260800 891DD826 0800BB80 DF171089 1DD12608 008905CF 26080041 B9780500 0044890D C6260800 41BDD205 00004489 2DBD2608 00BA4006 00008915 B6260800 8905B426 08008905 B2260800 488D3D73 CA070048 893DAC26 0800488D 0D15CB07 0048890D A6260800 48890DA7 26080041 BA020000 00448915 A2260800 41BF0800 00004489 3D992608 00890597 260800C7 05952608 00040027 19488935 96260800 44882597 26080044 88359126 08004488 358B2608 00448835 85260800 41BC0000 90034489 25792608 00890577 260800BE 00000060 89357026 080041BC 6C050000 44892567 26080044 89256426 08004889 05612608 004C8B25 126F0100 4C892583 26080048 8B35FC6E 01004889 356D2608 00488B35 E66E0100 48893557 26080048 8B35D06E 01004889 35412608 00488B35 BA6E0100 4889352B 26080048 8B35
I cannot make FB Patcher working, because it cannot define the Address field, it is empty.
Thanks a lot
 
Joined
Jun 20, 2014
Messages
978
Motherboard
Gigabyte Aero 15X v8-BK4K4P
CPU
i7-8750H
Graphics
UHD 630 / GTX 1070 Max-Q / 4K
I cannot make FB Patcher working, because it cannot define the Address field, it is empty.
You can't use Intel FB-Patcher for Skylake / Kaby Lake in Mojave. You will need to patch it via WhateverGreen. Unfortunately there is an issue with Clover that we need to address before I can recommend people start using it. Once we have that solved I will post instructions on how to patch. If you try to patch the binary directly in Mojave it will likely break in the next update.
 
Joined
Nov 27, 2011
Messages
27
Motherboard
HP Envy 15 as-043 (Clover)
CPU
i7-6560U
Graphics
Intel IRIS HD 540 - 4K
Mac
MacBook Pro
Mobile Phone
Android
First of all, thanks for your cooperation. I wanted to try to do it manually.
Unfortunately, I cannot find fStolenMemorySize (Framebuffer) and fFramebufferMemorySize (Cursor).

Please help
 
Joined
Nov 27, 2011
Messages
27
Motherboard
HP Envy 15 as-043 (Clover)
CPU
i7-6560U
Graphics
Intel IRIS HD 540 - 4K
Mac
MacBook Pro
Mobile Phone
Android
You can't use Intel FB-Patcher for Skylake / Kaby Lake in Mojave. You will need to patch it via WhateverGreen. Unfortunately there is an issue with Clover that we need to address before I can recommend people start using it. Once we have that solved I will post instructions on how to patch. If you try to patch the binary directly in Mojave it will likely break in the next update.
First of all, thanks for your cooperation. I wanted to try to do it manually.
Unfortunately, I cannot find fStolenMemorySize (Framebuffer) and fFramebufferMemorySize (Cursor).

Please help
 
Joined
Jun 20, 2014
Messages
978
Motherboard
Gigabyte Aero 15X v8-BK4K4P
CPU
i7-8750H
Graphics
UHD 630 / GTX 1070 Max-Q / 4K
First of all, thanks for your cooperation. I wanted to try to do it manually.
Unfortunately, I cannot find fStolenMemorySize (Framebuffer) and fFramebufferMemorySize (Cursor).

Please help
You're out of luck. As you can see from the attached image because fFramebufferMemorySize is not written to the framebuffer there is no way to patch it in the binary. You will only be able to patch fStolenMemorySize.

Be patient WhateverGreen update will be available soon.
 

Attachments

Joined
Nov 27, 2011
Messages
27
Motherboard
HP Envy 15 as-043 (Clover)
CPU
i7-6560U
Graphics
Intel IRIS HD 540 - 4K
Mac
MacBook Pro
Mobile Phone
Android
You're out of luck. As you can see from the attached image because fFramebufferMemorySize is not written to the framebuffer there is no way to patch it in the binary. The only way you will be able to do it is with the new WhateverGreen. Be patient it should be ready soon.
Thank you so much. Will wait.
 
Joined
Nov 27, 2011
Messages
27
Motherboard
HP Envy 15 as-043 (Clover)
CPU
i7-6560U
Graphics
Intel IRIS HD 540 - 4K
Mac
MacBook Pro
Mobile Phone
Android
You're out of luck. As you can see from the attached image because fFramebufferMemorySize is not written to the framebuffer there is no way to patch it in the binary. You will only be able to patch fStolenMemorySize.

Be patient WhateverGreen update will be available soon.
Hi,
Can you tell me please, what app did you use to display these binaries? Because my Sublime Text doesn’t work properly.
Thanks.
 
Top