Contribute
Register

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

Status
Not open for further replies.
Hi Guys,
I’m running Sierra 10.12.4 on an ASUS X99 Deluxe with i7-5930K. I’ve generated the SSDT and run freqVectors from PikerAlpha, but I don’t know if I have the correct P and C States (sleep/wake isn’t working by the way). I’ve tried to compile AppleIntelInfo from PikerAlpha via Xcode, but it gives me an error when running it.

Could someone help me?

thanks
 
I have followed every step of your guide, but for some reason my processor is stuck at its highest speed - currently 3.6 GHz as I have enabled Profile 1 in BIOS settings. Please find my config.plist attached. If you need anything else let me know. Please tell me what I am doing wrong. Thanks
 

Attachments

  • config2.plist
    12 KB · Views: 251
hello

do you make the freqvectorsedit from alpha?
https://github.com/Piker-Alpha/freqVectorsEdit.sh


this is this which let you have power management


I have followed every step of your guide, but for some reason my processor is stuck at its highest speed - currently 3.6 GHz as I have enabled Profile 1 in BIOS settings. Please find my config.plist attached. If you need anything else let me know. Please tell me what I am doing wrong. Thanks
 
hello

do you make the freqvectorsedit from alpha?
https://github.com/Piker-Alpha/freqVectorsEdit.sh


this is this which let you have power management

Hi, thanks for your response. Actually, between my last post and your response to it, I went through all the steps once more, and I got XCPM-based Power Management working. However, I noticed that after I injected frequency vectors from iMac 15,1 into the
Mac-F60DEB81FF30ACF6.plist file (I am using MacPro 6,1 system description in Clover's SMBIOS settings), my computer would not respond after going to sleep. The motherboard lights would come on, and the fans would start spinning etc., but no display and no responsiveness from the computer (ejecting of CD tray upon pressing, or shutdown upon Ctrl+Eject Button + Enter key press). I could only get sleep+wake working after restoring an original version of the plist from the installESD.dmg using Pacifist.

Is it absolutely essential to inject frequency vectors into the target plist, or can one get results without this step? I am using the SSDT for cpu power management generated using Piker Alpha's ssdtPRgen script.
 
So, I, uh, completely forgot that I had patched the BIOS image from Supermicro for my motherboard and flashed my own modified BIOS to my X10DAi mobo. It was largely cosmetic (replaced the Supermicro logo with the Apple boot image, restored some stuff that had been removed from the EFI shell, etc.)....but more importantly, I patched the bios so that it leaves MSR 0xE2 unlocked. Motherboards often lock this register, and that prevents macOS from booting. So my guide works as long as your motherboard has MSR 0xE2 unlocked. If it is locked, you must make sure to check the 'KernelPm' box in the Kernel and Kexts section of Clover Configurator.

Hey Metacollin, your patched BIOS sounds amazing. Would you be willing to post it? Do you think it would work on my X10DAX too? Just trying to revive my project. Maybe this (MSR 0xE2 locked) was the problem I was initially having?

If you don't wish to post your patched BIOS OR if it won't work on my X10DAX, how do I unlock MSR 0xE2? or does checking "KernelPm" do exactly the same thing? Is there a difference functionally?
 
So I've got XCPM working, but somehow I am not able to get my processor to hit the turbo frequencies in Geekbench or Cinebench (I did use the -turbo switch in ssdtPRGen.sh). Also, I am not able to get any C3-states, which I get if I don't use XCPM (but not using XCPM totally breaks power management for my processor). Any hep will be appreciated. Thanks.

CPU Ratio Info:
------------------------------------------
Base Clock Frequency (BLCK)............. : 100 MHz
Maximum Efficiency Ratio/Frequency.......: 12 (1200 MHz)
Maximum non-Turbo Ratio/Frequency........: 33 (3300 MHz)
Maximum Turbo Ratio/Frequency............: 36 (3600 MHz)
P-State ratio * 100 = Frequency in MHz
------------------------------------------
CPU P-States [ 30 (36) ]
CPU C6-Cores [ 0 2 4 6 8 10 ]
CPU P-States [ (12) 30 36 ]
CPU C6-Cores [ 0 1 2 4 6 7 8 10 ]
CPU C6-Cores [ 0 1 2 4 6 7 8 10 11 ]
CPU P-States [ 12 30 31 (33) 36 ]
CPU P-States [ 12 22 30 31 (33) 36 ]
CPU P-States [ (12) 22 25 30 31 33 36 ]
CPU P-States [ (12) 22 25 30 31 33 34 36 ]
CPU C6-Cores [ 0 1 2 4 6 7 8 9 10 11 ]
CPU P-States [ 12 22 25 27 30 31 33 34 (36) ]
CPU P-States [ (12) 22 24 25 27 30 31 33 34 36 ]
CPU C6-Cores [ 0 1 2 4 5 6 7 8 9 10 11 ]
CPU C6-Cores [ 0 1 2 3 4 5 6 7 8 9 10 11 ]
CPU P-States [ (12) 22 23 24 25 27 30 31 33 34 36 ]
CPU P-States [ (12) 22 23 24 25 26 27 30 31 33 34 36 ]
CPU P-States [ (12) 22 23 24 25 26 27 29 30 31 33 34 36 ]
CPU P-States [ (12) 22 23 24 25 26 27 28 29 30 31 33 34 36 ]
CPU P-States [ (12) 20 22 23 24 25 26 27 28 29 30 31 33 34 36 ]
CPU P-States [ 12 20 22 23 24 25 26 27 28 29 30 31 32 (33) 34 36 ]
CPU P-States [ 12 20 22 23 24 25 26 27 28 29 30 31 32 33 34 35 (36) ]
CPU P-States [ (12) 15 20 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 ]
CPU P-States [ (12) 15 17 20 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 ]
CPU P-States [ 12 13 15 17 20 22 23 24 25 26 27 28 29 30 31 32 33 34 35 (36) ]
CPU P-States [ 12 13 15 17 20 21 22 23 24 25 26 27 28 29 30 31 32 (33) 34 35 36 ]
CPU P-States [ 12 13 15 17 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 (36) ]
CPU P-States [ (12) 13 15 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 ]
CPU P-States [ (12) 13 14 15 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 ]
CPU P-States [ (12) 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 ]
 
I now have C3 states going, by removing the XCPM Core Scope patch, and generating C-States in Clover. However, still no flat turbo graphs in Intel Power Gadget.

CPU Ratio Info:
------------------------------------------
Base Clock Frequency (BLCK)............. : 100 MHz
Maximum Efficiency Ratio/Frequency.......: 12 (1200 MHz)
Maximum non-Turbo Ratio/Frequency........: 33 (3300 MHz)
Maximum Turbo Ratio/Frequency............: 40 (4000 MHz)
P-State ratio * 100 = Frequency in MHz
------------------------------------------
CPU P-States [ (12) 35 40 ]
CPU C3-Cores [ 1 3 4 6 8 10 ]
CPU C6-Cores [ 0 2 4 6 8 10 ]
CPU P-States [ 12 26 (33) 35 40 ]
CPU C3-Cores [ 1 2 3 4 6 8 9 10 11 ]
CPU P-States [ (12) 26 28 33 35 40 ]
CPU C3-Cores [ 1 2 3 4 5 6 7 8 9 10 11 ]
CPU C6-Cores [ 0 1 2 3 4 5 6 7 8 9 10 11 ]
CPU P-States [ 12 26 28 (33) 34 35 40 ]
CPU C3-Cores [ 0 1 2 3 4 5 6 7 8 9 10 11 ]
CPU P-States [ (12) 23 26 28 33 34 35 40 ]
CPU P-States [ 12 23 26 28 32 (33) 34 35 40 ]
CPU P-States [ (12) 18 23 26 28 32 33 34 35 40 ]
CPU P-States [ (12) 18 20 23 26 28 32 33 34 35 40 ]
CPU P-States [ (12) 18 20 23 26 27 28 32 33 34 35 40 ]
CPU P-States [ (12) 18 20 23 24 26 27 28 32 33 34 35 40 ]
CPU P-States [ (12) 18 20 22 23 24 26 27 28 32 33 34 35 40 ]
CPU P-States [ (12) 18 20 22 23 24 25 26 27 28 32 33 34 35 40 ]
CPU P-States [ (12) 18 20 22 23 24 25 26 27 28 30 32 33 34 35 40 ]
CPU P-States [ (12) 18 20 21 22 23 24 25 26 27 28 30 32 33 34 35 40 ]
CPU P-States [ (12) 18 20 21 22 23 24 25 26 27 28 29 30 32 33 34 35 40 ]
CPU P-States [ (12) 16 18 20 21 22 23 24 25 26 27 28 29 30 32 33 34 35 40 ]
CPU P-States [ (12) 16 18 19 20 21 22 23 24 25 26 27 28 29 30 32 33 34 35 40 ]
CPU P-States [ 12 15 16 18 19 20 21 22 23 24 25 26 27 28 29 30 32 (33) 34 35 40 ]
CPU P-States [ (12) 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 32 33 34 35 40 ]
CPU P-States [ (12) 13 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 32 33 34 35 40 ]
CPU P-States [ 12 13 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 (40) ]
CPU P-States [ 12 13 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 (33) 34 35 36 40 ]
CPU P-States [ 12 13 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 (33) 34 35 36 39 40 ]
CPU P-States [ 12 13 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 38 39 (40) ]
CPU P-States [ 12 13 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 (40) ]
CPU P-States [ (12) 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 ]
 

Attachments

  • Intel-Power-Gadget.png
    Intel-Power-Gadget.png
    73.5 KB · Views: 154
Using the XCPM Performance Fix patches, I have been able to get flat turbo lines in Intel Power Gadget, but now the new issue is that the processor frequency never goes below 2 GHz [see screenshot]. Also attaching a screenshot of the patches in question. Is there a patch or a combination of patches that allows me to hit flat turbo rates, and when the processor is idle, allows it to remain comfortable around the 1.2 GHz mark? Thanks in advance.

AppleIntelInfo Output:

CPU Ratio Info:
------------------------------------------
Base Clock Frequency (BLCK)............. : 100 MHz
Maximum Efficiency Ratio/Frequency.......: 12 (1200 MHz)
Maximum non-Turbo Ratio/Frequency........: 33 (3300 MHz)
Maximum Turbo Ratio/Frequency............: 40 (4000 MHz)
P-State ratio * 100 = Frequency in MHz
------------------------------------------
CPU P-States [ 39 (40) ]
CPU C3-Cores [ 0 2 6 8 11 ]
CPU C6-Cores [ 1 2 4 6 8 10 ]
CPU C6-Cores [ 0 1 2 4 6 8 10 ]
CPU C3-Cores [ 0 2 3 6 8 11 ]
CPU C6-Cores [ 0 1 2 4 6 8 10 11 ]
CPU C3-Cores [ 0 2 3 6 8 9 11 ]
CPU C6-Cores [ 0 1 2 4 5 6 7 8 10 11 ]
CPU P-States [ 33 39 (40) ]
CPU C3-Cores [ 0 1 2 3 6 8 9 10 11 ]
CPU C3-Cores [ 0 1 2 3 6 7 8 9 10 11 ]
CPU C6-Cores [ 0 1 2 4 5 6 7 8 9 10 11 ]
CPU P-States [ (12) 33 36 39 40 ]
CPU C6-Cores [ 0 1 2 3 4 5 6 7 8 9 10 11 ]
CPU C3-Cores [ 0 1 2 3 4 6 7 8 9 10 11 ]
CPU C3-Cores [ 0 1 2 3 4 5 6 7 8 9 10 11 ]
CPU P-States [ 12 33 36 38 39 (40) ]
CPU P-States [ 12 33 36 37 38 39 (40) ]
CPU P-States [ 12 33 35 36 37 38 39 (40) ]
CPU P-States [ 12 33 34 35 36 37 38 39 (40) ]
CPU P-States [ 12 32 33 34 35 36 37 38 39 (40) ]
CPU P-States [ (12) 30 32 33 34 35 36 37 38 39 40 ]
CPU P-States [ 12 30 31 32 33 34 35 36 37 38 39 (40) ]
CPU P-States [ (12) 28 30 31 32 33 34 35 36 37 38 39 40 ]
CPU P-States [ 12 28 29 30 31 32 33 34 35 36 37 38 39 (40) ]
CPU P-States [ 12 27 28 29 30 31 32 33 34 35 36 37 38 39 (40) ]
 

Attachments

  • Screenshot 2017-05-03 20.05.24.png
    Screenshot 2017-05-03 20.05.24.png
    71.7 KB · Views: 206
  • Screenshot 2017-05-03 20.07.05.png
    Screenshot 2017-05-03 20.07.05.png
    257.3 KB · Views: 233
  • Screenshot 2017-05-03 20.07.20.png
    Screenshot 2017-05-03 20.07.20.png
    209.3 KB · Views: 216
I tried many times but not boot
main X10dai
Cpu DUAL E5 2650 V3
Ram 32 Gb
VGA GTX980ti
plz help meeeee
 
Status
Not open for further replies.
Back
Top