Contribute
Register

[Guide] High Sierra on Asus Z-170, RX Vega 64

Did this guide work for you?


  • Total voters
    16
Joined
Dec 25, 2015
Messages
163
Motherboard
Asus Maximus X Code Z-370
CPU
i7-8700K
Graphics
Vega 64
Mac
MacBook Pro, Mac mini, Mac Pro
Mobile Phone
iOS
Hi all,

This is a follow up to my guide for installing Sierra. I switched my GPU to RX Vega 64 as I was reading that it works OOB. The Nvidia 960 was not giving me any trouble. It was just a hassle to wait for Nvidia drivers to get updated and then applying the kext patches again etc., etc.

Configuration
Asus Z170 Premium
Core i5 6600K
XFX RX Vega 64 8GB Air Cooled
HyperX 32 GB 3200Mhz
Samsung 950 Pro NVME
Samsung Evo 850 256GB SSD
Patriot Blast 450GB SSD
Patriot Blast 1 TB SSD
2 x Samsung UE590D 4k Displays running at 60Hz

I have managed to get almost everything working except the following.

Whats not working?
1. Any electron based apps like Visual studio code, Opera etc freeze the system and overload the GPU (all the lights on the GPU light up). This is a known issue with High Sierra and AMD Vega cards. This should get better as the new iMac Pro is released.
2. The Bluetooth driver is still unreliable and the Magic Mouse stutters every now and then. So for now, I have switched to Logitech K780 and Mx Master 2 and nothing could be better. Try It!!
3. Handoff. I suspect that the Bluetooth driver is the culprit here
4. One of the two Ethernet ports still doesn't work with the suggestions posted on my previous guide.

Steps
This is by far the most painless and stable build for me. And I learned a lot about Clover. So now the plist and other things in my Clover are kind of lean and clean.

Preparing the Installation Media
  1. Follow this great guide to create the install media.
  2. Download the latest clover and install as mentioned in the guide. HOWEVER, the latest clover 4243 does not work in High Sierra for me.
  3. Once downloaded, Mount the EFI of your USB using Clover Configurator and replace the contents of EFI folder with the attached EFI.
  4. Make sure that your EFI has apfs.efi driver in drivers64UEFI folder.
  5. Open the config.plist in the Clover Configurator and make the following edits in SMBIOS
    • On the terminal, run uuidgen to generate a UUID and replace the SmUUID
    • Generate a new serial number.
    • Copy this same serial number in the Board Serial number and append any 5 (five) random hex compatible letters. For example, if your serial number is C02VYV2V313J, then a valid Board Serial number can be C02VYV2V313JABCDE.
    • You will notice that the Product Name is iMac 19,1 even though it is not available in the SMBIOS wizard. Thats because it is the SMBIOS of the upcoming iMac Pro (c. Pike Alpha). Look at this post for more context.
    • Don't change the BIOS version or Board-id. This will wreck your SMBIOS. Basically, don't mix match iMac19,1 with any other model.
  6. Save and exit
Setting up the Target Machine for Installation
  1. Open BIOS and update to the latest.
  2. Load the defaults and reboot.
  3. Open BIOS again and
    • Disable IOAPIC under Advanced/PCH configuration
    • Change Secure Boot to Other OS under Boot
    • Disable CSM under boot. This is really important if you want to get all the GPU ports working.
  4. Don't worry about disabling the onboard GPU as it gets disabled automatically if a GPU is plugged into the PCIE slot.
  5. Save and reboot.
Installing High Sierra
  1. Plug the USB to any port or even a USB hub and log in into BIOS
  2. Move the installer USB to the top of the boot device. DO NOT try to boot from the installer device directly, it will crash.
  3. Once the installer USB is on the top, save and exit.
  4. You will see the clover at this point and you can choose Boot from Install High Sierra......
  5. Finish the installation.
  6. It will boot a couple of times. Starting from first reboot, always select your HDD instead of installer USB in clover boot menu.
Post Installation
  1. With the USB still plugged in, you will be able to log in into High Sierra.
  2. Follow the steps 2-5 from the section "Preparing the installation media" and copy everything from the installer USB to your Macintosh USB.
  3. Eject the installer USB and reboot.
  4. You should be able to log into High Sierra after reboot.
Now lets fix the remaining things.

Bluetooth
In order to fix Bluetooth, go to this GitHub page and follow the instructions.
To install the kexts, I use KextBeast. In this case you will need to install BrcmPatchRAM2.kext and BrcmFirmwareRepo.kext. I always install the custom kexts in /Library/Extensions. Reboot and you will have the Bluetooth working (its flaky as I mentioned).

Audio
Get the latest VoodooHDA from here and install. Reboot and you will have your audio working.

Things I learned
This EFI is very different from the other guides that I have written because its much simpler and has only the things that are absolute to make it work (well, I think its minimal haha).
  1. Previously, I was using a patched DSDT and I was under an impression that it is a must have. However, I realized that I didn't need it. So in the attached EFI, you will not find the patched DSDT. If you think you need it, check out my Sierra guide and get it from the EFI attached there.
  2. In order to get full RAM speed detection, there is a setting called XMPDetection under Boot in Clover. If you set it to Yes, you will see the maximum RAM speed.
  3. There were a lot of flags in Acpi and Graphics. I didn't need most of them. Infact, there is no patch in Graphics section. However, I did need the AppleGraphicsPolicy kext patch under Kernel and Kext Patches
Summary of what I did to get RX Vega working
I think this is one of the hottest topics in the Vega world because a lot of us have been facing problems with Vega while some have claimed that it works OOB. So let me start by saying this
Vega GPUs (RX Vega 64, RX Vega 56, RX Vega Frontier Edition) do not work OOB with this build as opposed to what you may see on YouTube or other threads. Here is what I had to do in order to get the full GPU support

  1. Disable CSM compatibility mode in the BIOS. This is a must. Otherwise, you will get a small pixelated window with the pointer in the center on all but the first port on the GPU. If you are dual booting, then you do need this to be turned on. I don't know how to help you in that case. Follow this thread to know more.
  2. Delete the CSM Video driver from the drivers64UEFI folder. You don't need it for the above mentioned reason.
  3. A patch for the AppleGraphicsPolicy kext by Pike.
  4. To avoid crashes, run apps like Google Chrome without GPU acceleration.
    Kext: AppleGraphicsDevicePolicy
    Find: <626f6172 642d6964>
    Replace: <626f6172 642d6978>
    (c)Pike R. Alpha
If you miss anything, you will most likely end with only 1 display port or a system freeze.
 
Last edited by a moderator:
Joined
Dec 25, 2015
Messages
163
Motherboard
Asus Maximus X Code Z-370
CPU
i7-8700K
Graphics
Vega 64
Mac
MacBook Pro, Mac mini, Mac Pro
Mobile Phone
iOS
Update

I am unable to edit the original post. I think, its locked by the moderator. I was able to update Clover to the latest version. Please see this thread to understand how to get the latest clover on an APFS partition.
 
Joined
Dec 25, 2015
Messages
163
Motherboard
Asus Maximus X Code Z-370
CPU
i7-8700K
Graphics
Vega 64
Mac
MacBook Pro, Mac mini, Mac Pro
Mobile Phone
iOS
Note:

You need to generate an SMBIOS for iMAc 18,3 first if you are not using the attached plist.
Once you have generated serial num etc etc, only then change the 3 fields for iMac 19,1
 
Joined
Sep 17, 2017
Messages
68
Motherboard
Gigabyte Z270X- Gaming 5
CPU
i7-i7700
Graphics
RX Vega 64
Mac
iMac
Hi all,

This is a follow up to my guide for installing Sierra. I switched my GPU to RX Vega 64 as I was reading that it works OOB. The Nvidia 960 was not giving me any trouble. It was just a hassle to wait for Nvidia drivers to get updated and then applying the kext patches again etc., etc.
...

Hello there again,
where can I get AppleGraphicsDevicePolicy kext?

Thx
 
Last edited by a moderator:
Joined
May 4, 2017
Messages
7
Motherboard
Z170 Gigabyte Gaming 7
CPU
i7 7700K
Graphics
XFX RX Vega 56
Mac
iMac, MacBook Pro
Mobile Phone
Android, iOS
Note:

You need to generate an SMBIOS for iMAc 18,3 first if you are not using the attached plist.
Once you have generated serial num etc etc, only then change the 3 fields for iMac 19,1
So when I click Generate New after adding my new SmUUID, is the serial number suppose to change? It does not for me unfortunately.

Update: Never mind I found some other instructions from you in another thread. I cleared it out and started from scratch. Onwards with your guide!
 
Last edited:
Joined
Dec 25, 2015
Messages
163
Motherboard
Asus Maximus X Code Z-370
CPU
i7-8700K
Graphics
Vega 64
Mac
MacBook Pro, Mac mini, Mac Pro
Mobile Phone
iOS
Hello there again,
where can I get AppleGraphicsDevicePolicy kext?

Thx
In the last part of my guide :/. Or are you asking abiut something else?
 
Joined
Sep 17, 2017
Messages
68
Motherboard
Gigabyte Z270X- Gaming 5
CPU
i7-i7700
Graphics
RX Vega 64
Mac
iMac
In the last part of my guide :/. Or are you asking abiut something else?
I was trying to follow your guide. You were saying that you had all systems working properly. My issue was "wobbling bluetooth mouse" while having connected few USB drives. Also do you have Vega recognized as Vega in High Sierra? This the main reason I was thinking about AppleGraphicsDevicePolicy kext.

Thank you
 

Attachments

Joined
Dec 25, 2015
Messages
163
Motherboard
Asus Maximus X Code Z-370
CPU
i7-8700K
Graphics
Vega 64
Mac
MacBook Pro, Mac mini, Mac Pro
Mobile Phone
iOS
I was trying to follow your guide. You were saying that you had all systems working properly. My issue was "wobbling bluetooth mouse" while having connected few USB drives. Also do you have Vega recognized as Vega in High Sierra? This the main reason I was thinking about AppleGraphicsDevicePolicy kext.

Thank you
Oh My bad. I didn't mention in the guide but in the attached efi, I have lilu n whatever green kexts which helped recognising the right model.

Bluetooth is flaky in my case too as I mentioned. I moved to logitech system which uses us own wireless tech and I m happy with it.
 
Joined
May 4, 2017
Messages
7
Motherboard
Z170 Gigabyte Gaming 7
CPU
i7 7700K
Graphics
XFX RX Vega 56
Mac
iMac, MacBook Pro
Mobile Phone
Android, iOS
I was trying to follow your guide. You were saying that you had all systems working properly. My issue was "wobbling bluetooth mouse" while having connected few USB drives. Also do you have Vega recognized as Vega in High Sierra? This the main reason I was thinking about AppleGraphicsDevicePolicy kext.

Thank you
My XFX Vega 56 shows up as a 64 for some reason. Didn't realize that until now.
 

Attachments

Joined
Mar 5, 2011
Messages
41
Mobile Phone
iOS
My XFX Vega 56 shows up as a 64 for some reason. Didn't realize that until now.
Mine does too but I have flashed the V64 bios so assumed it was due to that. Whilst we're on the topic of modifications - is there any way to control voltage/overclock on OSX?
 
Top