Contribute
Register

[Guide] Intel Framebuffer patching using WhateverGreen

With the 10.14.5 Mojave update, I am now experiencing VERY slow wakes from sleep, usually 10+ minutes, often no wake at all. I'll push the power button to wake up and the LED will come on solid but the display will remain sleeping for at least 10 more minutes. Everything was working perfectly under 10.14.4.


This is on a Lenovo ThinkCentre tiny form factor M73 desktop with the Core i3-4130T CPU (HD4400 video).

I updated WhateverGreen to the latest version 1.2.9 but this makes no difference.

I have a nearly identical system, Lenovo ThinkCentre tiny form factor M93p with the Core i5-4590T (HD4600 video) and it sleep/wakes just fine.

I'm pretty sure that if I upgrade this M73 to an i5 (HD4600), everything will just work again.

Anybody else experiencing sleep/wake problems with HD4400 video under 10.14.5 ?

Thanks in advance.

I've attached my CLOVER folder ...
 

Attachments

  • CLOVER.zip
    3.6 MB · Views: 110
With the 10.14.5 Mojave update, I am now experiencing VERY slow wakes from sleep, usually 10+ minutes, often no wake at all. I'll push the power button to wake up and the LED will come on solid but the display will remain sleeping for at least 10 more minutes. Everything was working perfectly under 10.14.4.


This is on a Lenovo ThinkCentre tiny form factor M73 desktop with the Core i3-4130T CPU (HD4400 video).

I updated WhateverGreen to the latest version 1.2.9 but this makes no difference.

I have a nearly identical system, Lenovo ThinkCentre tiny form factor M93p with the Core i5-4590T (HD4600 video) and it sleep/wakes just fine.

I'm pretty sure that if I upgrade this M73 to an i5 (HD4600), everything will just work again.

Anybody else experiencing sleep/wake problems with HD4400 video under 10.14.5 ?

Thanks in advance.

I've attached my CLOVER folder ...
What happens if you turn on screen sharing and then try to wake the M73 from a VNC client? Is it still so slow?
Best,
-a-
 
Hi,
I have i7 4790K with HD 4600 on Maximus Impact VII motherboard on Mojave.
Unfortunately have very annoying graphics glitches from iGPU.
I've disabled GTX 1080TI card via boot flag (-wegnoegpu) because there is no drivers yet (cannot remove it physically).
Tried different SMBIOSes e.g iMac 14,1|14,2|14,3|14,4|15,1 without success, still glitches.
System shows "Intel HD Graphics 4600 1536 MB"

Chipset Model: Intel HD Graphics 4600
Type: GPU
Bus: Built-In
VRAM (Dynamic, Max): 1536 MB
Vendor: Intel
Device ID: 0x0412
Revision ID: 0x0006
Metal: Supported, feature set macOS GPUFamily1 v4
Displays:
DELL U2715H:
Resolution: 2560x1440 (QHD/WQHD - Wide Quad High Definition)
UI Looks like: 2560 x 1440 @ 59 Hz
Framebuffer Depth: 24-Bit Colour (ARGB8888)
Display Serial Number: GH85D4BP0A5L
Main Display: Yes
Mirror: Off
Online: Yes
Rotation: Supported
Automatically Adjust Brightness: No
Connection Type: DisplayPort

tried old* method with FakePCIID_Intel_HD_Graphics.kext an Intel/inject=true with 0x0d220003, still glitches.
Tried add "Properties" to clover via patch from Hackintoshtool (removed kexts and injects before) and still glitches.
Tried with 15,1 + 0x0412000B (from patcher) but gets KP on boot. Now i'm on 14,3 + 0x0d220003 but still have graphics glitches that big on some apps that i cannot use them;(

Does anyone know how to fix it?
In HS it worked fine.

Thank you.
 

Attachments

  • Screenshot 2019-05-31 at 14.05.14.png
    Screenshot 2019-05-31 at 14.05.14.png
    407.4 KB · Views: 161
  • Screenshot 2019-05-31 at 14.44.58.png
    Screenshot 2019-05-31 at 14.44.58.png
    445.3 KB · Views: 172
Last edited:
I have i7 4790K with HD 4600 on Maximus Impact VII motherboard on Mojave. Unfortunately have very annoying graphics glitches from iGPU.


@gulios,

Azul frame buffer can be problematic with HD 4600 on some systems.

Try using Clover Device Properties but use PlatformID 0x0D220003 and SMBIOS iMac 14,2.
You can use Hackintool to generate the patch code with the above PlatformID:-
Screenshot 2019-05-31 at 16.19.58.png
Or set AAPL,ig-platform-id to 0300220D using Clover Configurator or a plist editor.

See the Special Note on HD 4600 in the Lilu + Plug-in's guide :-


PlatformID 0x0D220003 has all Motherboard connectors configured as DP so if your using HDMI you may have to patch the frame buffer using the methods detailed in @CaseySJ's guide :-


Cheers
Jay
 
Last edited:
@gulios,

Azul frame buffer can be problematic with HD 4600 on some systems.

Try using Clover Device Properties but use PlatformID 0x0D220003 and SMBIOS iMac 14,2.
You can use Hackintool to generate the patch code with the above PlatformID:-
View attachment 409174
Or set AAPL,ig-platform-id to 0300220D using Clover Configurator or a plist editor.

See the Special Note on HD 4600 in the Lilu + Plug-in's guide :-


PlatformID 0x0D220003 has all Motherboard connectors configured as DP so if your using HDMI you may have to patch the frame buffer using the methods detailed in @CaseySJ's guide :-


Cheers
Jay

Thank you but with 0x0d220003 and 14,2(with kexts fakeid and clover injection or only patch from hackintool) i can boot but no info about iGPU and still glitches. On HS i had same platform-id and different SMBIOSes and it worker like a charm.

Maybe you can check my config.plist. Maybe you'll find some bug or something...
I'll try more platform ids.

Thank you !
 

Attachments

  • config.plist
    6 KB · Views: 140
  • Screenshot 2019-05-31 at 19.15.15.png
    Screenshot 2019-05-31 at 19.15.15.png
    3.2 MB · Views: 181
Thank you but with 0x0d220003 and 14,2(with kexts fakeid and clover injection or only patch from hackintool) i can boot but no info about iGPU and still glitches.

Maybe you can check my config.plist. Maybe you'll find some bug or something...


@gulios,

From your screen shot it does look like a framebuffer related issue.

Your config file looks ok, the only thing i would question is why you have "Load Vbios" enabled in Config.plist -> Graphics ?

What resolution display are you driving ? (EG 1080P, 2.6L, 4K .. etc)
How is your display connected to the motherboard (DP, HDMI ... etc)

Cheers
Jay
 
@gulios,

From your screen shot it does look like a framebuffer related issue.

Your config file looks ok, the only thing i would question is why you have "Load Vbios" enabled in Config.plist -> Graphics ?

What resolution display are you driving ? (EG 1080P, 2.6L, 4K .. etc)
How is your display connected to the motherboard (DP, HDMI ... etc)

Cheers
Jay

"Load Vbios" - probably from testing, now i don't remember.
I use DP connection to Dell in 2560x1440 resolution.

I've tested
Intel HD Graphics 4600, 0x0D220003, 3 -> 1536 MB glitches
Intel HD Graphics 4600, 0x0C060000, 3 -> 1536 MB glitches
Intel HD Graphics 4600, 0x0D260000, 3 -> 1024 MB glitches
Intel HD Graphics 4600, 0x0A16000C, 3 -> 1536 MB less glitches
Intel HD Graphics 4600, 0x0A160000, 3 -> 1024 MB glitches
Intel HD Graphics 4600, 0x04260000, 3 -> 1024 MB glitches

i've run out of ideas ;(
Now i'm on 14,2 with 0x0D220003 and clover Injection + fakekexts (with Hackintool no system info), still graphics glitches and random reboots ;(

Maybe it's because of GTX connected to motherboard, i don't know especially it's impossible to remove GPU from case without disconnecting all coolers, fans etc...
In BIOS when i set primary to CPU after POST i have just blinking cursor in left corner. Probably because i have m.2 connected to PCI so i'm not able to test it without GPU removed.

Very frustrating because without acceleration can't use some important apps for me and i see that probably Nvidia won't release drivers to 10* GTXs ;(
 
I use DP connection to Dell in 2560x1440 resolution.


@gulios,

I think anything over 1080P requires the "-cdfon" boot argument to be aded to your config.plist.

Note: "-cdfon" must be used in conjunction with WhatEverGreen but from looking at your config,plist I assume that you already have it and Lilu installed otherwise your device properties for the IGPU would not be doing anything.

You might also want to enable to 2048MB VRAM patch.

See the High DPI section in Chapter 4 of the Lilu + Plug-in's guide :-


Pretty sure that adding "-cdfon" should fix the issue and the 2048MB VRAM patch is recommended when the IGPU is driving a display greater than 1080P or more than one monitor/display.

Cheers
Jay
 
Last edited:
@gulios,

I think anything over 1080P requires the "-cdfon" boot argument to be aded to your config.plist.

Note: "-cdfon" must be used in conjunction with WhatEverGreen but from looking at your config,plist I assume that you already have it and Lilu installed otherwise your device properties for the IGPU would not be doing anything.

You might also want to enable to 2048MB VRAM patch.

See the High DPI section in Chapter 4 of the Lilu + Plug-in's guide :-


Pretty sure that adding "-cdfon" should fix the issue and the 2048MB VRAM patch is recommended when the IGPU is driving a display greater than 1080P or more than one monitor/display.

Cheers
Jay

Thank you for answer but something is still wrong.
Look at my config.plist and patch.
With that config without FakePCIID.kext still glitches and no GPU in system info.
From DPCIManager i see it's "Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller, 0x0D220003, 3"

Thank you.
 

Attachments

  • config.plist
    6.6 KB · Views: 116
  • framwe.txt
    683 bytes · Views: 130
Thank you for answer but something is still wrong.Look at my config.plist and patch.


@gulios,

config.plist looks ok ... however as i said Azul framebuffer is know to be problematic.

From DPCIManager i see it's "Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller, 0x0D220003, 3"


DCPI Manager has not been updated in a very long time, I tend to use the PCI list in Hacking tool these days which is far superior and allows you to export the data if you want to spoof the devices so that they show up in Sys Info -> PCI

The Description of the IGPU is coming from the PCI spoofing generated by Hackintool's patch generator, it uses a on-line database to get the descriptions (its the same database that DCPIManager uses) and for IGPU's it always tends to be the CPU Generation rather than an exact IGPU model type. (in your case "4th Gen Core Processor")

You can change the string value of "model" in the IGPU device properties to something like "HD 4600 IGPU" if want.

Depending on the system, WhatEverGreen can sometimes not fully patch the AZUL frame buffer correctly, I had this issue on one of my HD 4600 systems, I got around it by using a SSDT Hot Patch to inject the device properties rather than defining them as Device Properties in the config.plist.

You could try the following :-
  1. Download the attached zip file (SSDT-IGPU.aml.zip)
  2. Unzip the file and copy SSDT-IGPU.aml to /EFI/Clover/ACPI/Patched
  3. Remove all the Device Properties for the IGPU from your config.plist
  4. Reboot
Clover should use now use SSDT-IGPU.aml to inject the Device Properties along with a suitable _DSM method. I wrote this SSDT to get HD 4600 working on one of my Hacks when all other methods failed to work. It will configure the IGPU with the 0x0D220003 PlatformID and also set the model description to HD 4600.

Give it a go and see if it helps, other than that i'm out of ideas ... i've never seen an IGPU issue quite like the one in your screen shot in post #910.

Cheers
Jay
 

Attachments

  • SSDT-IGPU.aml.zip
    1,008 bytes · Views: 106
Back
Top