Contribute
Register

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

Joined
Sep 22, 2011
Messages
1,528
Motherboard
HP EliteDesk 800 G5 Mini
CPU
i9-9900
Graphics
UHD 630
Mac
  1. Mac mini
Mobile Phone
  1. iOS
@AppleUser01 I, too, have encountered and solved blackscreen with framebuffer AAPL,ig-platform-id 0x3E9B0007 (different chipset, but may be related). If you're still trying to figure out the blackscreen issue, it would help if you posted your EFI and listed your physical graphics ports on your PC and your display(s) (and whether you are using adapters/converters - e.g., DP->HDMI). It looks like you are not patching your connector-types, so WEG is automatically changing your DP connector types to HDMI. Would need the EFI and explicit graphics connectors on both PC and Displays to help.
 
Joined
Oct 27, 2016
Messages
3
Motherboard
Asus ROG Strix Z490-G Gaming (Wi-Fi)
CPU
Intel Core i5-10600
Graphics
Intel UHD Graphics 630
ASUS ROG STRIX Z490-G GAMING (WI-FI)
Has two ports: DP and HDMI.
Index 1, BusID 0x05, Type DP
Index 2, BusID 0x02, Type HDMI
Dual monitor mode works fine.
 

Attachments

  • Screen Shot 2022-01-04 at 19.02.43.png
    Screen Shot 2022-01-04 at 19.02.43.png
    31.8 KB · Views: 71
  • Screen Shot 2022-01-04 at 19.03.31.png
    Screen Shot 2022-01-04 at 19.03.31.png
    88.2 KB · Views: 75
Joined
May 17, 2016
Messages
30
Motherboard
GA-Z270-HD3
CPU
i5-7500
Graphics
RX560
Mac
  1. iMac
  2. MacBook Pro
Mobile Phone
  1. iOS
Thanks for the helpful directions. I found the graphics was working on Port 3. However, audio through HDMI didn't work. Audio would show up on port 2 only and never on port 3. Display wouldn't work on port 2, but only on port 3. Setting both port 2 and port 3 to the same bus id fixed the issue. Not sure what other issues it causes, but have graphics with full acceleration and HD audio. I only have one display as the computer has 1 HDMI and 1 VGA. Will this setting create any issue? Thanks again.

1642038672244.png
 
Joined
Sep 22, 2011
Messages
1,528
Motherboard
HP EliteDesk 800 G5 Mini
CPU
i9-9900
Graphics
UHD 630
Mac
  1. Mac mini
Mobile Phone
  1. iOS
@AppleUser01 The first post in this thread indicates that BusIDs must be unique for each connector (unless using BusID=0 when disabling connectors). Without your EFI and other details about the graphics adapters/connectors you're using, we're all just guessing.
 
Joined
Dec 26, 2018
Messages
3
Motherboard
MSI H110i Pro
CPU
i3 7100
Graphics
UHD630
Mac
  1. iMac
Mobile Phone
  1. iOS
Add "igfxonln=1" to boot args to fix the black screen after boot if you still using iMac18,1.
not working for me :(
i3 7100
H110
IGPU HD630 (0x5912)
iMac18,1
DVI-D or HDMI

Catalina + Clover = work with "force-online" in DeviceProperties
Monterey 12.1 + OpenCore 0.7.7 = not working with "igfxonln=1" in boot args or "force-online" in DeviceProperties

Still no signal after logon, have to reconnect cable to work monitor
 
Joined
Jan 29, 2012
Messages
165
Motherboard
GA-Z97-HD3
CPU
i5-4690K
Graphics
RX 580
Mac
  1. iMac
  2. MacBook
  3. Mac mini
Mobile Phone
  1. Android
  2. iOS
Dual Monitor not working

I have the an issue with a z97-hd3, i5-4690k CPU & 32 GB RAM build booting Monterey 12.1 using latest OpenCore release (0.7.7) with the integrated GPU enabled to drive a display: when booting with dvi and hdmi connected monitors, both shows the verbose, but when the loading process arrives to the macOS desktop, the dvi connected monitor goes dark and only the hdmi connected monitor shows something. If I disconnect the HDMI cable, it would boot and shows everything in the DVI connected monitor. So I know that both monitors are working and the problem is related to the frame buffer settings that most likely need more patching, but I don’t know what else is required beyond correcting the connector type which I already did. Do I need to adjust the fbmem or the fbstolenmem or fbunifiedmem? Right know in the OpenCore config list I have fbstolenmem = 00003001 and fbmem = 0000900 and the BIOS has an allocated DVMT memory of 64 mb. Do I have to change the BusIDs? I changed in the config file the bus ids for the DVI port (Device Properties section, trying all possible options without any luck. After that I started again. I’ll upload my EFI as right now and my ioreg file shortly.
 

Edhawk

Moderator
Joined
Aug 2, 2013
Messages
4,148
Motherboard
Asus TUF Z390 Gaming
CPU
i5-8500
Graphics
RX 580
Mac
  1. iMac
  2. MacBook Air
  3. MacBook Pro
Mobile Phone
  1. iOS
Are you using the Macmini7,1 or iMac17,1 SMBIOS?

The IGPU patches required for the MacMini7,1 SMBIOS, with the IGPU used to drive the display(s) are as follows:

AALP,ig-platform-id = 0300220D
framebuffer-patch-enable = 01000000
framebuffer-stolenmem = 00003001

That should be all that is required for the IGPU to work.

As the iMac17,1 expects a discrete GPU to be driving the display(s), all you need is this empty/headless framebuffer:

AALP,ig-platform-id = 04001204

Alternatively this empty/headless framebuffer also works with a HD4600 IGPU.

AALP,ig-platform-id = 0B001204

Obviously with the empty/headless framebuffer the dGPU (RX 580) would be used to drive the displays, not the IGPU.

Don't know how you have your EFI setup, but this Github repository may be helpful with your Z97-HD3 system - https://github.com/VoiletDragon/Z97-HD3-Patches
 
Joined
Jan 29, 2012
Messages
165
Motherboard
GA-Z97-HD3
CPU
i5-4690K
Graphics
RX 580
Mac
  1. iMac
  2. MacBook
  3. Mac mini
Mobile Phone
  1. Android
  2. iOS
Are you using the Macmini7,1 or iMac17,1 SMBIOS?

The IGPU patches required for the MacMini7,1 SMBIOS, with the IGPU used to drive the display(s) are as follows:

AALP,ig-platform-id = 0300220D
framebuffer-patch-enable = 01000000
framebuffer-stolenmem = 00003001

That should be all that is required for the IGPU to work.

As the iMac17,1 expects a discrete GPU to be driving the display(s), all you need is this empty/headless framebuffer:

AALP,ig-platform-id = 04001204

Alternatively this empty/headless framebuffer also works with a HD4600 IGPU.

AALP,ig-platform-id = 0B001204

Obviously with the empty/headless framebuffer the dGPU (RX 580) would be used to drive the displays, not the IGPU.

Don't know how you have your EFI setup, but this Github repository may be helpful with your Z97-HD3 system - https://github.com/VoiletDragon/Z97-HD3-Patches
Thanks a lot for your quick reply. I changed the SMBIOS to iMac 17,1 due to the RX 580 and Monterey. However, the RX 580 stopped working and I’m trying to setup the igpu to drive a display and also have dual monitors. Do I have to change the SMBIOS again now that I don’t have a wording dgpu? I tried VioletDragon repository already without luck. I noticed that the device is and frame buffer in VioletDragon was one related to laptop. Is there an issue if I used a laptop device ID and frame buffer recommended for laptops in dortania guide?
 

Edhawk

Moderator
Joined
Aug 2, 2013
Messages
4,148
Motherboard
Asus TUF Z390 Gaming
CPU
i5-8500
Graphics
RX 580
Mac
  1. iMac
  2. MacBook Air
  3. MacBook Pro
Mobile Phone
  1. iOS
You need to use the correct SMBIOS for the way your system is setup. If the IGPU is driving the displays, then you should be using the Mac mini SMBIOS, not the iMac17,1 SMBIOS.

See this Monterey Desktop guide for a similar Z97 system with posts for both options/SMBIOS's - https://www.tonymacx86.com/threads/guide-haswell-system-macos-monterey-12-0-1-oc-0-7-5.317413/

Not sure what you mean you tried VioletDragon's repository without luck, as it contains a number of very useful SSDT's for your system. They may not fix your current dual display issues but they help with a lot of other common issues, when used correctly.
 
Top