Contribute
Register

[Success] Skylake Asus Maximus VIII Ranger, i5-6600, GTX 1070 (Clover/High Sierra)

Status
Not open for further replies.
Joined
May 9, 2010
Messages
227
Motherboard
Gigabyte Z690 Gaming X
CPU
i5-12600K
Graphics
RX 6800 XT
Mobile Phone
  1. Android
New Components
  • Intel i5-6600 CPU
  • Asus Maximus VIII Ranger Z170 Motherboard
  • MSI GTX 1070 Graphics Card
  • Corsair Vengeance LPX 16GB (2x8GB) 2666MHz Memory Kit
  • Noctua NH-U12S CPU Cooler
  • Corsair Carbide 600Q Full-Tower Case
Components from Previous Builds
  • Corsair RM750 PSU
  • 2 x Noctua NF-S12A ULN 120mm Fans
  • 2 x Noctua NF-A14 ULN 140mm Fans
  • Crucial BX100 250GB SSD (this is used for my macOS Drive)
Comments

My first Hackintosh was based around a Gigabyte GA-P55M-UD2 motherboard. Fast forward a couple of years, and my last Hackintosh system was built around a Gigabyte Z77X-UD4H 'board.

That brings us to today, where I’m using an Asus Z170 Maximus VIII Ranger motherboard. Why the move to ASUS? I was disappointed with the poor fan controls on my previous two Gigabyte motherboards, and had heard good things about ASUS' Q-Fan system. I also wanted a quiet computer, so good fan controls would be important to this build.

(Before starting, I made sure my BIOS was updated to the latest version. You can do this by going to Asus' web-site for your motherboard and downloading the latest BIOS update. Copy the new BIOS file to a USB Drive, then use Asus' EZ Flash Utility in your BIOS to flash the new one.)

Guide updated for macOS High Sierra - 16.10.2017

Installation – macOS High Sierra

I wanted to upgrade my current installation of Sierra to (the recently released) High Sierra. I wasn't going to do a clean install - instead I was going to use a USB Stick (with the High Sierra Installer on it) to upgrade the existing OS.

BIOS settings before setting off were (BIOS version used was 3504 - released 18.08.2017):

  • Main -> Ai Overclock Tuner -> XMP
  • Advanced -> System Agent (SA) Configuration -> Primary Display -> PEG
  • Advanced -> System Agent (SA) Configuration -> VT-d -> Disabled
    (Added 11.09.2018 - Enabling this caused occasional startup kernel crashes for me, until I found this was the culprit, and needed disabling)
  • Monitor -> Q-Fan Configuration -> Q-Fan Tuning (for setting CPU & Case fan speeds automatically)
  • Boot -> Fast Boot -> Disabled
  • Boot -> CSM (Compatibility Support Module) -> Launch CSM (Compatibility Support Module) -> Disabled
  • Boot -> Secure Boot -> OS Type -> Other OS
  • Boot -> Secure Boot -> Key Management -> Clear Secure Boot Keys (disables Secure Boot - only needed if this hasn't already been done)
All other BIOS settings were left at default.

I started by choosing a USB Stick (I settled for a 16GB Sandisk Extreme), which I was going to use for the High Sierra Installer. My next step was to download the "Install macOS High Sierra.app" from the App Store using my existing install. Then I formatted the 16GB USB Drive as HFS+ in Disk Utility, naming it Untitled. After this, in terminal, I ran the command:
Code:
sudo /Applications/Install\ macOS\ High\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled —nointeraction

On a 2GB USB stick I installed the latest version of Clover, customised for my build, which I would use to launch this newly-created USB Installer.

In Clover/kexts/Other I had:
In Clover/drivers64UEFI I had:
  • ApfsDriverLoader-64.efi - Open source apfs.efi loader. Chain loads the apfs.efi driver that is already embedded in the APFS container from this container. More info here
  • AptioMemoryFix.efi
  • #EmuVariableUefi-64.efi - no longer needed.
  • FSInject-64.efi
  • VBoxHfs-64.efi - Open-source HFS+ driver.
In Clover/ACPI/patched I had:
I used these fixes in config.plist:

1. DSDT - I used FixShutdown because I was having problems with High Sierra not shutting down properly. FixHeaders was included instead of dropping my DMAR table, and is required for a working Hackintosh with my motherboard:

These fixes go under ACPI -> DSDT:
Code:
<key>Fixes</key>
<dict>
      <key>FixShutdown_0004</key>
      <true/>
      <key>FixHeaders_20000000</key>
      <true/>
</dict>

2. Code for hiding the Preboot partition on the Clover boot screen (created by installing High Sierra on an APFS volume).
Add this to your GUI Section:
Code:
<key>Hide</key>
<array>
      <string>Preboot</string>
</array>

Using my Clover Boot Stick & USB Installer, I was able to successfully complete my upgrade to High Sierra.

The next few sections go into detail about how I got various components and features on my Hackintosh to work under High Sierra:

1. Sound

For working sound, I used AppleALC.kext, and placed it in Clover/kexts/Other. To get it to work, I added this code to my config.plist, under ACPI:
Code:
<key>DSDT</key>
<dict>
      <key>Patches</key>
      <array>
          <dict>
              <key>Comment</key>
              <string>Rename HDAS to HDEF</string>
              <key>Find</key>
              <data>SERBUw==</data>
              <key>Replace</key>
              <data>SERFRg==</data>
          </dict>
      </array>
</dict>

Also, a Devices section needed to be added to config.plist:
Code:
<key>Devices</key>
<dict>
      <key>Audio</key>
      <dict>
            <key>Inject</key>
            <integer>1</integer>
      </dict>
</dict>
Once this was done, I had working Realtek 1150 sound.

2. CPU Power Management

To enable CPU power management, I used RehabMan's [Guide] Native Power Management for Laptops.

So, I simply added this to my config.plist:
Code:
<key>SSDT</key>
<dict>
   <key>Generate</key>
   <dict>
       <key>PluginType</key>
       <true/>
   </dict>
</dict>

And now power management seems to be working for me. I also used an iMac17,1 SMBIOS for my PC, as this real-life Mac uses a similar Skylake processor to my own system (a black-screen patch is needed though - see the following section).

3. Black Screen fix for MacPro6,1 Definition

WhateverGreen.kext (the successor to NvidiaGraphicsFixup.kext & IntelGraphicsFixup.kext - combining the functionality of both) was used in conjunction with Lilu.kext, as this seemed the best way to prevent my Nvidia GPU's black-screen on startup issue.

4. Nvidia Web Drivers

For High Sierra Nvidia Web Drivers, you can download the latest ones from Nvidia Web Driver updates for macOS High Sierra.

Before installing them in High Sierra, you need to enable SIP, by changing CsrActiveConfig=0x67 to CsrActiveConfig=0x00 in your config.plist. After installation, SIP can be disabled again, by setting CsrActiveConfig=0x67. However, I've found High Sierra works fine with SIP enabled.

5. Onboard Intel Graphics

If you prefer to use onboard Intel Graphics under High Sierra, these can work, with no edits needed to config.plist.

The same WhateverGreen.kext can now be used to enable your Intel Onboard GPU - great! Before using, reboot into BIOS, and set IGFX to Primary (BIOS: Advanced -> System Agent (SA) Configuration -> Primary Display -> IGFX).

6. Sleep

In Sierra, I needed a patched DSDT.aml for sleep to work. I'm happy to report that in High Sierra, I have no issues with sleep in macOS, and can even wake my system using my PC's keyboard and mouse.

The only fixes I have in my config.plist regarding sleep are the darkwake=10 boot-arg and ACPI/DSDT/HaltEnabler=true. I'm not sure these still are needed, but sleep works on my system, so I'm keeping them in my config.plist for the time being :)

7. ASMedia USB 3.1 support

Starting with Sierra, macOS now has native support for my motherboard's ASMedia 3.1 USB port.

What works
  • Sleep (and resume from sleep).
  • CPU Power Management.
  • Onboard Realtek ALC1150 sound. Audio works after resuming from sleep, with AppleALC.kext.
  • ASMedia USB 3.1 Port.
  • Nvidia GTX 1070 Graphics Card
  • Onboard Intel Graphics.
macOS 10.13 High Sierra Update

MacOS High Sierra was released to the public on 25th September 2017. Apart from having to update Clover to the latest High Sierra-compatible version, only a few other changes were needed to get this working on my machine. As mentioned earlier, initially apfs.efi was needed for the file-system conversion when you first install High Sierra. Now Clover includes ApfsDriverLoader-64.efi, so apfs.efi doesn't need to be updated after every macOS update.

I also had to wait for new Nvidia Web Drivers to be released, along with High Sierra versions of Lilu.kext, NvidiaGraphicsFixup.kext and AppleALC.kext (although these could be made to work with the -xxxbeta boot-arg). Some software also needed time to become High Sierra compatible (like Paragon NTFS for Mac & MacDrive). Now it's 11.09.2018, and the whole upgrade cycle is starting again with the new macOS Mojave Beta ;-)

02.09.2016 - Updated Black Screen fix section, and uploaded new SSDT-USB.aml as previous version was incorrect - this file is still a work in progress.
20.09.2016 - Added Sierra section, and info about Pike's freqVectorsEdit script.
19/10/2016 - Added Port Limit Patch link for Sierra, updated Sierra section and added Sierra information for ASMedia 3.1 USB port.
16/10/2017 - Guide updated for macOS High Sierra. Removed most files except for Power Management screenshot.
16.10.2017 - This is probably my final update to this guide - hope some of you found it useful :)
10.11.2017 - Clean-up of many mistakes.
11.09.2018 - Guide refactoring ;-)

 

Attachments

  • Geekbench.png
    Geekbench.png
    99.5 KB · Views: 920
Last edited:
Hi, I have the same CPU and having some problems with power management. My lowest frequency on the intelpowergadget is around 1.4 Ghz. ideally it should idle around 800 Mhz. Can you please check what your CPU idle speed is with the power gadget and post a screen shot. Hope it won't be too much of a bother. Thanks.
 
Hi, I'm reaching around 800Mhz occasionally on the Intel Power Gadget - it takes a while for my idle speeds to settle down as I have so many programs running in the background. Hopefully, that's the reason for the slightly choppy result from Power Gadget:
SpeedStep 2.png

Let me know if you get power management working with your Asus VIII Ranger board (EDIT: I mean Gigabyte GA-Z170X-UD5 'board), as I don't know if I have it working properly - it'll be good to compare results.
 
It seems yours is working properly. Mine's working too but somehow I can't reach the lower idle speeds. Thanks for the power gadget image upload.
I also get this error when generating SSDT using SSDTprGen
Warning: 'cpu-type' may be set improperly (0x0606 instead of 0x0906)
will also upload my appleintelinfo.kext output. It shows I don't have access to lower P-states.
edit: power gadget screen shot upload
 

Attachments

  • Screen Shot 2016-02-02 at 3.42.45 PM.png
    Screen Shot 2016-02-02 at 3.42.45 PM.png
    47.3 KB · Views: 721
  • appleintelinfo output.zip
    1.6 KB · Views: 301
@hashish.k - I guess you're running the latest ssdtPRGen beta from here: https://github.com/Piker-Alpha/ssdtPRGen.sh

Also, have you tried messing around with some of the ssdtPRGen.sh flags, like setting the CPU-type manually (and remembering to run ssdtPRGen as sudo). The flags are shown on the page linked to above. Have you dropped your CpuPm and Cpu0Ist tables in the ACPI section of your config.plist (see code below), and included the -xcpm flag in your boot arguments:
Code:
<key>DropTables</key>
        <array>
            <dict>
                <key>Signature</key>
                <string>SSDT</string>
                <key>TableId</key>
                <string>CpuPm</string>
            </dict>
            <dict>
                <key>Signature</key>
                <string>SSDT</string>
                <key>TableId</key>
                <string>Cpu0Ist</string>
            </dict>
        </array>
That's all I can think of at the moment. It looks like it could be an incorrect SSDT.aml though. Also, what SMBIOS are you using - I'm using iMac 17,1 - have you tried MacPro 3,1?
 
Thanks! I have tried the things you mentioned but it did not work. Will keep trying until I find a solution! May be 10.11.4 will solve this issue
 
Same power issue here. CPU 6700K never goes below 1 GHZ.

on Windows, it goes to 0.8 GHZ.

There is no difference between my custom created SSDT.aml or using native power management. Bottoms out at 1 GHZ only no matter what.

can someone provide links to intel gadget? I am unable to install nor extract files from pkg file.
 
can someone provide links to intel gadget? I am unable to install nor extract files from pkg file.
Hi, --cj--, who is a member on this forum, extracted the .pkg files inside the Intel Power Gadget installer, then put it up for download on their Google Drive space. You can see the post here, which also includes a link to the files: http://www.tonymacx86.com/el-capita...capitan-skylake-h170n-wifi-6.html#post1157407

@hashish.k - I've just re-run ssdtPRGen and I also got the "'cpu-type' may be set improperly (0x0606 instead of 0x0906)" error, so hopefully it's safe to ignore. You could also try deleting the contents of ~/Library/ssdtPRGen/, then run ssdtPRGen again, just to make sure the information in that folder is up to date. Hope you can get power management working on your hackintosh :thumbup:
 
Good to see some Core i5-6500 and 6600 Hackintosh users.

I have a similar setup, though with a different motherboard.

Specs:

Core i5 6500
Gigabyte Z170X-Gaming 5
Sapphire R9 270X
8GB Corsair RAM

Problem is, I am unable to overclock my CPU and then boot into El Capitan. Even if I increase my BCLK frequency by 5MHz, OS X El Capitan gets stuck at VM Subsystem is on. It does not exactly throw up any error, so I have been unable to troubleshoot further. I am pretty sure it has something to do with the C/P states of the CPU because when I change the BCLK frequency, the CPU C/P state while booting into El Cap only shows one 32/33 multiplier, while otherwise it shows 4-5 different multipliers.

However, I can safely overclock my 6500 to 3.8GHz and boot into Windows 10. I even conducted some stress tests to make sure that everything is stable.

Any pointers?
 
@hashish.k - I've just re-run ssdtPRGen and I also got the "'cpu-type' may be set improperly (0x0606 instead of 0x0906)" error, so hopefully it's safe to ignore. You could also try deleting the contents of ~/Library/ssdtPRGen/, then run ssdtPRGen again, just to make sure the information in that folder is up to date. Hope you can get power management working on your hackintosh :thumbup:

Thanks I have tried almost every thing posted here, even changing the frequency vectors to a haswell iMAc (per Pike's recommendations) but did not help. I am starting to think it is a gigabyte motherboard issue. I have proper powermenagement on windows 10 though.

another easy way to install power gadget is to use pacifist and click on link contaning powegadget files and install to default location.

@Rajesh: did not know you could overclock a CPU with locked multipler.
 
Status
Not open for further replies.
Back
Top