Contribute
Register

[Guide] Intel Framebuffer patching using WhateverGreen

Glad I could help. I'm also looking forward to when someone documents a config for WhateverGreen that accomplishes the same thing. Even better, I would think that, ideally, a utility like that would automatically maximize the specs of any GPU it enabled. A few megabytes for framebuffer expansion is a negligible cost.
 
Hey, @vzmr82, I was able to get the Asus Prime H310T/CSM working with both HDMI and DP.
I switched my platform-id from 3e9b0007 to 3ea50000 because it seemed to better match my ioreg, but I noticed that when I plugged in my HDMI cable, I would see this in the console:
Code:
FB2: Hot plug on port2
FB2: Display unplugged from port2
fb2 : DP-EDID set offset failed: 0xe00002d6

Which confirmed that the HDMI port is FB2 and that it's active.
Searching for that EDID error led me to this thread: https://www.tonymacx86.com/threads/uhd-630-no-hdmi-audio.265490/
and a suggestion to use AAPL02,override-no-connect.
I used a config.plist from black.dragon74 as a sample. My latest config.plist is attached.
 

Attachments

  • config.plist
    6.6 KB · Views: 192
You wrote in the description: " So if you want your platform-id to be 0x3EA50009 first reverse the bytes (0900A53E) then use Xcode's plist editor to add the values to Clover's config.plist."

How can I reverse bytes? With which tool should I use for that?

Thank you!
 
You wrote in the description: " So if you want your platform-id to be 0x3EA50009 first reverse the bytes (0900A53E) then use Xcode's plist editor to add the values to Clover's config.plist."

How can I reverse bytes? With which tool should I use for that?

Thank you!

You don't need a tool - it's quite simple. Each pair of numbers is a byte. If the platform-id was 0x12345678 you would enter <78563412> into xcode.
 
Hello Rael11,
I'm sorry if I still apply to you but I have another small problem and since your DCMac has almost the same configuration I ask you.
As said yesterday with the patch you showed me now Mojave works at all resolutions and refresh at 60mhz. only I have to always start with HDMI cable and then I can remove this and go to the DP cable otherwise during booting does not start the classic Clover screen but only text as shown in the attached photo. Windows 10 does not boot right with HDMI but requires only DP.
So it's a continuous and annoying change of cables.
I also updated the bios of the Z87x-ud3h to the F8 version and made some changes but with no results. I do not think Clover and Mojave are guilty for this because with HDMI they work properly. I think rather that it is some configuration of the wrong bios, I enclose photos of my configurations.
what connection and what configurations do you use?
what is it advisable to do?
IMG_4640.jpgIMG_4645.jpgIMG_4646.jpgIMG_4649.jpgthank you
 
Here's the config.plist that works for me with DisplayPort. I've also tried playing around with the SMBIOS values.
iMac18,2 or iMac18,3 had glitchy graphics, but iMac18,1 seems fine.
Macmini8,1 booted up fine, but all USB ports were dead.

DisplayPort works only if I plug in a DP to DP cable. If I use the same port and plug in a DP to HDMI cable (same monitor, even, just a different input on the monitor), there's no signal. It makes me think MacOS is looking for some sort of handshake that only works over DP natively.
Hey, @vzmr82, I was able to get the Asus Prime H310T/CSM working with both HDMI and DP.
I switched my platform-id from 3e9b0007 to 3ea50000 because it seemed to better match my ioreg, but I noticed that when I plugged in my HDMI cable, I would see this in the console:
Code:
FB2: Hot plug on port2
FB2: Display unplugged from port2
fb2 : DP-EDID set offset failed: 0xe00002d6

Which confirmed that the HDMI port is FB2 and that it's active.
Searching for that EDID error led me to this thread: https://www.tonymacx86.com/threads/uhd-630-no-hdmi-audio.265490/
and a suggestion to use AAPL02,override-no-connect.
I used a config.plist from black.dragon74 as a sample. My latest config.plist is attached.

Thanks, Rashiki. I had already switched from HDMI to DP, and the hackintosh is now pretty stable. I have completed the USB mapping according to the FBPatch thread, and I can sleep and shutdown OK. All that with 0x3e9b0007 platform-id.

I have only one problem. When switching back and forth my KVM Switch, sometimes the screen doesn't turn on or turns on with flickering... doing a fast switch again usually solves the problem and I get a stable system.

I will try your 0x3EA50000 later today, when I am at home, to see if I get a more stable system. The thread of black.dragon74 regarding AAPL02,override-no-connect is, at the moment, a little bit out of my league.

I will post the results here.

Thanks.
 
Hello,
I'd like to get three monitor working on Skylake i5-6500 HD530 (DELL Optiplex 5040 - 2xDP and 1 HDMI)
I have used 0x1912000 (only two usable ports) for as long as I can remember and a couple of patches to get dual 27" screen 1DP & 1HDMI working. I would really want to connect a third display to the remaining DP (a 20"). I can get either of the DP to work, but not both at the same time.

It seems that using FB 0x193B0005 I could get a better solution.

https://www.tonymacx86.com/threads/...fter-patching-framebuffer.269179/post-1891355

Intel HD Graphics 530:
Chipset Model: Intel HD Graphics 530
Type: GPU
Bus: Built-In
VRAM (Dynamic, Max): 1536 MB
Vendor: Intel
Device ID: 0x193b
Revision ID: 0x0006
Metal: Supported, feature set macOS GPUFamily2 v1

Displays:
DELL P2717H:
Resolution: 1920x1080 (1080p FHD - Full High Definition)
UI Looks like: 1920 x 1080 @ 60 Hz
Framebuffer Depth: 30-Bit Colour (ARGB2101010)
Display Serial Number: -----
Mirror: Off
Online: Yes
Rotation: Supported
Automatically Adjust Brightness: No

DELL P2717H:
Resolution: 1920x1080 (1080p FHD - Full High Definition)
UI Looks like: 1920 x 1080 @ 60 Hz
Framebuffer Depth: 30-Bit Colour (ARGB2101010)
Display Serial Number: ------
Main Display: Yes
Mirror: Off
Online: Yes
Rotation: Supported
Automatically Adjust Brightness: No
Connection Type: DisplayPort

DELL P2210:
Resolution: 1680x1050 (Widescreen Super eXtended Graphics Array Plus)
UI Looks like: 1680 x 1050 @ 60 Hz
Framebuffer Depth: 30-Bit Colour (ARGB2101010)
Display Serial Number: ------
Mirror: Off
Online: Yes
Rotation: Supported
Automatically Adjust Brightness: No
Connection Type: DisplayPort
EDIT 2:
Since I have three screen working, I can no longer play Twitter videos with Vivaldi, and some fields are looking odd, see the blue selection focus
Screenshot 2019-01-09 at 15.28.29.png
 

Attachments

  • Dell5040_TS_files.zip
    4.7 MB · Views: 154
Last edited:
Hello,
I'd like to get three monitor working on Skylake i5-6500 HD530 (DELL Optiplex 5040 - 2xDP and 1 HDMI)
I have used 0x1912000 (only two usable ports) for as long as I can remember and a couple of patches to get dual 27" screen 1DP & 1HDMI working. I would really want to connect a third display to the remaining DP (a 20"). I can get either of the DP to work, but not both at the same time.

It seems that using FB 0x193B0005 I could get a better solution. Though I can't get it to work
FB0 - Dummy - 00000800 02000000 98000000
FB1 - HDMI - Port 0x5 - Bus ID 05 - 01050900 00040000 C7010000 needs patching (04 to 08) to change port type
FB2 - DP - Port 0x6 - Bus ID 04 - 02040A00 00040000 C7010000
FB3 - DP - Port 0x7 - Bus ID 06 - 03060A00 00040000 C7010000

The problem is that I can't get the patch to work.
I'm using latest Lilu and WEG

I've attached configuration files and debug log from WEG
Thanks for your help

EDIT: I figured it out
kept ig-platform-id 0x0193B0005 (set in devices section and in Graphics)

Patching port 5 to HDMI
AppleIntelSKLGraphicsFramebuffer
Find: <01050900 00040000 C7010000>
Replace: <01050900 00080000 C7010000>

No other patch

Intel HD Graphics 530:
Chipset Model: Intel HD Graphics 530
Type: GPU
Bus: Built-In
VRAM (Dynamic, Max): 1536 MB
Vendor: Intel
Device ID: 0x193b
Revision ID: 0x0006
Metal: Supported, feature set macOS GPUFamily2 v1

Displays:
DELL P2717H:
Resolution: 1920x1080 (1080p FHD - Full High Definition)
UI Looks like: 1920 x 1080 @ 60 Hz
Framebuffer Depth: 30-Bit Colour (ARGB2101010)
Display Serial Number: -----
Mirror: Off
Online: Yes
Rotation: Supported
Automatically Adjust Brightness: No

DELL P2717H:
Resolution: 1920x1080 (1080p FHD - Full High Definition)
UI Looks like: 1920 x 1080 @ 60 Hz
Framebuffer Depth: 30-Bit Colour (ARGB2101010)
Display Serial Number: ------
Main Display: Yes
Mirror: Off
Online: Yes
Rotation: Supported
Automatically Adjust Brightness: No
Connection Type: DisplayPort

DELL P2210:
Resolution: 1680x1050 (Widescreen Super eXtended Graphics Array Plus)
UI Looks like: 1680 x 1050 @ 60 Hz
Framebuffer Depth: 30-Bit Colour (ARGB2101010)
Display Serial Number: ------
Mirror: Off
Online: Yes
Rotation: Supported
Automatically Adjust Brightness: No
Connection Type: DisplayPort
I have and asus h170m plus motherboard and the same processor (desktop version) can you help me out ?

If i put "wrong" plataform id i have a stable os but with graphics card only show 6mb, if i put the 19120000 i get 1500Mb but i cannot use the os, because i get a lot of glichts and screen freezes

Thanks
 
The first step in these instructions is to remove everything related to graphics (kexts, intel inject, ig-platform etc), but then it obviously wont boot like that, so what am I missing?
 
Back
Top