Hey guys I just wanted to say that I have successfully got 4k resolution in macOS Sierra 10.12.1.
Since the instructions are all over the place I thought I'd put them together into one post.
NOTE: These are instructions for the Brix GB-BXi7-4770R. I take no responsibility for bricking your Brix. Follow this procedure at your own risk!
1. First you want to create a bootable USB drive. I used
Rufus for Windows. You can use the built-in FreeDOS image.
2. Extract the attached "F7_BIOS" folder to your USB drive
3. Press F12 when rebooting your PC to select the USB drive
4. Type "cd F7_BIOS" then type "flash.bat". The batch file will execute:
I used
Lauderdale's modified F7 BIOS image (128 MB allocated to VRAM).
NOTE: For those daring people who want to attempt to patch your own you can use AMIBCP.exe to edit the BIOS. Open the BIOS in AMIBCP and from the Setup Configuration tab, expand Chipset->System Agent Configuration->Graphics Configuration. Find the "DVMT Pre-Allocated" option on right window change Optimal setting from 32M to 64M and save.
5. You should see it successfully flash the BIOS. Reboot and press DEL to get into BIOS. Reset back to optimised defaults. Go to Advanced->Chipset->CFG Lock to Disable and Boot->CSM parameters Enable. You may need to fix your boot order to boot back into Clover.
6. Download and execute the
mac-pixel-clock-patch-V2. For macOS 10.12 you will specifically need the
CoreDisplay-patcher.command. I had to run "chmod u+x ./CoreDisplay-patcher.command" to make it executable.
7. Place this patch in the KextsToPatch section of your Clover's Config.plist. It increases the buffers for 4k display.
Code:
<dict>
<key>Name</key>
<string>AppleIntelFramebufferAzul</string>
<key>Find</key>
<data>AwAiDQADAwMAAAACAAAwAQ==</data>
<key>Replace</key>
<data>AwAiDQADAwMAAAAEAAAAAw==</data>
<key>Comment</key>
<string>Increase buffer for 4K (64 MB RAM / 48 MB Framebuffer)</string>
</dict>
8. Add the LoadVBios / PatchVBios to the Graphics settings.
Code:
<key>Graphics</key>
<dict>
<key>Inject</key>
<dict>
<key>ATI</key>
<false/>
<key>Intel</key>
<true/>
<key>NVidia</key>
<false/>
</dict>
<key>LoadVBios</key>
<true/>
<key>PatchVBios</key>
<true/>
<key>ig-platform-id</key>
<string>0d220003</string>
</dict>
9. Run "sudo defaults write /Library/Preferences/com.apple.windowserver.plist DisplayResolutionEnabled -bool true" to enable HiDPI (retina) modes.
10. Now reboot and go to System Preferences->Displays. Hold down the OPTION / ALT key and press the "Scaled" setting to get the additional 4k resolutions.
11. Some people recommend
SwitchResX but it is not needed. I bought it anyway as it is a nice and easy way to switch resolutions from the menu bar.
That should be it! Well done on getting 4k for your Brix hackintosh!