- Joined
- Apr 28, 2011
- Messages
- 909
- Motherboard
- Asus Prime Z690M-Plus D4
- CPU
- i7-12700KF
- Graphics
- RX 6600
- Mac
- Mobile Phone
Giacomoleopardo's Mostro Workstation
Dual Intel® Xeon® Processor E5-2687W v1 - Asus Z9PE-D8 WS - NVIDIA Quadro K5000
El Capitan 10.11.6 UEFI Clover - Step by Step install guide
Dual Intel® Xeon® Processor E5-2687W v1 - Asus Z9PE-D8 WS - NVIDIA Quadro K5000
El Capitan 10.11.6 UEFI Clover - Step by Step install guide
Components
Asus Z9PE-D8 WS Motherboard
https://www.amazon.comdp/B007KGXY0K/
http://www.newegg.com/Product/Product.aspx?Item=N82E16813131817R
Intel® Xeon® Processor E5-2687W
https://www.amazon.com/dp/B007H29EAQ/
NVIDIA Quadro K5000 4GB GDDR5 Graphics card
https://www.amazon.com/dp/B009L8E4UO/
http://www.newegg.com/Product/Product.aspx?Item=9SIA4GH3D90564
Obsidian Series® 750D Full Tower ATX Case - Corsair
https://www.amazon.com//dp/B00EB6O4N8/
http://www.newegg.com/Product/Product.aspx?Item=N82E16811139024
CORSAIR Vengeance® — 64GB Quad Channel DDR3 Memory Kit (CMZ64GX3M8A1866C9)
https://www.amazon.com/dp/B009PV2I32/
http://www.newegg.com/Product/Product.aspx?Item=N82E16820233384
SSD Samsung 840 EVO - 1 TB - 2.5" SATA III
https://www.amazon.com/dp/B00E3W16OU/
http://www.newegg.com/Product/Product.aspx?Item=9SIAADF3YT4138
2x Seagate 2TB Desktop HDD SATA 6Gb/s 64MB Cache 3.5-Inch Internal Bare Drive (ST2000DM001)
https://www.amazon.com/dp/B005T3GRN2/
http://www.newegg.com/Product/Product.aspx?Item=9SIA2W01HP4646
2x Corsair Hydro Series™ H60 High Performance Liquid CPU Cooler
https://www.amazon.com/dp/B00A0HZMGA/
http://www.newegg.com/Product/Product.aspx?Item=N82E16835181030
Corsair AX1200i Digital ATX Power Supply — 1200 Watt 80 PLUS® Platinum Certified Fully-Modular PSU
https://www.amazon.com/dp/B008Q7HUR0/
http://www.newegg.com/Product/Product.aspx?Item=9SIA98C3SB5918
TP-LINK N900 2.4GHz or 5GHz up to 450Mbps Wireless Dual Band PCI Express Adapter (TL-WDN4800)
https://www.amazon.com/dp/B007GMPZ0A/
http://www.newegg.com/Product/Product.aspx?Item=N82E16833704133
Syba Low Profile PCI-Express 1394b/1394a (2B1A) Card, TI Chipset, Extra Regular Bracket SD-PEX30009
https://www.amazon.com/dp/B002S53IG8/
http://www.newegg.com/Product/Product.aspx?Item=9SIA6J02BU1375
LG Electronics Internal Super Multi Drive Optical Drives GH24NSC0B
https://www.amazon.com/dp/B00MOUBYDQ/
http://www.newegg.com/Product/Product.aspx?Item=9SIA2W03R93310
Already owned
My three monitors:
- 27" Apple Cinema Display (MiniDisplay Port) - 2560 x 1440 - DisplayPort Audio + USB Audio
- 24" Apple Cinema Display (MiniDisplay Port) - 1920 x 1200 - USB Audio
- 23,5 Asus VN247 (HDMI) - 1920 x 1080 - HDMI Audio
- 24" Apple Cinema Display (MiniDisplay Port) - 1920 x 1200 - USB Audio
- 23,5 Asus VN247 (HDMI) - 1920 x 1080 - HDMI Audio
Apple Wired Keyboard
https://www.amazon.com/dp/B005DPF08E/
http://www.newegg.com/Product/Product.aspx?Item=9SIA37820R9906
My little skylake Hackintosh on ASRock Fatal1ty Z170 Gaming-ITX/ac + Intel® Core™ i7-6700
Comments
As I wrote in my Triplets guide, here's the steps to update the "Mostro", a rig I built about three years ago, when I installed the good old Mountain Lion with Chimera Legacy bootloader. Well, time to update the beast to make it work alongside its three "little" X99 sisters! I know, there are newer builds, and way more powerful than this boy, but I used to call it Mostro because of the size, you know... And still, it has a lot more to give to the cause.
Huge and valuable threads are spread all over the net (a lot of them on this forum), so I gathered information to make a useful (I hope) guide to those who have Sandy Bridge - E processors (Xeon v1) with lack of power management.
I must admit: this machine still amazes me! All right, let's go.
What works
- SpeedSteps and Power Management - ONLY WITH SPECIFIC BIOS SETTINGS AND 3,1 GHz, no Overclocking)
- Native Discrete Graphics (no nVidia Drivers)
- Sleep, Autosleep and Wake
- USB 2.0 and 3.0
- ALC Realtek Audio and HDMI Audio via HDMI and DisplayPort
- Dual Intel® 82574L, 2 x Gigabit LAN Controller
- Dual Boot with Windows 10 Pro 64 bit
So basically almost everything works, yes, something with smart workaround, and something is native. That's hackintosh, right?- Native Discrete Graphics (no nVidia Drivers)
- Sleep, Autosleep and Wake
- USB 2.0 and 3.0
- ALC Realtek Audio and HDMI Audio via HDMI and DisplayPort
- Dual Intel® 82574L, 2 x Gigabit LAN Controller
- Dual Boot with Windows 10 Pro 64 bit
What doesn't work
- Nothing.
MANDATORY: Insert the Graphics Card in PCI-E #5
Installation
IndexTools
Step 1 - Update Bios
Step 2 - Bios configuration
Step 3 - Pre Installation
Step 4 - OS X El Capitan 10.11.6 installation
Step 5 - Post installation
Tools:
- Latest Asus Z9PE-D8 WS Bios (Version Z9PE-D8-WS-ASUS-5802.CAP at the moment, attached)
- Clover Bootloader Installer
- Clover Configurator
- MaciASL Open Beta
- IORegistryExplorer 3.0.X (google for it) or IOJones
- OS X El Capitan install App
- 8 GB (at least) USB pen drive
- A working Mac or Hackintosh
- Clover Bootloader Installer
- Clover Configurator
- MaciASL Open Beta
- IORegistryExplorer 3.0.X (google for it) or IOJones
- OS X El Capitan install App
- 8 GB (at least) USB pen drive
- A working Mac or Hackintosh
Step 1 - Update Bios
- Download the latest proper bios
- Unzip it and copy the .CAP file onto a FAT formatted USB pen drive
- Boot PC, press Del key to access to Bios
- Now go to Boot/Asus EZ Flash 2 Utility, from there locate the usb Drive, the bios update file and click the file to flash your bios
Warning: make sure the flashing process won't interrupt, otherwise you'll need to replace bios chip or flash it with a SPI programmer!- Unzip it and copy the .CAP file onto a FAT formatted USB pen drive
- Boot PC, press Del key to access to Bios
- Now go to Boot/Asus EZ Flash 2 Utility, from there locate the usb Drive, the bios update file and click the file to flash your bios
Step 2 - Bios configuration
- Boot pc
- Press Del key to gain Bios settings
- Go to Exit and Restore Defaults > Load Optimized Default
- Advanced>CPU Power Management Configuration>Enhanced Intel SpeedStep Technology>Disabled
- Advanced>Chipset Configuration>Memory Configuration>DDR Speed>Set proper speed for your RAM (1866, for mine)
- Advanced>Intel (r) VT for Directed I/O Configuration>Intel (r) VT-d>Disabled
- Boot>CSM Parameters>Launch CSM>Always
- Boot>CSM Parameters>Boot Option Filter>UEFI and Legacy
- Security>Secure Boot Menu>Secure Boot>Disabled
- Tools>Asus Overclocking Profile>Save to Profile (to save your Bios Profile)
- Press Del key to gain Bios settings
- Go to Exit and Restore Defaults > Load Optimized Default
- Advanced>CPU Power Management Configuration>Enhanced Intel SpeedStep Technology>Disabled
- Advanced>Chipset Configuration>Memory Configuration>DDR Speed>Set proper speed for your RAM (1866, for mine)
- Advanced>Intel (r) VT for Directed I/O Configuration>Intel (r) VT-d>Disabled
- Boot>CSM Parameters>Launch CSM>Always
- Boot>CSM Parameters>Boot Option Filter>UEFI and Legacy
- Security>Secure Boot Menu>Secure Boot>Disabled
- Tools>Asus Overclocking Profile>Save to Profile (to save your Bios Profile)
Step 3 - Pre Installation
We need to take care about a few things before the install process, to set up the USB install pendrive, such as:
- Preparing bootable USB pen drive with UEFI Clover
- Clover's config.plist file set up
- Kexts folder set up
- drivers64UEFI folder set up
Preparing bootable USB pen drive with UEFI Clover
- Make sure your Install OS X El Capitan.app would be in Applications folder
- Plug your 8 GB USB in and open /Applications/Utilities/Disk Utility
- Open /Applications/Utilities/Disk Utility
- Highlight the USB drive in left column
- Click on the Erase upper button
- Scheme: GUID Partition Table
- Name: USB
- Format: Mac OS Extended (Journaled)
- Click Erase (lower right button)
- Open /Applications/Utilities/Terminal
- Type the following, enter password (even if you don't see anything typed) and hit enter. This command completely erases the USB, then creates native OS X installer media from the Install OS X El Capitan Application.
Code:sudo /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/createinstallmedia --volume /Volumes/USB --applicationpath /Applications/Install\ OS\ X\ El\ Capitan.app --no interaction
- Upon completion, the USB will be renamed Install OS X El Capitan
- Download the latest Clover installer from here
- Open Clover package installer
- Hit Continue, Continue, Change Install Location...
- Choose the USB, now called Install OS X El Capitan
- Hit Customize and install Clover to the same USB with the following Custom Install settings:
- Please note that EmuVarableUefi-64, along the option Install RC Script on target volume are strongly recommended. As stated from pokenguyen in this thread, I found that on some motherboard the NVRAM is not stable and can't keep data after reboot. That leads to issues like random boot failures, as long as no drivers injected correctly, rather than a general instability of the entire system. Quoting Pokenguyen: "You can install this by select "Install RC Script to target partition" in Clover. This is how Clover Installer saved NVRAM (up to Clover 2711). It utilizes OS X’s feature of loading /etc/rc.local when booting up, and /etc/rc.shutdown.local when shutting down, Clover Installer added execute scripts to save log files into rc.local and save nvram.plist into rc.shutdown.local". So that's it. It works!
- The USB EFI partition will be mounted
- In the next steps we'll set up the USB\EFI partition
Clover's config.plist file set up
With the help of Clover Configurator we can easily set up the config.plist file.
Here are the steps:
- Open Clover Configurator and open EFI\EFI\CLOVER\config.plist
- Section Acpi\SSDT: active Halt Enabler option
- Boot Section:
- darkwake=0 to correct wake with just one hit with keyboard, or mouse or whatever
- flag on nvda_drv=1 and nv_disable=1 for unsupported nVidia Graphics Card (9xx Series). I don't need them, since nVidia Quadro K5000 has native support
- npci=0x2000 flag (in some cases npci=0x3000 flag will be better)
- XMPDetection=No not sure about that. It might be not mandatory, as a matter of fact I need to inject memory data (see SMBIOS section)
- Cpu Section: Frequency 3100 and Type 0x0A01. Pure cosmetic, to show in About this Mac the right cpu (for Xeon, of course)
- Devices section: set Audio on 1
- Gui section: I'm not sure about this settings to be mandatory. For me, this set up works, if you want to take a look.
- Graphics section: NOTHING, that's important. Injection are provided by nVidia web drivers (non native OS X support) and SSDT
- Kernel and Kext Patches:Kext to Patch.
- AppleAHCIPort patch to show HDD/SSD internal icon
- IOAHCIBlockStorage patch to enable trim
- AppleGraphicsDevicePolicy patch to avoid black screen after boot on MacPro 6,1. Assuming that you have chosen Macpro6,1 System Definition, we need to take care about this: Black Screen with MacPro 6,1 after reboot thanks to the work of PikeRAlpha. I'll disable this option and use Shilohh's suggestion for MacPro 6,1 to use GFX1 in SSDT (combined with Audio HDMI injection) rather than GFX0, see Step 5 - Post installation/Enable HDMI Audio via nVidia Graphics Card
Code:<key>KernelAndKextPatches</key> <dict> <key>AppleRTC</key> <false/> <key>AsusAICPUPM</key> <false/> <key>Debug</key> <false/> <key>KernelCpu</key> <false/> <key>KernelHaswellE</key> <false/> <key>KernelLapic</key> <false/> <key>KernelPm</key> <false/> <key>KextsToPatch</key> <array> <dict> <key>Comment</key> <string>TRIM Enabler</string> <key>Disabled</key> <false/> <key>Find</key> <data> AEFQUExFIFNTRAA= </data> <key>Name</key> <string>IOAHCIBlockStorage</string> <key>Replace</key> <data> AAAAAAAAAAAAAAA= </data> </dict> <dict> <key>Comment</key> <string>AppleGraphicsDevicePolicy (board-id) Patch (c) Pike R. Alpha</string> <key>Disabled</key> <false/> <key>Find</key> <data> Ym9hcmQtaWQ= </data> <key>Name</key> <string>AppleGraphicsDevicePolicy</string> <key>Replace</key> <data> Ym9hcmQtaXg= </data> </dict> <dict> <key>Comment</key> <string>External icons patch</string> <key>Disabled</key> <false/> <key>Find</key> <data> RXh0ZXJuYWw= </data> <key>Name</key> <string>AppleAHCIPort</string> <key>Replace</key> <data> SW50ZXJuYWw= </data> </dict> </array> </dict>
- RT Variables section: BooterConfig set as 0x28 and CrsActiveConfig set as 0x67 (or 0x3). Check Tony's guide on this. For ROM and MLB fields I strongly recommend to read the iMessage Fix thread by JayMonkey or, at least, the brief version by P1LGRIM
- SMBIOS section: Use the magic wand to choose MacPro 6,1 and generate a valid serial number. Also recommended the iMessage fix guides. As you can see from the screenshot down here, I needed RAM injection
- System Parameters: Inject kext as Yes
- Save File and quit
Kexts folder set up
Open EFI\EFI\CLOVER\kext\10.11 and copy the attached kexts
- FakeSMC.kext mandatory for any hackintosh
- AppleIntelE1000e.kext by hnak's port of the e1000.sourceforge.net 1 x Gigabit LAN Controller
- NullCPUPowerManagement.kext unfortunately still mandatory in this case
- AHCI_3rdParty_SATA.kext for Marvell® PCIe 9230 SATA controller
- VoodooTSCSync.kext for 6 or more cores CPUs. Please remember to check VoodooTSCSync.kext\Contents\Info.plist, that must be
Code:
<dict> <key>IOCPUNumber</key> <integer>31</integer> </dict>
- realtekALC.kext automatically injected by Toleda's audio patch, see Step 5 - Post installation\Enable Realtek® ALC898 8-Channel High Definition Audio CODEC
- mXHCD.kext to enable ASMedia® 1042 USB 3.0 controller, thanks to Riley Freeman
drivers64UEFI folder set up
- Open EFI\EFI\CLOVER\drivers64UEFI folder
- Download HFSPlus.efi from here and copy it in EFI/EFI/CLOVER/drivers64UEFI
- Remove VBoxHfs-64.efi from EFI/EFI/CLOVER/drivers64UEFI
- Download from here Test2-2016.efi by Nick Woodhams and put it into EFI\EFI\CLOVER\drivers64UEFI folder. Long story short: Clover seems to have some troubles with X99 systems allocating a lot of memory to PCIe devices. That results in random and quite disturbing hang on boot. More info here where Mr Woodhams found two solution: the first one is to delete from EFI\EFI\CLOVER\drivers64UEFI folder OsxAptioFix2Drv-64.efi (or OsxAptioFixDrv-64.efi) and replace it with his driver OsxAptioFix2Drv-free2000.efi. The second (good for me, it seems) is to add Test2-2016.efi to EFI\EFI\CLOVER\drivers64UEFI folder to work along the usual OsxAptioFixDrv-64.efi already installed by Clover itself. Please note that this is not the same problem I was talking about in Clover's config.plist file set up\Boot Section\Timeout 20, at least I guess they are not the same. Anyway: if you want to stay up to date, here's the Clover ticket still open.
The USB install drive is now ready to do the job. Jump to Step 4
Step 4 - OS X El Capitan 10.11.6 installation
- Power on and press F8 key to get Boot menu
- Boot from UEFI USB (Uefi name of your USB)
- Follow the install process until desktop. If you have nVidia Maxwell card (9xx series) your graphics acceleration will be disabled, don't worry, soon we'll take care about that!
- Copy on desktop the Clover installer package from Install OS X El Capitan partition of the USB pen drive
- Open Clover package installer
- Install Clover on the main OS partition (from now on Mac partition) with the same settings as above
- Mount USB EFI partition: open Applications/Terminal and type
Code:
diskutil list
Code:diskutil mount /dev/disk2s1
- Replace ACPI folder, kexts folder, drivers64UEFI folder and config.plist from USB EFI/EFI/CLOVER (usually White icon) to Mac EFI/EFI/CLOVER (usually internal icon or external orange one for some NVMe drives)
- If you have nVidia 9xx Series, download from here the latest nVidia Drivers for El Capitan, install them but DO NOT RESTART yet. Leave the nVidia installer open!
- Now it's important to follow the next steps, since the MacPro 6,1 missing frequency vectors. Thanks to the work of the usual PikeRAlpha (Thanks, man!). Go through these steps:
- Copy IOPlatformPluginFamily.kext from S/L/E to desktop, then copy it to another location (for backup)
- Delete IOPlatformPluginFamily.kext from S/L/E (password required)
- Empty trash
- Open from Desktop IOPlatformPluginFamily.kext/Contents/PlugIns/X86PlatformPlugin.kext/Contents/Resources and you'll find a lot of .plist files: frequency vectors instruction are stored in some of those files. Mac-F60DEB81FF30ACF6.plist (MacPro 6,1 board id) doesn't have. Mac-27ADBB7B4CEE8E61.plist (iMac 14,2 board id) does have!
- Copy Mac-27ADBB7B4CEE8E61.plist on desktop, rename it Mac-F60DEB81FF30ACF6.plist, then copy the new named file back into IOPlatformPluginFamily.kext/Contents/PlugIns/X86PlatformPlugin.kext/Contents/Resources replacing the original MacPro 6,1 file which doesn't have frequency vectors.
- Make sure no other kexts are on desktop besides our modified IOPlatformPluginFamily.kext
- Run KextBeast, run it and install in System/Library/Extentions
- Check in System/Library/Extentions: our modified IOPlatformPluginFamily.kext will be there!
- For nVidia 9xx series cards: open EFI/EFI/CLOVER/config.plist with Clover Configurator and remove the nv_disable=1 flag: with nVidia Drivers, AppleGraphicsDevicePolicy patch (PikeRAlpha patch) we'll have full acceleration graphics after reboot.
- Reboot
Step 5 - Post installation
Last steps:
- Generate SSDT.aml for CPU's SpeedSteps
- Enable Realtek® ALC898 8-Channel High Definition Audio CODEC
- Enable HDMI Audio via nVidia Graphics Card
Generate SSDT.aml for CPU's SpeedSteps
- Mount EFI partition of System disk: open Applications/Terminal and type
Code:
diskutil list
Code:diskutil mount /dev/disk0s1
- Connect to Internet
- Open Application\Terminal
- Type
Code:
curl -o ~/ssdtPRGen.sh https://raw.githubusercontent.com/Piker-Alpha/ssdtPRGen.sh/Beta/ssdtPRGen.sh
- Type
Code:
chmod +x ~/ssdtPRGen.sh
- Drag the ssdtPRGen.sh from User's Folder into the Terminal window, press Enter and follow instructions. At the end of the process in User\Library (hidden folder) you'll find ssdtPRGen folder. Open it and copy ssdt.aml in EFI\EFI\CLOVER\ACPI\patched
Enable Realtek® ALC898 8-Channel High Definition Audio CODEC
- Open IORegistryExplorer, in the upright corner search field type hdef and probably you'll find nothing. That means we need to inject proper Audio via SSDT.
- Download audio_ALCInjection-master from toleda github, unzip it, go to audio_ALCInjection-master\ssdt_hdef and unzip ssdt_hdef-1-no_ioreg/hdef.zip. Copy SSDT-HDEF+-1.aml EFI\EFI\CLOVER\ACPI\patched and rename it SSDT-1.aml
- Rebuild cache with the attached command (password required)
- Reboot
- Check again IORegistryExplorer > Search HDEF, now you should see something like this
- Mount EFI partition of System disk as above
- Connect the rig to internet, download from toleda's github repo audio_CloverALC-master, unzip audio_cloverALC-110.command.zip, run audio_cloverALC-110_v1.0s10.command, a Terminal window will appear asking for password, type it (even if you don't see anything on Terminal), then type y for yes when the script asks you Confirm Realtek ALC898 (y/n), again type y for Clover Audio ID Injection (y/n), once more type y for Use Audio ID: 1 (y/n). The result will be more or less like this
- Reboot
- Check System Preferences\Sound\Output
- No HDMI Audio via nVidia card? See next steps!
- Open IORegistryExplorer, in the upright corner search field type display0 and take a look at the results in the left column. As you can see from this picture, the NVDA device is in PCI1@0 > NPX@3
- Download from toleda's github repo audio_hdmi_amd-nvidia-master, go to ssdt_hdmi-nvidia folder, unzip ssdt_hdmi-nvidia-NPE3.zip and open SSDT-HDMI-NVIDIA-NPE3.aml with MaciASL from the ssdt_hdmi-nvidia-NPE3 unzipped folder.
- In MaciASL, find all PCI0 and Replace with PCI1, then find all NPE3 and Replace with NPX3, then find all GFX0 and Replace with GFX1. We do the first two changes in order to inject the right path for the Graphics Card. The we change GFX0 into GFX1 in order to avoid black screen after boot for MacPro 6,1 System Definition (see AppleGraphicsDevicePolicy patch). See the next two pictures (before and after)
- Compile, Save and rename it SSDT-2.aml
- Put SSDT-2 in EFI\EFI\CLOVER\ACPI\patched
- Open EFI\EFI\CLOVER\config.plist\Kernel and Kext Patches\Kext to Patch and remove the AppleGraphicsDevicePolicy line
- Rebuild cache and repair pemission with my caches_rebuild.command attached to this post (password required)
- Reboot
- Check again IORegistryExplorer > Search again for display0, now you should see something like this
- If you have some HDMI monitor, it'll show up in System Preferences\Sound\Output
CREDITS
- Tonymac - For gathering info on Clover installation, test thread on Thunderbolt Cards
- PikeRAlpha - Too many things to enumerate!
- Toleda - For great support, guides, and infos
- shilohh - For the very useful script
- jaymonkey - For iMessage solution and huge work
- Slice & co. - For the amazing Clover, what else?
- Riley Freeman - For the ASMedia 1042 usb 3.0 controller kext
- Nick Woodhams - For the workaround AllocateRelocBlock Error
- Silvia and Alan - For this opportunity
END
See next post for screenshots and updates
Attachments
Last edited by a moderator: