Contribute
Register

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

any of application allow patch in selected connector any data.

no information displays by tools enought, specially:
-windows connector for info and flag
-windows framebuffer are displa, but unfford to do something

by the way if i hot plug a connector hdmi, i lost video (HDMI-> DP, HDMi-D -> HDMI)

i say again, there not example as configuration in tis guide for Z170-UD5-TH

in my preferenes mac, there is no information on PCI. in section video, there only the HDMI link

under sierra, 4 links are used

please if you havent a Z170-UD5-TH, your advise is not appropriate now


again, is serie Z170-UD5-TH supported by hacktool ?
 
Last edited:
there no update red or blue to detected correctly the video

again, is serie Z170-UD5-TH supported by hacktool ?

again, is serie Z170-UD5-TH supported by hacktool ?

again, is serie Z170-UD5-TH supported by hacktool ?

answer please
 
there no update red or blue to detected correctly the video

again, is serie Z170-UD5-TH supported by hacktool ?

again, is serie Z170-UD5-TH supported by hacktool ?

again, is serie Z170-UD5-TH supported by hacktool ?

answer please
Look for a solution somewhere else.
 
i try a least 4 distincs methods:

of course, the patch propose by your GUIDE is the same as know well:
SSDT-HDEF-HDAS -> The same !!!!!!!!!!!!!!!!!



 
I would say you guys are doing pretty good with laptops. Granted they are a whole different animal but I am not too worried about getting those ports to work as I really don't think I will be connecting an external monitor. But I do appreciate everything everyone is doing.

@sektor1952 @TuanNguyen1982

If you skim through the previous 10 or 20 pages of this thread you will see that we really struggle with laptops. This guide has been effective for retail desktop motherboards running Coffee Lake CPUs. For laptops, unfortunately, it’s a long struggle with trial and error. Something that can help, though, is to examine or post the IOReg output from IORegistryExplorer. But the success rate for laptops is low.
 
Laptop HP ProBook 450G4 (Internal + VGA + HDMI) (updated)

Thanks a lot for this detailed guide. Thanks to it I managed to setup my Laptop HP ProBook 450G4 using only Lilu + Whatevergreen and deleting all the rest of stuff from config.plist.

Before using the guide, connectors were working, but when resuming from sleep the VGA and occassionally the HDMI port were black. The reason was (i think) the type was wrong: The VGA port at connector 2 was listed as HDMI instead of VGA. I generated the patch with HackinTool.


1566219682163.png




I also needed to port Rehabman HDMI patches in KExtToPatch to Device/properties besides the patches generated by HackinTool:

XML:
    <key>Devices</key>
    <dict>
        <key>Audio</key>
        <dict>
            <key>Inject</key>
            <string>NO</string>
        </dict>
        <key>Properties</key>
        <dict>
            <key>PciRoot(0x0)/Pci(0x2,0x0)</key>
            <dict>

                <key>device_type</key>
                <string>VGA compatible controller</string>
                <key>model</key>
                <string>Intel HD Graphics 620</string>

                <key>AAPL,ig-platform-id</key>
                <data>AAAbWQ==</data>

                <key>AAPL,slot-name</key>
                <string>Internal</string>

                <key>device-id</key>
                <data>FlkAAA==</data>
                <key>hda-gfx</key>
                <string>onboard-1</string>

                <key>framebuffer-con1-enable</key>
                <data>AQAAAA==</data>
                <key>framebuffer-con1-alldata</key>
                <data>AQUKAAAIAACHAQAAAgQKAAAIAACHAQAA</data>
              
                <key>framebuffer-con2-enable</key>
                <data>AQAAAA==</data>
                <key>framebuffer-con2-type</key>
                <data>EAAAAA==</data>

                <key>framebuffer-patch-enable</key>
                <data>AQAAAA==</data>

                <key>framebuffer-patch0-enable</key>
                <data>AQAAAA==</data>
                <key>framebuffer-patch0-find</key>
                <data>AgQKAAAIAACHAQAAAwYKAAAEAACHAQAA/wAAAAEAAAAgAAAA</data>
                <key>framebuffer-patch0-replace</key>
                <data>AQUKAAAIAACHAQAAAgQKAAAIAACHAQAA/wAAAAEAAAAgAAAA</data>

                <key>framebuffer-patch1-enable</key>
                <data>AQAAAA==</data>
                <key>framebuffer-patch1-find</key>
                <data>AQUJAAAEAACHAQAA</data>
                <key>framebuffer-patch1-replace</key>
                <data>AQUJAAAIAACHAQAA</data>

                <key>framebuffer-patch2-enable</key>
                <data>AQAAAA==</data>
                <key>framebuffer-patch2-find</key>
                <data>AQUKAAAEAACHAQAA</data>
                <key>framebuffer-patch2-replace</key>
                <data>AQUKAAAIAACHAQAA</data>

                <key>framebuffer-patch3-enable</key>
                <data>AQAAAA==</data>
                <key>framebuffer-patch3-find</key>
                <data>AgQKAAAIAACHAQAAAwYKAAAEAACHAQAA/wAAAAEAAAAgAAAA</data>
                <key>framebuffer-patch3-replace</key>
                <data>AQUKAAAIAACHAQAAAwYKAAAEAACHAQAA/wAAAAEAAAAgAAAA</data>

                <key>framebuffer-patch4-enable</key>
                <data>AQAAAA==</data>
                <key>framebuffer-patch4-find</key>
                <data>AgQKAAAIAACHAQAAAwYKAAAEAACHAQAA/wAAAAEAAAAgAAAA</data>
                <key>framebuffer-patch4-replace</key>
                <data>/wAAAAEAAAAgAAAA/wAAAAEAAAAgAAAA/wAAAAEAAAAgAAAA</data>

            </dict>
        </dict>

Hope it helps !

PD- I updated this message with correct values, the older version had incorrect values for BusID and connector number
 

Attachments

  • 1566219846514.png
    1566219846514.png
    74.2 KB · Views: 67
Last edited:
i need some additionnal informations:
under mac os 10.12.6 i have this



is this correct ? how to check to pass on mojave ?

thanks a lot


<key>PciRoot(0x0)/Pci(0x2,0x0)</key>
<dict>
<key>AAPL,ig-platform-id</key>
<data>
AAASGQ==
</data>
<key>AAPL,slot-name</key>
<string>Internal</string>
<key>device_type</key>
<string>Display controller</string>
<key>framebuffer-con0-busid</key>
<data>
AAAAAA==
</data>
<key>framebuffer-con0-enable</key>
<data>
AQAAAA==
</data>
<key>framebuffer-con0-flags</key>
<data>
IAAAAA==
</data>
<key>framebuffer-con0-index</key>
<data>
/////w==
</data>
<key>framebuffer-con0-pipe</key>
<data>
AAAAAA==
</data>
<key>framebuffer-con0-type</key>
<data>
AQAAAA==
</data>
<key>framebuffer-con1-busid</key>
<data>
BQAAAA==
</data>
<key>framebuffer-con1-enable</key>
<data>
AQAAAA==
</data>
<key>framebuffer-con1-flags</key>
<data>
hwEAAA==
</data>
<key>framebuffer-con1-index</key>
<data>
AQAAAA==
</data>
<key>framebuffer-con1-pipe</key>
<data>
CQAAAA==
</data>
<key>framebuffer-con1-type</key>
<data>
AAQAAA==
</data>
<key>framebuffer-con2-busid</key>
<data>
BAAAAA==
</data>
<key>framebuffer-con2-enable</key>
<data>
AQAAAA==
</data>
<key>framebuffer-con2-flags</key>
<data>
hwEAAA==
</data>
<key>framebuffer-con2-index</key>
<data>
AgAAAA==
</data>
<key>framebuffer-con2-pipe</key>
<data>
CgAAAA==
</data>
<key>framebuffer-con2-type</key>
<data>
AAQAAA==
</data>
<key>framebuffer-con3-busid</key>
<data>
BgAAAA==
</data>
<key>framebuffer-con3-enable</key>
<data>
AQAAAA==
</data>
<key>framebuffer-con3-flags</key>
<data>
hwEAAA==
</data>
<key>framebuffer-con3-index</key>
<data>
AwAAAA==
</data>
<key>framebuffer-con3-pipe</key>
<data>
CgAAAA==
</data>
<key>framebuffer-con3-type</key>
<data>
AAQAAA==
</data>
<key>framebuffer-fbmem</key>
<data>
AABQAQ==
</data>
<key>framebuffer-patch-enable</key>
<data>
AQAAAA==
</data>
<key>framebuffer-stolenmem</key>
<data>
AAAgAg==
</data>
<key>framebuffer-unifiedmem</key>
<data>
AAAAYA==
</data>
<key>hda-gfx</key>
<string>onboard-2</string>
</dict>
</dict>
 

Attachments

  • Screenshot at août 10 14-45-48.png
    Screenshot at août 10 14-45-48.png
    55.4 KB · Views: 69
  • Screenshot at août 10 14-47-22.png
    Screenshot at août 10 14-47-22.png
    42.6 KB · Views: 69
  • Screenshot at août 10 14-48-26.png
    Screenshot at août 10 14-48-26.png
    138.1 KB · Views: 70
  • Screenshot at août 10 14-49-17.png
    Screenshot at août 10 14-49-17.png
    114.7 KB · Views: 74
  • Screenshot at août 10 14-50-36.png
    Screenshot at août 10 14-50-36.png
    318 KB · Views: 81
  • Screenshot at août 10 14-52-24.png
    Screenshot at août 10 14-52-24.png
    63.8 KB · Views: 78
  • Screenshot at août 10 14-52-51.png
    Screenshot at août 10 14-52-51.png
    79.5 KB · Views: 62
  • Screenshot at août 10 14-53-32.png
    Screenshot at août 10 14-53-32.png
    75.5 KB · Views: 77
  • Screenshot at août 10 14-54-30.png
    Screenshot at août 10 14-54-30.png
    77.6 KB · Views: 79
  • Screenshot at août 10 14-54-52.png
    Screenshot at août 10 14-54-52.png
    67.5 KB · Views: 66
Last edited:
for mojave is this correct ?

con1 index 1 bus Id 0x02 DP
con2 index 2 bus Id 0x04 DP
con3 index 0 bus Id 0x06 HDMI

ID: 19120000, STOLEN: 34 MB, FBMEM: 21 MB, VRAM: 1536 MB, Flags: 0x0000110F
TOTAL STOLEN: 56 MB, TOTAL CURSOR: 1 MB (1572864 bytes), MAX STOLEN: 124 MB, MAX OVERALL: 125 MB (131608576 bytes)
GPU Name: Intel HD Graphics 530
Model Name(s): iMac17,1
Camelia: Disabled, Freq: 1388 Hz, FreqMax: 1388 Hz
Mobile: 1, PipeCount: 3, PortCount: 3, FBMemoryCount: 3
[-1] busId: 0x00, pipe: 0, type: 0x00000001, flags: 0x00000020 - Dummy
[1] busId: 0x05, pipe: 9, type: 0x00000400, flags: 0x00000187 - DP
[2] bus Id: 0x04, pipe: 9, type: 0x00000400, flags: 0x00000187 - DP
[0] bus Id: 0x06, pipe: 10, type: 0x00000400, flags: 0x00000187 - HDMI
FF000000 01000000 20000000
01050900 00040000 87010000
02040A00 00040000 87010000


Find: FF000000 01000000 20000000 01050900 00040000 87010000 02040A00 00040000 87010000 03060A00 00040000 87010000
Replace: FF000000 01000000 20000000 01050900 00040000 87010000 02040900 00040000 87010000 00060A00 00080000 87010000
Comment: 0x19120000 Connector Patch by FB-Patcher (credit headkaze)

:clap: :clap:YES

xx:yyy 0:000 Framebuffer @0xD0000000 MMIO @0xE0000000 I/O Port @0x0000E000 ROM Addr @0xEFE40000:448 xx:yyy PCI region 1 = 0x00000000, region3 = 0x00000000, region5 = 0xEFE00000
xx:yyy 0:000 Use region5 as MMIO space
xx:yyy 0:000 BIOS_0_SCRATCH=0x00000000, 1=0x00000000, 2=0x00000003, 3=0x00000000, 4=0x00000000, 5=0x00000000, 6=0x00000000
xx:yyy 0:001 RADEON_CRTC2_GEN_CNTL == 0x00000000
xx:yyy 0:000 card posted because CONFIG_MEMSIZE=0x2000
xx:yyy 0:000 ATI card POSTed,
xx:yyy 0:000 Set VRAM from config=8192Mb
xx:yyy 0:000 ATI: get_vram_size returned 0x0
xx:yyy 0:000 Framebuffer set to device's default: Baladi
xx:yyy 0:000 N ports defaults to 6
xx:yyy 0:000 use N ports setting from config.plist: 6
xx:yyy 0:000 (AtiPorts) Nr of ports set to: 6
xx:yyy 0:000 ATI Ellesmere AMD Radeon RX 480 8192MB (Baladi) [1002:67DF] (subsys [1DA2:E353]):: PciRoot(0x0)\Pci(0x1,0x0)\Pci(0x0,0x0)

that is correct
 
Last edited:
Help with 4k Resolution on Intel HD Graphics 630

I have followed every guide here and still cannot get 4K resolution with Optiplex 7050 micro with Intel HD 630, any help will be appreciated. I have attached my config.plist

Thanks
 

Attachments

  • 3.png
    3.png
    63.9 KB · Views: 69
  • 2.png
    2.png
    31.6 KB · Views: 62
  • 1.png
    1.png
    79.1 KB · Views: 66
  • config.plist
    5.9 KB · Views: 93
  • 4.png
    4.png
    56.4 KB · Views: 64
Help with 4k Resolution on Intel HD Graphics 630

I have followed every guide here and still cannot get 4K resolution with Optiplex 7050 micro with Intel HD 630, any help will be appreciated. I have attached my config.plist

Thanks
1. You are currently using iMac18,1 and the SMBIOS section of config.plist is not fully filled out. Have you tried iMac18,2 (Retina 4K) or even iMac18,3?

Screen Shot 2019-08-11 at 7.20.31 PM.png

2. Are you driving the LG monitor with DisplayPort? Your Platform ID is set to 0x59120000 with all connectors as DP, so HDMI most likely does not work. Or are you using a DisplayPort to HDMI adapter?

3. What the model number of the LG monitor? Is it flat screen television or a computer monitor?

4. Please post a screenshot of: System Information --> Graphics/Displays. This will provide more information about the monitor and the properties of the monitor.

5. The i5-7500T is a Kaby Lake processor, so the Azul Framebuffer patch in Kernel and Kext Patches will not have an effect. It's okay to leave that in place, but probably better to check the Disable flag.
 
Back
Top