Contribute
Register

[Guide] Intel Framebuffer patching using WhateverGreen

Thanks Jay, your fast response is appreciated!

Clearly, your suggestion has put me a step toward the right direction... I'm still not there yet. I am now clearly aware of mobile vs desktop... I tried what you suggested, and no luck.. still no boot.

I then when back to the config.plist straight from git for hp zbook2 Haswell.. and no luck. This uses 0600260a.

I then changed from to from MacbookPro11,1 to MacbookPro11,2.

Screen Shot 2019-11-25 at 7.11.26 PM.png


Here is my monitor registered:
Screen Shot 2019-11-25 at 7.14.22 PM.png


here is my config.plist device properties:
Screen Shot 2019-11-25 at 7.40.54 PM.png


I have tried options:
-wegnoegpu
-cdfon
-liluforce

I have tried to inject an EDID.. If I pulled it out of ubuntu correctly.. think I did because it was the only EDID file with data... commented out now.

I've tried may different bios settings.. currently set for the recommended.

I have noticed that coreduetd reports that it is burning cpu when the system is not starting... is it hung?

if I comment out device-id ... system boots with only 1024x786 resolution.

Same if I comment out AAPL,ig-platform-id.

Any other ideas? Thanks again to all that can help.
 
another screen shot of boot.. in case there is anything here is a hint...

IMG_2478.JPG
 
I tried what you suggested, and no luck.. still no boot.
I then when back to the config.plist straight from git for hp zbook2 Haswell.. and no luck. This uses 0600260a.
I then changed from to from MacbookPro11,1 to MacbookPro11,2


@nygalloway,

Framebuffer dump for PlatfromID 0x0A260006 :-

Code:
ID: 0A260006, STOLEN: 32 MB, FBMEM: 19 MB, VRAM: 1536 MB, Flags: 0x0000000F
TOTAL STOLEN: 52 MB, TOTAL CURSOR: 1 MB (1572864 bytes), MAX STOLEN: 116 MB, MAX OVERALL: 117 MB (123219968 bytes)
GPU Name: Intel HD Graphics 5000
Model Name(s): MacBookAir6,1 MacBookAir6,2 Macmini7,1
Camelia: Disabled, Freq: 2777 Hz, FreqMax: 2777 Hz
Mobile: 1, PipeCount: 3, PortCount: 3, FBMemoryCount: 3
[0] busId: 0x00, pipe: 8, type: 0x00000002, flags: 0x00000030 - LVDS
[1] busId: 0x05, pipe: 9, type: 0x00000400, flags: 0x00000087 - DP
[2] busId: 0x04, pipe: 9, type: 0x00000400, flags: 0x00000087 - DP
00000800 02000000 30000000
01050900 00040000 87000000
02040900 00040000 87000000


Although it's not a rule of thumb to use matching SMBIOS & PlatfromID the Azul FrameBuffer (Haswell series IGPU's) is the most finicky of them all, so the next thing I would try is to use SMBIOS MacBookAir6,1 or MacBookAir6,2.

another screen shot of boot.. in case there is anything here is a hint...


gIOScreenLockState 3 is usually caused by incorrectly configured IGPU in the BIOS, most likely DVMT pre alloc size needs to be at least 64MB ... Check your BIOS and see if you can allocate more DVMT memory.

If you can not do it via the BIOS try adding the following WEG framebuffer patches as IGPU device properties:-

Code:
framebuffer-stolenmem=<00003001>
framebuffer-fbmem=<00009000>


For more info see this guide :-



Are you sure that the connector patches you have are correct for your laptop, did you generate them yourself ?
I only ask because it is only possible to perform connector patching once the IGPU is working correctly.
If you copied them from someone else then they maybe causing more issues than helping.

Cheers
Jay
 
Last edited:
Debug attached. Still no luck. Thanks again for all of the help and advice.

- D
 

Attachments

  • debug_15498.zip
    975.6 KB · Views: 81
im getting lags in my Intel HD 620, maybe is that wrong?
i would love to try...but i dunno even how to start! :/
there's a simple guide?
 
im getting lags in my Intel HD 620, maybe is that wrong?
i would love to try...but i dunno even how to start ...there's a simple guide?


@jeffrjbra,

As per the site rules which you agreed to when you registered, please update your Hardware Profile with more specific information including make of Motherboard and Chipset (or Laptop model) and the specific CPU you have (EG i7 7500U). We are not physic and with out specific information we are unable to help. Have a look at my profile as an example, if you need more space you can add more hardware info in your signature.

To answer your question have a look at this beginners guide to Lilu :-


Cheers
Jay
 
Last edited:
@jeffrjbra,

As per the site rules which you agreed to when you registered, please update your Hardware Profile with more specific information including make of Motherboard and Chipset (or Laptop model) and the specific CPU you have (EG i7 7500U). We are not physic and with out specific information we are unable to help. Have a look at my profile as an example, if you need more space you can add more hardware info in your signature.

To answer your question have a look at this beginners guide to Lilu :-


Cheers
Jay

Hey Jay, tnx for replying
I've updated with more details btw
Here's my Laptop setup
Acer A515-51G
CPU: Intel i7 7500U
RAM: 8Gb
Ssd: 240Gb
Video: Intel HD Graphics 620

Im using a A515-51 Repo EFI files
But the owner's setup is too much different from mine...i think i should adjust it to stop these lags, maybe CPU and Video adjustments...
 
Im using a A515-51 Repo EFI files
But the owner's setup is too much different from mine...i think i should adjust it to stop these lags, maybe CPU and Video adjustments...


@jeffrjbra,

HD 620 IGPU works very well with MacOS as it is natively supported ... I have the same CPU/IGPU combo on my HP Spectre X360 and it works perfectly (see MonkeyBook Pro in my signature for full specs).

Recommend using the MacBookPro14,1 SMBIOS and PlatformID 0x59160000 for the IGPU using Lilu + WhatEverGreen.
See the guide i linked you to for more information and how to ... some of the examples are for HD 620.

Cheers
Jay
 
Last edited:
@jeffrjbra,

HD 620 IGPU works very well with MacOS as it is natively supported ... I have the same CPU/IGPU combo on my HP Spectre X360 and it works perfectly (see MonkeyBook Pro in my signature for full specs).

Recommend using the MacBookPro14,1 SMBIOS and PlatformID 0x59160000 for the IGPU using Lilu + WhatEverGreen.
See the guide i linked you to for more information and how to ... some of the examples are for HD 620.

Cheers
Jay

I just readed the guide...
and what happened is the following...
when i use the platform id that you gave me, i got 7MB VRAM
when i didnt use, i got 2048 VRAM, but still have lags...
i have some info in my EDID, but i think is related to the REPO owner's laptop, which is different from mine..
im really lost in framebuffer thing...nothing seems to work.


BTW, this is the Config that is "working" (with some lags) to me at is:

i have 2048MB (is that real?) VRAM and transparent OS and Menu

EDID: 00FFFFFF FFFFFF00 0610F29C 00000000 1A150104 951A0E78 02EF0597 57549227 22505400 00000101 01010101 01010101 01010101 0101DA1D 56E25000 2030442D 470058C1 10000018 000000FC 00436F6C 6F72204C 43440A20 20200000 00FE0043 4D4E0A20 20202020 20202020 000000FE 004E3135 36424741 2D454132 0A2000

VendorID: 0x1552

ProductID: 0x40178

IG-PlatformID0x191E0000

Which is TOTTALY different from the info provided here for HD620...
 
Last edited:
this is the Config that is "working" (with some lags) to me at is:

IG-PlatformID0x191E0000

Which is TOTTALY different from the info provided here for HD620...


@jeffrjbra,

Yes that PlatformID is for SkyLake HD 515 IGPU :-

Code:
ID: 191E0000, STOLEN: 34 MB, FBMEM: 21 MB, VRAM: 1536 MB, Flags: 0x0000050F
TOTAL STOLEN: 56 MB, TOTAL CURSOR: 1 MB (1572864 bytes), MAX STOLEN: 124 MB, MAX OVERALL: 125 MB (131608576 bytes)
GPU Name: Intel HD Graphics 515
Model Name(s):
Camelia: Disabled, Freq: 1388 Hz, FreqMax: 1388 Hz
Mobile: 1, PipeCount: 3, PortCount: 3, FBMemoryCount: 3
[0] busId: 0x00, pipe: 8, type: 0x00000002, flags: 0x00000098 - LVDS
[1] busId: 0x05, pipe: 9, type: 0x00000400, flags: 0x00000187 - DP
[2] busId: 0x04, pipe: 10, type: 0x00000400, flags: 0x00000187 - DP
00000800 02000000 98000000
01050900 00040000 87010000
02040A00 00040000 87010000


I don't why that works for you ... I would not expect it to work with Kaby Lake CPU/IGPU unless you are using spoofing the CPU generation with the lilucpu=XX boot flag ... but there should be no need to do that with i7 7500U + HD 620 IGPU.

Normally HD 620 IGPU with i7 7500U CPU is very easy to configure as its one of the few Mobile IGPU's that Apple used.
Did you use MacBookPro14,1 SMBIOS ?

2048MB VRAM is possible with the appropriate patch, i use it my self with my HD 620 as the display on my Laptop is 4K and the extra bit of VRAM does help to keep things smooth.

It's a very bad idea to use the config from a totally different system, much better to work on your own config.

If you want help please provide Proper Problem Reporting Files (PPRF's) using the tool in this guide :-

https://www.tonymacx86.com/threads/tool-generate-proper-problem-reporting-files.235953/

Cheers
Jay
 
Back
Top