Contribute
Register

nⓩxtMac Pro - i9-9900k - Gigabyte Aorus z390 Pro - macOS Mojave - Sapphire Vega 64 Reference

Joined
May 4, 2018
Messages
123
Motherboard
Gigabyte Z390 Aorus Pro
CPU
i9-9900K
Graphics
Vega 64
Mac
iMac, MacBook Pro, Mac Pro
Mobile Phone
iOS
Update (04/12/2019):
Installed GC-Titan-Ridge TBT3 AIC. Upgraded PSU to EVGA 850 P2, with CableMod cables.

Update (02/27/2019):
Some changes made to formatting, added information, and updated SSDT-UIAC for USB map.

Update (02/25/2019):
I will be doing a massive overhaul of this guide over the coming weeks. 64GB memory kit is complete.

Update (02/10/2019):
I swapped my h100i AIO out for an NZXT Kraken X52 for aesthetic and performance purposes. Fan configuration is push/pull (very tight in the h500I case).


Components

GIGABYTE Z390 AORUS PRO Motherboard
https://www.amazon.com/dp/B07HRZRBRJ/?tag=tonymacx86com-20
https://www.newegg.com/Product/Product.aspx?Item=N82E16813145098

Intel Core i9-9900K Processor
https://www.amazon.com/dp/B005404P9I/?tag=tonymacx86com-20
https://www.newegg.com/Product/Product.aspx?Item=9SIAAM18E33412

NZXT H500i ATX Case
https://www.amazon.com/dp/B07C3STSDB/?tag=tonymacx86com-20
https://www.newegg.com/Product/Product.aspx?item=N82E16811146284

CORSAIR Vengeance RGB Pro 32GB 2666MHz x2
https://www.amazon.com/dp/B07GSKMJ6D/?tag=tonymacx86com-20

EVGA 850w P2
https://www.amazon.com/dp/B010HWDOH6/?tag=tonymacx86com-20

Sapphire AMD Radeon Vega 64 8GB
https://www.amazon.com/dp/B074HCCWW9/?tag=tonymacx86com-20



Already Owned

SAPPHIRE Nitro+ RX 580
https://www.amazon.com/dp/B071QX74F9/?tag=tonymacx86com-20
https://www.newegg.com/Product/Product.aspx?Item=N82E16814202280


EVGA 750W GQ Power Supply
https://www.amazon.com/dp/B017HA3RGE/?tag=tonymacx86com-20
https://www.newegg.com/Product/Product.aspx?Item=9SIA6ZP3R86346


Broadcom BCM94360CD
https://www.amazon.com/dp/B012LOT512/?tag=tonymacx86com-20

Samsung 960 PRO Series 1TB PCIe NVMe M.2 SSD
https://www.amazon.com/dp/B01LYRCIPG/?tag=tonymacx86com-20
https://www.newegg.com/Product/Product.aspx?Item=9SIA12K54C9645



Comments

To be frank, this is far more of an upgrade than a new build, but I figured with a new system core (processor, motherboard), and an overall new look, this would be more appropriate. I built my first ‘Hackintosh’ in May 2018, and, while the system itself was a complete monster, my workload soon began to outpace the capability of the system, most notably the i7 -700. Crazy, I know. Luckily, Intel has very recently dropped their i9-9900K, which I was hoping would be a successful successor to this monster I managed to build previously.


New Hacks: Install & First Steps

1. Change BIOS Settings

Save & ExitLoad Optimized Defaults

BIOS → Fast Boot : Disabled

BIOS → LAN PXE Boot Option ROM : Disabled

BIOS → Storage Boot Option Control : UEFI

Peripherals → Trusted Computing → Security Device Support : Disable

Peripherals → Network Stack Configuration → Network Stack : Disabled

Peripherals → USB Configuration → Legacy USB Support : Enabled

Peripherals → USB Configuration → XHCI Hand-off : Enabled

Chipset → Vt-d : Disabled (Important for our overclock later!)

Chipset → Internal Graphics → Enabled

Chipset → DVMT Pre-Alloc → 64M

Chipset → DVMT Total Gfx Mem → 256M

Chipset → Audio Controller → Enabled

Chipset → Above 4G Decoding → Enabled

Chipset → Wake on LAN Enable : Disabled

Chipset → IOAPIC 24-119 Entries : Enabled

2. Prepare USB Installer with UniBeast for Mojave


2a. Make some minor modifications to USB EFI Partition using Clover Configurator

• Open USB Stick EFI Partition, navigate to EFI/CLOVER/

• Drag config.plist onto Clover Configurator app icon to open

System Parameters → Inject Kexts : Yes

SMBIOS → Product Name : iMac18,3 (Headless iGPU) / Macmini8,1 (iGPU Display)

Boot:

Darkwake=0 dart=0 debug=0x100 slide=0 shikivga=40

Rt Variables → CsrAcrtiveConfig : 0x67

• Close Clover Configurator, select "OK" if warning dialog for permanent volume storage

2b. Add a few kexts to the USB Stick EFI Partition → EFI/CLOVER/kexts/Other Folder

+ Lilu.kext

+ Whatevergreen.kext

+ USBInjectAll.kext

+
FakeSMC/VirtualSMC (Your choice - i'm using VirtualSMC currently)

2c. Add these to the USB Stick EFI Partition → EFI/CLOVER/drivers64UEFI Folder

  • EmuVariableUefi-64.efi
  • OsxAptioFix2Drv-free2000.efi
2d. Create "Post Installation" Folder on your USB stick main partition and add Clover Configurator


3. Install Mojave

3a. Restart

3b. Hold F12 during BIOS to enter boot menu

3c. Select your USB Stick EFI (For best results, insert the USB in a USB 2.0 port.)

3d. When installer boots, enter Disk Utility and format "Erase" the SSD. Choose the recommended filesystem option (Journaled). I went with APFS.

3e. Exit Disk Utility

3f. Install macOS Mojave

4. Copy EFI from USB Stick to Main Hard drive


4a. Open Clover Configurator on your USB stick main Partition

4b. Mount EFI → SSD → Mount Partition

4c. Mount EFI → SSD → Open Partition

4d. Mount EFI → USB Stick → Mount Partition

4e. Mount EFI → USB Stick → Open Partition

4f. Copy the entire contents from the USB Stick EFI volume to the SSD EFI Volume (Replace)

5. Post Install

Get iMessage and iCloud working.

Create a custom SSDT for USBInjectAll.kext



USBInjectAll.kext and SSDT with the GIGABYTE Aorus Pro Z390

One of the very first things one should always do after successful install or upgrade is create a custom SSDT for USB injection. I won’t go into too many details here, as @RehabMan’s guide linked above covers every aspect of the process in extremely fine and clear detail. What I will say about this, is what my port configuration ended up looking like.

· HS01 – Unused

· HS02 – Unused

· HS03 – Down and 2 Left of Aorus Logo

· HS04 – Down and Left of Aorus Logo

· HS05 – Up one row from Ethernet, and far left.

· HS06 – USB-C (w/Switch)

· HS07 – 2 Left of Ethernet

· HS08 – Left of Ethernet

· HS09 – Front USB (Next to Power Switch in my case)

· HS10 – Front USB (Second away from Power Switch in my case)

· HS11 – Internal USB 2.0 Header, populated by my NZXT USB Hub

· HS12 – Unused

· HS13 – 4x USB 2.0 Ports in the top row of IO


All ports work with zero issues.


My Overclock

1. CPU & Ram

1. Enter the BIOS by pressing the “Delete” button

2. Enter “Advanced Frequency Settings”

3. RAM:

a. Change XMP to “Profile 1” .

4. CPU Multiplier:

The formula to calculate the frequency of your CPU is: CPU Base Clock * CPU Clock Ratio. The Intel i9-9900K CPU has a Base Clock of 100 and CPU Clock Ratio of 47 for a frequency of 100 * 47 = 4700MHz. In this guide I will be overclocking to 5.1GHz for a 400MHz increase. Set your CPU Clock Ratio to “51”.

  • Use Page UP and Page Down to Set your “CPU Clock Ratio” to 5100MHz.
  • Disable “Enhanced Multi-Core Performance”
  • Enter “Advanced CPU Core Settings”
  • Change “Uncore Ratio” to 4700MHz (Currently testing 4800MHz)
  • Disable “Ring to Core offset (Down bin)”
  • Hit “ESC” twice to return to the main M.I.T. screen, and enter “Advanced Voltage Settings”
  • Enter “Advanced Power Settings”
  • Set “CPU Vcore Loadline Calibration” to “Extreme”
  • Go back one page (ESC) or from the main BIOS page (M.I.T) select “Advanced Voltage Control”, then Select “CPU Core Voltage Control”
  • CPU Vcore: Raising this helps keeps the system stable at higher CPU frequencies. However, it also increases the amount of heat your CPU produces. I suggest you keep Vcore under 1.35V depending on your CPU cooling solution. Most CPU’s should be able to overclock to 5.1GHz on all the cores at this voltage, however CPUs are not all created equally. Some may need more voltage, some less.
  • Set Vcore to “1.25” to start. If your system is not stable raise the voltage in increments of .01 with a maximum of 1.40V.
*Note that changing Vcore voltage also changes your Uncore voltage since they share the same power rail.

  • Set all of the Power Limit TDP (Watts) options to “4000”. Don't worry - this won't allow your processor to pull 4k watts. What it WILL do is remove the artificial limit imposed by Intel. A little further down, make set Core Current Limit (Amps) to 255. While you're down there, make sure Voltage Optimization is Disabled as well. This should be disabled already from disabling “Enhanced Multi-Core Performance”.
  • Head over to the “Save & Exit” page, to save your new profile. After you’ve named and saved your profile, “Save & Exit Setup” to enjoy your new overclock.

9900K and the iGPU
dGPU + Headless iGPU
  • SMBIOS: Use either iMac18,3 or iMacPro1,1.
  • Devices: IntelGFX = 0x0
  • Devices: Devices* = PCIRoot(0x0)/Pci(0x2,0x0)
    Properties:
    • Key = framebuffer-patch-enable | Value = 01000000 | Type = Data
    • Key = AAPL,ig-platform-id | Value = 0300923E | Type = Data (you may also try 0300913E)
    • Key = device-id | Value = 9B3E0000 | Type = Data
  • Graphics: FB Name = Orinoco (only for RX580)
  • Graphics: ig-platform-id = <make sure this is empty>
  • Graphics: Inject Intel = false
  • Graphics: Inject ATI = false

iGPU Display through HDMI +/- RX580

  • SMBIOS: Use Macmini8,1.
  • Graphics: Totally empty. No ig-platform-id, no Inject**
Add the following to your config.plist using a text editor (BBCode, textWrangler, Sublime, etc..) or through Text Mode in Clover Configurator then Synchronize and Save. Place this under <key>Devices</key>.

Code:
<key>PciRoot(0x0)/Pci(0x2,0x0)</key>
            <dict>
                <key>AAPL,ig-platform-id</key>
                <data>
                BwCbPg==
                </data>
                <key>AAPL,model</key>
                <string>Intel UHD 630</string>
                <key>AAPL,slot-name</key>
                <string>Internal</string>
                <key>device-id</key>
                <data>
                mz4AAA==
                </data>
                <key>device_type</key>
                <string>Graphics Processor</string>
                <key>enable-hdmi20</key>
                <data>
                AQAAAA==
                </data>
                <key>framebuffer-con0-busid</key>
                <data>
                BQAAAA==
                </data>
                <key>framebuffer-con0-enable</key>
                <data>
                AQAAAA==
                </data>
                <key>framebuffer-con0-flags</key>
                <data>
                xwMAAA==
                </data>
                <key>framebuffer-con0-index</key>
                <data>
                AQAAAA==
                </data>
                <key>framebuffer-con0-pipe</key>
                <data>
                EgAAAA==
                </data>
                <key>framebuffer-con0-type</key>
                <data>
                AAQAAA==
                </data>
                <key>framebuffer-con1-busid</key>
                <data>
                BgAAAA==
                </data>
                <key>framebuffer-con1-enable</key>
                <data>
                AQAAAA==
                </data>
                <key>framebuffer-con1-flags</key>
                <data>
                xwMAAA==
                </data>
                <key>framebuffer-con1-index</key>
                <data>
                AgAAAA==
                </data>
                <key>framebuffer-con1-pipe</key>
                <data>
                EgAAAA==
                </data>
                <key>framebuffer-con1-type</key>
                <data>
                AAQAAA==
                </data>
                <key>framebuffer-con2-busid</key>
                <data>
                BAAAAA==
                </data>
                <key>framebuffer-con2-enable</key>
                <data>
                AQAAAA==
                </data>
                <key>framebuffer-con2-flags</key>
                <data>
                xwMAAA==
                </data>
                <key>framebuffer-con2-index</key>
                <data>
                AwAAAA==
                </data>
                <key>framebuffer-con2-pipe</key>
                <data>
                EgAAAA==
                </data>
                <key>framebuffer-con2-type</key>
                <data>
                AAgAAA==
                </data>
                <key>framebuffer-con3-busid</key>
                <data>
                AAAAAA==
                </data>
                <key>framebuffer-con3-enable</key>
                <data>
                AQAAAA==
                </data>
                <key>framebuffer-con3-flags</key>
                <data>
                IAAAAA==
                </data>
                <key>framebuffer-con3-index</key>
                <data>
                /////w==
                </data>
                <key>framebuffer-con3-pipe</key>
                <data>
                AAAAAA==
                </data>
                <key>framebuffer-con3-type</key>
                <data>
                AQAAAA==
                </data>
                <key>framebuffer-patch-enable</key>
                <data>
                AQAAAA==
                </data>
            </dict>

Top score here is my new i9-9900k, the bottom score is my old i7-8700
 

Attachments

Last edited:
Joined
May 12, 2018
Messages
106
Motherboard
Gigabyte Z370 Gaming 7
CPU
i7 8700k @4.9GHz
Graphics
GTX 1080
Mac
MacBook Pro
Mobile Phone
iOS
Can you share if "sleep" & "shutdown" are working properly?

How's the H100i v2 handling the heat of the 9900k under load with your overclock?
 
Joined
May 4, 2018
Messages
123
Motherboard
Gigabyte Z390 Aorus Pro
CPU
i9-9900K
Graphics
Vega 64
Mac
iMac, MacBook Pro, Mac Pro
Mobile Phone
iOS
Can you share if "sleep" & "shutdown" are working properly?

How's the H100i v2 handling the heat of the 9900k under load with your overclock?
Sleep and Shutdown are working perfectly. The H100i v2 is alright, though i've been experimenting with a 5.2 GHz overclock and it definitely struggles to keep the i9 under control. I have actually even added an additional fan on the other side of the mounting bracket for a push/pull towards the in/out at the top of the rad. Last night my Cinebench peaked at 99c on one core, the rest were mid-80's and low 90's. Not ideal, but not totally detrimental. I am currently planning out a custom loop, which may end up being soft tubing just because of the allotted space in the H500i case. Alternatively, I may grab a pair of the non-poo colored Noctua fans to replace the corsair fans mounted to the rad. Most definitely a cheaper option. :lol:
 
Joined
May 4, 2018
Messages
123
Motherboard
Gigabyte Z390 Aorus Pro
CPU
i9-9900K
Graphics
Vega 64
Mac
iMac, MacBook Pro, Mac Pro
Mobile Phone
iOS
Why do you use OsxAptioFix2Drv-free2000.efi?
I re-used my NVMe from my previous hack, which had an MSI B360 Gaming Plus mobo. I booted when the system was totally built, expecting more than a few issues, except that the OsxAptioFix2Drv-free2000.efi worked right out of the gate, and I had been reading about issues pertaining to NVRAM not acting like expected with the Aorus Z390 line in Hackintosh setups, so I decided to leave that and EMuVariableUefi-64.efi in place. I have zero NVRAM issues. The only config.plist changes I had to make were to remove the busratio i'd configured, and nv_disable.
 
Joined
May 17, 2012
Messages
192
Motherboard
Gigabyte Z390 Aorus Pro
CPU
i9-9900K
Graphics
Dual Vega 64’s
Mac
iMac, MacBook Pro
Mobile Phone
Android, iOS
I just ordered the board you have and the i9-9900K. I'll be using my Vega 64 from the old hackintosh. Basically, I can use your EFI folder and SSDT file and be up and running correct? Of course, in the SMBIOS I will setup for a new serial and all. I was looking for this setup using a i9-9900K. I do FCPX stuff a lot and need the power. Once this is all up and going, I'll add a second Vega. The worst part I hate is the USB mapping with yours I should be OK.
 
Joined
May 4, 2018
Messages
123
Motherboard
Gigabyte Z390 Aorus Pro
CPU
i9-9900K
Graphics
Vega 64
Mac
iMac, MacBook Pro, Mac Pro
Mobile Phone
iOS
I just ordered the board you have and the i9-9900K. I'll be using my Vega 64 from the old hackintosh. Basically, I can use your EFI folder and SSDT file and be up and running correct? Of course, in the SMBIOS I will setup for a new serial and all. I was looking for this setup using a i9-9900K. I do FCPX stuff a lot and need the power. Once this is all up and going, I'll add a second Vega. The worst part I hate is the USB mapping with yours I should be OK.
If you're using the Pro (non-Wifi) I would be genuinely surprised if you didn't have immediate success using my EFI folder. I've since cleaned it up a little bit, though. The newer 'clean' version is attached for reference.
 

Attachments

Joined
May 17, 2012
Messages
192
Motherboard
Gigabyte Z390 Aorus Pro
CPU
i9-9900K
Graphics
Dual Vega 64’s
Mac
iMac, MacBook Pro
Mobile Phone
Android, iOS
If you're using the Pro (non-Wifi) I would be genuinely surprised if you didn't have immediate success using my EFI folder. I've since cleaned it up a little bit, though. The newer 'clean' version is attached for reference.
I ordered the board from your link and the i9. Already had water cooling Corsair and memory. Basically just switching out my board and CPU. I’m coming from a old i7-6700K. I hope to see big gains in FCPX as this is the main reason I’m doing the upgrade. Hopefully my next goal is dual Vega 64’s. Everything should be here tomorrow and will report as I go.
 
Joined
May 4, 2018
Messages
123
Motherboard
Gigabyte Z390 Aorus Pro
CPU
i9-9900K
Graphics
Vega 64
Mac
iMac, MacBook Pro, Mac Pro
Mobile Phone
iOS
I ordered the board from your link and the i9. Already had water cooling Corsair and memory. Basically just switching out my board and CPU. I’m coming from a old i7-6700K. I hope to see big gains in FCPX as this is the main reason I’m doing the upgrade. Hopefully my next goal is dual Vega 64’s. Everything should be here tomorrow and will report as I go.
Congratulations on the upgrade. Definitely let me know how it goes! What GPU are you currently using? A lot of FCPX is GPU bound, but you will absolutely notice the difference in the 9900k vs your 6700k. I came from an 8700 (non-k) and the speed differential is astounding. Some tasks that would pin my CPU to 100% for 10-15 minutes at a time are done in 3-4 seconds now. I can't sing the praises of this processor+mobo combo enough.
 
Joined
May 17, 2012
Messages
192
Motherboard
Gigabyte Z390 Aorus Pro
CPU
i9-9900K
Graphics
Dual Vega 64’s
Mac
iMac, MacBook Pro
Mobile Phone
Android, iOS
Congratulations on the upgrade. Definitely let me know how it goes! What GPU are you currently using? A lot of FCPX is GPU bound, but you will absolutely notice the difference in the 9900k vs your 6700k. I came from an 8700 (non-k) and the speed differential is astounding. Some tasks that would pin my CPU to 100% for 10-15 minutes at a time are done in 3-4 seconds now. I can't sing the praises of this processor+mobo combo enough.
I originally built using a 980ti then went to the 1080ti. Last week the Vegas had a huge drop in price so I ordered it and installed last Friday. It has made a major difference to FCPX. After i get this going I’m doing dual Vega 64’s. I can watch the CPU load when outputting a master file in FCPX and it Max’s out my 6700k which I have overclocked to 4.9GHZ. I don’t think I will over clock this yet. I see as I am doubling my CPU cores, I should see a huge increase. Now if Newegg keeps the Vegas on sale I should be able to run dual.

Ive been lucky to use the new MacBook Pro I9 32 Ram Vega 20. It’s a beast that’s what lead me to use the Vega 64.

Edit: One last thing how did you setup the i9 to be shown correctly in OSX. I looked at your SSDT file and didn’t see it. Did it just know it?
 
Last edited:
Top