Contribute
Register

[Guide] Intel Framebuffer patching using WhateverGreen

Thanks, Rashiki. I had already switched from HDMI to DP, and the hackintosh is now pretty stable. I have completed the USB mapping according to the FBPatch thread, and I can sleep and shutdown OK. All that with 0x3e9b0007 platform-id.

I have only one problem. When switching back and forth my KVM Switch, sometimes the screen doesn't turn on or turns on with flickering... doing a fast switch again usually solves the problem and I get a stable system.

I will try your 0x3EA50000 later today, when I am at home, to see if I get a more stable system. The thread of black.dragon74 regarding AAPL02,override-no-connect is, at the moment, a little bit out of my league.

I will post the results here.

Thanks.

This was it, Rashiki. It took some time to test it because I had to get access to an HDMI display.

All changes had to be included in Devices: the ig-platform-id you mention (0x3EA50000), the change from DP to HDMI in the FB2: connector, and the EDID injection - which I had to get the one from my monitor (thanks SwitchResX).

Thanks everybody.
 
The thread of black.dragon74 regarding AAPL02,override-no-connect is, at the moment, a little bit out of my league.

Just a heads up Intel FB-Patcher has been renamed to Hackintool and the next release will include EDID patching from Andy Vandijck's FixEDID. You can try out a pre-release of it from here but FYI it hasn't been tested much yet.
 
This was it, Rashiki. It took some time to test it because I had to get access to an HDMI display.

All changes had to be included in Devices: the ig-platform-id you mention (0x3EA50000), the change from DP to HDMI in the FB2: connector, and the EDID injection - which I had to get the one from my monitor (thanks SwitchResX).

Thanks everybody.

A little update.

When switching back to my DP display, with the config.list I generated with the EDID injection, the FBPatcher tool was saying that both displays (DP and HDMI) where connect. Two red lines in the Connectors tab.

I had to create 2 config.plist files, one with EDID injection, to use when connect to (that) HDMI display, and another to use when connected only through DP.

Sleeping, restart and shutdown are working perfectly.
 
Just a heads up Intel FB-Patcher has been renamed to Hackintool and the next release will include EDID patching from Andy Vandijck's FixEDID. You can try out a pre-release of it from here but FYI it hasn't been tested much yet.

Good news, Headkaze.

I tried to use the new version in another Hackintosh I am trying to put back to work. It's an ASUS H110T, i3 6100 8GB RAM simple system, with 10.13.6 (which was working perfectly with clover and tools available when 10.13.6 come out - for a stupid reason I updated clover, and can't get it back to work again).

I can get accelerated HD530 4K graphics with Lilu+Whatevergreen with ig-platform-id 0x193B0000 (Device ID 0x1912), but most of the time no image on the DP display. Never after boot up, but after switching back and forth my KVM switch, a picture appears on the display. Sometimes for just 1 second, but once or twice picture was stable enough to work for more than one hour. Today flickering was terrible, and only able to work through Screen Sharing.

These are how Connectors are before and after patching Index for each connector.

1547510637401.png 1547510737741.png

On Devices-Properties I also inject EDID, even though I don't think the problem is there.

1547510857050.png

On the new tab for Displays and EDID, I exported DisplayEDID.kext, DisplayVendorID-5e3 directory and a bin file. I put DisplayVendorID-5e3 into System/Library/Displays/Overrides (directory that didn't exist and I had to create).

1547510986595.png
After rebooting, system gets to login screen with no display on monitor, I can see it on Screen Sharing, and then hangs. Completely. I had to reboot into Clover Shell and delete Overrides directory to get be able to reboot and access it remotely.

I am also following this thread: [GUIDE] General Framebuffer Patching Guide (HDMI Black Screen Problem) and will understand if change Bus Id will have any positive impact on my problem.

Looking into some other places, I find errors I cannot interpret:

Code:
2019-01-14 23:42:27.558097+0000  localhost WindowServer[207]: (CoreDisplay) <CoreDisplay> [ERROR] - GetThermalCompensationAttributes: can't get framebuffer red gamma scaling factor on port 19459 (e00002d7)
2019-01-14 23:42:27.558099+0000  localhost WindowServer[207]: (CoreDisplay) <CoreDisplay> [ERROR] - GetThermalCompensationAttributes: can't get framebuffer green gamma scaling factor on port 19459 (e00002d7)
2019-01-14 23:42:27.558099+0000  localhost WindowServer[207]: (CoreDisplay) <CoreDisplay> [ERROR] - GetThermalCompensationAttributes: can't get framebuffer blue gamma scaling factor on port 19459 (e00002d7)
2019-01-14 23:42:27.559520+0000  localhost WindowServer[207]: (CoreDisplay) <CoreDisplay> [ERROR] - GetThermalCompensationAttributes: can't get framebuffer red gamma scaling factor on port 14607 (e00002d7)
2019-01-14 23:42:27.559522+0000  localhost WindowServer[207]: (CoreDisplay) <CoreDisplay> [ERROR] - GetThermalCompensationAttributes: can't get framebuffer green gamma scaling factor on port 14607 (e00002d7)
2019-01-14 23:42:27.559523+0000  localhost WindowServer[207]: (CoreDisplay) <CoreDisplay> [ERROR] - GetThermalCompensationAttributes: can't get framebuffer blue gamma scaling factor on port 14607 (e00002d7)
2019-01-14 23:42:27.561100+0000  localhost WindowServer[207]: (CoreDisplay) <CoreDisplay> [ERROR] - GetThermalCompensationAttributes: can't get framebuffer red gamma scaling factor on port 16399 (e00002d7)
2019-01-14 23:42:27.561102+0000  localhost WindowServer[207]: (CoreDisplay) <CoreDisplay> [ERROR] - GetThermalCompensationAttributes: can't get framebuffer green gamma scaling factor on port 16399 (e00002d7)
2019-01-14 23:42:27.561103+0000  localhost WindowServer[207]: (CoreDisplay) <CoreDisplay> [ERROR] - GetThermalCompensationAttributes: can't get framebuffer blue gamma scaling factor on port 16399 (e00002d7)


2019-01-14 23:42:32.071941+0000  localhost WindowServer[207]: (CoreDisplay) <CoreDisplay> [ERROR] - ColorSyncUtilsUpdateDisplayProfiles display profile info list is NULL
2019-01-14 23:42:32.098448+0000  localhost WindowServer[207]: (CoreDisplay) <CoreDisplay> [ERROR] - ColorSyncUtilsUpdateDisplayProfiles display profile info list is NULL
2019-01-14 23:42:32.145584+0000  localhost WindowServer[207]: (CoreDisplay) <CoreDisplay> [ERROR] - ColorSyncUtilsUpdateDisplayProfiles display profile info list is NULL
2019-01-14 23:42:32.626621+0000  localhost WindowServer[207]: (CoreDisplay) <CoreDisplay> [ERROR] - ColorSyncUtilsUpdateDisplayProfiles display profile info list is NULL


=======
After a new boot


2019-01-15 00:35:23.518878+0000 0x49a      Fault       0x0                  0      0    kernel: (IOAcceleratorFamily2) bool IOAccelDisplayPipe2::init_framebuffer_resource(IOAccelResource2 *): getPixelInformation for framebuffer 2 failed
2019-01-15 00:35:26.605243+0000 0x49a      Fault       0x0                  0      0    kernel: (IOAcceleratorFamily2) bool IOAccelDisplayPipe2::init_framebuffer_resource(IOAccelResource2 *): getPixelInformation for framebuffer 2 failed
2019-01-15 00:35:27.027596+0000 0x49a      Fault       0x0                  0      0    kernel: (IOAcceleratorFamily2) bool IOAccelDisplayPipe2::init_framebuffer_resource(IOAccelResource2 *): getPixelInformation for framebuffer 2 failed
2019-01-15 00:35:28.096238+0000 0x49a      Fault       0x0                  0      0    kernel: (IOAcceleratorFamily2) bool IOAccelDisplayPipe2::init_framebuffer_resource(IOAccelResource2 *): getPixelInformation for framebuffer 2 failed


The question I am asking now is should I continue to try to get this 10.13.6 stable or should I first upgrade it to 10.14.2, and then try to get display/graphics to work...

Hope to hear from you.

PS - Sometimes the system does not detect any display (connectors tab in Hackintool has no lines in red), trying to get to new EDID tab with General breaks the App, it just closes with a dump. If I can reproduce it I will post its details.
PS2 - Injecting EDID in AAPL02,override-no-connect, sometimes plugin and unplugging the KVM switch hangs the system and have to restart it by reseting!
 
On the new tab for Displays and EDID, I exported DisplayEDID.kext, DisplayVendorID-5e3 directory and a bin file. I put DisplayVendorID-5e3 into System/Library/Displays/Overrides (directory that didn't exist and I had to create).

The folder is actually /System/Library/Displays/Contents/Resources/Overrides for El Capitan or above. I have updated the instructions.

Anyway I think it might be best to use the DisplayEDID-xxx.kext option. Try Hackintool 1.7.3 as it will now export files for all displays to the desktop.

That being said I don't know if injecting EDID will solve your hotplug issue.
 
Thanks to all for this great community. I was able to follow the directions and get both my IGPU and dGPU working on Mojave. Much appreciation!
 
Last edited:
The folder is actually /System/Library/Displays/Contents/Resources/Overrides for El Capitan or above. I have updated the instructions.

Anyway I think it might be best to use the DisplayEDID-xxx.kext option. Try Hackintool 1.7.3 as it will now export files for all displays to the desktop.

That being said I don't know if injecting EDID will solve your hotplug issue.

I have just downloaded new version 1.7.4, generated the kext file and put it at /Library/Extensions. I can login and access it through Screen Sharing.

The Display Preferences always show my display, and pressing "Detect Displays" button doesn't end up in loosing connection to the display.

Whether I have picture on the display is another thing. Sometimes I do, sometimes I don't, most of the time I don't. Some times it comes up, shows a flickering image, and goes to sleep.

For sure injecting EDID did not solve my hotplug issue.

Next step (maybe next week), install Mojave from scratch. See what happens.

Thanks for the support and keep up the good work.
 
Just a heads up Intel FB-Patcher has been renamed to Hackintool and the next release will include EDID patching from Andy Vandijck's FixEDID. You can try out a pre-release of it from here but FYI it hasn't been tested much yet.
I successfully enable HIDPI using this repo: one-key-hidpi, hope this may help others.
 
I successfully enable HIDPI using this repo: one-key-hidpi, hope this may help others.
You can do the same thing in Hackintool. Under General->Display click the "Add" button and it will add a bunch of default resolutions. Then click on the "Export" button and it will add the override folders to your desktop which you can then copy to /System/Library/Displays/Contents/Resources/Overrides
EDIDOverride.png
 
Last edited:
HI, I'm trying to enable my HD530 (i7-6700k) along my GTX 970 to use QuickSync and get better render times and all the advantages of it... also I need to use airplay mirroring.
As now all is working except it, and i'd like to get it working.

My problem is that when fcpx or another app exports the IGPU usage always stays at 0%...

How can I solve this?
(Kexts Lilu,Whatevergreen,AppleALC,Realtek8111,fakesmc)

MY config and gen debug results attached.

Thanks
 

Attachments

  • config.plist
    24.5 KB · Views: 147
  • debug_3335.zip
    3 MB · Views: 84
Back
Top