Contribute
Register

[Guide] Intel Framebuffer patching using WhateverGreen

CaseySJ

Moderator
Joined
Nov 11, 2018
Messages
14,791
Motherboard
Gigabyte Z490 Vision D
CPU
i5-10400
Graphics
RX 580
Mac
  1. MacBook Air
  2. MacBook Pro
  3. Mac Pro
Classic Mac
  1. Quadra
Mobile Phone
  1. iOS
Thank you. I will be working on that and I beleive SSDT ? without using prebuilt ones. As soon as I make progress I will post.
It seems that Asus Z390 boards typically use these settings:
  • Index 2, BusID 0x02, Type HDMI
    • You may not have tried this one yet
  • Index 3, BusID 0x04, Type HDMI
    • You tried this one already
 
Joined
Aug 6, 2013
Messages
50
Motherboard
Asus Maximus CODE XI
CPU
9900K
Graphics
UHD 630
It seems that Asus Z390 boards typically use these settings:
  • Index 2, BusID 0x02, Type HDMI
    • You may not have tried this one yet
  • Index 3, BusID 0x04, Type HDMI
    • You tried this one already

old efi and plist but I got hackintool info
 

Attachments

  • Screen Shot 2021-02-16 at 10.03.36 PM.png
    Screen Shot 2021-02-16 at 10.03.36 PM.png
    739.6 KB · Views: 33
Last edited:
Joined
Aug 6, 2013
Messages
50
Motherboard
Asus Maximus CODE XI
CPU
9900K
Graphics
UHD 630
Finaly 0.6.6 cleaned up EFI and plist no UHD Acceleration.
Understood. Once you have a basic EFI folder (without accelerated iGPU) that boots Big Sur feel free to do the following:
  • Compress and post EFI folder. As always, remove serial numbers from config.plist.
  • Also download and run IORegistryExplorer and post the IOReg file (File --> Save As...).
Finally working 0.6.6 loaded with clean EFI and Plist thanks to allot of help from a friend across the ocean :)
 

Attachments

  • EFI.zip
    16.4 MB · Views: 35
  • Steve’s iMac.ioreg
    4.4 MB · Views: 17
  • Screen Shot 2021-02-17 at 3.50.30 AM.png
    Screen Shot 2021-02-17 at 3.50.30 AM.png
    133.7 KB · Views: 42
  • Screen Shot 2021-02-17 at 3.51.07 AM.png
    Screen Shot 2021-02-17 at 3.51.07 AM.png
    233.4 KB · Views: 42
  • Screen Shot 2021-02-17 at 3.51.43 AM.png
    Screen Shot 2021-02-17 at 3.51.43 AM.png
    772.7 KB · Views: 42
Last edited:

CaseySJ

Moderator
Joined
Nov 11, 2018
Messages
14,791
Motherboard
Gigabyte Z490 Vision D
CPU
i5-10400
Graphics
RX 580
Mac
  1. MacBook Air
  2. MacBook Pro
  3. Mac Pro
Classic Mac
  1. Quadra
Mobile Phone
  1. iOS
Finaly 0.6.6 cleaned up EFI and plist no UHD Acceleration.

Finally working 0.6.6 loaded with clean EFI and Plist thanks to allot of help from a friend across the ocean :)
Please try the attached config.plist. Serial numbers must be copied back into PlatformInfo --> DataHub.
 

CaseySJ

Moderator
Joined
Nov 11, 2018
Messages
14,791
Motherboard
Gigabyte Z490 Vision D
CPU
i5-10400
Graphics
RX 580
Mac
  1. MacBook Air
  2. MacBook Pro
  3. Mac Pro
Classic Mac
  1. Quadra
Mobile Phone
  1. iOS

Attachments

  • config.plist
    17.3 KB · Views: 28
Joined
Aug 6, 2013
Messages
50
Motherboard
Asus Maximus CODE XI
CPU
9900K
Graphics
UHD 630
Ouch, dyslexic me! Attached now.
Your forgiven :) You nailed on the first try what I have been trying for 2 weeks. God bless you. Is there any test I should run to confirm and show you all is good?
 

CaseySJ

Moderator
Joined
Nov 11, 2018
Messages
14,791
Motherboard
Gigabyte Z490 Vision D
CPU
i5-10400
Graphics
RX 580
Mac
  1. MacBook Air
  2. MacBook Pro
  3. Mac Pro
Classic Mac
  1. Quadra
Mobile Phone
  1. iOS
Your forgiven :) You nailed on the first try what I have been trying for 2 weeks. God bless you. Is there any test I should run to confirm and show you all is good?
Glad to hear it!! To confirm, please do the following:
  • Run IORegistryExplorer and scroll down to IGPU@2 once again, then post a screenshot (CMD-Shift-5).
  • Open System Information --> Graphics/Displays and post that screenshot as well.
 
Joined
Aug 6, 2013
Messages
50
Motherboard
Asus Maximus CODE XI
CPU
9900K
Graphics
UHD 630
Glad to hear it!! To confirm, please do the following:
  • Run IORegistryExplorer and scroll down to IGPU@2 once again, then post a screenshot (CMD-Shift-5).
  • Open System Information --> Graphics/Displays and post that screenshot as well.
I know I won't fully understand but could you tell me what my last config was lacking? Just so I can try to understand. Why didn't the advise on opencores coffe lake setup not work ?
AAPL,ig-platform-id Data 07009B3E
framebuffer-patch-enable Data 01000000
framebuffer-stolenmem Data 00003001


Thanks again.
 

Attachments

  • Screen Shot 2021-02-17 at 3.55.58 PM.png
    Screen Shot 2021-02-17 at 3.55.58 PM.png
    109.2 KB · Views: 36
  • Screen Shot 2021-02-17 at 3.57.49 PM.png
    Screen Shot 2021-02-17 at 3.57.49 PM.png
    104.2 KB · Views: 36

CaseySJ

Moderator
Joined
Nov 11, 2018
Messages
14,791
Motherboard
Gigabyte Z490 Vision D
CPU
i5-10400
Graphics
RX 580
Mac
  1. MacBook Air
  2. MacBook Pro
  3. Mac Pro
Classic Mac
  1. Quadra
Mobile Phone
  1. iOS
I know I won't fully understand but could you tell me what my last config was lacking? Just so I can try to understand. Why didn't the advise on opencores coffe lake setup not work ?
AAPL,ig-platform-id Data 07009B3E
framebuffer-patch-enable Data 01000000
framebuffer-stolenmem Data 00003001


Thanks again.
The two screenshots confirm that the iGPU is configured correctly. Your last configuration was lacking connector patches. In other words:
  • AAPL,ig-platform-id sets the appropriate platform ID for a particular CPU (0x3E9B0007 for enabling video output on Coffee Lake).
  • framebuffer-patch-enable simply enables the injection of these attributes. It turns them on and off.
  • framebuffer-stolenmem and framebuffer-fbmem are typically needed only when BIOS itself does not have options to allocate frame buffer memory for IGPU.
  • But what is missing, however, is the fact that when we use Platform ID 0x3E9B0007, macOS assumes that the system has 3 video output ports (known as video "connectors"), and all of them are DisplayPort.
  • But if we have one or more HDMI ports, we need to patch the connector table.
  • The framebuffer-conX properties refer to connectors, of which there are three:
    • con0, con1, con2
  • In your particular case, we added these arguments:
Screen Shot 2021-02-17 at 2.03.30 PM.png

  • Let's look at the first one: framebuffer-con0-alldata, with value 02020900 00080000 C7030000
  • This is a short hand in which we can configure the connector in one line. Here's what those bytes mean:
    • 02 = Index 2
    • 02 = BusID 0x02
    • 0900 = Pipe 9
    • 0008 = HDMI (0004 = DisplayPort)
    • 0000 = <ignore>
    • C7030000 = Connector flags (do not change)
  • So this entry configures Index 2 (port 6) to Bus ID 0x02 and Type HDMI.
  • The next entry configures Index 3 (port 7) to Bus ID 0x04 and Type HDMI.
    • This might be the one that is actually needed by your board. The others will be ignored.
  • The final entry configures Index 1 (port 5) to Bus ID 0x01 and Type DisplayPort.
 
Top