Contribute
Register

[Guide] Intel Framebuffer patching using WhateverGreen

I Agree that if it is connected to the NVIDIA, then it is a a lost case. I also know that Wifi is a no go with the Intel chipset ;-). Any suggestion How to easily check in Windows If the HDMI is Connected directly by NVIDIA or not? There are also two Thunderbold connectors. I assumed that if I can put a display on them under Windows similar to my real MacBook pro, then that is definitely a NVIDIA only thing.
I thought the HDMI was worth the try, If it is limited to 1920x1080, which is the same as the internal screen, then it is possible that the Intel HD630 is doing it.
 
I Agree that if it is connected to the NVIDIA, then it is a a lost case. I also know that Wifi is a no go with the Intel chipset ;-). Any suggestion How to easily check in Windows If the HDMI is Connected directly by NVIDIA or not? There are also two Thunderbold connectors. I assumed that if I can put a display on them under Windows similar to my real MacBook pro, then that is definitely a NVIDIA only thing.
I thought the HDMI was worth the try, If it is limited to 1920x1080, which is the same as the internal screen, then it is possible that the Intel HD630 is doing it.
You need to have your hardware profile filled out as per rules (the ones you agreed to when signing up here)
 
Sorry I have all the screen shots, will update profile
 
Profile updated
 
It WORKS perfectly for both HDMI ports !
Thank you.

The thing I missed is the FB<->port mapping because the popup help of the FBPatcher app confused me.
In fact it seems that:
1) the rows of the table inside the connectors tab are mapped to the AppleIntelFramebuffer@X items from IOREG:
row1 (or row with array index 0) <-> AppleIntelFramebuffer@0
row2 (or row with array index 1) <->AppleIntelFramebuffer@1
row3 (or row with array index 2) <->AppleIntelFramebuffer@2

2) the index value (the first column in table) is the corresponding portY that you can read from connect/disconnect log
> log show --predicate "process =='kernel'" | grep -I plug
2018-11-21 10:16:18.446750+0100 0x5d2 Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][INFO ] FB1: Display unplugged from port3
2018-11-21 10:16:31.163186+0100 0x5d2 Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][INFO ] FB2: Hot plug on port1
3) note that the portY above is different from the value of the port-number inside ioreg AppleIntelFramebuffer@ and the relation seems to be:
port1 <-> port-number=0x5
port2 <-> port-number=0x6
port3 <-> port-number=0x7

That said, my working patched config actually is:
FB0<->port2<-> port-number=0x6 (port2* is not present in my mobo however)
FB1<->port3<-> port-number=0x7 (HDMI UP)

FB2<->port1<-> port-number=0x5 (HDMI DOWN)

(*) Since port2 si not physically present in my mobo (but it was present in mobo of the original patch) I suspect that I can make a cleaner patch for my Gigabyte B360N WIFI probably by using only 2 FB (FB port limit option?) or by setting the type of the actual FB0 to something like ZERO, DUMMY, LVDS.... but for now it works.

Many thanks headkaze!

(EDIT)
PS: the log still shows some errors related to CFLFramebuffer:
log show --predicate "process =='kernel'" | grep -I AppleIntelCFLGraphicsFramebuffer


2018-11-21 10:16:18.446750+0100 0x5d2 Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][INFO ] FB1: Display unplugged from port3

2018-11-21 10:16:18.702351+0100 0x520 Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][WARNING] fb0 : DP-EDID set offset failed: 0xe00002d6

2018-11-21 10:16:19.376265+0100 0x520 Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][INFO ] FB1: Disabling display

2018-11-21 10:16:19.376270+0100 0x520 Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][INFO ] FB1 Conection status change: Connected --> Disconnected

2018-11-21 10:16:31.163186+0100 0x5d2 Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][INFO ] FB2: Hot plug on port1

2018-11-21 10:16:32.043160+0100 0x78b Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][WARNING] fb2 : DP-EDID set offset failed: 0xe00002d6

2018-11-21 10:16:32.120239+0100 0x78b Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][WARNING] fb2 : DP-EDID set offset failed: 0xe00002d6

2018-11-21 10:16:32.566152+0100 0x520 Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][WARNING] fb0 : DP-EDID set offset failed: 0xe00002d6

2018-11-21 10:16:33.261051+0100 0x520 Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][INFO ] FB2 Conection status change: Disconnected --> Connected

2018-11-21 10:16:33.263253+0100 0x520 Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][INFO ] FB2: Blanking out the screen without black gamma

2018-11-21 10:16:33.384102+0100 0x520 Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][INFO ] FB2: Setting display mode 1920 x 1200 -> 0 x 0 encoded with 0x1 2 bpc with color 1 and range 1

2018-11-21 10:16:33.384109+0100 0x520 Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][INFO ] FB2: Complete modeset

2018-11-21 10:16:33.451686+0100 0x520 Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][INFO ] FB2: Blanking out the screen without black gamma

2018-11-21 10:16:33.453156+0100 0x520 Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][INFO ] FB2: Setting display mode 1920 x 1200 -> 0 x 0 encoded with 0x1 2 bpc with color 1 and range 1

2018-11-21 10:16:33.468604+0100 0x520 Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][INFO ] FB2: Partial modeset

2018-11-21 10:16:33.535752+0100 0x520 Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][INFO ] FB2: Blanking out the screen without black gamma

2018-11-21 10:16:34.001159+0100 0x520 Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][INFO ] FB2: Setting display mode 1920 x 1200 -> 0 x 0 encoded with 0x1 2 bpc with color 1 and range 1

2018-11-21 10:16:34.006538+0100 0x520 Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][INFO ] FB2: Panel Fitter modeset

2018-11-21 10:16:34.073731+0100 0x520 Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][INFO ] FB2: Blanking out the screen without black gamma

2018-11-21 10:16:35.111940+0100 0x6bc Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][INFO ] FB2: Flipping display with wsaa 1 flipped from 1920 x 1200 -> 1920 x 1200 on 46fbe000 with 5 options at stride 7680

2018-11-21 10:16:35.133099+0100 0x6bc Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][INFO ] FB2: Flipping display with wsaa 1 flipped from 1920 x 1200 -> 1920 x 1200 on 47888000 with 1 options at stride 7680

2018-11-21 10:16:35.166495+0100 0x6bc Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][INFO ] FB2: Blanking out the screen without black gamma

2018-11-21 10:16:35.418949+0100 0x6bc Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][INFO ] FB2: Flipping display with wsaa 1 flipped from 1920 x 1200 -> 1920 x 1200 on 48a1c000 with 801 options at stride 7680

2018-11-21 10:16:35.435515+0100 0x6bc Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][INFO ] FB2: Flipping display with wsaa 1 flipped from 1920 x 1200 -> 1920 x 1200 on 492e6000 with 1 options at stride 7680

2018-11-21 10:16:37.801576+0100 0x1992 Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][ERROR ] kHDCP1_I2C_BKSV read failed

2018-11-21 10:16:37.801578+0100 0x1992 Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][ERROR ] ReadBksv failed

How did you get DRM to work with this ? I used connector patches, and DRM is having issues, I think internally it still thinks its VGA or something, because I think this breaks sleep/wake too ... I may need to try something to get HDMI port work as HDMI, else no DRM, no Netflix.
 

Attachments

  • EFI.zip
    5.9 MB · Views: 58
How did you get DRM to work with this ? I used connector patches, and DRM is having issues, I think internally it still thinks its VGA or something, because I think this breaks sleep/wake too ... I may need to try something to get HDMI port work as HDMI, else no DRM, no Netflix.

VGA works fine without patches and HDMI displays output after patches, hence I believe patching is not really enabling HDMI.
 
But I have an additional problem, it seems that the IntelGen and PlatformID dropdowns are not populated and the connection page stays also empty.
In Hackintool, first select "Framebuffer --> MacOS 10.14" from the top menu bar. Then check the 2 tabs again (General and Connector). Now you should be able to select both IntelGen and PlatformID.
 
In Hackintool, first select "Framebuffer --> MacOS 10.14" from the top menu bar. Then check the 2 tabs again (General and Connector). Now you should be able to select both IntelGen and PlatformID.
It stays empty here. The screenshots were allready with MacOS 10.14 selected from the top menu bar. I use here version v1.8.2. Perhaps an issue in my version.
 
Back
Top