Contribute
Register

[Guide] Intel Framebuffer patching using WhateverGreen

Hello guys,
Following your guide hasn't been too difficult so far, until I stopped at the debug section where I think I'll need some help. If you will, of course.

Basically I'm trying to know if the iGPU is indeed working in headless mode with my dGPU.
When I check Intel Power Gadget, the green gfx line stays at 0,00 whatever the hell I'm doing on my computer, leaving me with the assumption that iGPU is not working... or is it ?

I tried to find the AppleIntelFramebuffer kext but no can do. I don't know where to find it ?
I don't even know if -igfxdump boot flag is working. (installed lily debug and WeG debug)

I checked ioReg and Hackintool and the correct platform-id is displayed, but I have "???" in Intel generation in Hackintool. I don't know if it's relevant ?


The only problem left with my setup is sleep mode that is not working (it reboots) but it might be linked to the iGPU headless mode wrongly configured. I'll try to solve one problem at a time.

Anyway, I attached the WeBlog.txt and debug.zip as requested, if someone want to have a look at it that would be very generous of you.

Thanks
 

Attachments

  • debug_4238.zip
    5.2 MB · Views: 58
  • weglog.txt.zip
    9 KB · Views: 64
I checked ioReg and Hackintool and the correct platform-id is displayed, but I have "???" in Intel generation in Hackintool. I don't know if it's relevant ?
It means you don't have the framebuffer kext loaded on your machine. ie. Graphics are not working.
 
Last edited:
It means you don't have the framebuffer kext loaded for your machine. ie. Graphics are not working.
This is what I thought. Thank you !

Finally fixed the iGPU with Lilucpu=10 + device-id !
I Had a hard time figuring how to right the device-id, though..

As the platform-id needs to be reversed, I assumed that the device-id too. I was right but did it wrongly.
I figured that the device-id "0x3E9B" should be filled with 0s and first thought like so "0x3E9B0000" then reversed it to "00009B3E".
I eventually realised that the 0s should be added to the device-id AFTER reversing it, changing my "00009B3E" into "9B3E0000".

Maybe it should be written "0x00003E9B" in the guide for it to be more consistent ? Well, at least for people who don't know much like me. Just a suggestion. ^^

Thanks for you answer anyway.
 
Maybe it should be written "0x00003E9B" in the guide for it to be more consistent ? Well, at least for people who don't know much like me. Just a suggestion. ^^
It does mention the reverse bytes required for ig-platform-id entry although I agree it's not clear when it comes to device-id. Thanks for the suggestion.
 
I figured that the device-id "0x3E9B" should be filled with 0s and first thought like so "0x3E9B0000" then reversed it to "00009B3E". I eventually realised that the 0s should be added to the device-id AFTER reversing it, changing my "00009B3E" into "9B3E0000".


@AntoneWTR,

For clarification ...

Although "devcie-id" (like AAPL,platfrom-id) is defined as a 64bit word, only the first two bytes are significant (or first 16 bit word) so in the case of "device-id" we always apply padding to the end.

Most of the time we simply pad using 0's but some system info apps will show it padded with "8086" which is an Intel designation but it really makes no difference as the last two bytes of "device-id" (or second 16bit word) are not used.

We have to define them this way due to the legacy nature of the x86 architecture, in reality the system treats both "device-id" and "AAPL,platform-id" as being made up of two 16 bit words.

Cheers
Jay
 
Last edited:
Please delete
 
Last edited:
@headkaze

What value should i use in framebuffer-stolenmem on my hack HP 800 G1 with intel HD 4600 graphics. there is no way to set (DVMT) in Bios.

What is the maximum value i can set? for better graphics performance.
which value should i use 64mb, 96mb, 128mb.

thanks,
ms.reddy41562
 
What value should i use in framebuffer-stolenmem on my hack HP 800 G1 with intel HD 4600 graphics. there is no way to set (DVMT) in Bios.

What is the maximum value i can set? for better graphics performance.
which value should i use 64mb, 96mb, 128mb.
The value needs to match whatever you have set in BIOS. So it if defaults to 32 MB then use that.

You can use UEFITool to extract the Setup data from the BIOS and then IFRExtractor to output it into text form. It will tell you what your default value for DVMT is.

There are ways to set the DVMT value to something like 64 MB using GRUB and the offsets from IFRExtractor but it does require some work.
 
Last edited:
@headkaze

Limited options in BIOS to set DVMT.

Is there way to set through framebuffer patching?

but don't want modd BIOS, heard it may brick the system.

thanks,
ms.reddy41562
 
@headkaze I am getting boot glitch while using HD630. My connection type is HDMI and this is the only option for my monitor. Which arbitrary settings should I use to eliminate this glitch?

IMG_0112.PNG
 
Back
Top