How to get your overclock working on OS X (or how my Hackintosh runs a 2500K @ 4.8GHZ) – Updated for Skylake

UPDATE for Skylake

This doesn’t seem to be necessary on Skylake as frequency is scaling out of the box on a GA-Z170N-Gaming 5 with 6700K. In fact, generating the SSDT and dropping OEM tables causes the machine to kernel panic (I’ve later learned that dropping OEM tables isn’t recommended). Simply remove NullCPUPowerManagement.kext and check scaling with Intel Power Gadget and you should be good to go! (I’m running at 4.8GHZ with no issues).

Important note though, some say that frequency scaling won’t work correctly without the proper SSDTs as in Turbo won’t boost as long (as OS X will be unaware of the proper frequency scaling). While ssdtPRGen.sh is now up to date with full Skylake support (and no longer recommends dropping OEM tables), you’ll also need to use the iMac 17,1 SMBOIS definition along with board-id Mac-65CE76090165799A BUT keep in mind that you’ll also need to run this utility after each upgrade to fix black screen (nv_disable=1 to access desktop in the meantime for Nvidia builds): http://www.tonymacx86.com/threads/black-screen-with-macpro-6-1-or-imac-15-or-imac-17-system-definition.183113/

To make it easy though (but may not allow full stepping up to your overclock speed reliably), here are some precompiled SSDTs which should work with any SMBOIS if you don’t want to run a patch after every update with the iMac17,1 SMBOIS definition:

Source: http://www.tonymacx86.com/threads/guide-el-capitan-on-the-skylake-h170n-wifi.178197/


First off, this assumes you are running Clover EFI bootloader, I run El Captain and only Clover is supported anyway. This also assumes you have a working backup clover boot disk such as on a USB drive so if things break, you don’t blame me.

By default, you likely are using NullCPUPowerManagement.kext to be able to boot and if you are not, your frequency is only scaling to stock frequencies. This is due to the bootloader not having the correct stepping information for your overclock. This guide helps you generate the proper stepping values for your overclock, whatever your overclock may be.

Note that OS X is not Windows. You can set whatever an overclock you want in your BIOS but when you boot into OS X, it won’t scale the frequency and you’ll be running whatever stock clock is without scaling (such as 3.4GHZ permanently) unless you have a proper SSDT. You can verify this by running the Intel Power Gadget.

  1. Open Terminal, then,
    curl -o ~/ssdtPRGen.sh http://raw.githubusercontent.com/Piker-Alpha/ssdtPRGen.sh/Beta/ssdtPRGen.sh
  2. chmod +x ~/ssdtPRGen.sh
  3. Next, run ssdtPRGen.sh with the -f flag for the maximum frequency you are running at (ssdtPRGen.sh should be able to autoselect all other needed values, if you have issues, try some additional flags: http://github.com/Piker-Alpha/ssdtPRGen.sh)
    ~/ssdtPRGen.sh -f 4800
  4. Copy the generated ssdt.aml file to your Clover boot EFI partition (mount it using clover configurator first)
    cp ~/Library/ssdtPRGen/ssdt.aml /Volumes/EFI/EFI/CLOVER/ACPI/patched 
  5. You may also need to copy it to another directory in the Clover EFI partition, not 100% on this one but it won’t hurt (tested, no longer needed)
    cp ~/Library/ssdtPRGen/ssdt.aml /Volumes/EFI/EFI/CLOVER/OEM/SystemProductName/ACPI/patched
  6. In Acpi->SortedOrder add SSDT.aml to the list

Screen-Shot-2016-01-16-at-6.17.34-PM

 

8. Be sure to remove NullCPUPowerManagement.kext from your clover kext directory if you have been using it, else the frequency won’t scale

9. Reboot and install Intel Power Gadget, run it and put some stress on the CPU to verify scaling works properly

 

Screen-Shot-2016-01-16-at-6.21.36-PM

Yes, I know there is a generate P and C states option in Clover and no, I’ve never tried it. I prefer to generate my own SSDT files for stepping so I know that it is working properly and it’s not left to chance or change between Clover versions.

6 Comments

  1. I ran my Core i7 2600k @ 4.6GHz with water cooling. CPU ran at 99.0c the whole time I ran benchmark! ouch!

    PS. Stock GeekBench64 = 12,900 — Overclock GeekBench64 = 17,800 🙂

    Got it running at stock now, but may experiment with 4.1/4.2 in the future.

    Like

  2. i have overclocked my 6700k to 4.6 Ghz with my Asus Rog Maximus VIII Hero Alpha and latest bios, i think 1902, but with this trick now about this mac shows me only 4.3 Ghz. Am i doing something wrong?

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: