Contribute
Register

Lexone's Haswell Build: GA-Z87X-OC w/DSDT - i7-4770K - GTX780

lexone

Moderator
Joined
Apr 13, 2012
Messages
507
Motherboard
GA-Z87X-OC
CPU
Intel® Core™ i7-4770K @3.50GHz
Graphics
NVIDIA GeForce GTX780
Mac
iMac, Mac Pro
Classic Mac
Mobile Phone
iOS
Lexone's Haswell Build: GA-Z87X-OC w/DSDT - i7-4770K - GTX780 - HDMI & AirPlay Support

Lexone's Haswell Build: GA-Z87X-OC w/DSDT - i7-4770K - GTX780 - HDMI & AirPlay Support
**Updated to 10.10.5**

Components

GIGABYTE GA-Z87X-OC ATX Motherboard
http://www.amazon.com/dp/B00DMH1QGA/
http://www.newegg.com/Product/Product.aspx?Item=N82E16813128594

Intel Core i7-4770K 3.5GHz LGA1150 Haswell CPU
http://www.amazon.com/dp/B00CO8TBQ0/
http://www.newegg.com/Product/Product.aspx?Item=N82E16819116901

Zalman CNPS9900MAX-R 135mm Long Life Bearing CPU Cooler
http://www.amazon.com/dp/B004CYZ7E4/ref=cm_sw_su_dp
http://www.newegg.com/Product/Product.aspx?Item=N82E16835118075

Corsair Vengeance Pro Series 32GB (4x8GB) DDR3 1600MHz (PC3 12800) Red
http://www.amazon.com/dp/B00D6E5K2A/
http://www.newegg.com/Product/Product.aspx?Item=N82E16820233545

ASUS Nvidia GeForce GTX780 3GB 2xDVI/HDMI GPU
http://www.amazon.com/dp/B00DWV3NM6/
http://www.newegg.com/Product/Product.aspx?Item=N82E16814121779

IOGear Bluetooth 4.0 Adapter
http://www.amazon.com/dp/B007GFX0PY/
http://www.newegg.com/Product/Product.aspx?Item=N82E16833139027

TP-Link TL-WDN4800 Dual-Band Wireless Card
http://www.amazon.com/dp/B007GMPZ0A/
http://www.newegg.com/Product/Product.aspx?Item=N82E16833704133

Western Digital Black 2 Dual-Drive (for Windows)
http://www.amazon.com/dp/B00GSJ9X4Q/
http://www.newegg.com/Product/Product.aspx?Item=N82E16822236642

Western Digital Black 4TB 7200RPM 64MB Cache HDD
http://www.amazon.com/gp/product/B00FJRS5BA
http://www.newegg.com/Product/Product.aspx?Item=9SIA2W019M6841

NZXT IU01 Internal USB Expansion
http://www.amazon.com/dp/B0031ESKJA/
http://www.newegg.com/Product/Product.aspx?Item=N82E16811997024

Startech.com 4-Port USB 2.0 Plate Adapter
http://www.amazon.com/dp/B00015Y0FK/
http://www.newegg.com/Product/Product.aspx?Item=N82E16812200523


Already Owned

Corsair Graphite 600T
http://www.amazon.com/dp/B004X63JWS/
http://www.newegg.com/Product/Product.aspx?Item=N82E16811139007

Planar Black Dual Monitor Stand
http://www.amazon.com/dp/B0013TZRUA
http://www.newegg.com/Product/Product.aspx?Item=N82E16824995006

2xAcer G245HQ Full HD 1080p Monitor
...Discontinued...

Corsair HX Series HW1000W PSU
...Discontinued...

Logitech HD Pro C920 Widescreen Webcam
http://www.amazon.com/dp/B006JH8T3S/
http://www.newegg.com/Product/Product.aspx?Item=N82E16826104635

Samsung 840 Pro 128GB SSD
http://www.amazon.com/dp/B009NB8WR0/
http://www.newegg.com/Product/Product.aspx?Item=N82E16820147192

ADATA Premier Pro SP600 32GB SSD
http://www.amazon.com/dp/B009SKB5HA/
http://www.newegg.com/Product/Product.aspx?Item=N82E16820211717

Seagate Barracuda XT 2TB 7200RPM 64MB Cache HDD
http://www.amazon.com/dp/B002RWJHBM

Western Digital My Book Live 2TB NAS
http://www.amazon.com/dp/B00439GMJ2

Apple Bluetooth Keyboard
http://www.amazon.com/dp/product/B005DLDO4U

Apple Magic Trackpad
http://www.amazon.com/dp/product/B003XIJ3MW

Apple Magic Mouse
http://www.amazon.com/dp/product/B002TLTGM6/

SanDisk Cruzer Blade 8GB USB Flash Drive
http://www.amazon.com/dp/B007KFAG7U
http://www.newegg.com/Product/Product.aspx?Item=N82E16820171501

Mac OS X 10.9.4 "Mavericks"
Mac App Store

Windows 8.1 Pro x64
http://www.amazon.com/dp/B00F3ZN0CC/
http://www.newegg.com/Product/Product.aspx?Item=N82E16832416778


Comments

About this Build

This is currently my 4th PC build and 2nd CustoMac, and I must say that each build has become easier and easier to setup. My original build was an ASUS P7P55D-E LX with an Intel Core i7-870 which I began with OS X Lion, then upgraded to Mountain Lion and lastly upgraded to Mavericks. The installation and MultiBeast setup was extremely easy when I went to Mavericks since I had all the files I needed and had familiarized myself with the whole CustoMac process. I still have and use this system as a test machine and backup/spare but it's time for a new beastly machine and I wanted to upgrade to a newer build since I have become more interested in over-clocking and other technologies. Here is a picture of my new setup in the case...


Background

I currently work in IT Development with a large focus in the VMware Virtual Technology space. I build my own virtual labs to get more hands on practice with new features, etc. which I cannot do in our corporate production environment. This led me to buying new parts and building this beast of a machine that I can run both Windows & Mac, and build my virtual labs in either OS. So without further adieu....onto the installation!


Installation

1. From a current working Mac or Mac VM, see the following tutorials for creating a UniBeast Mac USB installer.
2. F8 BIOS Settings

  • Once in the BIOS, stay in UEFI Mode or press F2 to switch into Classic Mode
    • Screen shots below show locations/steps for both modes
  • Click the Save & Exit tab then select Load Optimized Defaults. This will configure the SATA mode to AHCI
UEFI Mode

Classic Mode


  • Click the Peripherals tab and set Initial Display Output to IGFX/IGPU if you are using the onboard HD4600 port, or set it to PCIe 1 Slot if you are using a discrete card. (I selected the latter since I am using a GTX780 GPU. I also left Intel Processor Graphics set to Enabled so that I can use the onboard graphics as well as to support AirPlay when creating and patching my DSDT)
UEFI Mode

Classic Mode


  • (Optional) Click the Performance tab then Memory tab (Classic Mode - M.I.T. tab then select Advanced Frequency Settings). Change Extreme Memory Profile(X.M.P) to Profile1
UEFI Mode

Classic Mode


3. Boot your machine into the USB drive you created with UniBeast. Highlight the installer and hit Enter
4. Go to Utilities and open Disk Utility
5. Select the drive that you want to install OS X 10.9 Mavericks onto
  • Partition it as "Mac OS Extended (Journaled)" with a "GUID Partition Map Table"
6. Once that is complete, quit Disk Utilites and proceed with the installation on the newly partitioned drive
7. Reboot after the installation has completed and again boot back into the USB UniBeast drive, then boot the drive you just installed OS X onto
  • **(Optional)** Enter the following parameter before booting if you are going to create your own DSDT with MaciASL
Code:
DSDT=Null
  • **(Optional)**If you want to create your own DSDT...See "Steps to Create and Patch DSDT with AriPlay and HDMI Audio support" after successful installation.
8. Download the following apps and attached files:
9. Place the DSDT.aml file on your Desktop
10. Launch MultiBeast and select the following drivers as shown in the screenshot below or load my config file and install
11. Open Disk Utility and Repair Permissions on the drive
12. (Optional) Run the Chameleon bootloader installer
  • Select Customize and install FileNVRAM from the Modules section.
13. Before restarting the system, I wanted to add a new boot flag to my org.chameleon.Boot.plist file for Nvidia Cuda Driver support.
Code:
nvda_drv=1
Screen shots of my org.chameleon.Boot.plist
PlistEdit Pro
TextEdit


14. Launch Disk Utility again and Repair Permissions a final time.
15. Rebuild Kernel Cache from terminal or by using DPCIManager
16. Eject the USB installer and Reboot.
17. Welcome to Mavericks!



Steps To Create and Patch DSDT with AirPlay and HDMI Audio Support



  1. Backup original kexts
    • AppleHDA.kext
    • AppleIntelFramebufferAzul.kext
  2. Download patch commands (**Leave and run them from the Downloads folder**)
    • These commands take care of the leg-work by adding the appropriate string values needed in the kexts mentioned above that you need to first backup to another location
      • View attachment audio_hdmi_hd5K-hda-90_patch.command.zip
      • View attachment graphics_intel_hd5k-azul-c-90_patch.command.zip
        • Graphics patch I used is version "c - Azul" which supports the configuration detailed below. If you choose to use a different configuration dependent on how your monitors are set up then download the appropriate version patch for your config from here
        • I followed Toleda's instructions "Find HD4600+/HD4000HDMI port-number" to find which ports were being used by my system to determine that version "c - Azul" was what I needed since it used Port 0x5, 0x6, & 0x0 (there was no Port 0x7). See images and configuration chart below...
FrameBuffer1.pngFrameBuffer2.pngFrameBuffer3.png
Code:
[U]Connector Edit/Port      Port 0x5    Port 0x6    Port 0x7[/U]

Native SNB/Capri         DP or ND    DP or ND    HDMI
Native Azul              DP or ND    DP or ND    DP or ND
a - SNB/Capri/Azul       DP or ND    HDMI/DVI    HDMI/DVI
b - SNB/Capri/Azul       HDMI/DVI    DP or ND    HDMI/DVI
c - Azul                 HDMI/DVI    HDMI/DVI    DP or ND
d - Azul                 HDMI/DVI    HDMI/DVI    HDMI/DVI
e - Azul                 DP or ND    HDMI/DVI    DP or ND
Now the fun stuff...


  • Run audio patch command...results should mirror the below
    Code:
    [LIST]
    [*][SIZE=1]Last login: Sat Feb 22 11:00:56 on console[/SIZE]
    
    [SIZE=1]CustoMac-Pro:~ lexone$ /Users/lexone/Downloads/audio_hdmi_hd5K-hda-90_patch.command ; exit;
    Patch binary ...
    Password:
    Fix permissions ...
    Kernel cache...
    Finished, restart required.
    logout
    
    [Process completed][/SIZE]
    [/LIST]
  • Run graphics patch command...results should mirror the below
    Code:
    [LIST]
    [*][SIZE=1]Last login: Sat Feb 22 11:15:57 on ttys000[/SIZE]
    [SIZE=1]CustoMac-Pro:~ lexone$ /Users/lexone/Downloads/graphics_intel_hd5k-azul-c-90_patch.command ; exit;[/SIZE]
    
    [SIZE=1]Agreement[/SIZE]
    [SIZE=1]The graphics_intel_hd5k_azul-c-90_patch is for personal use only.  Do not[/SIZE]
    [SIZE=1]distribute the patch or the resulting patched AppleIntelSNBGraphicsFB.kext[/SIZE]
    [SIZE=1]for any reason without permission. The graphics_intel_hd5k_azul-c-90_patch[/SIZE]
    [SIZE=1]is provided as is and without any kind of warranty.[/SIZE]
    
    [SIZE=1]graphics_intel_hd5k_azul-c-90_patch.command_v2.0[/SIZE]
    [SIZE=1]Copy S/L/E/AppleIntelFramebufferAzul.kext to Desktop.[/SIZE]
    [SIZE=1]Patch binary ...[/SIZE]
    [SIZE=1]Fix permissions ...[/SIZE]
    [SIZE=1]Kernel cache...[/SIZE]
    [SIZE=1]Finished, restart required.[/SIZE]
    [SIZE=1]logout[/SIZE]
    
    [SIZE=1][Process completed]
    [/SIZE]
    [/LIST]
  • Reboot
  • Create new DSDT from MaciASL (I already had repositories added to MaciASL, but if you intend on creating your own DSDT using this guide you will need to add the repositories before creating a new DSDT by going to MaciASL>Preferences>Sources...image below...)
  • Apply "Z87X-OC" from PJALM's Gigabyte repository
  • Apply "8series-Clean-Compile" from Toleda's HDMI repository
  • Apply "Desktop-add_dsdt/PCI0/POP2 (w/ssdt/POP2)" from Toleda's HDMI repository
  • Apply "Desktop-HD5K/AMD/Nvidia-A1" from Toleda's HDMI repository
    • Video guide released by beelzebozo showing these similar steps to enable AirPlay but for his setup. (i thought it could be helpful to see this along with following written instructions)
  • Compile DSDT and Save
  • Install DSDT into Extra Folder by continuing from Steps 8 & 9 above...
MaciASL Repos




Troubleshooting


  • So far the only issue I noticed was whenever I played music or did anything that made a sound thru the speakers, the initial sound from the speaker was a very loud pop. In order to resolve this I downloaded and installed Antipop which worked wonderfully!
  • After updating Audio ALC892 via MultiBeast 6.2.1, I would lose all audio after waking machine from sleep. To resolve this, I reinstalled audio driver from MultiBeast 6.1.0 while I await a possible "MultiBeast 6.3" update w/fix. :thumbup:
  • ​Trim Support in MultiBeast 6.3.1 is currently broken. To enable trim support, download Trim Enabler 3rd party app.
    • **This issue has been fixed in MultiBeast 6.4.0**
  • Should you encounter the dreaded "deadbeef" issue where you are unable to load UniBeast when attempting to install the OS, it is usually related to having too much RAM. Please type the following parameter when booting into UniBeast installer:
Code:
maxmem=4096

About This Mac (with Custom Edits)




AirPlay Display (Working)




Onboard & Discrete GPU HDMI Audio (Working)


NVIDIA​

Benchmarks

Black Magic Disk Speed Test


Geekbench 32-bit


Geekbench 64-bit


Cinebench R15


LuxMark




NovaBench


Unigine Valley Benchmark


Galaxy


Summary

I have been more than impressed with the simplicity of this build as well as performance I have been seeing at a stock clock. I will be looking to further tweak this system and see what kind of results I get with some OC'ing.

What Works?


  • Audio ALC892
  • Ethernet/Wifi
  • Dual Monitors
  • Sleep/Wake
  • iMessage, FaceTime, iCloud
  • USB 3.0 without any power errors
  • HD4600/HD5000
  • AirPlay - Onboard & Discrete GPU
  • HDMI Audio - Onboard & Discrete GPU
What Doesn't Work?


  • I have yet to try native AirPlay streaming to my AppleTV although the system does see them. I know it works via AirParrot but I will report back once I have tested...
  • Onboard HDMI (I have no need to use HDMI on this system at the moment, therefore I didn't patch my DSDT to support HDMI)

Credits






Change Log

  • 1/7/14 - **New DSDT created, patched, tested & confirmed to now support Discrete Graphics card HDMI and AirPlay Mirroring!**
    • Updated screenshots for BIOS, MultiBeast Config & org.chameleon.Boot.plist
    • Updated desktop screenshot which shows AirPlay icon in taskbar
    • Added AirPlay screenshot
    • Removed old attachments and uploaded new MultiBeast Config file & DSDT
  • 1/22/14 - Updated components list (added Planar Dual Monitor Stand)
  • 1/31/14 - Updated components list (added WD 4TB HDD)
    • Replaced 2TB + 1TB drives
  • 2/21/14 - Updated components list (added SanDisk 8GB USB Drive used for UniBeast)
  • 2/22/14 - **New DSDT created, patched, tested & confirmed to now support Onboard & Discrete GPU HDMI Audio and AirPlay Mirroring**
    • Upgraded BIOS to F7
    • Created new DSDT with both onboard & Discrete GPU HDMI Audio support
    • Removed old DSDT and attached new to DSDT to Post #1
    • Updated/Added new screenshots for BIOS, HDMI Audio
    • Added steps takes and results from DSDT edits for HDMI Audio support
  • 2/25/14 - Successfully updated to 10.9.2 via AppStore - See Post #102
  • 3/7/14 - Changed System Definition to Mac Pro 6,1 and updated FakeSMC & plugins via MultiBeast 6.2.1
  • 3/23/14 - Updated Post #1 with new MultiBeast 6.2.1 Config File & image, benchmark images, and added note with images on how I determined which version patch was needed for onboard HDMI Audio.
  • 4/24/14 - Updated Post #1 with screen shot of newest nvidia driver w/cuda support
  • 5/16/14 - **New DSDT created, patched, tested & confirmed to now support Onboard & Discrete GPU HDMI Audio and AirPlay Mirroring**
    • Upgraded BIOS to F8
    • Updated to Mac OS X 10.9.3
    • Reverted back to iMac 14,2 System Definition
    • Created new DSDT with onboard & Discrete GPU HDMI Audio support
    • Installed latest nVidia Web Drivers
  • 5/24/14 - Updated CUDA driver
  • 7/14/14 - Updated to Mac OS X 10.9.4
    • Created new DSDT's for multiple configuration types
    • Updated Post #1 with new screenshots, benchmarks, etc.
    • Updated components list (Added NZXT Internal USB Expansion & 4-port USB Plate adapter)
    • Installed latest nVidia Web Driver & Cuda Driver
  • 7/18/2014 - Updated DSDT attachments MBConfig files to utilize MultiBeast 6.4.0 with 10.9.4 Audio, updated FakeSMC.kext files, and TrimEnabler fix for 10.9.4. Also updated screen shots.
  • 9/27/2014 - Updated to Mac OS X 10.9.5
    • Installed latest nVidia Web & CUDA Drivers
    • Installed ALC892 Audio & TRIM via MultiBeast 6.5.0
 
Last edited by a moderator:

wildwillow

Moderator
Joined
Jun 26, 2012
Messages
4,640
Motherboard
GA-Z87X-OC
CPU
i7-4770K
Graphics
HD4600+R9 380 4GB
Mac
MacBook Pro
Classic Mac
Mobile Phone
iOS, Other
Great Build and write up Lexone.

Lovely to see another build of the GA-Z87X-OC. Seems many are using this board. I would like to give Airplay a whirl but I have no devices as of yet.

Congratulations on your build and description. Enjoyed the read. All the best.
 

lexone

Moderator
Joined
Apr 13, 2012
Messages
507
Motherboard
GA-Z87X-OC
CPU
Intel® Core™ i7-4770K @3.50GHz
Graphics
NVIDIA GeForce GTX780
Mac
iMac, Mac Pro
Classic Mac
Mobile Phone
iOS
Great Build and write up Lexone.

Lovely to see another build of the GA-Z87X-OC. Seems many are using this board. I would like to give Airplay a whirl but I have no devices as of yet.

Congratulations on your build and description. Enjoyed the read. All the best.
Thanks wildwillow! :mrgreen:

Let me know if/when you pick up an ATV and want to try AirPlay out.
 
Joined
Nov 23, 2013
Messages
14
Mac
Classic Mac
Mobile Phone
I can't seem to get HDMI audio, you know why? I can't seem to see it when I use the editplist. But I did use wildwillows build! Can you help me out?
 

lexone

Moderator
Joined
Apr 13, 2012
Messages
507
Motherboard
GA-Z87X-OC
CPU
Intel® Core™ i7-4770K @3.50GHz
Graphics
NVIDIA GeForce GTX780
Mac
iMac, Mac Pro
Classic Mac
Mobile Phone
iOS
I can't seem to get HDMI audio, you know why? I can't seem to see it when I use the editplist. But I did use wildwillows build! Can you help me out?
For HDMI audio, I recommend you check out toldea's HDMI audio sticky threads in the Forum's HDMI audio section:

http://www.tonymacx86.com/hdmi-audio/

and here:

https://github.com/toleda/audio_hdmi_uefi
@asher12 - Are you speaking of onboard HDMI audio or Discrete Graphics Card HDMI Audio not working? If from discrete card, which do you have? Are you using a DSDT? If so, has it been patched properly?

I agree with Stork's comments to check out Toleda's links as they are what I also used to get HDMI working on my system as well. Let me know and I will try to assist if you are still experiencing issues.
 
Joined
Nov 23, 2013
Messages
14
Mac
Classic Mac
Mobile Phone
Discrete Graphics Card HDMI Audio is not working, I used none DSDT I believe just followed wildwillow's build for this board. Hmm.. It's so hard is there any way I could speak with you easier and faster so you can help me out with that? My graphic card is: [h=1]ASUS GeForce GTX 760 DC2 OC 2048MB :)[/h]
 

lexone

Moderator
Joined
Apr 13, 2012
Messages
507
Motherboard
GA-Z87X-OC
CPU
Intel® Core™ i7-4770K @3.50GHz
Graphics
NVIDIA GeForce GTX780
Mac
iMac, Mac Pro
Classic Mac
Mobile Phone
iOS
Discrete Graphics Card HDMI Audio is not working, I used none DSDT I believe just followed wildwillow's build for this board. Hmm.. It's so hard is there any way I could speak with you easier and faster so you can help me out with that? My graphic card is: ASUS GeForce GTX 760 DC2 OC 2048MB :)
Since you are not using a DSDT, you would need to follow Toleda's guide, as mentioned earlier in this thread by Stork & myself, and create an patched SSDT and use MultiBeast to install it and configure your boot.plist.

Unfortunately, I only offer assistance thru this forum and will not provide any personal contact information.

If you would like, you can try rebuilding your system following my guide using and using my DSDT & MutilBeast config and see if it works for you. I can confirm that I have fully functional HDMI on my system using the ASUS GeForce GTX 780. If this does not suit you, then I would reply to wildwillow's guide for assistance with a non-DSDT setup.
 
Joined
Nov 23, 2013
Messages
14
Mac
Classic Mac
Mobile Phone
If I use your DSDT, and add everything like you did, will that create probs with my hackintosh, or is it okey to do that? And if I install your DSDT will HDMI audio start working?
 

lexone

Moderator
Joined
Apr 13, 2012
Messages
507
Motherboard
GA-Z87X-OC
CPU
Intel® Core™ i7-4770K @3.50GHz
Graphics
NVIDIA GeForce GTX780
Mac
iMac, Mac Pro
Classic Mac
Mobile Phone
iOS
If I use your DSDT, and add everything like you did, will that create probs with my hackintosh, or is it okey to do that? And if I install your DSDT will HDMI audio start working?
All systems are different and can react differently so there is no absolute way for me to say "yes" or "no" to your question. But since we are using the same board and similar GPU, all should be fine. These things are all trial and error. I always suggest making a backup or bootable clone before making any changes. But in my honest opinion, you should be fine to install my DSDT and MutliBeast config. Be sure to repair permissions before rebooting. Just follow my guide and you should be fine. let me know how you make out.
 
Top