Contribute
Register

Skylake HWP Enable

Status
Not open for further replies.
Thanks for the great work you guys have done. I am using KabyLake on 10.13.3, and now I am getting confused whether I am using HWP or not.

These are the things I did:
Drop CpuSsdt Table
Generate PStates and CStates
Fake CPUID(0x0306A0) in clover and add NullPowerManagement.kext since I am a KabyLake user
Open HWPEnable and UseARTFrenquecy
Install the HWPEnabler.kext to /L/E

As I generate the log, there are nothing about HWP, pleease help me on this. I will post my log and some screenshot.

Old version AppleIntelInfo.kext may not show MSR 0x770 and 0x774 status.

Use attached AppleIntelInfo.kext to verify HWP status.

If HWPEnabler.kext is installed at L/E (same function as Clover HWPEnable), does not need check Clover HWPEnable.

If only need HWPEnabler.kext to resume HWP functional after system wakeup, check Clover HWPEnable option and place HWPEnabler.kext in home folder, create a script , manually run it after system wakeup.
 

Attachments

  • AppleIntelInfo.kext.zip
    32.5 KB · Views: 298
Old version AppleIntelInfo.kext may not show MSR 0x770 and 0x774 status.

Use attached AppleIntelInfo.kext to verify HWP status.

If HWPEnabler.kext is installed at L/E (same function as Clover HWPEnable), does not need check Clover HWPEnable.

If only need HWPEnabler.kext to resume HWP functional after system wakeup, check Clover HWPEnable option and place HWPEnabler.kext in home folder, create a script , manually run it after system wakeup.
Thank you so much. Now my log shows HWP correctly.
However, though I write a script, similar as the one in https://github.com/goodwin/HWPEnable/issues/1, I still can't get my HWPEnabler works after sleep. The system even crashes if I open too many tasks. Please see my screenshot and script.
Things I have done:
*use brew to install sleepwatcher
*Use the command chmod 777 ~/.wakeup to build a wakeup file
*address is right and sleepwatcher is on after sleep
*.wakeup file is in ~/.wakeup

I tried to put the kext in /Library/Extensions and change the address in .wakeup, also fail to work. Could you show me the correct way to do this?
 

Attachments

  • AppleIntelInfo.txt
    11.8 KB · Views: 356
  • 屏幕快照 2018-04-17 07.37.18.jpg
    屏幕快照 2018-04-17 07.37.18.jpg
    136.4 KB · Views: 395
  • 屏幕快照 2018-04-17 07.37.55.jpg
    屏幕快照 2018-04-17 07.37.55.jpg
    53.2 KB · Views: 375
  • HWPEnabler.kext.zip
    12.9 KB · Views: 250
Last edited:
Thank you so much. Now my log shows HWP correctly.

No, HWP not fully enabled, 0x770 still return 0x0, see attached HWP status.

I tried to put the kext in /Library/Extensions and change the address in .wakeup, also fail to work. Could you show me the correct way to do this?

I use Clover HWPEnable + HWPEnabler.kext method and do not install HWPEnabler.kext to L/E or S/L/E, just copy HWPEnabler.kext and script hwp2.sh to home folder, then run below from terminal.
sudo chown -R root:wheel ~/HWPEnabler.kext
sudo chmod -R 755 ~/HWPEnabler.kext
sudo chmod +x ~/hwp2.sh

To resume HWP functional after wakeup, run script hwp2.sh from terminal,
~/hwp2.sh
 

Attachments

  • HWP status.txt
    13.1 KB · Views: 320
  • hwp2.sh.zip
    813 bytes · Views: 248
No, HWP not fully enabled, 0x770 still return 0x0, see attached HWP status.



I use Clover HWPEnable + HWPEnabler.kext method and do not install HWPEnabler.kext to L/E or S/L/E, just copy HWPEnabler.kext and script hwp2.sh to home folder, then run below from terminal.
sudo chown -R root:wheel ~/HWPEnabler.kext
sudo chmod -R 755 ~/HWPEnabler.kext
sudo chmod +x ~/hwp2.sh

To resume HWP functional after wakeup, run script hwp2.sh from terminal,
~/hwp2.sh
Thanks for your gorgeous work, everything is ok for me now.
There's one more thing left. When I study HWPEnabler, I find in HWPEnabler.kext/Contents/info.plist/IOKitPersonalities/HWPDeaultVal is 80002301. Should I delete this so that HWPEnabler.kext can automatically do the best speed shift?
 
Thanks for your gorgeous work, everything is ok for me now.
There's one more thing left. When I study HWPEnabler, I find in HWPEnabler.kext/Contents/info.plist/IOKitPersonalities/HWPDeaultVal is 80002301. Should I delete this so that HWPEnabler.kext can automatically do the best speed shift?

If want to use ARTFrequency need install HWPEnabler.kext to L/E, otherwise value XX 00 FF 01 has no effect, XX is performance level, FF is CPU ratio.

If only use HWPEnabler.kext to resume HWP functional after wake up, just ignore this value, Clover useARTFrequency option no longer work, from 10.12.x up default value is 80 00 FF 01.
 
Last edited:
If want to use ARTFrequency need install HWPEnabler.kext to L/E, otherwise value XX 00 FF 01 has no effect, XX is performance level, FF is CPU ratio.

If only use HWPEnabler.kext to resume HWP functional after wake up, just ignore this value, Clover useARTFrequency option no longer work, from 10.12.x up default value is 80 00 FF 01.
Thanks you so so much. Finally my HWP works well aftersleep. I promise it's the last problem: I don't see my CpuSsdt in my DumpLog, so I add every subtable in clover, am I right?
 

Attachments

  • 屏幕快照 2018-04-19 11.40.49.jpg
    屏幕快照 2018-04-19 11.40.49.jpg
    478.8 KB · Views: 451
  • 屏幕快照 2018-04-19 11.41.16.jpg
    屏幕快照 2018-04-19 11.41.16.jpg
    509.2 KB · Views: 464
  • DumpLog.txt
    6.7 KB · Views: 344
Last edited:
Thanks you so so much. Finally my HWP works well aftersleep. I promise it's the last problem: I don't see my CpuSsdt in my DumpLog, so I add every subtable in clover, am I right?

From 10.12.3 or 4 up, OS read OEM PM ssdt tables and sub tables correctly, no longer need drop any PM *.aml, does not need generate PStates, CStates in Clover, only need PluginType=1 to enable X86PlatformPlugin.
 
From 10.12.3 or 4 up, OS read OEM PM ssdt tables and sub tables correctly, no longer need drop any PM *.aml, does not need generate PStates, CStates in Clover, only need PluginType=1 to enable X86PlatformPlugin.
Thank you very much. Your are my hero.
 

Attachments

  • AppleIntelInfo.txt
    14 KB · Views: 357
  • 屏幕快照 2018-04-20 09.47.34.jpg
    屏幕快照 2018-04-20 09.47.34.jpg
    340.9 KB · Views: 419
Last edited:
Here is my log. Would you guys tell me how to enable HWP correctly? I've already enable HWP and modified HWP value (0x80002301) with clover configurator. But the HWP value in log was a different one (0x20232308). I used MBP 13,3 as SMBIOS.
 

Attachments

  • AppleIntelInfo.txt
    14.3 KB · Views: 327
Last edited:
Please help!!
I tried several ways to activate the turbo boost on the Skylake i7 6700k and I could not, does anyone have a complete tutorial on how to do this?
 
Status
Not open for further replies.
Back
Top