Contribute
Register

[Guide] Intel Framebuffer patching using WhateverGreen

@headkaze If I update to Mojave and utilize your work (thanks btw!) is it possible to get dual display working without having to hotplug the second with UHD 630? I've got an i3-8100.

Setting the connectors via Clover find/replace in the past allows me to get hotplug, but I'll just stay here on 10.13.6 if that is still not fixable with your method. Thanks!
 
@headkaze If I update to Mojave and utilize your work (thanks btw!) is it possible to get dual display working without having to hotplug the second with UHD 630? I've got an i3-8100.

Setting the connectors via Clover find/replace in the past allows me to get hotplug, but I'll just stay here on 10.13.6 if that is still not fixable with your method. Thanks!

It's hard to say to be honest. If I plug in a secondary monitor on my desktop it will freeze. There is a "Reboot Fix" patch setting that may get around it but I haven't tried it yet.

FB-Patcher supports importing Clover find/replace patches. So maybe you should try moving to Lilu/WEG patching before upgrading. To apply the Clover patch use the Patch->Import KextsToPatch menu option.

What is the patch BTW? Interested in having a look at it.
 
Hi, headkaze and RehabMan, thank you for your amazing jobs and guidance.
I Have trouble to get my build work, Hope you may help please. Log and EFI attached.

I am using GA B360 + I5 8400 , with 1 vga and 1 dvi output .
I have tried everything and all the layout of coffee lake, also I have tried every connector type from lvds,hdmi , dp . But only can get the vga port work, can not get the DVI port work.


I think it's the problem is reading the EDID failure from FB's kext;


Here is the log . I think the "[IGFB][WARNING] fb2 : DP-EDID set offset failed: 0xe00002d6" is the reason why DVI does not work.
I think the "Error: AUX CMD: 0,16 = Error, 2" by AGDCDiagnose is the same problem.


No EDID AUX cmd works at any port, even VGA, because VGA can not get FHD (1080P) resolution.

This is A really mess-up mono which use MST(Multi-Stream Transport) Hup to provide a VGA and DVI (TMDS) Transition Minimized Differential Signaling.
All ports work like that.. :(

Port: 03 : device present [TMDS]


Code:
2018-11-20 20:25:58.418986+0800 0x425      Default     0x0                  0      0    kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][WARNING] fb0 : DP-EDID set offset failed: 0xe00002d6
2018-11-20 20:25:58.418998+0800 0x425      Default     0x0                  0      0    kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][INFO   ] [key:0x080/on:1] fPSREnablekeys: 0x00001a5f -> 0x00001adf (fullset:0x00003fff)
2018-11-20 20:25:58.419000+0800 0x425      Default     0x0                  0      0    kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][INFO   ] [key:0x400/on:1] fPSREnablekeys: 0x00001adf -> 0x00001edf (fullset:0x00003fff)
2018-11-20 20:25:58.419204+0800 0x425      Default     0x0                  0      0    kernel: kPEDisableScreen 1
2018-11-20 20:25:58.425444+0800 0x425      Default     0x0                  0      0    kernel: kPEDisableScreen 1
2018-11-20 20:25:58.796012+0800 0x425      Default     0x0                  0      0    kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][WARNING] fb2 : DP-EDID set offset failed: 0xe00002d6
2018-11-20 20:25:58.927874+0800 0x126      Default     0x0                  0      0    kernel: en0: DAD complete for fe80:5::4ce:a89c:6b2f:8041 - no duplicates found.
2018-11-20 20:25:59.371486+0800 0x425      Default     0x0                  0      0    kernel: (kernel) WhateverGreen:     weg @ (DBG) failed to obtain display mode
2018-11-20 20:25:59.371500+0800 0x425      Default     0x0                  0      0    kernel: (kernel) WhateverGreen:     weg @ (DBG) failed to obtain display mode
2018-11-20 20:25:59.371519+0800 0x425      Default     0x0                  0      0    kernel: (kernel) WhateverGreen:     weg @ (DBG) failed to obtain display mode
2018-11-20 20:25:59.379391+0800 0x425      Default     0x0                  0      0    kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][INFO   ] FB0: Transitioning wsaa from 0 to 0
2018-11-20 20:25:59.385798+0800 0x425      Default     0x0                  0      0    kernel: (IOSurface)
2018-11-20 20:25:59.385814+0800 0x425      Default     0x0                  0      0    kernel: (IOSurface)
2018-11-20 20:25:59.388305+0800 0x425      Default     0x0                  0      0    kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][INFO   ] FB1: Transitioning wsaa from 0 to 0


It is very strange to find out that the ports works differently from Ubuntu, it works good at DVI in ubuntu.

Ubuntu:

0: DP-1 --- Is VGA port
1: HDMI-1 -- Is Dummy
2: HDMI-2 -- Is DVI Port


MacOS:
0: LVDS -- Is dummy
1: HDMI-1 -- Is VGA port
2: HDMI-2 -- Is DVI Port

In MacOs, I use "
/System/Library/Extensions/AppleGraphicsControl.kext/Contents/MacOS/AGDCDiagnose -a"

to check it out:
Code:
AGDCDiagnose Version: 3.25.6

## ScanPort - Start ##


[1] IOService:/IOResources/AppleGPUWrangler

Vendor: Apple [0000106b]: AppleGPUWrangler [8 10000] (0)


[2] IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/IGPU@2/AppleIntelFramebufferController/IntelFBClientControl

Vendor: AppleIntelFramebufferController [0000106b]: IntegratedGPU [1 10000] (0)

FBs: 3

Ports: 0xe mst:0xc ddc:0xc aux:0xc

Streams: dp:0 dvi:0 mst:2 max:3

FB: 00 : Group:   0 Address[ 0.0], Flags:[offline ], Stream:N/A

FB: 01 : Group:   0 Address[ 0.0], Flags:[offline ], Stream:N/A

FB: 02 : Group:   0 Address[ 0.0], Flags:[offline ], Stream:N/A

Port: 01 : empty

Port: 02 : empty

Port: 03 : device present  [TMDS]

## Register Dump Port 3 - Start ##

Error: AUX CMD: 0,16 = Error, 2

Error: AUX CMD: 20,3 = Error, 2

Error: AUX CMD: 80,16 = Error, 2

Error: AUX CMD: 100,2 = Error, 2

Error: AUX CMD: 107,1 = Error, 2

Error: AUX CMD: 10a,1 = Error, 2

Error: AUX CMD: 111,1 = Error, 2

Error: AUX CMD: 200,8 = Error, 2

Error: AUX CMD: 2200,16 = Error, 2

Error: AUX CMD: 68028,1 = Error, 2

Error: AUX CMD: 6921d,3 = Error, 2

Error: AUX CMD: 69330,2 = Error, 2

Error: AUX CMD: 69493,1 = Error, 2

## Register Dump Port 3 - End ##

## EDID Dump Port 3 - Start ##

// EDID Dump: device, 0 bytes, Invalid

uint8_t EDID_@@@_0_0[] = {

};

## EDID Dump Port 3 - End ##


[3] IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/IGPU@2/AppleIntelFramebufferController/IntelFBClientControl/AppleGraphicsDevicePolicy/AGDPClientControl

Vendor: AppleIntelFramebufferController [0000106b]: IntegratedGPU [1 10000] (0)

FBs: 3

Ports: 0xe mst:0xc ddc:0xc aux:0xc

Streams: dp:0 dvi:0 mst:2 max:3

FB: 00 : Group:   0 Address[ 0.0], Flags:[offline ], Stream:N/A

FB: 01 : Group:   0 Address[ 0.0], Flags:[offline ], Stream:N/A

FB: 02 : Group:   0 Address[ 0.0], Flags:[offline ], Stream:N/A

Port: 01 : empty

Port: 02 : empty

Port: 03 : device present  [TMDS]

## Register Dump Port 3 - Start ##

Error: AUX CMD: 0,16 = Error, 2

Error: AUX CMD: 20,3 = Error, 2

Error: AUX CMD: 80,16 = Error, 2

Error: AUX CMD: 100,2 = Error, 2

Error: AUX CMD: 107,1 = Error, 2

Error: AUX CMD: 10a,1 = Error, 2

Error: AUX CMD: 111,1 = Error, 2

Error: AUX CMD: 200,8 = Error, 2

Error: AUX CMD: 2200,16 = Error, 2

Error: AUX CMD: 68028,1 = Error, 2

Error: AUX CMD: 6921d,3 = Error, 2

Error: AUX CMD: 69330,2 = Error, 2

Error: AUX CMD: 69493,1 = Error, 2

## Register Dump Port 3 - End ##

## EDID Dump Port 3 - Start ##

// EDID Dump: device, 0 bytes, Invalid

uint8_t EDID_@@@_0_0[] = {

};

## EDID Dump Port 3 - End ##

## ScanPort - End ##


## Display Metrics - Start ##

Display Metric Tool Version: 1.2

Display Metric Plugin Version: 1.2 AGDC Version: 3.25.6

Dumping Metric Logs: currentlog(0) logsize(32768) numberlogs(819)

Total lines: 1


## Display Metrics - End ##



## Mux state - Start ##


## Mux state - End ##


## PD - Start ##

running 2504 sec (started Tue Nov 20 21:29:09 2018, now Tue Nov 20 22:10:53 2018)

boardID: Mac-827FB448E656EC26

featureMask: 0x100000

platformFlags: 0

extraSupportFlags: 0

wranglerFlags: 0x4

launcher[0]: acpiNode 'IGPU', state 1, managerState 1, vendor class/id/version 0x5 0x106b 0x10000

gpu[0]: index=0 state=0x5 (Published) events=() dispPolicyState=0x1 (Managed) dispPolicyLaunchIndex=0

gpu 0x8382 flags 0xb2000010 (IG,published,quiet,pubSched,pubArmed)

gpu 0x8382        pci 0x1000001fd IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/IGPU@2

gpu 0x8382       agdc 0x1000003e7     /AppleIntelFramebufferController/IntelFBClientControl

gpu 0x8382       gpuc 0x000000000

gpu 0x8382 agdpclient 0x1000003e9     /AppleIntelFramebufferController/IntelFBClientControl/AppleGraphicsDevicePolicy/AGDPClientControl

gpu 0x8382      accel 0x10000038c     /IntelAccelerator

gpu 0x8382      fb0:0 0x10000038e     /AppleIntelFramebuffer@0

gpu 0x8382      fb1:1 0x10000038f     /AppleIntelFramebuffer@1

gpu 0x8382      fb2:2 0x100000390     /AppleIntelFramebuffer@2

Version: 3.25.6, Max: 512, counter: 324

GTRACEDATASTREAM traceData = {

    { 0x67547261, 0x63654461, 0x74614475, 0x6d700000, 0x101, 512, 324, 3, 25, 6, 0 },

    {

        { 7569449762, 0x0, 387, 38, 0, 0, 0x0, 0x0, 0x0 },

        { 8444921905, 0x0, 487, 72, 73, 0, 0x1, 0x8382, 0x0 },

        { 8445105920, 0x0, 67, 71, 73, 0, 0x20001, 0x8382, 0x0 },

        { 8445137382, 0x0, 67, 71, 73, 0, 0x50002, 0x8382, 0x0 },

        { 8445146772, 0x0, 78, 77, 73, 0, 0x60000, 0x8382, 0x0 },

        { 8445154725, 0x0, 78, 77, 73, 0, 0x70006, 0x8382, 0x0 },

        { 8445217159, 0x0, 298, 78, 79, 0, 0x1000003e9, 0x1, 0x0 },

        { 8445247714, 0x0, 318, 78, 62, 0, 0x1000003e9, 0x0, 0x0 },

        { 8445375819, 0x0, 338, 78, 79, 0, 0x1000003e9, 0x3, 0x0 },

        { 8445375911, 0x0, 149, 80, 61, 0, 0x1000003e9, 0x1, 0x0 },

        { 8445376037, 0x0, 78, 77, 73, 0, 0x10007, 0x8382, 0x0 },

        { 8445675551, 0x1000003e9, 768, 31, 0, 0, 0x0, 0x0, 0x0 },

        { 11498259806, 0x1000003e9, 954, 26, 0, 0, 0x0, 0x0, 0x0 },

        { 11498263104, 0x1000003e9, 963, 33, 0, 0, 0x0, 0x0, 0x0 },

        { 11498265583, 0x1000003e9, 969, 34, 0, 0, 0x0, 0x0, 0x0 },

        { 11798944776, 0x1000003e9, 5534, 13, 52, 46, 0x0, 0x0, 0x0 },

        { 11798952105, 0x1000003e9, 5534, 13, 52, 46, 0x1, 0x0, 0x0 },

        { 11799156288, 0x1000003e9, 5534, 13, 52, 46, 0x2, 0x9, 0x300000000 },

        { 12883800754, 0x1000003e9, 5787, 13, 0, 0, 0x2, 0x0, 0x0 },

        { 12884055454, 0x1000003e9, 1899, 35, 50, 69, 0x1, 0x0, 0x0 },

        { 13446358372, 0x1000003e9, 182, 11, 48, 65, 0x0, 0x100000000, 0x0 },

        { 13446360717, 0x1000003e9, 182, 11, 48, 65, 0x1, 0x200000000, 0x0 },

        { 13446361833, 0x1000003e9, 182, 11, 48, 65, 0x2, 0x300000000, 0x0 },

        { 13446362594, 0x1000003e9, 142, 9, 47, 64, 0x0, 0x7, 0x0 },

        { 13446362632, 0x1000003e9, 149, 10, 0, 0, 0x7000200000001, 0x0, 0x0 },

        { 13446363152, 0x1000003e9, 76, 8, 46, 63, 0x0, 0x100000000, 0x0 },

        { 13446363351, 0x1000003e9, 149, 10, 0, 0, 0x100000000000000, 0x0, 0x0 },

        { 13446363576, 0x1000003e9, 149, 10, 0, 0, 0x200000000000000, 0x0, 0x0 },

        { 13446364808, 0x1000003e9, 182, 11, 48, 65, 0x0, 0x100000000, 0x0 },

        { 13446365450, 0x1000003e9, 182, 11, 48, 65, 0x1, 0x200000000, 0x0 },

        { 13446365950, 0x1000003e9, 182, 11, 48, 65, 0x2, 0x300000000, 0x0 },

        { 13446366457, 0x1000003e9, 142, 9, 47, 64, 0x0, 0x7, 0x0 },

        { 13446366501, 0x1000003e9, 149, 10, 0, 0, 0x7000200000001, 0x0, 0x0 },

        { 13446366570, 0x1000003e9, 76, 8, 46, 63, 0x0, 0x100000000, 0x0 },

        { 13446366613, 0x1000003e9, 149, 10, 0, 0, 0x100000000000000, 0x0, 0x0 },

        { 13446366665, 0x1000003e9, 149, 10, 0, 0, 0x200000000000000, 0x0, 0x0 },

        { 13446849494, 0x1000003e9, 182, 11, 48, 65, 0x0, 0x100000000, 0x0 },

        { 13446851489, 0x1000003e9, 182, 11, 48, 65, 0x1, 0x200000000, 0x0 },

        { 13446852246, 0x1000003e9, 182, 11, 48, 65, 0x2, 0x300000000, 0x0 },

        { 13446852892, 0x1000003e9, 142, 9, 47, 64, 0x0, 0x7, 0x0 },

        { 13446852948, 0x1000003e9, 149, 10, 0, 0, 0x7000200000001, 0x0, 0x0 },

        { 13446853082, 0x1000003e9, 76, 8, 46, 63, 0x0, 0x100000000, 0x0 },

        { 13446853152, 0x1000003e9, 149, 10, 0, 0, 0x100000000000000, 0x0, 0x0 },

        { 13446853241, 0x1000003e9, 149, 10, 0, 0, 0x200000000000000, 0x0, 0x0 },

        { 13447416466, 0x0, 212, 1, 43, 0, 0x1, 0x3e8, 0x0 },

        { 13447429058, 0x1000003e9, 155, 42, 53, 0, 0x1, 0x5, 0x0 },

        { 13447429268, 0x1000003e9, 190, 41, 61, 61, 0x1, 0x1, 0x0 },

        { 13447429305, 0x1000003e9, 1590, 25, 58, 0, 0x1, 0x0, 0x0 },

        { 13447454330, 0x1000003e9, 155, 42, 53, 0, 0x0, 0x5, 0x0 },

        { 13447454411, 0x1000003e9, 190, 41, 61, 61, 0x0, 0x0, 0x1 },

        { 13447454463, 0x1000003e9, 1590, 25, 58, 0, 0x0, 0x1, 0x0 },

        { 13447464486, 0x0, 212, 1, 43, 0, 0x3, 0xa, 0x0 },

        { 13447464819, 0x0, 212, 1, 43, 0, 0x2, 0xfa, 0x0 },

        { 13450304797, 0x1000003e9, 4722, 76, 46, 0, 0x1000000, 0x200000000, 0x0 },

        { 13450305223, 0x1000003e9, 542, 36, 59, 70, 0x2, 0x0, 0x0 },

        { 13457877215, 0x0, 46, 39, 0, 0, 0x2, 0x0, 0x0 },

        { 13457877777, 0x1000003e9, 155, 42, 53, 0, 0x0, 0x6, 0x0 },

        { 13626290334, 0x1000003e9, 4722, 76, 46, 0, 0x1000001, 0x300000000, 0x0 },

        { 13626290968, 0x1000003e9, 429, 40, 60, 49, 0x3, 0x1, 0x0 },

        { 13627505239, 0x1000003e9, 410, 37, 60, 49, 0x3, 0x1, 0x0 },

        { 13639818071, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 13663125511, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 13685699443, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 13709037733, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 13731482522, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 13741892441, 0x1000003e9, 1899, 35, 50, 69, 0x3, 0x100000001, 0x1 },

        { 13741893395, 0x1000003e9, 429, 40, 60, 49, 0x3, 0x1, 0x100000000 },

        { 13754101010, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 13777588487, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 13801656030, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 13826225378, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 13850446291, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 13863323897, 0x1000003e9, 1899, 35, 50, 69, 0x3, 0x100000001, 0x1 },

        { 13875637513, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 13899270500, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 13921882061, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 13948371701, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 13975214003, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 13985275824, 0x1000003e9, 1899, 35, 50, 69, 0x3, 0x100000001, 0x1 },

        { 14854081708, 0x1000003e9, 4945, 6, 46, 0, 0x1, 0x300000000, 0x0 },

        { 14854082008, 0x1000003e9, 542, 36, 59, 70, 0x3, 0x1, 0x0 },

        { 14854083417, 0x1000003e9, 182, 11, 48, 65, 0x0, 0x100000000, 0x0 },

        { 14854085475, 0x1000003e9, 182, 11, 48, 65, 0x1, 0x200000000, 0x0 },

        { 14854086566, 0x1000003e9, 182, 11, 48, 65, 0x2, 0x300000001, 0x100000000000000 },

        { 14854087552, 0x1000003e9, 142, 9, 47, 64, 0x0, 0x7, 0x0 },

        { 14854087698, 0x1000003e9, 149, 10, 0, 0, 0x7000200000001, 0x0, 0x0 },

        { 14854088049, 0x1000003e9, 76, 8, 46, 63, 0x0, 0x100000000, 0x0 },

        { 14854088252, 0x1000003e9, 149, 10, 0, 0, 0x100000000000000, 0x0, 0x0 },

        { 14854088535, 0x1000003e9, 149, 10, 0, 0, 0x200000000000000, 0x0, 0x0 },

        { 14854139733, 0x1000003e9, 1273, 32, 0, 0, 0x0, 0x0, 0x0 },

        { 14856824952, 0x1000003e9, 4722, 76, 46, 0, 0x1000000, 0x200000000, 0x0 },

        { 14856825372, 0x1000003e9, 542, 36, 59, 70, 0x2, 0x0, 0x0 },

        { 14933037830, 0x1000003e9, 4722, 76, 46, 0, 0x1010001, 0x300000000, 0x0 },

        { 14933038626, 0x1000003e9, 429, 40, 60, 49, 0x3, 0x1, 0x100000000 },

        { 14945309974, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 14970776186, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 14994227920, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 15018750547, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 15041562826, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 15051776571, 0x1000003e9, 1899, 35, 50, 69, 0x3, 0x100000001, 0x1 },

        { 15051777478, 0x1000003e9, 429, 40, 60, 49, 0x3, 0x1, 0x100000000 },

        { 15063912168, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 15086374791, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 15109388477, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 15133755409, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 15155935321, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 15166096439, 0x1000003e9, 1899, 35, 50, 69, 0x3, 0x100000001, 0x1 },

        { 15178278679, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 15201779508, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 15226592779, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 15248890758, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 15274928367, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 15285581394, 0x1000003e9, 1899, 35, 50, 69, 0x3, 0x100000001, 0x1 },

        { 16151582092, 0x1000003e9, 4866, 5, 46, 0, 0x1, 0x300000000, 0x0 },

        { 16151613280, 0x1000003e9, 542, 36, 59, 70, 0x3, 0x1, 0x0 },

        { 16151613891, 0x1000003e9, 182, 11, 48, 65, 0x0, 0x100000000, 0x0 },

        { 16151617902, 0x1000003e9, 182, 11, 48, 65, 0x1, 0x200000000, 0x0 },

        { 16151619687, 0x1000003e9, 182, 11, 48, 65, 0x2, 0x300000001, 0x0 },

        { 16151621289, 0x1000003e9, 142, 9, 47, 64, 0x0, 0x7, 0x0 },

        { 16151621482, 0x1000003e9, 149, 10, 0, 0, 0x7000200000001, 0x0, 0x0 },

        { 16151622286, 0x1000003e9, 76, 8, 46, 63, 0x0, 0x100000000, 0x0 },

        { 16151622527, 0x1000003e9, 149, 10, 0, 0, 0x100000000000000, 0x0, 0x0 },

        { 16151622899, 0x1000003e9, 149, 10, 0, 0, 0x200000000000000, 0x0, 0x0 },

        { 16151640811, 0x1000003e9, 338, 15, 54, 0, 0x0, 0x0, 0x0 },

        { 16151700925, 0x1000003e9, 338, 15, 54, 0, 0x0, 0x0, 0x0 },

        { 16151712896, 0x1000003e9, 1286, 28, 0, 0, 0x0, 0x0, 0x0 },

        { 16151717214, 0x0, 212, 1, 43, 0, 0x2, 0xfa, 0x0 },

        { 16151718974, 0x0, 268, 17, 55, 0, 0x0, 0x1000003e9, 0x0 },

        { 16151719667, 0x0, 280, 17, 55, 67, 0x0, 0x1000003e9, 0x1 },

        { 16151719953, 0x0, 326, 16, 0, 0, 0x1, 0x0, 0x0 },

        { 16156343482, 0x0, 46, 39, 0, 0, 0x0, 0x0, 0x0 },

        { 16402242170, 0x0, 46, 39, 0, 0, 0x1, 0x0, 0x0 },

        { 16402243488, 0x1000003e9, 155, 42, 53, 0, 0x0, 0x7, 0x0 },

        { 16402280792, 0x1000003e9, 429, 40, 60, 49, 0x3, 0x1, 0x100000000 },

        { 16402286222, 0x1000003e9, 429, 40, 60, 49, 0x3, 0x1, 0x100000000 },

        { 16414470736, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 16438763202, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 16462134430, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 16486992589, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 16509374409, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 16520572625, 0x1000003e9, 1899, 35, 50, 69, 0x3, 0x100000001, 0x1 },

        { 16532748584, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 16556437957, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 16581657863, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 16606102088, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 16629668468, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 16641459232, 0x1000003e9, 1899, 35, 50, 69, 0x3, 0x100000001, 0x1 },

        { 16652423313, 0x0, 46, 39, 0, 0, 0x1, 0x0, 0x0 },

        { 16652424080, 0x1000003e9, 155, 42, 53, 0, 0x0, 0x7, 0x0 },

        { 17509725321, 0x0, 212, 1, 43, 0, 0x2, 0xfa, 0x0 },

        { 17509728951, 0x1000003e9, 429, 40, 60, 49, 0x3, 0x1, 0x100000000 },

        { 17509729804, 0x1000003e9, 429, 40, 60, 49, 0x3, 0x1, 0x100000000 },

        { 17521848220, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 17546685710, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 17573627617, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 17595891148, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 17618152399, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 17630803042, 0x1000003e9, 1899, 35, 50, 69, 0x3, 0x100000001, 0x1 },

        { 17642933915, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 17669846379, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 17692805680, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 17719599352, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 17741860284, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 17753549343, 0x1000003e9, 1899, 35, 50, 69, 0x3, 0x100000001, 0x1 },

        { 18625178181, 0x1000003e9, 338, 15, 54, 0, 0x0, 0x0, 0x0 },

        { 18625247920, 0x1000003e9, 338, 15, 54, 0, 0x0, 0x0, 0x0 },

        { 18876959716, 0x0, 46, 39, 0, 0, 0x1, 0x0, 0x0 },

        { 18876960841, 0x1000003e9, 155, 42, 53, 0, 0x0, 0x7, 0x0 },

        { 18876987692, 0x1000003e9, 429, 40, 60, 49, 0x3, 0x1, 0x100000000 },

        { 18876991919, 0x1000003e9, 429, 40, 60, 49, 0x3, 0x1, 0x100000000 },

        { 18889135116, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 18911410997, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 18937836793, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 18960119414, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 18985428768, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 18996434284, 0x1000003e9, 1899, 35, 50, 69, 0x3, 0x100000001, 0x1 },

        { 19008587602, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 19030791976, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 19053125881, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 19075403211, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 19100129312, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 19110263356, 0x1000003e9, 1899, 35, 50, 69, 0x3, 0x100000001, 0x1 },

        { 19129441868, 0x0, 46, 39, 0, 0, 0x1, 0x0, 0x0 },

        { 19129442447, 0x1000003e9, 155, 42, 53, 0, 0x0, 0x7, 0x0 },

        { 19981117275, 0x0, 212, 1, 43, 0, 0x2, 0xfa, 0x0 },

        { 19981120585, 0x1000003e9, 429, 40, 60, 49, 0x3, 0x1, 0x100000000 },

        { 19981134371, 0x1000003e9, 429, 40, 60, 49, 0x3, 0x1, 0x100000000 },

        { 19993269093, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 20015530901, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 20042690135, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 20064952914, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 20088614966, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 20101601045, 0x1000003e9, 1899, 35, 50, 69, 0x3, 0x100000001, 0x1 },

        { 20114024282, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 20137083277, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 20159618200, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 20186042787, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 20208806334, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 20219261340, 0x1000003e9, 1899, 35, 50, 69, 0x3, 0x100000001, 0x1 },

        { 21090798709, 0x1000003e9, 338, 15, 54, 0, 0x0, 0x0, 0x0 },

        { 21090843795, 0x1000003e9, 338, 15, 54, 0, 0x0, 0x0, 0x0 },

        { 21344917126, 0x0, 46, 39, 0, 0, 0x1, 0x0, 0x0 },

        { 21344918660, 0x1000003e9, 155, 42, 53, 0, 0x0, 0x7, 0x0 },

        { 21344949607, 0x1000003e9, 429, 40, 60, 49, 0x3, 0x1, 0x100000000 },

        { 21344955177, 0x1000003e9, 429, 40, 60, 49, 0x3, 0x1, 0x100000000 },

        { 21357107882, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 21383216852, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 21405526604, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 21428864757, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 21451681690, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 21465507266, 0x1000003e9, 1899, 35, 50, 69, 0x3, 0x100000001, 0x1 },

        { 21477692220, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 21501066112, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 21525815854, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 21552218826, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 21578189909, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 21588359297, 0x1000003e9, 1899, 35, 50, 69, 0x3, 0x100000001, 0x1 },

        { 21598450746, 0x0, 46, 39, 0, 0, 0x1, 0x0, 0x0 },

        { 21598452022, 0x1000003e9, 155, 42, 53, 0, 0x0, 0x7, 0x0 },

        { 22454846532, 0x0, 212, 1, 43, 0, 0x2, 0xfa, 0x0 },

        { 22454849090, 0x1000003e9, 429, 40, 60, 49, 0x3, 0x1, 0x100000000 },

        { 22454864257, 0x1000003e9, 182, 11, 48, 65, 0x0, 0x100000000, 0x0 },

        { 22454865617, 0x1000003e9, 182, 11, 48, 65, 0x1, 0x200000000, 0x0 },

        { 22454866476, 0x1000003e9, 182, 11, 48, 65, 0x2, 0x300000001, 0x100000000000000 },

        { 22454869563, 0x1000003e9, 142, 9, 47, 64, 0x0, 0x7, 0x0 },

        { 22454869626, 0x1000003e9, 149, 10, 0, 0, 0x7000200000001, 0x0, 0x0 },

        { 22454870018, 0x1000003e9, 76, 8, 46, 63, 0x0, 0x100000000, 0x0 },

        { 22454870154, 0x1000003e9, 149, 10, 0, 0, 0x100000000000000, 0x0, 0x0 },

        { 22454870395, 0x1000003e9, 149, 10, 0, 0, 0x200000000000000, 0x0, 0x0 },

        { 22454871930, 0x1000003e9, 338, 15, 54, 0, 0x0, 0x0, 0x0 },

        { 22454896403, 0x1000003e9, 338, 15, 54, 0, 0x0, 0x0, 0x0 },

        { 22706598329, 0x0, 46, 39, 0, 0, 0x1, 0x0, 0x0 },

        { 22706600052, 0x1000003e9, 155, 42, 53, 0, 0x0, 0x7, 0x0 },

        { 22706630246, 0x1000003e9, 338, 15, 54, 0, 0x0, 0x0, 0x0 },

        { 22957693880, 0x0, 46, 39, 0, 0, 0x1, 0x0, 0x0 },

        { 22957695554, 0x1000003e9, 155, 42, 53, 0, 0x0, 0x7, 0x0 },

        { 22957729496, 0x1000003e9, 338, 15, 54, 0, 0x0, 0x0, 0x0 },

        { 23209602401, 0x0, 46, 39, 0, 0, 0x1, 0x0, 0x0 },

        { 23209603902, 0x1000003e9, 155, 42, 53, 0, 0x0, 0x7, 0x0 },

        { 23209644288, 0x1000003e9, 338, 15, 54, 0, 0x0, 0x0, 0x0 },

        { 23463913845, 0x0, 46, 39, 0, 0, 0x1, 0x0, 0x0 },

        { 23463914831, 0x1000003e9, 155, 42, 53, 0, 0x0, 0x7, 0x0 },

        { 23463941473, 0x1000003e9, 338, 15, 54, 0, 0x0, 0x0, 0x0 },

        { 23714825728, 0x0, 46, 39, 0, 0, 0x1, 0x0, 0x0 },

        { 23714827494, 0x1000003e9, 155, 42, 53, 0, 0x0, 0x7, 0x0 },

        { 23714842976, 0x1000003e9, 155, 42, 53, 0, 0x0, 0x8, 0x0 },

        { 23714859973, 0x1000003e9, 433, 40, 60, 49, 0x2, 0x0, 0x0 },

        { 23714860931, 0x1000003e9, 433, 40, 60, 49, 0x3, 0x0, 0x100010000 },

        { 23716119215, 0x1000003e9, 410, 37, 60, 49, 0x3, 0x0, 0x100000000 },

        { 23716160578, 0x1000003e9, 338, 15, 54, 0, 0x0, 0x0, 0x0 },

        { 2143303815767, 0x0, 611, 75, 62, 0, 0xe0000270, 0x0, 0x0 },

        { 2143360289822, 0x0, 611, 75, 62, 0, 0xe0000280, 0x0, 0x0 },

        { 2143640707123, 0x1000003e9, 1558, 14, 53, 0, 0x0, 0x2, 0x0 },

        { 2143640713885, 0x1000003e9, 155, 42, 53, 0, 0x0, 0x5, 0x0 },

        { 2143640714152, 0x1000003e9, 190, 41, 61, 61, 0x0, 0x1, 0x0 },

        { 2143640714238, 0x1000003e9, 1590, 25, 58, 0, 0x1, 0x0, 0x0 },

        { 2230157880605, 0x0, 611, 75, 62, 0, 0xe0000320, 0x0, 0x0 },

        { 2230635097683, 0x0, 611, 75, 62, 0, 0xe0000300, 0x0, 0x0 },

        { 2230638043974, 0x1000003e9, 1558, 14, 53, 0, 0x0, 0x2, 0x0 },

        { 2230638050193, 0x1000003e9, 155, 42, 53, 0, 0x0, 0x5, 0x0 },

        { 2230638050555, 0x1000003e9, 190, 41, 61, 61, 0x0, 0x0, 0x1 },

        { 2230638050643, 0x1000003e9, 1590, 25, 58, 0, 0x0, 0x1, 0x0 },

        { 2230638092334, 0x0, 212, 1, 43, 0, 0x3, 0xa, 0x0 },

        { 2230638100748, 0x0, 212, 1, 43, 0, 0x2, 0xfa, 0x0 },

        { 2230638269516, 0x1000003e9, 338, 15, 54, 0, 0x0, 0x0, 0x0 },

        { 2230648749110, 0x0, 46, 39, 0, 0, 0x2, 0x0, 0x0 },

        { 2230648750317, 0x1000003e9, 155, 42, 53, 0, 0x0, 0x6, 0x0 },

        { 2230652028681, 0x1000003e9, 4722, 76, 46, 0, 0x1000000, 0x200000000, 0x0 },

        { 2230652029520, 0x1000003e9, 542, 36, 59, 70, 0x2, 0x0, 0x0 },

        { 2230829957612, 0x1000003e9, 4722, 76, 46, 0, 0x1010001, 0x300000000, 0x0 },

        { 2230829958472, 0x1000003e9, 429, 40, 60, 49, 0x3, 0x1, 0x0 },

        { 2230831115233, 0x1000003e9, 410, 37, 60, 49, 0x3, 0x1, 0x0 },

        { 2230843223870, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 2230867739442, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 2230890223471, 0x0, 46, 39, 0, 0, 0x1, 0x0, 0x0 },

        { 2230890224360, 0x1000003e9, 155, 42, 53, 0, 0x0, 0x7, 0x0 },

        { 2230891277134, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 2230915305249, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 2230941459584, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 2230955910989, 0x1000003e9, 1899, 35, 50, 69, 0x3, 0x100000001, 0x1 },

        { 2230955912420, 0x1000003e9, 429, 40, 60, 49, 0x3, 0x1, 0x100000000 },

        { 2230968091055, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 2230990543163, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 2231013772478, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 2231038202117, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 2231061568699, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 2231072423883, 0x1000003e9, 1899, 35, 50, 69, 0x3, 0x100000001, 0x1 },

        { 2231084612909, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 2231109669385, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 2231131990242, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 2231155604532, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 2231179173145, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 2231189887880, 0x1000003e9, 1899, 35, 50, 69, 0x3, 0x100000001, 0x1 },

        { 2232059894500, 0x1000003e9, 4866, 5, 46, 0, 0x1, 0x300000000, 0x0 },

        { 2232059923748, 0x1000003e9, 542, 36, 59, 70, 0x3, 0x1, 0x0 },

        { 2232059924660, 0x1000003e9, 182, 11, 48, 65, 0x0, 0x100000000, 0x0 },

        { 2232059928279, 0x1000003e9, 182, 11, 48, 65, 0x1, 0x200000000, 0x0 },

        { 2232059929988, 0x1000003e9, 182, 11, 48, 65, 0x2, 0x300000001, 0x0 },

        { 2232059931613, 0x1000003e9, 142, 9, 47, 64, 0x0, 0x7, 0x0 },

        { 2232059931814, 0x1000003e9, 149, 10, 0, 0, 0x7000200000001, 0x0, 0x0 },

        { 2232059932655, 0x1000003e9, 76, 8, 46, 63, 0x0, 0x100000000, 0x0 },

        { 2232059932892, 0x1000003e9, 149, 10, 0, 0, 0x100000000000000, 0x0, 0x0 },

        { 2232059933245, 0x1000003e9, 149, 10, 0, 0, 0x200000000000000, 0x0, 0x0 },

        { 2232059952568, 0x1000003e9, 338, 15, 54, 0, 0x0, 0x0, 0x0 },

        { 2232060005588, 0x1000003e9, 338, 15, 54, 0, 0x0, 0x0, 0x0 },

        { 2232312478660, 0x0, 46, 39, 0, 0, 0x1, 0x0, 0x0 },

        { 2232312480365, 0x1000003e9, 155, 42, 53, 0, 0x0, 0x7, 0x0 },

        { 2232312512571, 0x1000003e9, 338, 15, 54, 0, 0x0, 0x0, 0x0 },

        { 2232562568276, 0x0, 46, 39, 0, 0, 0x1, 0x0, 0x0 },

        { 2232562569234, 0x1000003e9, 155, 42, 53, 0, 0x0, 0x7, 0x0 },

        { 2232562606442, 0x1000003e9, 338, 15, 54, 0, 0x0, 0x0, 0x0 },

        { 2232814929083, 0x0, 46, 39, 0, 0, 0x1, 0x0, 0x0 },

        { 2232814930211, 0x1000003e9, 155, 42, 53, 0, 0x0, 0x7, 0x0 },

        { 2232814957434, 0x1000003e9, 338, 15, 54, 0, 0x0, 0x0, 0x0 },

        { 2233068243189, 0x0, 46, 39, 0, 0, 0x1, 0x0, 0x0 },

        { 2233068244150, 0x1000003e9, 155, 42, 53, 0, 0x0, 0x7, 0x0 },

        { 2233068269904, 0x1000003e9, 338, 15, 54, 0, 0x0, 0x0, 0x0 },

        { 2233319035512, 0x0, 46, 39, 0, 0, 0x1, 0x0, 0x0 },

        { 2233319036497, 0x1000003e9, 155, 42, 53, 0, 0x0, 0x7, 0x0 },

        { 2233319050717, 0x1000003e9, 155, 42, 53, 0, 0x0, 0x8, 0x0 },

        { 2233319067054, 0x1000003e9, 433, 40, 60, 49, 0x2, 0x0, 0x0 },

        { 2233319067726, 0x1000003e9, 433, 40, 60, 49, 0x3, 0x0, 0x100010000 },

        { 2233320326426, 0x1000003e9, 410, 37, 60, 49, 0x3, 0x0, 0x100000000 },

        { 2233320353012, 0x1000003e9, 338, 15, 54, 0, 0x0, 0x0, 0x0 },

    }

};


## PD - End ##


## GPUWrangler - Start ##


Stats: GPUCAdded:0 GpuAdded:1 Eject:0/f0/fd0/c0 Remove:0/t0 Un:0


gpu 0x8382 flags 0xb2000010 (IG,published,quiet,pubSched,pubArmed) vid.did=8086.3e92 b:d:f=0:2:0

gpu 0x8382        pci 0x1000001fd IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/IGPU@2

gpu 0x8382       agdc 0x1000003e7     /AppleIntelFramebufferController/IntelFBClientControl

gpu 0x8382       gpuc 0x000000000

gpu 0x8382 agdpclient 0x1000003e9     /AppleIntelFramebufferController/IntelFBClientControl/AppleGraphicsDevicePolicy/AGDPClientControl

gpu 0x8382      accel 0x10000038c     /IntelAccelerator

gpu 0x8382      fb0:0 0x10000038e     /AppleIntelFramebuffer@0

gpu 0x8382      fb1:1 0x10000038f     /AppleIntelFramebuffer@1

gpu 0x8382      fb2:2 0x100000390     /AppleIntelFramebuffer@2



## GPUWrangler - End ##
`


In Ubuntu, I use "xrandr -v" to check it out:
Code:
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192

DP-1 disconnected (normal left inverted right x axis y axis)

    Identifier: 0x42

    Timestamp:  18731

    Subpixel:   unknown

    Clones:     HDMI-1

    CRTCs:      0 1 2

    Transform:  1.000000 0.000000 0.000000

                0.000000 1.000000 0.000000

                0.000000 0.000000 1.000000

              filter:

    Broadcast RGB: Automatic

        supported: Automatic, Full, Limited 16:235

    audio: auto

        supported: force-dvi, off, auto, on

    non-desktop: 0

        range: (0, 1)

    link-status: Good

        supported: Good, Bad

HDMI-1 disconnected (normal left inverted right x axis y axis)

    Identifier: 0x43

    Timestamp:  18731

    Subpixel:   unknown

    Clones:     DP-1

    CRTCs:      0 1 2

    Transform:  1.000000 0.000000 0.000000

                0.000000 1.000000 0.000000

                0.000000 0.000000 1.000000

              filter:

    aspect ratio: Automatic

        supported: Automatic, 4:3, 16:9

    Broadcast RGB: Automatic

        supported: Automatic, Full, Limited 16:235

    audio: auto

        supported: force-dvi, off, auto, on

    non-desktop: 0

        range: (0, 1)

    link-status: Good

        supported: Good, Bad

HDMI-2 connected primary 1920x1080+0+0 (0x46) normal (normal left inverted right x axis y axis) 510mm x 287mm

    Identifier: 0x44

    Timestamp:  18731

    Subpixel:   unknown

    Gamma:      1.0:1.0:1.0

    Brightness: 1.0

    Clones:

    CRTC:       0

    CRTCs:      0 1 2

    Transform:  1.000000 0.000000 0.000000

                0.000000 1.000000 0.000000

                0.000000 0.000000 1.000000

              filter:

    _MUTTER_PRESENTATION_OUTPUT: 0

    EDID:

        00ffffffffffff0010ac72404c513442

        3216010380331d78eadd45a3554fa027

        125054a54b00714f8180d1c001010101

        010101010101023a801871382d40582c

        4500fe1f1100001e000000ff00584659

        4e363243464234514c0a000000fc0044

        454c4c205532333132484d0a000000fd

        00384c1e5311000a20202020202000be

    aspect ratio: Automatic

        supported: Automatic, 4:3, 16:9

    Broadcast RGB: Automatic

        supported: Automatic, Full, Limited 16:235

    audio: auto

        supported: force-dvi, off, auto, on

    non-desktop: 0

        range: (0, 1)

    link-status: Good

        supported: Good, Bad

  1920x1080 (0x46) 148.500MHz +HSync +VSync *current +preferred

        h: width  1920 start 2008 end 2052 total 2200 skew    0 clock  67.50KHz

        v: height 1080 start 1084 end 1089 total 1125           clock  60.00Hz

  1280x1024 (0x47) 135.000MHz +HSync +VSync

        h: width  1280 start 1296 end 1440 total 1688 skew    0 clock  79.98KHz

        v: height 1024 start 1025 end 1028 total 1066           clock  75.02Hz

  1280x1024 (0x48) 108.000MHz +HSync +VSync

        h: width  1280 start 1328 end 1440 total 1688 skew    0 clock  63.98KHz

        v: height 1024 start 1025 end 1028 total 1066           clock  60.02Hz

  1152x864 (0x49) 108.000MHz +HSync +VSync

        h: width  1152 start 1216 end 1344 total 1600 skew    0 clock  67.50KHz

        v: height  864 start  865 end  868 total  900           clock  75.00Hz

  1024x768 (0x4a) 78.750MHz +HSync +VSync

        h: width  1024 start 1040 end 1136 total 1312 skew    0 clock  60.02KHz

        v: height  768 start  769 end  772 total  800           clock  75.03Hz

  1024x768 (0x4b) 65.000MHz -HSync -VSync

        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock  48.36KHz

        v: height  768 start  771 end  777 total  806           clock  60.00Hz

  800x600 (0x4c) 49.500MHz +HSync +VSync

        h: width   800 start  816 end  896 total 1056 skew    0 clock  46.88KHz

        v: height  600 start  601 end  604 total  625           clock  75.00Hz

  800x600 (0x4d) 40.000MHz +HSync +VSync

        h: width   800 start  840 end  968 total 1056 skew    0 clock  37.88KHz

        v: height  600 start  601 end  605 total  628           clock  60.32Hz

  640x480 (0x4e) 31.500MHz -HSync -VSync

        h: width   640 start  656 end  720 total  840 skew    0 clock  37.50KHz

        v: height  480 start  481 end  484 total  500           clock  75.00Hz

  640x480 (0x4f) 25.175MHz -HSync -VSync

        h: width   640 start  656 end  752 total  800 skew    0 clock  31.47KHz

        v: height  480 start  490 end  492 total  525           clock  59.94Hz

  720x400 (0x50) 28.320MHz -HSync +VSync

        h: width   720 start  738 end  846 total  900 skew    0 clock  31.47KHz

        v: height  400 start  412 end  414 total  449           clock  70.08Hz
 

Attachments

  • EFI_and_log.zip
    16.3 MB · Views: 147
  • ioreg.log.zip
    93.2 KB · Views: 87
Last edited:
Hi,
I'm trying to make my first build: GIGABYTE B360N WIFI (2 onboard HDMI ports), Intel i5-8400, no discrete GPU.

My first goal is to make graphic acceleration/metal works but (by reading some forum threads) I realized that the main problem is that this board/chipset seems to use not standard mapping for display connectors and framebuffers: the result is that the video output works until first stage boot (I can see verbose output) but later the screen goes blank (no signal) and I' able to access the "Mac" only by remote desktop (screen sharing).

With MacOS HS 10.3.6 I was able to make both HDMI works using a config from this post from iSan4eZ:
https://www.tonymacx86.com/threads/...-igpu-acceleration.251172/page-2#post-1740166

The above config use a bunch of "old" kexts in CLOVER EFI and the "classic" method for FB patching. It seems that the key to make my hdmi ports works was related to those lines:

<dict>
<key>Comment</key>
<string>KBL-5912000-Port_0x6_HDMI</string>
<key>Disabled</key>
<false/>
<key>Find</key>
<data>
AQUJAAAEAACHAQAA
</data>
<key>InfoPlistPatch</key>
<false/>
<key>Name</key>
<string>AppleIntelKBLGraphicsFramebuffer</string>
<key>Replace</key>
<data>
AgISAAAIAACHAQAA
</data>
</dict>
<dict>
<key>Comment</key>
<string>KBL-5912000-Port_0x7_</string>
<key>Disabled</key>
<false/>
<key>Find</key>
<data>
AgQKAAAEAACHAQAA
</data>
<key>InfoPlistPatch</key>
<false/>
<key>Name</key>
<string>AppleIntelKBLGraphicsFramebuffer</string>
<key>Replace</key>
<data>
AwQSAAAEAACHAQAA
</data>
</dict>
<dict>
<key>Comment</key>
<string>KBL-5912000-Port_0x5_HDMI</string>
<key>Disabled</key>
<false/>
<key>Find</key>
<data>
AwYKAAAEAACHAQAA
</data>
<key>InfoPlistPatch</key>
<false/>
<key>Name</key>
<string>AppleIntelKBLGraphicsFramebuffer</string>
<key>Replace</key>
<data>
AQESAAAIAACHAQAA
</data>
</dict>


Now I've update to Mojave 10.14.1 and I'm trying to migrate to the new method of FB patching based only of LILU and WhatherverGreen.
I've followed the post#1 guide and I'm able to make the UHD630 works with full graphic acceleration and with 2GB of memory but I've still no signal on both HDMI port after first stage boot because I've not understand how to translate the previous kext patch lines to the new method that use clover config in Device->Properties.
This is my actual patch:
<key>Properties</key>
<dict>
<key>PciRoot(0x0)/Pci(0x2,0x0)</key>
<dict>
<key>AAPL,ig-platform-id</key>
<data>BwCbPg==</data>
<key>enable-hdmi20</key>
<data>AQAAAA==</data>
<key>framebuffer-con0-enable</key>
<data>AQAAAA==</data>
<key>framebuffer-con0-type</key>
<data>AgAAAA==</data>
<key>framebuffer-con1-enable</key>
<data>AQAAAA==</data>
<key>framebuffer-con1-type</key>
<data>AAgAAA==</data>
<key>framebuffer-con2-enable</key>
<data>AQAAAA==</data>
<key>framebuffer-con2-type</key>
<data>AAgAAA==</data>
<key>framebuffer-patch-enable</key>
<data>AQAAAA==</data>
<key>framebuffer-unifiedmem</key>
<data>AAAAgA==</data>
</dict>
</dict>

Does someone could help me to understand how to add correct fb<->port mapping?
 
Hi,
I'm trying to make my first build: GIGABYTE B360N WIFI (2 onboard HDMI ports), Intel i5-8400, no discrete GPU.

Does someone could help me to understand how to add correct fb<->port mapping?[/SIZE]

try xrandr in ubuntu to get the info about port mapping.

also you can use the "log show --predicate "process =='kernel'" | grep -I plug to check it by plug and unplug every port
 
try xrandr in ubuntu to get the info about port mapping.

also you can use the "log show --predicate "process =='kernel'" | grep -I plug to check it by plug and unplug every port

If I unplug the upper HDMI port and plug tho display to the lower port the messages are the following:

2018-11-20 17:47:37.179643+0100 0x5da Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][INFO ] FB2: Display unplugged from port3
2018-11-20 17:47:54.955759+0100 0x5da Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][INFO ] FB0: Hot plug on port1

Extra output by grepping "AppleIntelCFLGraphicsFramebuffer" instead of "plug"

2018-11-20 17:39:39.638902+0100 0x76 Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][INFO ] FB1 Lighting up display in resume from sleep

2018-11-20 17:39:39.638907+0100 0x76 Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][INFO ] FB1: Complete modeset

2018-11-20 17:39:39.672816+0100 0x76 Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][INFO ] FB1: Restoring linearization

2018-11-20 17:39:39.689889+0100 0x76 Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][INFO ] FB1 power state transition complete

2018-11-20 17:39:39.970404+0100 0x51b Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][INFO ] FB1: Setting display mode 1920 x 1200 -> 0 x 0 encoded with 0x1 2 bpc with color 1 and range 1

2018-11-20 17:39:39.970410+0100 0x51b Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][INFO ] FB1: Partial modeset

2018-11-20 17:39:40.060430+0100 0x68c Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][INFO ] FB1 Changes not allowed. Skipping the flip as intended

2018-11-20 17:39:40.073263+0100 0x68c Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][INFO ] FB1: Changes not allowed. Skipping setting of gamma as intended

2018-11-20 17:39:40.073270+0100 0x68c Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][INFO ] FB1: Changes not allowed. Skipping linearization as intended

2018-11-20 17:39:40.073306+0100 0x68c Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][INFO ] FB1 Changes not allowed. Skipping the flip as intended

2018-11-20 17:39:40.089844+0100 0x68c Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][INFO ] FB1: Changes not allowed. Skipping setting of gamma as intended

2018-11-20 17:39:40.089846+0100 0x68c Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][INFO ] FB1: Changes not allowed. Skipping linearization as intended

2018-11-20 17:39:40.090841+0100 0x51b Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][INFO ] FB0: Transitioning wsaa from 4 to 1

2018-11-20 17:39:40.090870+0100 0x51b Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][INFO ] FB1: Transitioning wsaa from 4 to 1

2018-11-20 17:39:40.090871+0100 0x51b Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][ERROR ] FB1: Flip called without enabling VBL

2018-11-20 17:39:40.090876+0100 0x51b Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][INFO ] FB1: Flipping display with wsaa 1 flipped from 1920 x 1200 -> 1920 x 1200 on 44d27000 with 40000005 options at stride 7680

2018-11-20 17:39:40.090884+0100 0x51b Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][INFO ] FB1: Restoring linearization

2018-11-20 17:39:40.090892+0100 0x51b Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][INFO ] FB1: Restoring gamma

2018-11-20 17:39:40.123226+0100 0x51b Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][INFO ] FB2: Transitioning wsaa from 4 to 1

2018-11-20 17:39:40.123406+0100 0x68c Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][INFO ] FB1: Flipping display with wsaa 1 flipped from 1920 x 1200 -> 1920 x 1200 on 455f1000 with 40000800 options at stride 7680

2018-11-20 17:39:40.187740+0100 0x68c Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][INFO ] FB1: Flipping display with wsaa 1 flipped from 1920 x 1200 -> 1920 x 1200 on 45ebb000 with 40000001 options at stride 7680

2018-11-20 17:39:41.017879+0100 0x7dd Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][WARNING] fb2 : DP-EDID set offset failed: 0xe00002d6

2018-11-20 17:39:42.416470+0100 0x7dd Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][WARNING] fb2 : DP-EDID set offset failed: 0xe00002d6

2018-11-20 17:39:44.137096+0100 0x183 Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][ERROR ] kHDCP1_I2C_BKSV read failed

2018-11-20 17:39:44.137098+0100 0x183 Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][ERROR ] ReadBksv failed

2018-11-20 17:47:37.179643+0100 0x5da Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][INFO ] FB2: Display unplugged from port3

2018-11-20 17:47:54.955759+0100 0x5da Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][INFO ] FB0: Hot plug on port1

2018-11-20 17:47:55.544744+0100 0x7dd Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][WARNING] fb0 : DP-EDID set offset failed: 0xe00002d6

2018-11-20 17:47:56.942364+0100 0x7dd Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][WARNING] fb0 : DP-EDID set offset failed: 0xe00002d6

2018-11-20 17:47:58.765485+0100 0x7dd Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][WARNING] fb0 : DP-EDID set offset failed: 0xe00002d6

2018-11-20 17:48:00.163115+0100 0x7dd Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][WARNING] fb0 : DP-EDID set offset failed: 0xe00002d6

2018-11-20 17:48:01.740361+0100 0x7dd Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][WARNING] fb0 : DP-EDID set offset failed: 0xe00002d6

2018-11-20 17:48:03.136342+0100 0x7dd Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][WARNING] fb0 : DP-EDID set offset failed: 0xe00002d6

2018-11-20 17:48:04.964655+0100 0x7dd Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][WARNING] fb0 : DP-EDID set offset failed: 0xe00002d6

2018-11-20 17:48:06.362512+0100 0x7dd Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][WARNING] fb0 : DP-EDID set offset failed: 0xe00002d6

2018-11-20 17:48:07.935902+0100 0x7dd Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][WARNING] fb0 : DP-EDID set offset failed: 0xe00002d6

2018-11-20 17:48:09.333677+0100 0x7dd Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][WARNING] fb0 : DP-EDID set offset failed: 0xe00002d6

2018-11-20 17:48:11.163631+0100 0x7dd Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][WARNING] fb0 : DP-EDID set offset failed: 0xe00002d6

2018-11-20 17:48:12.559499+0100 0x7dd Default 0x0 0 0 kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][WARNING] fb0 : DP-EDID set offset failed: 0xe00002d6
 
Last edited:
Now I've update to Mojave 10.14.1 and I'm trying to migrate to the new method of FB patching based only of LILU and WhatherverGreen.

I used FB-Patcher and its Patch->Import KextsToPatch feature to import your 3 patches using Kaby Lake / 0x59120000
Code:
Find:    01050900 00040000 87010000
Replace: 02021200 00080000 87010000

Find:    02040a00 00040000 87010000
Replace: 03041200 00040000 87010000

Find:    03060a00 00040000 87010000
Replace: 01011200 00080000 87010000
picov-patch-import-kextstopatch.png
Then I took a screenshot and then changed to Coffee Lake / 0x3E9B0007 and copied the connector settings manually to match.
picov-patch.png
Then I use Patch->Generate Patch to get the patch:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>Devices</key>
    <dict>
        <key>Properties</key>
        <dict>
            <key>PciRoot(0x0)/Pci(0x2,0x0)</key>
            <dict>
                <key>AAPL,ig-platform-id</key>
                <data>
                BwCbPg==
                </data>
                <key>framebuffer-con0-busid</key>
                <data>
                AgAAAA==
                </data>
                <key>framebuffer-con0-enable</key>
                <data>
                AQAAAA==
                </data>
                <key>framebuffer-con0-index</key>
                <data>
                AgAAAA==
                </data>
                <key>framebuffer-con0-pipe</key>
                <data>
                EgAAAA==
                </data>
                <key>framebuffer-con0-type</key>
                <data>
                AAgAAA==
                </data>
                <key>framebuffer-con1-enable</key>
                <data>
                AQAAAA==
                </data>
                <key>framebuffer-con1-index</key>
                <data>
                AwAAAA==
                </data>
                <key>framebuffer-con1-pipe</key>
                <data>
                EgAAAA==
                </data>
                <key>framebuffer-con2-busid</key>
                <data>
                AQAAAA==
                </data>
                <key>framebuffer-con2-enable</key>
                <data>
                AQAAAA==
                </data>
                <key>framebuffer-con2-index</key>
                <data>
                AQAAAA==
                </data>
                <key>framebuffer-con2-pipe</key>
                <data>
                EgAAAA==
                </data>
                <key>framebuffer-con2-type</key>
                <data>
                AAgAAA==
                </data>
                <key>framebuffer-patch-enable</key>
                <data>
                AQAAAA==
                </data>
            </dict>
        </dict>
    </dict>
</dict>
</plist>
I can't guarantee it will work for you but these patches match what you were using previously.
 
Hi, headkaze and RehabMan, thank you for your amazing jobs and guidance.
I Have trouble to get my build work, Hope you may help please. Log and EFI attached.

I am using GA B360 + I5 8400 , with 1 vga and 1 dvi output .
I have tried everything and all the layout of coffee lake, also I have tried every connector type from lvds,hdmi , dp . But only can get the vga port work, can not get the DVI port work.


I think it's the problem is reading the EDID failure from FB's kext;


Here is the log . I think the "[IGFB][WARNING] fb2 : DP-EDID set offset failed: 0xe00002d6" is the reason why DVI does not work.
I think the "Error: AUX CMD: 0,16 = Error, 2" by AGDCDiagnose is the same problem.


No EDID AUX cmd works at any port, even VGA, because VGA can not get FHD (1080P) resolution.

This is A really mess-up mono which use MST(Multi-Stream Transport) Hup to provide a VGA and DVI (TMDS) Transition Minimized Differential Signaling.
All ports work like that.. :(

Port: 03 : device present [TMDS]


Code:
2018-11-20 20:25:58.418986+0800 0x425      Default     0x0                  0      0    kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][WARNING] fb0 : DP-EDID set offset failed: 0xe00002d6
2018-11-20 20:25:58.418998+0800 0x425      Default     0x0                  0      0    kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][INFO   ] [key:0x080/on:1] fPSREnablekeys: 0x00001a5f -> 0x00001adf (fullset:0x00003fff)
2018-11-20 20:25:58.419000+0800 0x425      Default     0x0                  0      0    kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][INFO   ] [key:0x400/on:1] fPSREnablekeys: 0x00001adf -> 0x00001edf (fullset:0x00003fff)
2018-11-20 20:25:58.419204+0800 0x425      Default     0x0                  0      0    kernel: kPEDisableScreen 1
2018-11-20 20:25:58.425444+0800 0x425      Default     0x0                  0      0    kernel: kPEDisableScreen 1
2018-11-20 20:25:58.796012+0800 0x425      Default     0x0                  0      0    kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][WARNING] fb2 : DP-EDID set offset failed: 0xe00002d6
2018-11-20 20:25:58.927874+0800 0x126      Default     0x0                  0      0    kernel: en0: DAD complete for fe80:5::4ce:a89c:6b2f:8041 - no duplicates found.
2018-11-20 20:25:59.371486+0800 0x425      Default     0x0                  0      0    kernel: (kernel) WhateverGreen:     weg @ (DBG) failed to obtain display mode
2018-11-20 20:25:59.371500+0800 0x425      Default     0x0                  0      0    kernel: (kernel) WhateverGreen:     weg @ (DBG) failed to obtain display mode
2018-11-20 20:25:59.371519+0800 0x425      Default     0x0                  0      0    kernel: (kernel) WhateverGreen:     weg @ (DBG) failed to obtain display mode
2018-11-20 20:25:59.379391+0800 0x425      Default     0x0                  0      0    kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][INFO   ] FB0: Transitioning wsaa from 0 to 0
2018-11-20 20:25:59.385798+0800 0x425      Default     0x0                  0      0    kernel: (IOSurface)
2018-11-20 20:25:59.385814+0800 0x425      Default     0x0                  0      0    kernel: (IOSurface)
2018-11-20 20:25:59.388305+0800 0x425      Default     0x0                  0      0    kernel: (AppleIntelCFLGraphicsFramebuffer) [IGFB][INFO   ] FB1: Transitioning wsaa from 0 to 0


It is very strange to find out that the ports works differently from Ubuntu, it works good at DVI in ubuntu.

Ubuntu:

0: DP-1 --- Is VGA port
1: HDMI-1 -- Is Dummy
2: HDMI-2 -- Is DVI Port


MacOS:
0: LVDS -- Is dummy
1: HDMI-1 -- Is VGA port
2: HDMI-2 -- Is DVI Port

In MacOs, I use "
/System/Library/Extensions/AppleGraphicsControl.kext/Contents/MacOS/AGDCDiagnose -a"

to check it out:
Code:
AGDCDiagnose Version: 3.25.6

## ScanPort - Start ##


[1] IOService:/IOResources/AppleGPUWrangler

Vendor: Apple [0000106b]: AppleGPUWrangler [8 10000] (0)


[2] IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/IGPU@2/AppleIntelFramebufferController/IntelFBClientControl

Vendor: AppleIntelFramebufferController [0000106b]: IntegratedGPU [1 10000] (0)

FBs: 3

Ports: 0xe mst:0xc ddc:0xc aux:0xc

Streams: dp:0 dvi:0 mst:2 max:3

FB: 00 : Group:   0 Address[ 0.0], Flags:[offline ], Stream:N/A

FB: 01 : Group:   0 Address[ 0.0], Flags:[offline ], Stream:N/A

FB: 02 : Group:   0 Address[ 0.0], Flags:[offline ], Stream:N/A

Port: 01 : empty

Port: 02 : empty

Port: 03 : device present  [TMDS]

## Register Dump Port 3 - Start ##

Error: AUX CMD: 0,16 = Error, 2

Error: AUX CMD: 20,3 = Error, 2

Error: AUX CMD: 80,16 = Error, 2

Error: AUX CMD: 100,2 = Error, 2

Error: AUX CMD: 107,1 = Error, 2

Error: AUX CMD: 10a,1 = Error, 2

Error: AUX CMD: 111,1 = Error, 2

Error: AUX CMD: 200,8 = Error, 2

Error: AUX CMD: 2200,16 = Error, 2

Error: AUX CMD: 68028,1 = Error, 2

Error: AUX CMD: 6921d,3 = Error, 2

Error: AUX CMD: 69330,2 = Error, 2

Error: AUX CMD: 69493,1 = Error, 2

## Register Dump Port 3 - End ##

## EDID Dump Port 3 - Start ##

// EDID Dump: device, 0 bytes, Invalid

uint8_t EDID_@@@_0_0[] = {

};

## EDID Dump Port 3 - End ##


[3] IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/IGPU@2/AppleIntelFramebufferController/IntelFBClientControl/AppleGraphicsDevicePolicy/AGDPClientControl

Vendor: AppleIntelFramebufferController [0000106b]: IntegratedGPU [1 10000] (0)

FBs: 3

Ports: 0xe mst:0xc ddc:0xc aux:0xc

Streams: dp:0 dvi:0 mst:2 max:3

FB: 00 : Group:   0 Address[ 0.0], Flags:[offline ], Stream:N/A

FB: 01 : Group:   0 Address[ 0.0], Flags:[offline ], Stream:N/A

FB: 02 : Group:   0 Address[ 0.0], Flags:[offline ], Stream:N/A

Port: 01 : empty

Port: 02 : empty

Port: 03 : device present  [TMDS]

## Register Dump Port 3 - Start ##

Error: AUX CMD: 0,16 = Error, 2

Error: AUX CMD: 20,3 = Error, 2

Error: AUX CMD: 80,16 = Error, 2

Error: AUX CMD: 100,2 = Error, 2

Error: AUX CMD: 107,1 = Error, 2

Error: AUX CMD: 10a,1 = Error, 2

Error: AUX CMD: 111,1 = Error, 2

Error: AUX CMD: 200,8 = Error, 2

Error: AUX CMD: 2200,16 = Error, 2

Error: AUX CMD: 68028,1 = Error, 2

Error: AUX CMD: 6921d,3 = Error, 2

Error: AUX CMD: 69330,2 = Error, 2

Error: AUX CMD: 69493,1 = Error, 2

## Register Dump Port 3 - End ##

## EDID Dump Port 3 - Start ##

// EDID Dump: device, 0 bytes, Invalid

uint8_t EDID_@@@_0_0[] = {

};

## EDID Dump Port 3 - End ##

## ScanPort - End ##


## Display Metrics - Start ##

Display Metric Tool Version: 1.2

Display Metric Plugin Version: 1.2 AGDC Version: 3.25.6

Dumping Metric Logs: currentlog(0) logsize(32768) numberlogs(819)

Total lines: 1


## Display Metrics - End ##



## Mux state - Start ##


## Mux state - End ##


## PD - Start ##

running 2504 sec (started Tue Nov 20 21:29:09 2018, now Tue Nov 20 22:10:53 2018)

boardID: Mac-827FB448E656EC26

featureMask: 0x100000

platformFlags: 0

extraSupportFlags: 0

wranglerFlags: 0x4

launcher[0]: acpiNode 'IGPU', state 1, managerState 1, vendor class/id/version 0x5 0x106b 0x10000

gpu[0]: index=0 state=0x5 (Published) events=() dispPolicyState=0x1 (Managed) dispPolicyLaunchIndex=0

gpu 0x8382 flags 0xb2000010 (IG,published,quiet,pubSched,pubArmed)

gpu 0x8382        pci 0x1000001fd IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/IGPU@2

gpu 0x8382       agdc 0x1000003e7     /AppleIntelFramebufferController/IntelFBClientControl

gpu 0x8382       gpuc 0x000000000

gpu 0x8382 agdpclient 0x1000003e9     /AppleIntelFramebufferController/IntelFBClientControl/AppleGraphicsDevicePolicy/AGDPClientControl

gpu 0x8382      accel 0x10000038c     /IntelAccelerator

gpu 0x8382      fb0:0 0x10000038e     /AppleIntelFramebuffer@0

gpu 0x8382      fb1:1 0x10000038f     /AppleIntelFramebuffer@1

gpu 0x8382      fb2:2 0x100000390     /AppleIntelFramebuffer@2

Version: 3.25.6, Max: 512, counter: 324

GTRACEDATASTREAM traceData = {

    { 0x67547261, 0x63654461, 0x74614475, 0x6d700000, 0x101, 512, 324, 3, 25, 6, 0 },

    {

        { 7569449762, 0x0, 387, 38, 0, 0, 0x0, 0x0, 0x0 },

        { 8444921905, 0x0, 487, 72, 73, 0, 0x1, 0x8382, 0x0 },

        { 8445105920, 0x0, 67, 71, 73, 0, 0x20001, 0x8382, 0x0 },

        { 8445137382, 0x0, 67, 71, 73, 0, 0x50002, 0x8382, 0x0 },

        { 8445146772, 0x0, 78, 77, 73, 0, 0x60000, 0x8382, 0x0 },

        { 8445154725, 0x0, 78, 77, 73, 0, 0x70006, 0x8382, 0x0 },

        { 8445217159, 0x0, 298, 78, 79, 0, 0x1000003e9, 0x1, 0x0 },

        { 8445247714, 0x0, 318, 78, 62, 0, 0x1000003e9, 0x0, 0x0 },

        { 8445375819, 0x0, 338, 78, 79, 0, 0x1000003e9, 0x3, 0x0 },

        { 8445375911, 0x0, 149, 80, 61, 0, 0x1000003e9, 0x1, 0x0 },

        { 8445376037, 0x0, 78, 77, 73, 0, 0x10007, 0x8382, 0x0 },

        { 8445675551, 0x1000003e9, 768, 31, 0, 0, 0x0, 0x0, 0x0 },

        { 11498259806, 0x1000003e9, 954, 26, 0, 0, 0x0, 0x0, 0x0 },

        { 11498263104, 0x1000003e9, 963, 33, 0, 0, 0x0, 0x0, 0x0 },

        { 11498265583, 0x1000003e9, 969, 34, 0, 0, 0x0, 0x0, 0x0 },

        { 11798944776, 0x1000003e9, 5534, 13, 52, 46, 0x0, 0x0, 0x0 },

        { 11798952105, 0x1000003e9, 5534, 13, 52, 46, 0x1, 0x0, 0x0 },

        { 11799156288, 0x1000003e9, 5534, 13, 52, 46, 0x2, 0x9, 0x300000000 },

        { 12883800754, 0x1000003e9, 5787, 13, 0, 0, 0x2, 0x0, 0x0 },

        { 12884055454, 0x1000003e9, 1899, 35, 50, 69, 0x1, 0x0, 0x0 },

        { 13446358372, 0x1000003e9, 182, 11, 48, 65, 0x0, 0x100000000, 0x0 },

        { 13446360717, 0x1000003e9, 182, 11, 48, 65, 0x1, 0x200000000, 0x0 },

        { 13446361833, 0x1000003e9, 182, 11, 48, 65, 0x2, 0x300000000, 0x0 },

        { 13446362594, 0x1000003e9, 142, 9, 47, 64, 0x0, 0x7, 0x0 },

        { 13446362632, 0x1000003e9, 149, 10, 0, 0, 0x7000200000001, 0x0, 0x0 },

        { 13446363152, 0x1000003e9, 76, 8, 46, 63, 0x0, 0x100000000, 0x0 },

        { 13446363351, 0x1000003e9, 149, 10, 0, 0, 0x100000000000000, 0x0, 0x0 },

        { 13446363576, 0x1000003e9, 149, 10, 0, 0, 0x200000000000000, 0x0, 0x0 },

        { 13446364808, 0x1000003e9, 182, 11, 48, 65, 0x0, 0x100000000, 0x0 },

        { 13446365450, 0x1000003e9, 182, 11, 48, 65, 0x1, 0x200000000, 0x0 },

        { 13446365950, 0x1000003e9, 182, 11, 48, 65, 0x2, 0x300000000, 0x0 },

        { 13446366457, 0x1000003e9, 142, 9, 47, 64, 0x0, 0x7, 0x0 },

        { 13446366501, 0x1000003e9, 149, 10, 0, 0, 0x7000200000001, 0x0, 0x0 },

        { 13446366570, 0x1000003e9, 76, 8, 46, 63, 0x0, 0x100000000, 0x0 },

        { 13446366613, 0x1000003e9, 149, 10, 0, 0, 0x100000000000000, 0x0, 0x0 },

        { 13446366665, 0x1000003e9, 149, 10, 0, 0, 0x200000000000000, 0x0, 0x0 },

        { 13446849494, 0x1000003e9, 182, 11, 48, 65, 0x0, 0x100000000, 0x0 },

        { 13446851489, 0x1000003e9, 182, 11, 48, 65, 0x1, 0x200000000, 0x0 },

        { 13446852246, 0x1000003e9, 182, 11, 48, 65, 0x2, 0x300000000, 0x0 },

        { 13446852892, 0x1000003e9, 142, 9, 47, 64, 0x0, 0x7, 0x0 },

        { 13446852948, 0x1000003e9, 149, 10, 0, 0, 0x7000200000001, 0x0, 0x0 },

        { 13446853082, 0x1000003e9, 76, 8, 46, 63, 0x0, 0x100000000, 0x0 },

        { 13446853152, 0x1000003e9, 149, 10, 0, 0, 0x100000000000000, 0x0, 0x0 },

        { 13446853241, 0x1000003e9, 149, 10, 0, 0, 0x200000000000000, 0x0, 0x0 },

        { 13447416466, 0x0, 212, 1, 43, 0, 0x1, 0x3e8, 0x0 },

        { 13447429058, 0x1000003e9, 155, 42, 53, 0, 0x1, 0x5, 0x0 },

        { 13447429268, 0x1000003e9, 190, 41, 61, 61, 0x1, 0x1, 0x0 },

        { 13447429305, 0x1000003e9, 1590, 25, 58, 0, 0x1, 0x0, 0x0 },

        { 13447454330, 0x1000003e9, 155, 42, 53, 0, 0x0, 0x5, 0x0 },

        { 13447454411, 0x1000003e9, 190, 41, 61, 61, 0x0, 0x0, 0x1 },

        { 13447454463, 0x1000003e9, 1590, 25, 58, 0, 0x0, 0x1, 0x0 },

        { 13447464486, 0x0, 212, 1, 43, 0, 0x3, 0xa, 0x0 },

        { 13447464819, 0x0, 212, 1, 43, 0, 0x2, 0xfa, 0x0 },

        { 13450304797, 0x1000003e9, 4722, 76, 46, 0, 0x1000000, 0x200000000, 0x0 },

        { 13450305223, 0x1000003e9, 542, 36, 59, 70, 0x2, 0x0, 0x0 },

        { 13457877215, 0x0, 46, 39, 0, 0, 0x2, 0x0, 0x0 },

        { 13457877777, 0x1000003e9, 155, 42, 53, 0, 0x0, 0x6, 0x0 },

        { 13626290334, 0x1000003e9, 4722, 76, 46, 0, 0x1000001, 0x300000000, 0x0 },

        { 13626290968, 0x1000003e9, 429, 40, 60, 49, 0x3, 0x1, 0x0 },

        { 13627505239, 0x1000003e9, 410, 37, 60, 49, 0x3, 0x1, 0x0 },

        { 13639818071, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 13663125511, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 13685699443, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 13709037733, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 13731482522, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 13741892441, 0x1000003e9, 1899, 35, 50, 69, 0x3, 0x100000001, 0x1 },

        { 13741893395, 0x1000003e9, 429, 40, 60, 49, 0x3, 0x1, 0x100000000 },

        { 13754101010, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 13777588487, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 13801656030, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 13826225378, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 13850446291, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 13863323897, 0x1000003e9, 1899, 35, 50, 69, 0x3, 0x100000001, 0x1 },

        { 13875637513, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 13899270500, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 13921882061, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 13948371701, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 13975214003, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 13985275824, 0x1000003e9, 1899, 35, 50, 69, 0x3, 0x100000001, 0x1 },

        { 14854081708, 0x1000003e9, 4945, 6, 46, 0, 0x1, 0x300000000, 0x0 },

        { 14854082008, 0x1000003e9, 542, 36, 59, 70, 0x3, 0x1, 0x0 },

        { 14854083417, 0x1000003e9, 182, 11, 48, 65, 0x0, 0x100000000, 0x0 },

        { 14854085475, 0x1000003e9, 182, 11, 48, 65, 0x1, 0x200000000, 0x0 },

        { 14854086566, 0x1000003e9, 182, 11, 48, 65, 0x2, 0x300000001, 0x100000000000000 },

        { 14854087552, 0x1000003e9, 142, 9, 47, 64, 0x0, 0x7, 0x0 },

        { 14854087698, 0x1000003e9, 149, 10, 0, 0, 0x7000200000001, 0x0, 0x0 },

        { 14854088049, 0x1000003e9, 76, 8, 46, 63, 0x0, 0x100000000, 0x0 },

        { 14854088252, 0x1000003e9, 149, 10, 0, 0, 0x100000000000000, 0x0, 0x0 },

        { 14854088535, 0x1000003e9, 149, 10, 0, 0, 0x200000000000000, 0x0, 0x0 },

        { 14854139733, 0x1000003e9, 1273, 32, 0, 0, 0x0, 0x0, 0x0 },

        { 14856824952, 0x1000003e9, 4722, 76, 46, 0, 0x1000000, 0x200000000, 0x0 },

        { 14856825372, 0x1000003e9, 542, 36, 59, 70, 0x2, 0x0, 0x0 },

        { 14933037830, 0x1000003e9, 4722, 76, 46, 0, 0x1010001, 0x300000000, 0x0 },

        { 14933038626, 0x1000003e9, 429, 40, 60, 49, 0x3, 0x1, 0x100000000 },

        { 14945309974, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 14970776186, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 14994227920, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 15018750547, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 15041562826, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 15051776571, 0x1000003e9, 1899, 35, 50, 69, 0x3, 0x100000001, 0x1 },

        { 15051777478, 0x1000003e9, 429, 40, 60, 49, 0x3, 0x1, 0x100000000 },

        { 15063912168, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 15086374791, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 15109388477, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 15133755409, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 15155935321, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 15166096439, 0x1000003e9, 1899, 35, 50, 69, 0x3, 0x100000001, 0x1 },

        { 15178278679, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 15201779508, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 15226592779, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 15248890758, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 15274928367, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 15285581394, 0x1000003e9, 1899, 35, 50, 69, 0x3, 0x100000001, 0x1 },

        { 16151582092, 0x1000003e9, 4866, 5, 46, 0, 0x1, 0x300000000, 0x0 },

        { 16151613280, 0x1000003e9, 542, 36, 59, 70, 0x3, 0x1, 0x0 },

        { 16151613891, 0x1000003e9, 182, 11, 48, 65, 0x0, 0x100000000, 0x0 },

        { 16151617902, 0x1000003e9, 182, 11, 48, 65, 0x1, 0x200000000, 0x0 },

        { 16151619687, 0x1000003e9, 182, 11, 48, 65, 0x2, 0x300000001, 0x0 },

        { 16151621289, 0x1000003e9, 142, 9, 47, 64, 0x0, 0x7, 0x0 },

        { 16151621482, 0x1000003e9, 149, 10, 0, 0, 0x7000200000001, 0x0, 0x0 },

        { 16151622286, 0x1000003e9, 76, 8, 46, 63, 0x0, 0x100000000, 0x0 },

        { 16151622527, 0x1000003e9, 149, 10, 0, 0, 0x100000000000000, 0x0, 0x0 },

        { 16151622899, 0x1000003e9, 149, 10, 0, 0, 0x200000000000000, 0x0, 0x0 },

        { 16151640811, 0x1000003e9, 338, 15, 54, 0, 0x0, 0x0, 0x0 },

        { 16151700925, 0x1000003e9, 338, 15, 54, 0, 0x0, 0x0, 0x0 },

        { 16151712896, 0x1000003e9, 1286, 28, 0, 0, 0x0, 0x0, 0x0 },

        { 16151717214, 0x0, 212, 1, 43, 0, 0x2, 0xfa, 0x0 },

        { 16151718974, 0x0, 268, 17, 55, 0, 0x0, 0x1000003e9, 0x0 },

        { 16151719667, 0x0, 280, 17, 55, 67, 0x0, 0x1000003e9, 0x1 },

        { 16151719953, 0x0, 326, 16, 0, 0, 0x1, 0x0, 0x0 },

        { 16156343482, 0x0, 46, 39, 0, 0, 0x0, 0x0, 0x0 },

        { 16402242170, 0x0, 46, 39, 0, 0, 0x1, 0x0, 0x0 },

        { 16402243488, 0x1000003e9, 155, 42, 53, 0, 0x0, 0x7, 0x0 },

        { 16402280792, 0x1000003e9, 429, 40, 60, 49, 0x3, 0x1, 0x100000000 },

        { 16402286222, 0x1000003e9, 429, 40, 60, 49, 0x3, 0x1, 0x100000000 },

        { 16414470736, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 16438763202, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 16462134430, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 16486992589, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 16509374409, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 16520572625, 0x1000003e9, 1899, 35, 50, 69, 0x3, 0x100000001, 0x1 },

        { 16532748584, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 16556437957, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 16581657863, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 16606102088, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 16629668468, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 16641459232, 0x1000003e9, 1899, 35, 50, 69, 0x3, 0x100000001, 0x1 },

        { 16652423313, 0x0, 46, 39, 0, 0, 0x1, 0x0, 0x0 },

        { 16652424080, 0x1000003e9, 155, 42, 53, 0, 0x0, 0x7, 0x0 },

        { 17509725321, 0x0, 212, 1, 43, 0, 0x2, 0xfa, 0x0 },

        { 17509728951, 0x1000003e9, 429, 40, 60, 49, 0x3, 0x1, 0x100000000 },

        { 17509729804, 0x1000003e9, 429, 40, 60, 49, 0x3, 0x1, 0x100000000 },

        { 17521848220, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 17546685710, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 17573627617, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 17595891148, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 17618152399, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 17630803042, 0x1000003e9, 1899, 35, 50, 69, 0x3, 0x100000001, 0x1 },

        { 17642933915, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 17669846379, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 17692805680, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 17719599352, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 17741860284, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 17753549343, 0x1000003e9, 1899, 35, 50, 69, 0x3, 0x100000001, 0x1 },

        { 18625178181, 0x1000003e9, 338, 15, 54, 0, 0x0, 0x0, 0x0 },

        { 18625247920, 0x1000003e9, 338, 15, 54, 0, 0x0, 0x0, 0x0 },

        { 18876959716, 0x0, 46, 39, 0, 0, 0x1, 0x0, 0x0 },

        { 18876960841, 0x1000003e9, 155, 42, 53, 0, 0x0, 0x7, 0x0 },

        { 18876987692, 0x1000003e9, 429, 40, 60, 49, 0x3, 0x1, 0x100000000 },

        { 18876991919, 0x1000003e9, 429, 40, 60, 49, 0x3, 0x1, 0x100000000 },

        { 18889135116, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 18911410997, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 18937836793, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 18960119414, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 18985428768, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 18996434284, 0x1000003e9, 1899, 35, 50, 69, 0x3, 0x100000001, 0x1 },

        { 19008587602, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 19030791976, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 19053125881, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 19075403211, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 19100129312, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 19110263356, 0x1000003e9, 1899, 35, 50, 69, 0x3, 0x100000001, 0x1 },

        { 19129441868, 0x0, 46, 39, 0, 0, 0x1, 0x0, 0x0 },

        { 19129442447, 0x1000003e9, 155, 42, 53, 0, 0x0, 0x7, 0x0 },

        { 19981117275, 0x0, 212, 1, 43, 0, 0x2, 0xfa, 0x0 },

        { 19981120585, 0x1000003e9, 429, 40, 60, 49, 0x3, 0x1, 0x100000000 },

        { 19981134371, 0x1000003e9, 429, 40, 60, 49, 0x3, 0x1, 0x100000000 },

        { 19993269093, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 20015530901, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 20042690135, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 20064952914, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 20088614966, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 20101601045, 0x1000003e9, 1899, 35, 50, 69, 0x3, 0x100000001, 0x1 },

        { 20114024282, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 20137083277, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 20159618200, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 20186042787, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 20208806334, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 20219261340, 0x1000003e9, 1899, 35, 50, 69, 0x3, 0x100000001, 0x1 },

        { 21090798709, 0x1000003e9, 338, 15, 54, 0, 0x0, 0x0, 0x0 },

        { 21090843795, 0x1000003e9, 338, 15, 54, 0, 0x0, 0x0, 0x0 },

        { 21344917126, 0x0, 46, 39, 0, 0, 0x1, 0x0, 0x0 },

        { 21344918660, 0x1000003e9, 155, 42, 53, 0, 0x0, 0x7, 0x0 },

        { 21344949607, 0x1000003e9, 429, 40, 60, 49, 0x3, 0x1, 0x100000000 },

        { 21344955177, 0x1000003e9, 429, 40, 60, 49, 0x3, 0x1, 0x100000000 },

        { 21357107882, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 21383216852, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 21405526604, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 21428864757, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 21451681690, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 21465507266, 0x1000003e9, 1899, 35, 50, 69, 0x3, 0x100000001, 0x1 },

        { 21477692220, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 21501066112, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 21525815854, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 21552218826, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 21578189909, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 21588359297, 0x1000003e9, 1899, 35, 50, 69, 0x3, 0x100000001, 0x1 },

        { 21598450746, 0x0, 46, 39, 0, 0, 0x1, 0x0, 0x0 },

        { 21598452022, 0x1000003e9, 155, 42, 53, 0, 0x0, 0x7, 0x0 },

        { 22454846532, 0x0, 212, 1, 43, 0, 0x2, 0xfa, 0x0 },

        { 22454849090, 0x1000003e9, 429, 40, 60, 49, 0x3, 0x1, 0x100000000 },

        { 22454864257, 0x1000003e9, 182, 11, 48, 65, 0x0, 0x100000000, 0x0 },

        { 22454865617, 0x1000003e9, 182, 11, 48, 65, 0x1, 0x200000000, 0x0 },

        { 22454866476, 0x1000003e9, 182, 11, 48, 65, 0x2, 0x300000001, 0x100000000000000 },

        { 22454869563, 0x1000003e9, 142, 9, 47, 64, 0x0, 0x7, 0x0 },

        { 22454869626, 0x1000003e9, 149, 10, 0, 0, 0x7000200000001, 0x0, 0x0 },

        { 22454870018, 0x1000003e9, 76, 8, 46, 63, 0x0, 0x100000000, 0x0 },

        { 22454870154, 0x1000003e9, 149, 10, 0, 0, 0x100000000000000, 0x0, 0x0 },

        { 22454870395, 0x1000003e9, 149, 10, 0, 0, 0x200000000000000, 0x0, 0x0 },

        { 22454871930, 0x1000003e9, 338, 15, 54, 0, 0x0, 0x0, 0x0 },

        { 22454896403, 0x1000003e9, 338, 15, 54, 0, 0x0, 0x0, 0x0 },

        { 22706598329, 0x0, 46, 39, 0, 0, 0x1, 0x0, 0x0 },

        { 22706600052, 0x1000003e9, 155, 42, 53, 0, 0x0, 0x7, 0x0 },

        { 22706630246, 0x1000003e9, 338, 15, 54, 0, 0x0, 0x0, 0x0 },

        { 22957693880, 0x0, 46, 39, 0, 0, 0x1, 0x0, 0x0 },

        { 22957695554, 0x1000003e9, 155, 42, 53, 0, 0x0, 0x7, 0x0 },

        { 22957729496, 0x1000003e9, 338, 15, 54, 0, 0x0, 0x0, 0x0 },

        { 23209602401, 0x0, 46, 39, 0, 0, 0x1, 0x0, 0x0 },

        { 23209603902, 0x1000003e9, 155, 42, 53, 0, 0x0, 0x7, 0x0 },

        { 23209644288, 0x1000003e9, 338, 15, 54, 0, 0x0, 0x0, 0x0 },

        { 23463913845, 0x0, 46, 39, 0, 0, 0x1, 0x0, 0x0 },

        { 23463914831, 0x1000003e9, 155, 42, 53, 0, 0x0, 0x7, 0x0 },

        { 23463941473, 0x1000003e9, 338, 15, 54, 0, 0x0, 0x0, 0x0 },

        { 23714825728, 0x0, 46, 39, 0, 0, 0x1, 0x0, 0x0 },

        { 23714827494, 0x1000003e9, 155, 42, 53, 0, 0x0, 0x7, 0x0 },

        { 23714842976, 0x1000003e9, 155, 42, 53, 0, 0x0, 0x8, 0x0 },

        { 23714859973, 0x1000003e9, 433, 40, 60, 49, 0x2, 0x0, 0x0 },

        { 23714860931, 0x1000003e9, 433, 40, 60, 49, 0x3, 0x0, 0x100010000 },

        { 23716119215, 0x1000003e9, 410, 37, 60, 49, 0x3, 0x0, 0x100000000 },

        { 23716160578, 0x1000003e9, 338, 15, 54, 0, 0x0, 0x0, 0x0 },

        { 2143303815767, 0x0, 611, 75, 62, 0, 0xe0000270, 0x0, 0x0 },

        { 2143360289822, 0x0, 611, 75, 62, 0, 0xe0000280, 0x0, 0x0 },

        { 2143640707123, 0x1000003e9, 1558, 14, 53, 0, 0x0, 0x2, 0x0 },

        { 2143640713885, 0x1000003e9, 155, 42, 53, 0, 0x0, 0x5, 0x0 },

        { 2143640714152, 0x1000003e9, 190, 41, 61, 61, 0x0, 0x1, 0x0 },

        { 2143640714238, 0x1000003e9, 1590, 25, 58, 0, 0x1, 0x0, 0x0 },

        { 2230157880605, 0x0, 611, 75, 62, 0, 0xe0000320, 0x0, 0x0 },

        { 2230635097683, 0x0, 611, 75, 62, 0, 0xe0000300, 0x0, 0x0 },

        { 2230638043974, 0x1000003e9, 1558, 14, 53, 0, 0x0, 0x2, 0x0 },

        { 2230638050193, 0x1000003e9, 155, 42, 53, 0, 0x0, 0x5, 0x0 },

        { 2230638050555, 0x1000003e9, 190, 41, 61, 61, 0x0, 0x0, 0x1 },

        { 2230638050643, 0x1000003e9, 1590, 25, 58, 0, 0x0, 0x1, 0x0 },

        { 2230638092334, 0x0, 212, 1, 43, 0, 0x3, 0xa, 0x0 },

        { 2230638100748, 0x0, 212, 1, 43, 0, 0x2, 0xfa, 0x0 },

        { 2230638269516, 0x1000003e9, 338, 15, 54, 0, 0x0, 0x0, 0x0 },

        { 2230648749110, 0x0, 46, 39, 0, 0, 0x2, 0x0, 0x0 },

        { 2230648750317, 0x1000003e9, 155, 42, 53, 0, 0x0, 0x6, 0x0 },

        { 2230652028681, 0x1000003e9, 4722, 76, 46, 0, 0x1000000, 0x200000000, 0x0 },

        { 2230652029520, 0x1000003e9, 542, 36, 59, 70, 0x2, 0x0, 0x0 },

        { 2230829957612, 0x1000003e9, 4722, 76, 46, 0, 0x1010001, 0x300000000, 0x0 },

        { 2230829958472, 0x1000003e9, 429, 40, 60, 49, 0x3, 0x1, 0x0 },

        { 2230831115233, 0x1000003e9, 410, 37, 60, 49, 0x3, 0x1, 0x0 },

        { 2230843223870, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 2230867739442, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 2230890223471, 0x0, 46, 39, 0, 0, 0x1, 0x0, 0x0 },

        { 2230890224360, 0x1000003e9, 155, 42, 53, 0, 0x0, 0x7, 0x0 },

        { 2230891277134, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 2230915305249, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 2230941459584, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 2230955910989, 0x1000003e9, 1899, 35, 50, 69, 0x3, 0x100000001, 0x1 },

        { 2230955912420, 0x1000003e9, 429, 40, 60, 49, 0x3, 0x1, 0x100000000 },

        { 2230968091055, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 2230990543163, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 2231013772478, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 2231038202117, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 2231061568699, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 2231072423883, 0x1000003e9, 1899, 35, 50, 69, 0x3, 0x100000001, 0x1 },

        { 2231084612909, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 2231109669385, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 2231131990242, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 2231155604532, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 2231179173145, 0x1000003e9, 1936, 2, 44, 62, 0x300000000, 0x100000000, 0x2000000bc },

        { 2231189887880, 0x1000003e9, 1899, 35, 50, 69, 0x3, 0x100000001, 0x1 },

        { 2232059894500, 0x1000003e9, 4866, 5, 46, 0, 0x1, 0x300000000, 0x0 },

        { 2232059923748, 0x1000003e9, 542, 36, 59, 70, 0x3, 0x1, 0x0 },

        { 2232059924660, 0x1000003e9, 182, 11, 48, 65, 0x0, 0x100000000, 0x0 },

        { 2232059928279, 0x1000003e9, 182, 11, 48, 65, 0x1, 0x200000000, 0x0 },

        { 2232059929988, 0x1000003e9, 182, 11, 48, 65, 0x2, 0x300000001, 0x0 },

        { 2232059931613, 0x1000003e9, 142, 9, 47, 64, 0x0, 0x7, 0x0 },

        { 2232059931814, 0x1000003e9, 149, 10, 0, 0, 0x7000200000001, 0x0, 0x0 },

        { 2232059932655, 0x1000003e9, 76, 8, 46, 63, 0x0, 0x100000000, 0x0 },

        { 2232059932892, 0x1000003e9, 149, 10, 0, 0, 0x100000000000000, 0x0, 0x0 },

        { 2232059933245, 0x1000003e9, 149, 10, 0, 0, 0x200000000000000, 0x0, 0x0 },

        { 2232059952568, 0x1000003e9, 338, 15, 54, 0, 0x0, 0x0, 0x0 },

        { 2232060005588, 0x1000003e9, 338, 15, 54, 0, 0x0, 0x0, 0x0 },

        { 2232312478660, 0x0, 46, 39, 0, 0, 0x1, 0x0, 0x0 },

        { 2232312480365, 0x1000003e9, 155, 42, 53, 0, 0x0, 0x7, 0x0 },

        { 2232312512571, 0x1000003e9, 338, 15, 54, 0, 0x0, 0x0, 0x0 },

        { 2232562568276, 0x0, 46, 39, 0, 0, 0x1, 0x0, 0x0 },

        { 2232562569234, 0x1000003e9, 155, 42, 53, 0, 0x0, 0x7, 0x0 },

        { 2232562606442, 0x1000003e9, 338, 15, 54, 0, 0x0, 0x0, 0x0 },

        { 2232814929083, 0x0, 46, 39, 0, 0, 0x1, 0x0, 0x0 },

        { 2232814930211, 0x1000003e9, 155, 42, 53, 0, 0x0, 0x7, 0x0 },

        { 2232814957434, 0x1000003e9, 338, 15, 54, 0, 0x0, 0x0, 0x0 },

        { 2233068243189, 0x0, 46, 39, 0, 0, 0x1, 0x0, 0x0 },

        { 2233068244150, 0x1000003e9, 155, 42, 53, 0, 0x0, 0x7, 0x0 },

        { 2233068269904, 0x1000003e9, 338, 15, 54, 0, 0x0, 0x0, 0x0 },

        { 2233319035512, 0x0, 46, 39, 0, 0, 0x1, 0x0, 0x0 },

        { 2233319036497, 0x1000003e9, 155, 42, 53, 0, 0x0, 0x7, 0x0 },

        { 2233319050717, 0x1000003e9, 155, 42, 53, 0, 0x0, 0x8, 0x0 },

        { 2233319067054, 0x1000003e9, 433, 40, 60, 49, 0x2, 0x0, 0x0 },

        { 2233319067726, 0x1000003e9, 433, 40, 60, 49, 0x3, 0x0, 0x100010000 },

        { 2233320326426, 0x1000003e9, 410, 37, 60, 49, 0x3, 0x0, 0x100000000 },

        { 2233320353012, 0x1000003e9, 338, 15, 54, 0, 0x0, 0x0, 0x0 },

    }

};


## PD - End ##


## GPUWrangler - Start ##


Stats: GPUCAdded:0 GpuAdded:1 Eject:0/f0/fd0/c0 Remove:0/t0 Un:0


gpu 0x8382 flags 0xb2000010 (IG,published,quiet,pubSched,pubArmed) vid.did=8086.3e92 b:d:f=0:2:0

gpu 0x8382        pci 0x1000001fd IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/IGPU@2

gpu 0x8382       agdc 0x1000003e7     /AppleIntelFramebufferController/IntelFBClientControl

gpu 0x8382       gpuc 0x000000000

gpu 0x8382 agdpclient 0x1000003e9     /AppleIntelFramebufferController/IntelFBClientControl/AppleGraphicsDevicePolicy/AGDPClientControl

gpu 0x8382      accel 0x10000038c     /IntelAccelerator

gpu 0x8382      fb0:0 0x10000038e     /AppleIntelFramebuffer@0

gpu 0x8382      fb1:1 0x10000038f     /AppleIntelFramebuffer@1

gpu 0x8382      fb2:2 0x100000390     /AppleIntelFramebuffer@2



## GPUWrangler - End ##
`


In Ubuntu, I use "xrandr -v" to check it out:
Code:
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192

DP-1 disconnected (normal left inverted right x axis y axis)

    Identifier: 0x42

    Timestamp:  18731

    Subpixel:   unknown

    Clones:     HDMI-1

    CRTCs:      0 1 2

    Transform:  1.000000 0.000000 0.000000

                0.000000 1.000000 0.000000

                0.000000 0.000000 1.000000

              filter:

    Broadcast RGB: Automatic

        supported: Automatic, Full, Limited 16:235

    audio: auto

        supported: force-dvi, off, auto, on

    non-desktop: 0

        range: (0, 1)

    link-status: Good

        supported: Good, Bad

HDMI-1 disconnected (normal left inverted right x axis y axis)

    Identifier: 0x43

    Timestamp:  18731

    Subpixel:   unknown

    Clones:     DP-1

    CRTCs:      0 1 2

    Transform:  1.000000 0.000000 0.000000

                0.000000 1.000000 0.000000

                0.000000 0.000000 1.000000

              filter:

    aspect ratio: Automatic

        supported: Automatic, 4:3, 16:9

    Broadcast RGB: Automatic

        supported: Automatic, Full, Limited 16:235

    audio: auto

        supported: force-dvi, off, auto, on

    non-desktop: 0

        range: (0, 1)

    link-status: Good

        supported: Good, Bad

HDMI-2 connected primary 1920x1080+0+0 (0x46) normal (normal left inverted right x axis y axis) 510mm x 287mm

    Identifier: 0x44

    Timestamp:  18731

    Subpixel:   unknown

    Gamma:      1.0:1.0:1.0

    Brightness: 1.0

    Clones:

    CRTC:       0

    CRTCs:      0 1 2

    Transform:  1.000000 0.000000 0.000000

                0.000000 1.000000 0.000000

                0.000000 0.000000 1.000000

              filter:

    _MUTTER_PRESENTATION_OUTPUT: 0

    EDID:

        00ffffffffffff0010ac72404c513442

        3216010380331d78eadd45a3554fa027

        125054a54b00714f8180d1c001010101

        010101010101023a801871382d40582c

        4500fe1f1100001e000000ff00584659

        4e363243464234514c0a000000fc0044

        454c4c205532333132484d0a000000fd

        00384c1e5311000a20202020202000be

    aspect ratio: Automatic

        supported: Automatic, 4:3, 16:9

    Broadcast RGB: Automatic

        supported: Automatic, Full, Limited 16:235

    audio: auto

        supported: force-dvi, off, auto, on

    non-desktop: 0

        range: (0, 1)

    link-status: Good

        supported: Good, Bad

  1920x1080 (0x46) 148.500MHz +HSync +VSync *current +preferred

        h: width  1920 start 2008 end 2052 total 2200 skew    0 clock  67.50KHz

        v: height 1080 start 1084 end 1089 total 1125           clock  60.00Hz

  1280x1024 (0x47) 135.000MHz +HSync +VSync

        h: width  1280 start 1296 end 1440 total 1688 skew    0 clock  79.98KHz

        v: height 1024 start 1025 end 1028 total 1066           clock  75.02Hz

  1280x1024 (0x48) 108.000MHz +HSync +VSync

        h: width  1280 start 1328 end 1440 total 1688 skew    0 clock  63.98KHz

        v: height 1024 start 1025 end 1028 total 1066           clock  60.02Hz

  1152x864 (0x49) 108.000MHz +HSync +VSync

        h: width  1152 start 1216 end 1344 total 1600 skew    0 clock  67.50KHz

        v: height  864 start  865 end  868 total  900           clock  75.00Hz

  1024x768 (0x4a) 78.750MHz +HSync +VSync

        h: width  1024 start 1040 end 1136 total 1312 skew    0 clock  60.02KHz

        v: height  768 start  769 end  772 total  800           clock  75.03Hz

  1024x768 (0x4b) 65.000MHz -HSync -VSync

        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock  48.36KHz

        v: height  768 start  771 end  777 total  806           clock  60.00Hz

  800x600 (0x4c) 49.500MHz +HSync +VSync

        h: width   800 start  816 end  896 total 1056 skew    0 clock  46.88KHz

        v: height  600 start  601 end  604 total  625           clock  75.00Hz

  800x600 (0x4d) 40.000MHz +HSync +VSync

        h: width   800 start  840 end  968 total 1056 skew    0 clock  37.88KHz

        v: height  600 start  601 end  605 total  628           clock  60.32Hz

  640x480 (0x4e) 31.500MHz -HSync -VSync

        h: width   640 start  656 end  720 total  840 skew    0 clock  37.50KHz

        v: height  480 start  481 end  484 total  500           clock  75.00Hz

  640x480 (0x4f) 25.175MHz -HSync -VSync

        h: width   640 start  656 end  752 total  800 skew    0 clock  31.47KHz

        v: height  480 start  490 end  492 total  525           clock  59.94Hz

  720x400 (0x50) 28.320MHz -HSync +VSync

        h: width   720 start  738 end  846 total  900 skew    0 clock  31.47KHz

        v: height  400 start  412 end  414 total  449           clock  70.08Hz

I have proved that I am right . I have written a patch for reading EDID when frambuffer starting up. And it works perfectly!

Pathed Whatevergreen Kext is attached.
Code:
...


if(true)

{

KernelPatcher::RouteRequest request("__ZN21AppleIntelFramebuffer20checkForEDIDOverrideEjPh", WrappCheckForEDIDOverride, OrgCheckForEDIDOverride);

patcher.routeMultiple(index, &request, 1, address, size);

}


....


int IGFX::WrappCheckForEDIDOverride(IOService *that, unsigned int x, unsigned char* buff)

{




int fbindex = *(int *)((char*)that +0x1dc);




DBGLOG("igfx", "WrappCheckForEDIDOverride called for fb%d %p  !", fbindex, that);



int ret=0;



if(callbackIGFX->OrgCheckForEDIDOverride)

{

ret =  FunctionCast(WrappCheckForEDIDOverride, callbackIGFX->OrgCheckForEDIDOverride) (that,x, buff);

}



if(fbindex==2)

{

static unsigned char edid []= { 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x10, 0xAC, 0x72, 0x40, 0x4C, 0x51, 0x34, 0x42, 0x32, 0x16, 0x01, 0x03, 0x80, 0x33, 0x1D, 0x78, 0xEA, 0xDD, 0x45, 0xA3, 0x55, 0x4F, 0xA0, 0x27, 0x12, 0x50, 0x54, 0xA5, 0x4B, 0x00, 0x71, 0x4F, 0x81, 0x80, 0xD1, 0xC0, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x02, 0x3A, 0x80, 0x18, 0x71, 0x38, 0x2D, 0x40, 0x58, 0x2C, 0x45, 0x00, 0xFE, 0x1F, 0x11, 0x00, 0x00, 0x1E, 0x00, 0x00, 0x00, 0xFF, 0x00, 0x58, 0x46, 0x59, 0x4E, 0x36, 0x32, 0x43, 0x46, 0x42, 0x34, 0x51, 0x4C, 0x0A, 0x00, 0x00, 0x00, 0xFC, 0x00, 0x44, 0x45, 0x4C, 0x4C, 0x20, 0x55, 0x32, 0x33, 0x31, 0x32, 0x48, 0x4D, 0x0A, 0x00, 0x00, 0x00, 0xFD, 0x00, 0x38, 0x4C, 0x1E, 0x53, 0x11, 0x00, 0x0A, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x00, 0xBE };

for(int i=0;i<sizeof(edid);i++)

buff[i] = edid[i];

return 0;

}



return ret;

}
 

Attachments

  • 1.2.4 (DEBUG)-fixEDID.zip
    264.2 KB · Views: 410
@pastrychef
@headkaze

I've installed on a spare drive MacOS High Sierra 17G2112
Now I can use AAPL,ig-platform-id 3E9B0007 and on B360 motherboard I don't need the kext-to-patch frame buffers that were needed on High Sierra 17G65 to fix the black screen issue.
BUT
I have no acceleration. Video card has 7MB.
I also have no HDMI Audio.

I have same results as zzmadd on B360 motherboard: black screen on MacOS Mojave 14.1, Lilu/whatevergreen/AAPL,ig-platform-id 3E9B0007; no acceleration, video card 7MB on MacOS Mojave 14.1, Lilu/whatevergreen/AAPL,ig-platform-id 59120000. Tried multiple configurations on FBPatcher, but nothing.
Anyone has found a solution. Thanks (config.plist please)
 
I have same results as zzmadd on B360 motherboard: black screen on MacOS Mojave 14.1, Lilu/whatevergreen/AAPL,ig-platform-id 3E9B0007; no acceleration, video card 7MB on MacOS Mojave 14.1, Lilu/whatevergreen/AAPL,ig-platform-id 59120000. Tried multiple configurations on FBPatcher, but nothing.
Anyone has found a solution. Thanks (config.plist please)
According to zzmadd enabling CSM in BIOS solved the issue.
 
Last edited:
Back
Top