Contribute
Register

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

Joined
Apr 27, 2019
Messages
7
Motherboard
HUANANZHI X79-ZD3
CPU
Xeon E5-2689
Graphics
Saphire Nitro+ RX 590
Mobile Phone
Android
I have a laptop with a built-in screen and with one external HDMI port.
If I correctly make all the settings in accordance with this magnificent Guide, would it be correct to use both of these options:
1. Laptop cold start with external monitor connected via HDMI
2. Hot-plug an external monitor when the laptop is running
 
Joined
Jan 21, 2012
Messages
908
Motherboard
HP 8300 Elite
CPU
i5-3570
Graphics
GT 710
Mobile Phone
Android
Hi in this thread it describes setting the DVMT pre allocation to 96MB by poking values into the UEFI firmware variables and then patching AppleIntelFrameBufferAzul, this is to get 4K working on a Dell 7020 with just Intel HD 4600 graphics.
It says;
"Name: AppleIntelFramebufferAzul
Find:
0300220D 00030303 00000002 00003001
Replace:
0300220D 00030303 00000004 00000003 "

I have tried to understand what is being set and think the "00000004" that is being set refers to DVMT pre allocation and it is being set to 64MB, if that is correct, should it be set to 96MB because that's what we have set it in the UEFI firmware?

Ie should i change the replacement with;
0300220D 00030303 00000006 00000003 ?
(which I think sets it to 96mb)
I have tested the change and it does not break anything immediately and wonder if there are any tests that will show that the right setting is in place?

Thanks
 
Joined
Sep 6, 2019
Messages
21
Motherboard
Lenovo SuperX 5B
CPU
i7-6700H
Graphics
HD530 / GTX 960M
Mobile Phone
Android
Hi,guys. The card of my laptop is Intel HD530, and use the platform id 0x191B0000,and the spec is:
1568076733329.png

1568076775720.png

Actually,the index 0 connector should be the built in display.But when i plug my HDMI wire, there was nothing changes.
By the way,I use SMBIOS: Macbookpro 13,3, as same as the framebuffer's model.
So,why my laptop cannot detect HDMI wire.

Appreciate any answers.
 

CaseySJ

Moderator
Joined
Nov 11, 2018
Messages
11,150
Motherboard
Gigabyte Z490 Vision D
CPU
i5-10400
Graphics
RX 580
Mac
MacBook Air, MacBook Pro, Mac Pro
Classic Mac
Quadra
Mobile Phone
iOS
Hi @CaseySJ and everyone else.

I'm setting up a Huawei Matebook D Intel i5-8250U.
A lot of things are working but a couple related to the internal UHD 620 GPU are still giving problems so I thought to post a question here.

The issues I have:
- When I connect an external monitor the the HDMI port all works as expected. BUT when I unplug the HDMI cable I loose the image on the internal display. Also the notebook becomes not visible in the network suggesting some kind of panic goes on.
- When I close the lid the notebook goes into sleep mode BUT when I open the lid the notebook display doesn't wake up. In this case the notebook is available through the network as I can connect to it. Sleep works fine if I initiate it through the button or if the timer kicks it. So if the notebook goes to sleep with the open lid and then I close the lid when I open the lid and press a keyboard key or power button to wake it from sleep it all works great. It is the closing prior to sleep that leads to the black screen.

For the rest acceleration works, I can render in FCPX.
Any advice?
Thanks a lot.

UPDATE:
I tried changing the laptop internal connectors properties. Found that both 00 and 04 BusID work. I tried a different pipes value. The original was 8 I used 18, but it makes no difference. As I unplug the internal monitor goes black.
This notebook only has iGPU, the UHD 620.
The fix (or workaround) for HDMI hot-plug issues is to set all Pipes to the same number such as 8 or 18. For example, if you have enabled 3 connectors, all of their Pipe values should be the same.

Also try the following settings with Hackintool 2.8.0. After specifying connector Bus IDs, Pipes, and Types, make the selections shown below and click Generate Patch.

Screen Shot 2019-09-09 at 7.07.09 PM.png Screen Shot 2019-09-09 at 7.05.12 PM.png
This may have some effect on the HDMI hot-plug issue, but probably won't affect sleep/wake issues from closing the lid.
 

CaseySJ

Moderator
Joined
Nov 11, 2018
Messages
11,150
Motherboard
Gigabyte Z490 Vision D
CPU
i5-10400
Graphics
RX 580
Mac
MacBook Air, MacBook Pro, Mac Pro
Classic Mac
Quadra
Mobile Phone
iOS
I have a laptop with a built-in screen and with one external HDMI port.
If I correctly make all the settings in accordance with this magnificent Guide, would it be correct to use both of these options:
1. Laptop cold start with external monitor connected via HDMI
2. Hot-plug an external monitor when the laptop is running
Theoretically both options should work, but we see a lot of different issues with laptops. This guide is primarily focused on desktop systems with retail motherboards, but some people have found limited success with laptops as well.
 

CaseySJ

Moderator
Joined
Nov 11, 2018
Messages
11,150
Motherboard
Gigabyte Z490 Vision D
CPU
i5-10400
Graphics
RX 580
Mac
MacBook Air, MacBook Pro, Mac Pro
Classic Mac
Quadra
Mobile Phone
iOS
Hi in this thread it describes setting the DVMT pre allocation to 96MB by poking values into the UEFI firmware variables and then patching AppleIntelFrameBufferAzul, this is to get 4K working on a Dell 7020 with just Intel HD 4600 graphics.
It says;
"Name: AppleIntelFramebufferAzul
Find:
0300220D 00030303 00000002 00003001
Replace:
0300220D 00030303 00000004 00000003 "

I have tried to understand what is being set and think the "00000004" that is being set refers to DVMT pre allocation and it is being set to 64MB, if that is correct, should it be set to 96MB because that's what we have set it in the UEFI firmware?

Ie should i change the replacement with;
0300220D 00030303 00000006 00000003 ?
(which I think sets it to 96mb)
I have tested the change and it does not break anything immediately and wonder if there are any tests that will show that the right setting is in place?

Thanks
No, we should not change those hex values!

DVMT is being set to 96MB inside the firmware itself (inside BIOS). Those hex bytes are modifying the AppleIntelFrameBufferAzul to enable 4K, but this patch does not affect DVMT Pre-Alloc.

Are you getting 4K output with the original unmodified patch?
 

CaseySJ

Moderator
Joined
Nov 11, 2018
Messages
11,150
Motherboard
Gigabyte Z490 Vision D
CPU
i5-10400
Graphics
RX 580
Mac
MacBook Air, MacBook Pro, Mac Pro
Classic Mac
Quadra
Mobile Phone
iOS
Hi,guys. The card of my laptop is Intel HD530, and use the platform id 0x191B0000,and the spec is:
View attachment 425267
View attachment 425268
Actually,the index 0 connector should be the built in display.But when i plug my HDMI wire, there was nothing changes.
By the way,I use SMBIOS: Macbookpro 13,3, as same as the framebuffer's model.
So,why my laptop cannot detect HDMI wire.

Appreciate any answers.
We can take a closer look if you can do the following:
  • Download and run IORegistryExplorer
  • Then just select File --> Save As...
  • Upload the saved file
 
Joined
Sep 6, 2019
Messages
21
Motherboard
Lenovo SuperX 5B
CPU
i7-6700H
Graphics
HD530 / GTX 960M
Mobile Phone
Android
We can take a closer look if you can do the following:
  • Download and run IORegistryExplorer
  • Then just select File --> Save As...
  • Upload the saved file
Thanks your reply,i will attach the ioreg,but i can not find any problem about it.
 

Attachments

CaseySJ

Moderator
Joined
Nov 11, 2018
Messages
11,150
Motherboard
Gigabyte Z490 Vision D
CPU
i5-10400
Graphics
RX 580
Mac
MacBook Air, MacBook Pro, Mac Pro
Classic Mac
Quadra
Mobile Phone
iOS
Thanks your reply,i will attach the ioreg,but i can not find any problem about it.
When you connect your external monitor with HDMI cable, Hackintool should highlight the port in red. If nothing gets highlighted, then it is necessary to change Bus ID.

Currently you have:

Index BusID Pipe Type
0 0x00 18 DP
1 0x06 18 HDMI
2 0x05 18 HDMI


Have you tried other values for BusID such as:

Index BusID Pipe Type
0 0x00 18 DP
1 0x01 18 HDMI
2 0x02 18 HDMI


or

Index BusID Pipe Type
0 0x00 18 DP
1 0x02 18 HDMI
2 0x01 18 HDMI


or

Index BusID Pipe Type
0 0x00 18 DP
1 0x04 18 HDMI
2 0x01 18 HDMI

or

Index BusID Pipe Type
0 0x00 18 DP
1 0x01 18 HDMI
2 0x04 18 HDMI
 
Joined
Sep 6, 2019
Messages
21
Motherboard
Lenovo SuperX 5B
CPU
i7-6700H
Graphics
HD530 / GTX 960M
Mobile Phone
Android
When you connect your external monitor with HDMI cable, Hackintool should highlight the port in red. If nothing gets highlighted, then it is necessary to change Bus ID.

Currently you have:

Index BusID Pipe Type
0 0x00 18 DP
1 0x06 18 HDMI
2 0x05 18 HDMI


Have you tried other values for BusID such as:

Index BusID Pipe Type
0 0x00 18 DP
1 0x01 18 HDMI
2 0x02 18 HDMI


or

Index BusID Pipe Type
0 0x00 18 DP
1 0x02 18 HDMI
2 0x01 18 HDMI


or

Index BusID Pipe Type
0 0x00 18 DP
1 0x04 18 HDMI
2 0x01 18 HDMI

or

Index BusID Pipe Type
0 0x00 18 DP
1 0x01 18 HDMI
2 0x04 18 HDMI
I have tried all of above BusID,but, unfortunately, there aren't work.
 
Top