Contribute
Register

[GUIDE] General Framebuffer Patching Guide (HDMI Black Screen Problem)

Joined
Sep 6, 2019
Messages
21
Motherboard
Lenovo SuperX 5B
CPU
i7-6700H
Graphics
HD530 / GTX 960M
Mobile Phone
Android
@RMTT,

I have not used that kext myself but have seen a number of users report success with it so I have no reason to doubt it.

Which SMBIOS are you using ?

Cheers
Jay
MacbookPro 13,1
And if I use MacbookPro 13,3 , the stuck will disappear, but my HDMI cannot output.
 

jaymonkey

Moderator
Joined
Aug 27, 2011
Messages
3,812
Motherboard
ASRock-Z97 EX6
CPU
i7-4790K OC @ 4.8GHz
Graphics
Vega 64LC + HD4600
Mac
MacBook Air, MacBook Pro
Mobile Phone
Android, iOS
MacbookPro 13,1 ....And if I use MacbookPro 13,3 , the stuck will disappear, but my HDMI cannot output.

@RMTT,

Thats very odd as MacbookPro 13,1 does not have a TouchID sensor, but MacbookPro 13,3 does ????

Cheers
Jay
 
Joined
Sep 6, 2019
Messages
21
Motherboard
Lenovo SuperX 5B
CPU
i7-6700H
Graphics
HD530 / GTX 960M
Mobile Phone
Android
@RMTT,

Thats very odd as MacbookPro 13,1 does not have a TouchID sensor, but MacbookPro 13,3 does ????

Cheers
Jay
Maybe that stuck is not caused by touchID, but HDMI output?
 
Joined
May 7, 2012
Messages
73
Motherboard
H310M-S2P
CPU
i3-8100
Graphics
RX 580 + UHD 630
What a guide!!! :clap:

Finally I was abble to get video signal on UHD 630, from 8100.

My currently board is H310M-S2P, with comes to three video ports: VGA, HDMI and DVI-d. With help of this guide I've tried VGA cable and work at first time! Awesome!!! With existing H310M patch, HDMI was fixed as well - but no DVI-d signal. So, I've edit some values and make some tests and I get video signal from all 3 ports!

Once again, fantastic guide!

Sorry if I don't see before, but here is patch to H310M-S2P rev1.0 (with 8100 and Mojave 10.14.6):

Index 1, BusID 0x05, Type DP
Index 2, BusID 0x02, Type DigitalDVI
Index 3, BusID 0x04, Type HDMI

Code:
        <key>Properties</key>
        <dict>
            <key>PciRoot(0x0)/Pci(0x2,0x0)</key>
            <dict>
                <key>AAPL,ig-platform-id</key>
                <data>
                BwCbPg==
                </data>
                <key>AAPL,slot-name</key>
                <string>Internal@0,2,0</string>
                <key>device-id</key>
                <data>
                mz4AAA==
                </data>
                <key>device_type</key>
                <string>VGA compatible controller</string>
                <key>enable-hdmi20</key>
                <data>
                AQAAAA==
                </data>
                <key>enable-lspcon-support</key>
                <data>
                AQAAAA==
                </data>
                <key>framebuffer-con0-busid</key>
                <data>
                BQAAAA==
                </data>
                <key>framebuffer-con0-enable</key>
                <data>
                AQAAAA==
                </data>
                <key>framebuffer-con0-flags</key>
                <data>
                xwMAAA==
                </data>
                <key>framebuffer-con0-index</key>
                <data>
                AQAAAA==
                </data>
                <key>framebuffer-con0-pipe</key>
                <data>
                EgAAAA==
                </data>
                <key>framebuffer-con0-type</key>
                <data>
                AAQAAA==
                </data>
                <key>framebuffer-con1-busid</key>
                <data>
                AgAAAA==
                </data>
                <key>framebuffer-con1-enable</key>
                <data>
                AQAAAA==
                </data>
                <key>framebuffer-con1-flags</key>
                <data>
                xwMAAA==
                </data>
                <key>framebuffer-con1-index</key>
                <data>
                AgAAAA==
                </data>
                <key>framebuffer-con1-pipe</key>
                <data>
                EgAAAA==
                </data>
                <key>framebuffer-con1-type</key>
                <data>
                BAAAAA==
                </data>
                <key>framebuffer-con2-busid</key>
                <data>
                BAAAAA==
                </data>
                <key>framebuffer-con2-enable</key>
                <data>
                AQAAAA==
                </data>
                <key>framebuffer-con2-flags</key>
                <data>
                xwMAAA==
                </data>
                <key>framebuffer-con2-index</key>
                <data>
                AwAAAA==
                </data>
                <key>framebuffer-con2-pipe</key>
                <data>
                EgAAAA==
                </data>
                <key>framebuffer-con2-type</key>
                <data>
                AAgAAA==
                </data>
                <key>framebuffer-fbmem</key>
                <data>
                AAAAAA==
                </data>
                <key>framebuffer-patch-enable</key>
                <data>
                AQAAAA==
                </data>
                <key>framebuffer-stolenmem</key>
                <data>
                AACQAw==
                </data>
                <key>framebuffer-unifiedmem</key>
                <data>
                AAAAYA==
                </data>
                <key>hda-gfx</key>
                <string>onboard-1</string>
                <key>model</key>
                <string>Intel UHD Graphics 630</string>
            </dict>
        </dict>
 
Joined
Nov 8, 2016
Messages
70
Motherboard
ASUS PRIME Z390M PLUS (clover)
CPU
i7-9600K
Graphics
UHD 630
Mobile Phone
iOS
Patch provided for Asus Prime H370M-Plus works for HDMI output in board ASUS PRIME Z390M PLUS. DVI untested. please update OP to reflect this other asus board @CaseySJ
 
Joined
Sep 11, 2019
Messages
3
Motherboard
Asus Prime Z370-A
CPU
i3-8350K
Graphics
RX560
Mac
MacBook Air, MacBook Pro, Mac mini
Classic Mac
Classic, iBook, iMac, LC, Performa, Power Mac, PowerBook, SE/30
Mobile Phone
iOS
Hi there,

I'm going nuts with something I can't explain on one of my hackintoshes, here goes:

Config is ASRock B250M Pro4 (3 video outputs available: HDMI, DVI-D and VGA), i5-7400, no DGPU. SMBIOS iMac18,1. Display is connected via DVI-D. Config was working flawlessly in 10.13 (including sleep/wake, hw accel, sound, etc). Freshly upgraded to 10.14 (updated all extra kexts before rebooting, including WhateverGreen, Lilu, etc). Now boots to no signal midway during Apple logo progress bar.

Tried to follow the guide to the letter via screen sharing (which works): I eventually tried every possible combination of BusID for each Index (that took a long time), to no avail: display is never detected in Hackintool.

Then I tried with a different display connected via HDMI: same thing.

Just before hanging myself, I tried with both displays connected: big surprise: DVI-D display turns on and works just fine. Without any patch applied Hackintool detects two active connectors: Port0, BusID 0x05 for the HDMI display (which gets no signal) and Port7, BusID 0x06 for the DVI-D display (which works).

It only works (half works) if both displays are connected, otherwise I'm back to square one. I understand Port0 shouldn't happen since it's for internal LVDS, so I'm starting to wonder if the selected SMBIOS (iMac18,1) somehow affecting how the OS parses the connector. I don't exactly know what to try next so any help would be much welcome.

Thanks!
 

CaseySJ

Moderator
Joined
Nov 11, 2018
Messages
9,981
Motherboard
Gigabyte Z490 Vision D
CPU
i5-10400
Graphics
RX 580
Mac
MacBook Air, MacBook Pro, Mac Pro
Classic Mac
Quadra
Mobile Phone
iOS
@BulletZ,

What configuration are you currently using?

INDEX, BUSID, TYPE
xx, xx, xx
xx, xx, xx
xx, xx, xx


Platform ID: ?
Device ID: ?
 
Joined
Sep 11, 2019
Messages
3
Motherboard
Asus Prime Z370-A
CPU
i3-8350K
Graphics
RX560
Mac
MacBook Air, MacBook Pro, Mac mini
Classic Mac
Classic, iBook, iMac, LC, Performa, Power Mac, PowerBook, SE/30
Mobile Phone
iOS
@BulletZ,

What configuration are you currently using?
Platform ID: 0x59120000 (I tried 0x591B0000 too, no difference)
Device ID: 0x59128086

Index, BusID, Type:
1, 0x05, HDMI (<- HDMI display shows as Port0 here)
2, 0x04, HDMI
3, 0x06, HDMI (<- DVI display shows as Port7 here)
-1, 0x00, Dummy

Thanks
 
Joined
Sep 11, 2019
Messages
3
Motherboard
Asus Prime Z370-A
CPU
i3-8350K
Graphics
RX560
Mac
MacBook Air, MacBook Pro, Mac mini
Classic Mac
Classic, iBook, iMac, LC, Performa, Power Mac, PowerBook, SE/30
Mobile Phone
iOS
One important bit I forgot: in order for the pseudo dual display to work (one no signal one with signal), I had to disable AGDP via this patch: https://www.tonymacx86.com/threads/...applegraphicsdevicepolicy.272271/post-1914237

Without this patch, with both displays connected Hackintool only detects the HDMI display on Port0 and there's no signal to either display: that's why I'm suspecting something's up with this particular SMBIOS...
 
Joined
Oct 15, 2018
Messages
39
Motherboard
Asus H110M-D
CPU
i5-6400
Graphics
HD 530
Mac
MacBook Pro, Mac mini
Mobile Phone
Android, iOS
Hi I'm having Gigabyte z390 Pro wifi and i7 9700k with UHD 630. This mobo only have one HDMI port of v1.4.

I exactly followed the steps mentioned, and I have identified that my HDMI is mapped to Port 7 ( Index 3). The bus id in this display is by default 0x04. With this configuration my HDMI monitor goes to black but when I try to connect through screen sharing with my macbook pro it shows correct acceleration value and display shows exact screen size and resolution of my monitor, but the monitor is not showing anything just black. Please check the attached screenshot taken through screen sharing session.

I also tried setting different bus id from 0x01 to 0x06. none of them is working. When I set other than 0x04 the display is not detected and the iGPU info is not shown on About mac screen and the screen also not in normal resolution of the monitor, it was like general mac mini display resolution.


Screenshot 2019-09-16 at 5.05.08 PM.pngScreenshot 2019-09-16 at 5.05.21 PM.pngScreenshot 2019-09-17 at 1.53.28 AM.pngScreenshot 2019-09-17 at 1.53.45 AM.png
 

Attachments

Top