Contribute
Register

[Guide] Intel Framebuffer patching using WhateverGreen

Joined
Feb 5, 2017
Messages
3
Motherboard
GA B360M D3H | Z170N
CPU
i5 8400 | i5 6600K
Graphics
UHD 630 | RX 480 8GB
Mac
  1. MacBook Pro
  2. Mac mini
@RehabMan @headkaze

Would like some help to finalize my Mojave 10.14.2 build. My system has an i5-8400, UHD 630, and GA B360N D3H. I'm currently stuck. My system is at a point where I can either get acceleration with no display output or display output without acceleration.

When I have acceleration, my Device ID is set to 00003E9B, but I have no HDMI or DP output and my screen share resolution is SXGA. When I have full 1080p resolution on HDMI/DP and screen share, my UHD 630 has only 7mb VRAM. This is with no Device ID.

How can I combine the two conditions to both have full resolution output and acceleration? I've tried various Framebuffer patches, but I'm just not sure where to go. Please see my attached EFI.

Thank You!
 

Attachments

  • EFI.zip
    3.2 MB · Views: 81
Joined
Dec 9, 2011
Messages
8
Motherboard
GA-Z97X-UD3H BK
CPU
i7-4790K
Graphics
Vega 56 -> 64
Mac
  1. iMac
  2. MacBook Pro
Hey @headkaze and @RehabMan, have a unique question when you have a moment.

Since upgrading to WEG 1.26 I get the black screen issue when attempting to play a DRM protected file in iTunes. Kernel logs show repeated assertions from "pavpSessionCallback" which looks like it's part of the WEG igfx kernel patches:

Code:
2019-01-05 14:33:02.834196-0800  localhost kernel[0]: (Lilu) WhateverGreen:    igfx @ (DBG) pavpSessionCallback: enforcing error on cmd 4 (send to ring?)!

All was working less than a week ago and now can't figure out what is broken. Nor am I able to get iTunes videos working using any configuration (even attempting to downgrade to 1.2.4). Would appreciate any guidance you might have. Some suggestions on an AppleLife page seem to indicate that there was a trade-off between fixing PAVP crashes and enabling HDCP. I also found @RehabMan's comment on a Lilu commit about support having been broken for the i7-8650u (my cpu). Not sure if either of these is related, but it was where my investigation ended.

Thanks in advance.
 

Attachments

  • debug_14669.zip
    5.5 MB · Views: 61
  • hdcp_issues.txt
    18.7 KB · Views: 209
Joined
Aug 5, 2012
Messages
7
Motherboard
Asus Prime H310T/CSM
CPU
i5-8500
Graphics
UHD 630
Mac
  1. MacBook Pro
Hi Rashiki, I have exactly this board and CPU and this problem. But I also don’t get my DP connector to work either. Can you share your EFI folder or at least your config.plist to see what I am doing wrong? I would like to have your problem...

Thanks.

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.
 

Attachments

  • config.plist
    5.9 KB · Views: 132
Joined
Apr 23, 2015
Messages
102
Motherboard
MSI Z690A PRO WIFI DDR4
CPU
i5-12400
Graphics
RX 580
Mac
  1. iMac
  2. MacBook Pro
Mobile Phone
  1. iOS
Some more info here: #77

Thanks for the prompt reply. I read your messages of 2015 but unfortunately I'm not so practical (retired 69-year-old apprentice) and I did not understand how to proceed. I put aside the Nvidia 1050 TI card causes known driver issues. only the IGPU HD 4600 and I can not make it work even with the DP cable but only HDMI 2048x1080 resolution otherwise flickers continuously. If you could give me a little (for you) but great (for me) help detailing the steps to do and possibly with kext, config and anything else attached I would be immensely grateful.
 
Joined
Apr 22, 2010
Messages
77
Motherboard
GA-Z97N-WiFi
CPU
i5 4690K
Graphics
HD 4600
Mac
  1. iMac
  2. MacBook
  3. MacBook Air
  4. MacBook Pro
Classic Mac
  1. eMac
  2. iMac
  3. Performa
  4. Plus
  5. PowerBook
Mobile Phone
  1. iOS
OK, well, there is a combination of still relevant and now (4 years later) outdated information in that thread, so let me sort it out for Jan 2019. Keep in mind that these are only things to try, there is too much variation in hardware to know in advance whether it will work or not. Also, any more detail than this is off-topic for this thread.

1) You need to use WhateverGreen in order to get the pixel-clock high enough for 4k, plus any kind of stability with DRM video. My recommendation is to install using Unibeast/Multibeast for Mojave.

2) Multibeast produces a Clover-based install, and the main point of configuration is Clover's 'config.plist' file. This is where the HD 4600 framebuffer patch will reside (see titus42's post, the lines from "<dict>" to "</dict>"). Those lines go into the "KextsToPatch" section of config.plist: you can use Xcode, Clover Configurator, a text editor, whatever is most comfortable. It all ends up with the same lines in config.plist.

This may take several tries and failures before you learn how to do it exactly right, or it may never work, so it would be safest and quickest to do it as an experiment on a small spare SSD before applying it to a working hackintosh (which would be more effort to reinstall). Enjoy the trial and error, that's the main amusement of fiddling with hackintoshes after all.
 
Joined
Dec 13, 2016
Messages
76
Motherboard
Gigabyte Z270X Ultra Gaming
CPU
i5-7600K
Graphics
970 GTX
Is there any point of doing the Intel framebuffer patching if I'm using a dedicated Nvidia GPU?
 

Feartech

Moderator
Joined
Aug 3, 2013
Messages
25,993
Motherboard
Asus N752VX-OpenCore
CPU
i7-6700HQ / HM170
Graphics
HD 530 1920 x 1080
Mac
  1. iMac
Mobile Phone
  1. iOS
Is there any point of doing the Intel framebuffer patching if I'm using a dedicated Nvidia GPU?
does everything work for you?
 
Joined
Dec 13, 2016
Messages
76
Motherboard
Gigabyte Z270X Ultra Gaming
CPU
i5-7600K
Graphics
970 GTX
does everything work for you?
Yeah, but I read somewhere I think that you could somehow enable hardware encoding with the iGPU (disabled in BIOS now). Is that true, will this guide add that capability?
 
Joined
Feb 5, 2017
Messages
3
Motherboard
GA B360M D3H | Z170N
CPU
i5 8400 | i5 6600K
Graphics
UHD 630 | RX 480 8GB
Mac
  1. MacBook Pro
  2. Mac mini
Yeah, but I read somewhere I think that you could somehow enable hardware encoding with the iGPU (disabled in BIOS now). Is that true, will this guide add that capability?

You could, but honestly you'd probably be better off just using ig-platform-id under graphics in clover. I have an i5 6600k/RX 480 8GB Hackintosh on 10.14.1 (SMBIOS 17,1) with hardware encoding enabled. My ig-platform-id is 0x19120001 to get that to work. For you, the equivalent would probably be 0x59120003 (use SMBIOS 18,3). However, if that doesn't work, try the different id on the first page under Kaby Lake.
 
Last edited:
Top