Jump to content

Intel Framebuffer patching using WhateverGreen


headkaze
486 posts in this topic

Recommended Posts

On 7/18/2018 at 4:04 AM, headkaze said:

ramebuffer patching in Mojave
Binary patching framebuffers using KextsToPatch in Clover is no longer a viable method in Mojave for Skylake and above. Now you need to use Lilu + WhateverGreen.

Hi, as you said, with broadwell i should use Lilukext with Whatevergreen, sir? I can boot normaly without Whatevergreen, without IntelGraphics fix,..

Link to comment
Share on other sites

On 10/31/2018 at 12:45 AM, proresettt said:

@Andrey1970

 

Just wanna say that the device-id and AAPL;ig-platform-id worked perfectly. I now have the IGPU recognised with quick-sync capabilities on a native standard (non 17G2208) build of macOS. Thank you so much again!

 

I want to add some search keywords incase anyone else is struggling with this:

 

Whatevergreen 8700k UHD 630 device-id ig-platform-id High Sierra 10.13.6

 

Hopefully this can also help some others who arrive via search engine as this is a long thread to scan through. Is there anywhere I can donate to your dev efforts? Happy to send you some crypto or something.


благодарю вас!

 

could you please share your definitive efi folder please?

Link to comment
Share on other sites

I try to install graphics on Mojave 10.14.1 on my Lenovo legion y520, Cpu: I5 7300HQ, gpu intel hd 630 / gtx 1050Ti ....

at first I got frame buffer panic and after I install DSDT.aml I got black screen.. I try different ig platforms but nothing... please help me 

debug.zip

Link to comment
Share on other sites

On 10/27/2018 at 12:05 AM, Andrey1970 said:

@proresettt

Use model iMac18,3.
Delete Devices-Properties.

Set Nvidia of the first in Bios. Set DVMT: 32MB. Set DVMT Total: Max.

Build 17G2208 does not contain CFL framebuffer "0 connectors". You need to replace AppleIntelCFLGraphicsFramebuffer.kext on same from Mojave.

The framebuffer "0 connectors" will be injected automatically by means of WEG. 

10.14_AppleIntelCFLGraphicsFramebuffer.kext.zip

 

hi @Andrey1970

I followed your instructions but no results here.

i am on 10.13.6 (7G3025).

i set on bios dvmt-pre allocated 32mb (I have no other options like dvmt total for example)

I put latest weg on clover folder and I put the 10.14 kext as you suggested in s/L/e

the issue is that my uhd630 is not recognized. and I have this vdadecoderchekcer output.

what can I do?

the only way I found to fix it is to put the fake 59120003 platform id, but I don't think it's the cleanest solution

can you help me please?

CLOVER.zip

Schermata 2018-11-08 alle 14.26.26.png

Link to comment
Share on other sites

On 10/30/2018 at 6:45 PM, proresettt said:

@Andrey1970

 

Just wanna say that the device-id and AAPL;ig-platform-id worked perfectly. I now have the IGPU recognised with quick-sync capabilities on a native standard (non 17G2208) build of macOS. Thank you so much again!

 

I want to add some search keywords incase anyone else is struggling with this:

 

Whatevergreen 8700k UHD 630 device-id ig-platform-id High Sierra 10.13.6

 

Hopefully this can also help some others who arrive via search engine as this is a long thread to scan through. Is there anywhere I can donate to your dev efforts? Happy to send you some crypto or something.


благодарю вас!

 

Thank you so much for keywording! Would you mind sharing your config? I have a very similar setup to you and I'm clearing missing something or doing something wrong because I just can't get it to work.

  • Like 1
Link to comment
Share on other sites

56 minutes ago, Andrey1970 said:

 

You are sure that standard build 17G3025 supports CFL? I have no exact information on it.

Support CFL precisely is in special build 17G2208.

 

security update 2 bring all Macs to 17g3025, so it supports cfl.

by the way, to be sure, I put the Mojave kext as you suggested to S/L/E but no changes. what should I do?

1 hour ago, Cyotheking said:

 

Thank you so much for keywording! Would you mind sharing your config? I have a very similar setup to you and I'm clearing missing something or doing something wrong because I just can't get it to work.

I think that settings as in this picture is mandatory for dual graphics and high Sierra...

dirty workaround.png

Link to comment
Share on other sites

1 hour ago, Andrey1970 said:

You updated 17G65 to 17g3025 or 17G2208 to 17g3025 ?

It can be important, but I cannot precisely tell.

 

In SLE there was same kext before you put it?

updated from 17g65, clean instal

yes, there was

Edited by xelanaiznac
Link to comment
Share on other sites

13 hours ago, Andrey1970 said:

 

 

 

591652353_2018-11-0823_33_36.png.127950467c4a126250f9c2237a53920f.png

 

Update kextcache.

 

hi @Andrey1970, thank you for your help.

so I made a clean install of 10.13.6 and I confirm that appleintelcflgraphics was absent.

then I updated trough App Store to 17G3025.

now I have the appleintelcfl kext loaded, as in picture, but intel hardware acceleration isn't working. I have no airplay and macxvideoconverter confirms it.

I put here my updated files, hope it can help

 

CLOVER.zipioreg clean install.ioreg262520130_macxvideoconverter.png.ed400f9e87f3fee55a0aca29e5a8d7f9.pngkexts.png.8cf1eb1ecd3bc5df70f81b7519e0b754.png

 

Link to comment
Share on other sites

2 hours ago, xelanaiznac said:

 

solution found.

the appleintelcflgraphicskext from 10.13.6 17G3025 it's different from the Mojave one.

the 10.13.6 lacks of 0x3e918086, that's why it isn't working.

724876662_Schermata2018-11-09alle11_43_07.png.52b60ff16be88c6cd414a42f0f6dbe62.png

 

AppleIntelCFLGraphicsFramebuffer.kext from:

 

10.13.6 17G3025

1883274101_2018-11-0915_54_42.png.dd5b9af1fe78406c72607d5d0e5133b7.png

 

10.14

121961692_2018-11-0915_55_59.png.0adebd888f7d6c0e656244c272b5fd40.png

  • Like 2
Link to comment
Share on other sites

On 11/4/2018 at 4:43 PM, dragonflys said:

I want to make my notebook monitor and my 4k monitor work at the same time, can someone help me?

 

You need a bigger framebuffer to get 4K to work. I have 4K working with a desktop hd4600 and cannot get this work with whatevergreen. I had to patch the AppleIntelFramebufferAzul binary to get this to work. (check out https://pikeralpha.wordpress.com/2013/06/27/appleintelframebufferazul-kext/   for the details.

 

< 009f6e0 0003 0d22 0300 0303 0000 0200 0000 0130
< 009f6f0 0000 0000 0000 6000 1499 0000 1499 0000
---
> 009f6e0 0003 0d22 0300 0303 0000 0800 0000 0200
> 009f6f0 0000 0000 0000 8000 1499 0000 1499 0000
 

These were the changes that I needed:

0000 0800 makes the framebuffer-stolenmem 128Mb. This memory is stolen because it is mapped inside your physical memory space, stealing 128Mb of mem from your system.

0000 0200 gives you a bigger frame buffer. Because at 4octets per pixel at 3840x2160 you need at least 31.5Mb. This should be controlled by framebuffer-fbmem

0000 8000 For some reason I needed to make this bigger to get my haswell to work. This setting can be checked in the settings and this works by setting the framebuffer-unifiedmem to AACAAA==

 

These are my settings in the config.plist

        <key>Devices</key>
        <dict>
                <key>Properties</key>
                <dict>
                        <key>PciRoot(0x0)/Pci(0x2,0x0)</key>
                        <dict>
                                <key>AAPL,ig-platform-id</key>
                                <data>AwAiDQ==</data>
                                <key>framebuffer-patch-enable</key>
                                <data>AQAAAA==</data>
                                <key>xframebuffer-stolenmem</key>
                                <data>AAAAAg==</data>
                                <key>xframebuffer-fbmem</key>
                                <data>AAAABA==</data>
                                <key>xframebuffer-unifiedmem</key>
                                <data>AACAAA==</data>
                                <key>xframebuffer-patch0-enable</key>
                                <data>AQAAAA==</data>
                                <key>xframebuffer-patch0-find</key>
                                <data>AwAiDQADAwMAAAACAAAwAQAAAAAAAABgmRQ=</data>
                                <key>xframebuffer-patch0-replace</key>
                                <data>AwAiDQADAwMAAAAIAAAAAgAAAAAAAACAmRQ=</data>
                        </dict>
                </dict>
        </dict>

The x's are there because none of those things worked.

 

Cheers

 

Rog

Link to comment
Share on other sites

Are we able to use Whatevergreen to increase desktop resolution? My Haswell laptop has 1366x768 and I use a file in the display override folder to get 1920x1080. Is this possible with just Whatevergreen?


Sent from my iPhone using Tapatalk

Link to comment
Share on other sites

 

On 8/5/2018 at 10:29 PM, bronxteck said:

Yes Skylake HD530 desktop does not initialize the screen when you wake from sleep I tested in mojave.

do you have any ideas for a fix?

 

Have you resolved the issue with HD530 Sylake wake up after sleep? 

I am on HD540 Skylake laptop and cannot get my laptop wake up after sleep on both High Sierra and Mojave?

Hey, community? Any advice would be greatly appreciated.

Edited by valeryimm
Link to comment
Share on other sites

On 11/12/2018 at 1:33 PM, Roger Smith said:

 

You need a bigger framebuffer to get 4K to work. I have 4K working with a desktop hd4600 and cannot get this work with whatevergreen. I had to patch the AppleIntelFramebufferAzul binary to get this to work. (check out https://pikeralpha.wordpress.com/2013/06/27/appleintelframebufferazul-kext/   for the details.

 

< 009f6e0 0003 0d22 0300 0303 0000 0200 0000 0130
< 009f6f0 0000 0000 0000 6000 1499 0000 1499 0000
---
> 009f6e0 0003 0d22 0300 0303 0000 0800 0000 0200
> 009f6f0 0000 0000 0000 8000 1499 0000 1499 0000
 

These were the changes that I needed:

0000 0800 makes the framebuffer-stolenmem 128Mb. This memory is stolen because it is mapped inside your physical memory space, stealing 128Mb of mem from your system.

0000 0200 gives you a bigger frame buffer. Because at 4octets per pixel at 3840x2160 you need at least 31.5Mb. This should be controlled by framebuffer-fbmem

0000 8000 For some reason I needed to make this bigger to get my haswell to work. This setting can be checked in the settings and this works by setting the framebuffer-unifiedmem to AACAAA==

 

These are my settings in the config.plist


        <key>Devices</key>
        <dict>
                <key>Properties</key>
                <dict>
                        <key>PciRoot(0x0)/Pci(0x2,0x0)</key>
                        <dict>
                                <key>AAPL,ig-platform-id</key>
                                <data>AwAiDQ==</data>
                                <key>framebuffer-patch-enable</key>
                                <data>AQAAAA==</data>
                                <key>xframebuffer-stolenmem</key>
                                <data>AAAAAg==</data>
                                <key>xframebuffer-fbmem</key>
                                <data>AAAABA==</data>
                                <key>xframebuffer-unifiedmem</key>
                                <data>AACAAA==</data>
                                <key>xframebuffer-patch0-enable</key>
                                <data>AQAAAA==</data>
                                <key>xframebuffer-patch0-find</key>
                                <data>AwAiDQADAwMAAAACAAAwAQAAAAAAAABgmRQ=</data>
                                <key>xframebuffer-patch0-replace</key>
                                <data>AwAiDQADAwMAAAAIAAAAAgAAAAAAAACAmRQ=</data>
                        </dict>
                </dict>
        </dict>

The x's are there because none of those things worked.

 

Cheers

 

Rog

 

Interesting.... I've enabled hdmi2.0 and used the -cdfon boot argument to no avail... macOS does not recognize my 4K UHD TV as 4K... wondering if setting these only, will make it work.... I've a haswell Intel HD4600 laptop...

 

Cheers,

D.

Link to comment
Share on other sites

After deleting all IGPU patches, can somebody help me please to understand?

Does this mean to download Lilu (debug) and compile it with WhateverGreen (Release) ?

Or it mean to download Lilu + WhateverGreen (both debug versions) and compile them ?

is there any tutorial on how to Compile Lilu + WhateverGreen ?

Or it mean to download Lilu + WhateverGreen (both debug versions) and install them without compile?

And yes, I read it A LOT, again and again but still not getting the point.

Link to comment
Share on other sites

After deleting all IGPU patches, can somebody help me please to understand?
Does this mean to download Lilu (debug) and compile it with WhateverGreen (Release) ?
Or it mean to download Lilu + WhateverGreen (both debug versions) and compile them ?
is there any tutorial on how to Compile Lilu + WhateverGreen ?
Or it mean to download Lilu + WhateverGreen (both debug versions) and install them without compile?
And yes, I read it A LOT, again and again but still not getting the point.

What it means is to download the compiles kext of Lilu debug version then download the zip of Whatevergreen, unzip it and place the debug version of Lilu in that folder then open the WhateverGreen.xcodeproj in Xcode and compile it then install both kexts to the usual places. Eg S/L/E or clover kexts.


Sent from my iPhone using Tapatalk
Link to comment
Share on other sites

4 hours ago, SavageAUS said:


What it means is to download the compiles kext of Lilu debug version then download the zip of Whatevergreen, unzip it and place the debug version of Lilu in that folder then open the WhateverGreen.xcodeproj in Xcode and compile it then install both kexts to the usual places. Eg S/L/E or clover kexts.


Sent from my iPhone using Tapatalk

Thank you for the answer, but I need your patient a little bit more because I never used Xcode in my 3 years of Hacknitoshing.

So, I found WhateverGreen.xcodeproj in the Source code (ZIP) of WhateverGreen which is a folder after I downloaded it.

Then I downloaded the debug of Lilu.kext and placed it in the same folder Source code of WhateverGreen

I ran WhateverGreen.xcodeproj then Xcode opened in a window, now how to compile and export to kext/s ?

Link to comment
Share on other sites

18 minutes ago, RandomTech said:

Thank you for the answer, but I need your patient a little bit more because I never used Xcode in my 3 years of Hacknitoshing.

So, I found WhateverGreen.xcodeproj in the Source code (ZIP) of WhateverGreen which is a folder after I downloaded it.

Then I downloaded the debug of Lilu.kext and placed it in the same folder Source code of WhateverGreen

I ran WhateverGreen.xcodeproj then Xcode opened in a window, now how to compile and export to kext/s ?

Use this

A lot easier

Link to comment
Share on other sites

×
×
  • Create New...