- Joined
- Dec 9, 2010
- Messages
- 31
- Motherboard
- GA-Z77x-UD5H
- CPU
- Ivy Bridge i5-3570K
- Graphics
- MSI Radeon RX560, 2GB OC Edition
- Mac
- Mobile Phone
This post is not intended to be an end-to-end guide to demonstrate hackintosh installation and setup. There are already many great posts for that. I want to focus on some small, but critical features after your machine is up and running. Specially on this popular, but old architecture. It's more about summarizing all the helpful posts I read and followed.
1. My Hardware Setup
Following are the only features not working or not tested. I decided not to spend extra time because I don't really use them. They are not hard to fix if you search around.
First, if you own the same motherboard, upgrade to the latest firmware first (F16j):
0. BIOS setup
The best post for BIOS setup for Z77x-UD5H is here: https://www.insanelymac.com/forum/topic/288829-guide-gigabyte-z77x-ud5h-clover-uefi-installtweak-guide. One import part is:
1. Sleep / Wake: Wake up with Black Screen
I have been using hackintosh for years, but rarely had a version that has perfect sleep / wake setup. It's one of the biggest productivity problems since every morning I need to re-open all my windows again.
Originally, my setup was with GTX 750 Ti graphics card. After many research, I heard ppl saying newer hardware could resolve the sleep issue. So I upgraded to a GTC 1050 Ti. However, I still have the same sleep wake issue -- be more specific, the machine goes to sleep just fine, but when it wakes up, only the machine is running, the monitor stays in sleep mode and cannot be woken up.
I asked for help in many forums, but could never get a solid solution. Finally I decided to give AMD a shot. Since I don't play game, I bought a low-end RX 560 card. Once I pop it in and with RadeonDeInit enabled, the sleep / wake up works already.
My lesson here is, AMD graphics card nowadays has much better support from OSX. If you have graphics related issues that are hard to resolve, try AMD cards.
2. Perfect CPU Power Management
CPU power management is important because it not only saves power for you, but also makes sleep / wake working better. Fore this one, just follow this excellent guide from @toleda : macOS Native CPU/IGPU Power Management. Following are how my CPU looks like after the setup.
3. Perfect Hand Off
Hand Off / Continuity is one important productivity feature for me. I often need to airdrop files from my iPhone to this hackintosh, or share clipboard, or even unlock the machine with my Apple Watch.
To get hand off working properly, the most important part is to have WiFi/Bluetooth chip identical to real Mac computers. After some research, I picked Broadcom BCM94360CS2 AP. It's the same chip from MacBook Air 2012/2013. From its Amazon review here, I already know it's working fine with hand off. I bought an used one from eBay, also with an PCIE adapter, something like this: https://www.amazon.com/dp/B0772H1PSG/?tag=tonymacx86com-20.
I also have to enable the onboard ethernet ports, using AtherosL1cEthernet.kext (see attached) and IntelMausiEthernet.kext. Otherwise somehow hand off is not happening for me. Finally, after all these setup, it also took me a few restarts to get it work.
Unlock with Apple Watch is a little tricker, maybe due to the fact that I recently changed a new watch. I have to sign out of iCloud from both desktop and iPhone, and sign back in; and also disable and re-enable hand off features on hackintosh, iPhone and Apple Watch. Finally it worked.
How to debug Hand Off problem:
4. Fix Chrome Random Freeze Problem
I originally posted the question here: RX560 / Z77X-UD5H: Chrome random freeze / Unstable Hardware Acceleration, but didn't get any reply. It took me a while to find this problem. The symptom is, when I am browsing certain websites, such as LinkedIn, Twitter or Facebook, my screen would freeze. Mouse still works, but no response anywhere. I can still SSH into the machine remotely, but couldn't see any helpful log event. Mouse clicks obviously still trigger events because when the screen goes to sleep, a mouse click would bring it back. However, the whole UI is frozen and only reboot can fix it.
After some research, I found that no freeze once I disable Chrome's hardware acceleration: go to Chrome "Settings". search for "Hardware Acceleration", and disable the option "Use hardware acceleration when available". That tells me that this freeze must be related to graphics system. Also even this trick works, browsing become noticeably slow. So I decided to find a real solution for it.
During my research, I found this article: HOW TO FIX VIDEO RENDERING ISSUES IN FCPX HIGH SIERRA (HARDWARE ENCODING & HEVC SUPPORT) (Please google the link, tonymacx86 seems not allow competitor website links, LOL). Even though the original author was talking about freezes using Final Cut Pro, but the symptom is really similar to what I encountered -- UI frozen but mouse still works. I read through the article and found one important different setting from my system: he enabled the onboard Intel graphics card. Because I don't use dual monitor, I always disabled onboard Intel graphics card in the past. So I followed his instructions, and enabled onboard graphics card. Indeed, the freeze problem is gone!
However, I have different problem now -- if I connect my 4K monitor to the AMD RX560 card, I got black screen during boot and the system would immediately restart once reached that stage. To resolve it, I follow this guide "Integrated and Discrete Graphics, Working Together" to set my ig-platform-id to 0166000A. In system BIOS, I also have to leave the IGPU as "Initial First". I just leave my 4K monitor connected to RX560 and the system boots fine from there.
4. Conclusion
After all these tweaks, and many years of playing with hackintosh, I learn that, the most reliable, and future proof way to solve a compatibility issue is to using native hardware. Hand off is one good example. AMD RX 560 is another. I also use Marvell Yukon Gigabit Adapter 88E8053 chipset based PCIe network card and it has always been working for many generations of OSX since 2012.
Also, once you are familiar with your hackintosh system, try NOT to use Unibeast. It's easy and convenience, but also too generic. When I started, I use many files from this repository from @VioletDragon to setup my computer: Z77X-UD5H-Clover-Hotpatch-Patches. Later I swapped many files for newer versions and necessary updates. At the end of the post, I also attached my BIOS setup file and EFI folder (without themes folder) for your reference. Hopefully it's helpful for you.
Finally, there are still SSDT patch files in my EFI folder that I don't completely understand what they are for (see bellow). But they seems doing no harm. If you know what they are for and how to convert them into config.plist patches, please let me know. Thanks!
1. My Hardware Setup
- Motherboard: Gigabyte Z77x-UD5H rev1.0 (https://gist.github.com/al3xtjames/639a326c0330692b9a29)
- Audio: Realtek ALC898 Codec (rev 1.0 has broken front panel audio in Linux & OS X)
- Ethernet: Intel 82579V GbE, Qualcomm Atheros AR8151
- SATA 2: Intel 7-Series Chipset (4x)
- SATA 3: Intel 7-Series Chipset (2x), Marvell 88SE9172 (3x)
- eSATA: Marvell 88SE9172 (1x)
- USB 2.0: Intel 7-Series Chipset (4x header, 2x rear)
- USB 3.0: Intel 7-Series Chipset (2x header), VIA VL810 (rev 1.0)
- FireWire 400: VIA VT6308 (1x header, 1x rear)
- CPU: Ivy Bridge i5-3570K
- Graphics: MSI Radeon RX560 AERO ITX 2G OC Edition
- Monitor: Dell P2715Q
- OS: High Sierra 10.13.4
- Perfect sleep and wake up
- Perfect CPU power management
- Perfect hand-off
- Resolve random freeze issue when using Chrome
Following are the only features not working or not tested. I decided not to spend extra time because I don't really use them. They are not hard to fix if you search around.
- Sound over HDMI or DP
- Firewire
First, if you own the same motherboard, upgrade to the latest firmware first (F16j):
0. BIOS setup
The best post for BIOS setup for Z77x-UD5H is here: https://www.insanelymac.com/forum/topic/288829-guide-gigabyte-z77x-ud5h-clover-uefi-installtweak-guide. One import part is:
- Set "OS Type" to "Windows 8 WHQL"
- Set "CSM Support" to "Never"
1. Sleep / Wake: Wake up with Black Screen
I have been using hackintosh for years, but rarely had a version that has perfect sleep / wake setup. It's one of the biggest productivity problems since every morning I need to re-open all my windows again.
Originally, my setup was with GTX 750 Ti graphics card. After many research, I heard ppl saying newer hardware could resolve the sleep issue. So I upgraded to a GTC 1050 Ti. However, I still have the same sleep wake issue -- be more specific, the machine goes to sleep just fine, but when it wakes up, only the machine is running, the monitor stays in sleep mode and cannot be woken up.
I asked for help in many forums, but could never get a solid solution. Finally I decided to give AMD a shot. Since I don't play game, I bought a low-end RX 560 card. Once I pop it in and with RadeonDeInit enabled, the sleep / wake up works already.
My lesson here is, AMD graphics card nowadays has much better support from OSX. If you have graphics related issues that are hard to resolve, try AMD cards.
2. Perfect CPU Power Management
CPU power management is important because it not only saves power for you, but also makes sleep / wake working better. Fore this one, just follow this excellent guide from @toleda : macOS Native CPU/IGPU Power Management. Following are how my CPU looks like after the setup.
3. Perfect Hand Off
Hand Off / Continuity is one important productivity feature for me. I often need to airdrop files from my iPhone to this hackintosh, or share clipboard, or even unlock the machine with my Apple Watch.
To get hand off working properly, the most important part is to have WiFi/Bluetooth chip identical to real Mac computers. After some research, I picked Broadcom BCM94360CS2 AP. It's the same chip from MacBook Air 2012/2013. From its Amazon review here, I already know it's working fine with hand off. I bought an used one from eBay, also with an PCIE adapter, something like this: https://www.amazon.com/dp/B0772H1PSG/?tag=tonymacx86com-20.
I also have to enable the onboard ethernet ports, using AtherosL1cEthernet.kext (see attached) and IntelMausiEthernet.kext. Otherwise somehow hand off is not happening for me. Finally, after all these setup, it also took me a few restarts to get it work.
Unlock with Apple Watch is a little tricker, maybe due to the fact that I recently changed a new watch. I have to sign out of iCloud from both desktop and iPhone, and sign back in; and also disable and re-enable hand off features on hackintosh, iPhone and Apple Watch. Finally it worked.
How to debug Hand Off problem:
- Use native Wifi/Bluetooth adapter;
- Go to "System Information" / "Bluetooth", "Handoff Supported" should be "Yes"; "System Information" / "WiFi", "Auto Unlock" should be "Yes";
- If handoff still doesn't work:
- Disable Handoff on your hackintosh, iPhone and Apple Watch, and re-enable them again.
- If still does't work, try this:
- Log out iCloud from your hackintosh;
- Go to browser, log in iCloud.com;
- Remove your hackintosh machine from "My Devices" and "Find my iPhone" list; make sure your hackintosh is gone completely from your iCloud account -- you may have multiple instances there due to your previous debugging sessions. Remove all instances related to this hackintosh machint;
- Reboot your hackintosh;
- Log in iCloud again, and verify your hackintosh has been added back to your iCloud "My Devices";
- Re-enable "Handoff" and "Unlock with Apple Watch" from Settings. Your hand-off, continuity, shared clipboard and Apple Watch unlock should all work now.
4. Fix Chrome Random Freeze Problem
I originally posted the question here: RX560 / Z77X-UD5H: Chrome random freeze / Unstable Hardware Acceleration, but didn't get any reply. It took me a while to find this problem. The symptom is, when I am browsing certain websites, such as LinkedIn, Twitter or Facebook, my screen would freeze. Mouse still works, but no response anywhere. I can still SSH into the machine remotely, but couldn't see any helpful log event. Mouse clicks obviously still trigger events because when the screen goes to sleep, a mouse click would bring it back. However, the whole UI is frozen and only reboot can fix it.
After some research, I found that no freeze once I disable Chrome's hardware acceleration: go to Chrome "Settings". search for "Hardware Acceleration", and disable the option "Use hardware acceleration when available". That tells me that this freeze must be related to graphics system. Also even this trick works, browsing become noticeably slow. So I decided to find a real solution for it.
During my research, I found this article: HOW TO FIX VIDEO RENDERING ISSUES IN FCPX HIGH SIERRA (HARDWARE ENCODING & HEVC SUPPORT) (Please google the link, tonymacx86 seems not allow competitor website links, LOL). Even though the original author was talking about freezes using Final Cut Pro, but the symptom is really similar to what I encountered -- UI frozen but mouse still works. I read through the article and found one important different setting from my system: he enabled the onboard Intel graphics card. Because I don't use dual monitor, I always disabled onboard Intel graphics card in the past. So I followed his instructions, and enabled onboard graphics card. Indeed, the freeze problem is gone!
However, I have different problem now -- if I connect my 4K monitor to the AMD RX560 card, I got black screen during boot and the system would immediately restart once reached that stage. To resolve it, I follow this guide "Integrated and Discrete Graphics, Working Together" to set my ig-platform-id to 0166000A. In system BIOS, I also have to leave the IGPU as "Initial First". I just leave my 4K monitor connected to RX560 and the system boots fine from there.
4. Conclusion
After all these tweaks, and many years of playing with hackintosh, I learn that, the most reliable, and future proof way to solve a compatibility issue is to using native hardware. Hand off is one good example. AMD RX 560 is another. I also use Marvell Yukon Gigabit Adapter 88E8053 chipset based PCIe network card and it has always been working for many generations of OSX since 2012.
Also, once you are familiar with your hackintosh system, try NOT to use Unibeast. It's easy and convenience, but also too generic. When I started, I use many files from this repository from @VioletDragon to setup my computer: Z77X-UD5H-Clover-Hotpatch-Patches. Later I swapped many files for newer versions and necessary updates. At the end of the post, I also attached my BIOS setup file and EFI folder (without themes folder) for your reference. Hopefully it's helpful for you.
Finally, there are still SSDT patch files in my EFI folder that I don't completely understand what they are for (see bellow). But they seems doing no harm. If you know what they are for and how to convert them into config.plist patches, please let me know. Thanks!
- ACPI/patched
- SSDT-EC.aml
- SSDT-GLAN.aml
- SSDT-HACK.aml
- SSDT-HDEF.aml
- SSDT-MCHC.aml
- SSDT-RP02.aml
- SSDT-SATA.aml
- SSDT-SMBUS.aml
- SSDT-EC.aml
Attachments
Last edited: