Contribute
Register

[GUIDE] Full Power Management w/ Dual/Single Broadwell-EP/Haswell-EP CPUs on 10.12.

Status
Not open for further replies.
there are problems which I can not figure out. Anyone has XCPM working perfectly on a Xeon E5-26xx v3 series?
I can't get it to work perfectly please share config plist and kext because I have to working on a v4 series but it does not work on v3 series there are more differences then just the bootstrap and Cupid must be....

1) I need SSDT and NullCPUPowerManagement.kext otherwise it works on base frequency
2) when applied all the patches I can boost to 3Ghz but my system freezes also idle is at 2,3Ghz... very strange things

Who has it working on Haswell Xeon? Please share some plists and kexts so we can work on that
 
Last edited:
Status Update:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<array>
    <dict>
        <key>Comment</key>
        <string>_xcpm_SMT_scope_msrs  © Pike R. Alpha</string>
        <key>Disabled</key>
        <true/>
        <key>Find</key>
        <data>vgsAAABd6QgAAAA=</data>
        <key>MatchOS</key>
        <string>10.12.x</string>
        <key>Replace</key>
        <data>vgsAAABdw5CQkJA=</data>
    </dict>
    <dict>
        <key>Comment</key>
        <string>XCPM_idle Replace All fix by Pike R. Alpha</string>
        <key>Disabled</key>
        <false/>
        <key>Find</key>
        <data>ILniAAAADzA=</data>
        <key>MatchOS</key>
        <string>10.12.x</string>
        <key>Replace</key>
        <data>ILniAAAAkJA=</data>
    </dict>
    <dict>
        <key>Comment</key>
        <string>_xcpm_SMT_scope_msrs  © Pike R. Alpha</string>
        <key>Disabled</key>
        <true/>
        <key>Find</key>
        <data>vgsAAAAx0uhZ/P//</data>
        <key>MatchOS</key>
        <string>10.12.x</string>
        <key>Replace</key>
        <data>vgsAAAAx0pCQkJCQ</data>
    </dict>
    <dict>
        <key>Comment</key>
        <string>_xcpm_pkg_scope_msr  © Pike R. Alpha</string>
        <key>Disabled</key>
        <false/>
        <key>Find</key>
        <data>vgcAAAAx0uiU/P//</data>
        <key>MatchOS</key>
        <string>10.12.x</string>
        <key>Replace</key>
        <data>vgcAAAAx0pCQkJCQ</data>
    </dict>
    <dict>
        <key>Comment</key>
        <string>_xcpm_bootstrap Sierra © Pike R. Alpha</string>
        <key>Disabled</key>
        <false/>
        <key>Find</key>
        <data>g8PEg/si</data>
        <key>MatchOS</key>
        <string>10.12.x</string>
        <key>Replace</key>
        <data>g8PBg/si</data>
    </dict>
    <dict>
        <key>Comment</key>
        <string>Haswell-E CPUID Patch</string>
        <key>Disabled</key>
        <false/>
        <key>Find</key>
        <data>g8Dp</data>
        <key>MatchOS</key>
        <string>10.12.x</string>
        <key>Replace</key>
        <data>g8Dm</data>
    </dict>
    <dict>
        <key>Comment</key>
        <string>_xcpm_core_scope_msrs  © Pike R. Alpha</string>
        <key>Disabled</key>
        <false/>
        <key>Find</key>
        <data>vgIAAAAx0uhs/P//</data>
        <key>MatchOS</key>
        <string>10.12.x</string>
        <key>Replace</key>
        <data>vgIAAAAx0pCQkJCQ</data>
    </dict>
    <dict>
        <key>Comment</key>
        <string>xcpm performance fix 1 (wrsmr fix to get CPU max) © okrasit</string>
        <key>Disabled</key>
        <false/>
        <key>Find</key>
        <data>idjB4Ai5mQE=</data>
        <key>MatchOS</key>
        <string>10.12.x</string>
        <key>Replace</key>
        <data>uAD/AAC5mQE=</data>
    </dict>
</array>
</plist>
I'm running an 5820k on an Asrock X99 Extreme 4. Currently my issue is as follows the plugin property for CPU0 is missing and this is imperative to get AppleLPC and X86Platformplugin to work. I'm not using NULLCPU or VOODOO but I am using an ssdt. Sleep doesn't work but speed stepping kinda works.

UPDATE: While both kexts are still not loaded I'm getting very high Geekbench scores and sleep is working. So I don't know if it is imperative that those kexts load. Sleep seems to be working pretty consistently I just need to fix USB to stop random restarts and then I should be fine. Hope the above patches help someone.
 

Attachments

  • Screen Shot 2017-03-14 at 4.42.07 PM.png
    Screen Shot 2017-03-14 at 4.42.07 PM.png
    100.6 KB · Views: 231
Last edited:
Hello! I am trying this with motherboard Asus X99-A, a i7 6800K and a GPU Asus Geforce GTX 980ti Strix. I was using as well a FAKE CPU ID, I took it off and everything started to work better.
But I have a problem that it is related to Power Management; when I plug a DVI cable (for a VGA monitor with a DVI-VGA adapter) I get a Kernel Panic! I can't either boot with this monitor plugged.
Can you give me a hand? :rolleyes:

Thanks!
 
3. Open up Clover Configurator. Again, the specifics on getting your particular motherboard working are beyond the scope of this guide, but we'll at least eliminate the things that are definitely keeping things from working.
Make the Acpi section look like this:
upshot_aISmSlWo.png

Key changes are: Drop tables, Plugin Type = 1, everything else unchecked, and SortedOrder with 'SSDT.aml' added.

i removed the SSDT PmMgt string and ... wow it does not freeze anymore!
Only i never reach lower then 1,8Ghz and never reach higher then 2,8Ghz.... while lowest should be 1,2Ghz and turbo should be 3Ghz..... but better then a freezing machine.... so now have to find a way to get use off all the Pstates...
 
I try to use Piker Alpha's freqvectors but sysctl -n machdep.xcpm.vectors_loaded_count reveals 0. Also AppleLPC.kext and X86Platform kext aren't loading. kextstat -lb com.apple.driver.X86PlatformPlugin should show at least a line but it doesn't. It seems that the plugin-type property for CPU0 is missing in the ioRegestryExplorer. Can anybody explain how I can fix the latter issue?

Update:
Thanks for the tremendous feedback. I already figured it out be myself:

I added the following KernelToPatch entry:

Code:
Find:                    Replace:                 Comment:
0fb6c483 c0e983f8 47     0fb6c483 c0e683f8 47     xcpm_cpuid_set_info © Pike R. Alpha

In the ioRegistryExplorer I have now under CP00@0:

Code:
Property:         Type:         Value:
plugin-type       Number        0x1

and the X86PlatformPlugin.kext is loaded:

Code:
com.apple.driver.X86PlatformPlugin (1.0.0) 782DA5F5-F9BB-3B75-B40D-EC8EFFCE89A8 <94 93 16 15 11 7 6 5 4 3 1>

Unfortunately,

Code:
sysctl -n machdep.xcpm.vectors_loaded_count

is still 0! Still no Frequency-vectors loaded!
 
Last edited:
Can anyone help me with this error. I keep trying to load Piker Alpha's freqvectors and every .plist I've tried it keeps failing. Also AppleLPC.kext and X86Platform kext aren't loading. Furthermore Piker Alpha said, "kextstat -lb com.apple.driver.X86PlatformPlugin That should show a line, but if it turns up blank, then your “plugin-type” property on CPU0 is missing. This is normally injected from a _DSM method. Please check this and fix in case it isn’t being set." Attached is my config.plist. I have no idea what I'm doing wrong.

Hi Miles.Conn,

I added the following KernelToPatch entry:

Code:
Find:                    Replace:                 Comment:
0fb6c483 c0e983f8 47     0fb6c483 c0e683f8 47     xcpm_cpuid_set_info © Pike R. Alpha

In the ioRegistryExplorer I have now under CP00@0:

Code:
Property:         Type:         Value:
plugin-type       Number        0x1

and the X86PlatformPlugin.kext is loaded:

Code:
com.apple.driver.X86PlatformPlugin (1.0.0) 782DA5F5-F9BB-3B75-B40D-EC8EFFCE89A8 <94 93 16 15 11 7 6 5 4 3 1>

Unfortunately,

Code:
sysctl -n machdep.xcpm.vectors_loaded_count

is still 0! Still no Frequency-vectors loaded!

P.S.: I am writing my own power management guide at present, which you find towards the end of my build related post: https://www.tonymacx86.com/threads/...crucial-ballistix-sport-lt-gtx-980-ti.211621/. Any feedback, comments or constructive suggestions are highly welcome.
 
Hi Miles.Conn,

I added the following KernelToPatch entry:

Code:
Find:                    Replace:                 Comment:
0fb6c483 c0e983f8 47     0fb6c483 c0e683f8 47     xcpm_cpuid_set_info © Pike R. Alpha

In the ioRegistryExplorer I have now under CP00@0:

Code:
Property:         Type:         Value:
plugin-type       Number        0x1

and the X86PlatformPlugin.kext is loaded:

Code:
com.apple.driver.X86PlatformPlugin (1.0.0) 782DA5F5-F9BB-3B75-B40D-EC8EFFCE89A8 <94 93 16 15 11 7 6 5 4 3 1>

Unfortunately,

Code:
sysctl -n machdep.xcpm.vectors_loaded_count

is still 0! Still no Frequency-vectors loaded!

P.S.: I am writing my own power management guide at present, which you find towards the end of my build related post: https://www.tonymacx86.com/threads/...crucial-ballistix-sport-lt-gtx-980-ti.211621/. Any feedback, comments or constructive suggestions are highly welcome.
That's so funny! I have the exact same problem where vectors won't load and I don't know why. I took a peak at your guide and it looks really good.
 
That's so funny! I have the exact same problem where vectors won't load and I don't know why. I took a peak at your guide and it looks really good.

But I have another problem. Although in my case the maximum Turbo Frequency is 4000 Mhz, my 6950X does not exceed 3400 Mhz at present and rather saturates at this frequency, when monitoring the CPU performance by means of the Intel(R) power gadget while running e.g. geekbench. No idea what I am doing wrong here.
 
But I have another problem. Although in my case the maximum Turbo Frequency is 4000 Mhz, my 6950X does not exceed 3400 Mhz at present and rather saturates at this frequency, when monitoring the CPU performance by means of the Intel(R) power gadget. No idea what I am doing wrong here.
Double check that EIST is disabled in UEFI as that could be stopping your overclock. Also, I've kinda started ignoring Intel(R) power gadget as I think it's somewhat buggy and not accurate but that's my personal opinion. But definitely make sure EIST is disabled and that the turbo frequency in your power SSDT is set to 4000, if it isn't you might have to regenerate your SSDT
 
Double check that EIST is disabled in UEFI as that could be stopping your overclock. Also, I've kinda started ignoring Intel(R) power gadget as I think it's somewhat buggy and not accurate but that's my personal opinion. But definitely make sure EIST is disabled and that the turbo frequency in your power SSDT is set to 4000, if it isn't you might have to regenerate your SSDT

I have Intel-SpeedStep disabled in the BIOS and the turbo frequency in my ssdt.aml is set to 4000. Nevertheless, I witness the problem described above.
 
Status
Not open for further replies.
Back
Top