Contribute
Register

Mavericks: Native CPU/IGPU Power Management

Not Clover, likely the SSDT. Did you try ./ssdtPRGen.sh -w 3?

Sure, it's written! Even I tried with differents values "-x 1/2/3". Anyway, I put in contact with the author by github and he doesn't know the solution so.. I give up! I guess the power management by default (AppleIntelCPUPowerManagement kext) is enough good... I hope.

Cheers.
 
It looks to me like the 3570k has some XCPM issues, especially with clover. I have it working, but it took me a while.:banghead:

be sure that:
-AppleLPC.kext is loaded
-use -w 3 for SSDT generator
-use -xcpm flag

if XCPM is loading then that is a good start. Missing states can be remedied.

also test sleep.

**EDIT**
SORRY MY BAD 3570K
 
Managed to do it after much trial and error. I used IMac13,1.

Couldn't generate a proper SSDT for some reasons so I use one I found on this forum for 3570K overclocked to 4200. (My clock in IPG wouldn't go under 2.2Ghz).

I actually ran it again with ./ssdtPREGen.sh -w 3 and applied this SSDT. Now I go as low as 1.2Ghz. Worth to mention that I ran the script while my OC was on (doing it remotely on TeamViewer). (My clock in IPG wouldn't go over 4.0Ghz).

I did my SSDT once again with optimized defaults. I get all my states and CPU goes from 1.2GHz to 4.2GHz.

My BIOS revision is F11 and I use Chimera rev 2248.

My AICPUPMI

May 23 17:55:02 localhost kernel[0]: AICPUPMI: v3.3 Copyright © 2012-2014 Pike R. Alpha. All rights reservedMay 23 17:55:02 localhost kernel[0]: AICPUPMI: logMSRs............................: 1
May 23 17:55:02 localhost kernel[0]: AICPUPMI: logIGPU............................: 0
May 23 17:55:02 localhost kernel[0]: AICPUPMI: logCStates.........................: 1
May 23 17:55:02 localhost kernel[0]: AICPUPMI: logIPGStyle........................: 1
May 23 17:55:02 localhost kernel[0]: AICPUPMI: MWAIT C-States.....................: 4384
May 23 17:55:02 localhost kernel[0]: AICPUPMI: MSR_CORE_THREAD_COUNT......(0x35) : 0x40004
May 23 17:55:02 localhost kernel[0]: AICPUPMI: MSR_PLATFORM_INFO..........(0xCE) : 0x81010F0012200
May 23 17:55:02 localhost kernel[0]: AICPUPMI: MSR_PMG_CST_CONFIG_CONTROL.(0xE2) : 0x1E000403
May 23 17:55:02 localhost kernel[0]: AICPUPMI: MSR_PMG_IO_CAPTURE_BASE....(0xE4) : 0x10414
May 23 17:55:02 localhost kernel[0]: AICPUPMI: IA32_MPERF.................(0xE7) : 0x13E6AA7BBA
May 23 17:55:02 localhost kernel[0]: AICPUPMI: IA32_APERF.................(0xE8) : 0x1424E1F187
May 23 17:55:02 localhost kernel[0]: AICPUPMI: MSR_FLEX_RATIO.............(0x194) : 0xE0000
May 23 17:55:02 localhost kernel[0]: AICPUPMI: MSR_IA32_PERF_STATUS.......(0x198) : 0x217700002200
May 23 17:55:02 localhost kernel[0]: AICPUPMI: MSR_IA32_PERF_CONTROL......(0x199) : 0x2200
May 23 17:55:02 localhost kernel[0]: AICPUPMI: IA32_CLOCK_MODULATION......(0x19A) : 0x0
May 23 17:55:02 localhost kernel[0]: AICPUPMI: IA32_THERM_STATUS..........(0x19C) : 0x883F0000
May 23 17:55:02 localhost kernel[0]: AICPUPMI: IA32_MISC_ENABLES..........(0x1A0) : 0x850089
May 23 17:55:02 localhost kernel[0]: AICPUPMI: MSR_MISC_PWR_MGMT..........(0x1AA) : 0x400000
May 23 17:55:02 localhost kernel[0]: AICPUPMI: MSR_TURBO_RATIO_LIMIT......(0x1AD) : 0x2A2A2A2A
May 23 17:55:02 localhost kernel[0]: AICPUPMI: IA32_ENERGY_PERF_BIAS......(0x1B0) : 0x0
May 23 17:55:02 localhost kernel[0]: AICPUPMI: MSR_POWER_CTL..............(0x1FC) : 0x14005F
May 23 17:55:02 localhost kernel[0]: AICPUPMI: MSR_RAPL_POWER_UNIT........(0x606) : 0xA1003
May 23 17:55:02 localhost kernel[0]: AICPUPMI: MSR_PKG_POWER_LIMIT........(0x610) : 0xA58000009F40
May 23 17:55:02 localhost kernel[0]: AICPUPMI: MSR_PKG_ENERGY_STATUS......(0x611) : 0x2707558
May 23 17:55:02 localhost kernel[0]: AICPUPMI: MSR_PKGC3_IRTL.............(0x60a) : 0x883B
May 23 17:55:02 localhost kernel[0]: AICPUPMI: MSR_PKGC6_IRTL.............(0x60b) : 0x8850
May 23 17:55:02 localhost kernel[0]: AICPUPMI: MSR_PKGC7_IRTL.............(0x60c) : 0x8857
May 23 17:55:02 localhost kernel[0]: AICPUPMI: MSR_PP0_CURRENT_CONFIG.....(0x601) : 0x1814149400000960
May 23 17:55:02 localhost kernel[0]: AICPUPMI: MSR_PP0_POWER_LIMIT........(0x638) : 0xA580
May 23 17:55:02 localhost kernel[0]: AICPUPMI: MSR_PP0_ENERGY_STATUS......(0x639) : 0x1FF1410
May 23 17:55:02 localhost kernel[0]: AICPUPMI: MSR_PP0_POLICY.............(0x63a) : 0x0
May 23 17:55:02 localhost kernel[0]: AICPUPMI: MSR_CONFIG_TDP_NOMINAL.....(0x648) : 0x22
May 23 17:55:02 localhost kernel[0]: AICPUPMI: MSR_CONFIG_TDP_LEVEL1......(0x649) : 0x1E0000000000000
May 23 17:55:02 localhost kernel[0]: AICPUPMI: MSR_CONFIG_TDP_LEVEL2......(0x64a) : 0x1E0000000000000
May 23 17:55:02 localhost kernel[0]: AICPUPMI: MSR_CONFIG_TDP_CONTROL.....(0x64b) : 0x80000000
May 23 17:55:02 localhost kernel[0]: AICPUPMI: MSR_TURBO_ACTIVATION_RATIO.(0x64c) : 0x0
May 23 17:55:02 localhost kernel[0]: AICPUPMI: MSR_PKG_C2_RESIDENCY.......(0x60d) : 0x0
May 23 17:55:02 localhost kernel[0]: AICPUPMI: MSR_PKG_C3_RESIDENCY.......(0x3f8) : 0x0
May 23 17:55:02 localhost kernel[0]: AICPUPMI: MSR_PKG_C6_RESIDENCY.......(0x3f9) : 0x0
May 23 17:55:02 localhost kernel[0]: AICPUPMI: MSR_PKG_C7_RESIDENCY.......(0x3fa) : 0x0
May 23 17:55:02 localhost kernel[0]: AICPUPMI: CPU Low Frequency Mode.............: 1600 MHz
May 23 17:55:02 localhost kernel[0]: AICPUPMI: CPU Maximum non-Turbo Frequency....: 3400 MHz
May 23 17:55:02 localhost kernel[0]: AICPUPMI: CPU Maximum Turbo Frequency........: 4200 MHz
May 23 17:55:02 localhost kernel[0]: AICPUPMI: CPU P-States [ (16) 29 34 ]
May 23 17:55:02 localhost kernel[0]: AICPUPMI: CPU C6-Cores [ 1 2 ]
May 23 17:55:02 localhost kernel[0]: AICPUPMI: CPU P-States [ (16) 24 29 34 ]
May 23 17:55:02 Studio kernel[0]: AICPUPMI: CPU C6-Cores [ 1 2 3 ]
May 23 17:55:03 Studio kernel[0]: AICPUPMI: CPU P-States [ 16 24 29 32 34 (42) ]
May 23 17:55:03 Studio kernel[0]: AICPUPMI: CPU C6-Cores [ 0 1 2 3 ]
May 23 17:55:04 Studio kernel[0]: AICPUPMI: CPU C3-Cores [ 2 ]
May 23 17:55:04 Studio kernel[0]: AICPUPMI: CPU P-States [ 16 24 29 32 34 41 (42) ]
May 23 17:55:04 Studio kernel[0]: AICPUPMI: CPU C3-Cores [ 2 3 ]
May 23 17:55:05 Studio kernel[0]: AICPUPMI: CPU P-States [ 16 24 29 32 34 40 41 (42) ]
May 23 17:55:28 studio kernel[0]: AICPUPMI: CPU P-States [ 16 24 29 32 34 40 41 42 ]
May 23 17:55:28 studio kernel[0]: AICPUPMI: CPU P-States [ 16 22 24 29 32 34 40 41 42 ]
May 23 17:55:29 studio kernel[0]: AICPUPMI: CPU P-States [ 16 22 23 24 29 32 34 40 41 42 ]
May 23 17:55:30 studio kernel[0]: AICPUPMI: CPU P-States [ (16) 21 22 23 24 29 32 34 40 41 42 ]
May 23 17:55:30 studio kernel[0]: AICPUPMI: CPU P-States [ 16 21 22 23 24 25 29 32 34 40 41 42 ]
May 23 17:55:31 studio kernel[0]: AICPUPMI: CPU C3-Cores [ 0 1 2 3 ]
May 23 17:55:33 studio kernel[0]: AICPUPMI: CPU P-States [ 16 19 21 22 23 24 25 29 32 34 40 41 42 ]
May 23 17:55:33 studio kernel[0]: AICPUPMI: CPU P-States [ 16 19 21 22 23 24 25 26 29 32 34 40 41 (42) ]
May 23 17:55:34 studio kernel[0]: AICPUPMI: CPU P-States [ (16) 17 19 21 22 23 24 25 26 29 32 34 40 41 42 ]
May 23 17:55:37 studio kernel[0]: AICPUPMI: CPU P-States [ 16 17 18 19 21 22 23 24 25 26 29 32 34 40 41 42 ]
May 23 17:55:39 studio kernel[0]: AICPUPMI: CPU P-States [ 16 17 18 19 21 22 23 24 25 26 29 31 32 34 40 41 42 ]
May 23 17:55:41 studio kernel[0]: AICPUPMI: CPU P-States [ 16 17 18 19 21 22 23 24 25 26 27 29 31 32 34 40 41 42 ]
May 23 17:55:43 studio kernel[0]: AICPUPMI: CPU P-States [ 16 17 18 19 21 22 23 24 25 26 27 28 29 31 32 34 40 41 42 ]
May 23 17:55:44 studio kernel[0]: AICPUPMI: CPU P-States [ 16 17 18 19 20 21 22 23 24 25 26 27 28 29 31 32 34 40 41 42 ]
May 23 17:55:45 studio kernel[0]: AICPUPMI: CPU P-States [ 16 17 18 19 20 21 22 23 24 25 26 27 28 29 31 32 33 34 40 41 42 ]
May 23 17:55:50 studio kernel[0]: AICPUPMI: CPU P-States [ 16 17 18 19 20 21 22 23 24 25 26 27 28 29 31 32 33 34 40 41 42 ]
May 23 17:55:54 studio kernel[0]: AICPUPMI: CPU P-States [ 16 17 18 19 20 21 22 23 24 25 26 27 28 29 31 32 33 34 35 40 41 (42) ]
May 23 17:55:54 studio kernel[0]: AICPUPMI: CPU P-States [ 16 17 18 19 20 21 22 23 24 25 26 27 28 29 31 32 33 34 35 38 40 41 42 ]
May 23 17:55:55 studio kernel[0]: AICPUPMI: CPU P-States [ 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 38 40 41 42 ]
May 23 17:56:08 studio kernel[0]: AICPUPMI: CPU P-States [ 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 38 40 41 42 ]
May 23 17:56:23 studio kernel[0]: AICPUPMI: CPU P-States [ 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 38 40 41 42 ]
May 23 17:56:25 studio kernel[0]: AICPUPMI: CPU P-States [ 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 38 39 40 41 (42) ]
May 23 17:56:36 studio kernel[0]: AICPUPMI: CPU P-States [ 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 41 42 ]

HW Monitor shows 2 to 4-5 states
Instructions were a little hard to follow at first but thanks Toleda for your guide.:headbang:
 

Attachments

  • Screen Shot 2014-05-23 at 3.35.20 PM.png
    Screen Shot 2014-05-23 at 3.35.20 PM.png
    160.8 KB · Views: 143
  • Screen Shot 2014-05-23 at 3.35.32 PM.png
    Screen Shot 2014-05-23 at 3.35.32 PM.png
    128.2 KB · Views: 104
  • Screen Shot 2014-05-23 at 6.26.29 PM.png
    Screen Shot 2014-05-23 at 6.26.29 PM.png
    86.7 KB · Views: 116
Friend. this message: "Warning: 'cpu-type' may be set improperly (0x0903 instead of 0x0703)"

I have a problem?

Captura de Tela 2014-05-23 às 17.15.06.png

Thanks.
 
not necessarily. Did you try to apply the SSDT ?

I've applied the SSDT. Use the bootloader Clover v2671. Nothing unusual so far.


Thanks for replying friend.
 
Excuse me, but I don't understand this kind of tutorials. I'm Spanish and a little noob, so it's very difficult for me.

I've got an i5-3570K.

I know that the easy way is call for assistance, but I really don't know how to pass the point number 4. "Baseline". Can someone help me? Thank you!
 
Applied steps in the tutorial. Searching in system's log, I get this message


cat /var/log/system.log | grep XCPM
May 24 18:54:25 localhost kernel[0]: XCPM: registered
May 24 18:54:25 localhost kernel[0]: IOPPF: XCPM mode
May 24 18:54:25 localhost kernel[0]: XCPM: P-state table mismatch (error:0x12)
May 24 18:54:25 localhost kernel[0]: X86PlatformShim::sendPStates - pmCPUControl (XCPMIO_SETPSTATETABLE) returned 0x12


Intel Power Gadget shows hight CPU frequency all the time.


Processor: i7-4770k
MB: GA-Z87X-UD7 TH - BIOS F4
OS: 10.9.3
Graphics: GTX-770
Onboard Graphics=off


Procedure:
1. Load Defaults
2. AppleIntelCPUPowerManagementInfo.kext installed
3. restart, no KP
4. Deselected all CPU related checks on chameleon wizard
5. Set DropSSDT and definition imac14,2
6. Prepared SSDT with ./ssdtPRGen.sh (no arguments)
7. Renamed and moved SSDT.aml to Extra
8. restarted
 

Attachments

  • DSDT.aml
    49.9 KB · Views: 106
  • intelpoewrgadget.png
    intelpoewrgadget.png
    390 KB · Views: 105
  • org.chameleon.Boot.plist
    569 bytes · Views: 155
  • registry.iojones
    1.9 MB · Views: 104
  • SSDT.aml
    2.1 KB · Views: 117
  • x86platformplugin.png
    x86platformplugin.png
    352.5 KB · Views: 122
  • AICPUPMI.txt.zip
    8.5 KB · Views: 69
Procedure:
1. Load Defaults
2. AppleIntelCPUPowerManagementInfo.kext installed
3. restart, no KP
4. Deselected all CPU related checks on chameleon wizard
5. Set DropSSDT and definition imac14,2
6. Prepared SSDT with ./ssdtPRGen.sh (no arguments)
7. Renamed and moved SSDT.aml to Extra
8. restarted

Did you reboot between step 5 and 6? ssdtPRgen.sh script depends on having the correct smbios active when it is run (read the code in ssdtPRgen.sh...)
 
Back
Top