Contribute
Register

Quick Guide to Generate a SSDT for CPU Power Management

I can't understand, i don't have any SSDT and i have at least 2 states (1,6 and 3,5 GHz)...
Is it possible ?

Without an SSDT you get some states (I get 8 16 18 19) but with an SSDT (i get 8 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 (29))
 
"Error: Unknown processor model" on my i5-6600k. I guess this hasn't been updated for Skylake yet?


From RehabMan's guide:

Note: If you have a CPU currently unsupported by the script, you may have to provide the data for it.

For example, i7-4720HQ:
Code:
./ssdtPRGen.sh -p 'i7-4710HQ' -f 2600 -turbo 3600

By providing the name 'i7-4710HQ' (similar enough to i7-4720HQ), and overrides for the non-turbo and turbo frequencies, the script is successful. Eventually, it would not be necessary, provided the script is updated with the new CPUs.
 
For Example the one I made for mine, it is glorious :) Now Im just trying to find a better turbo frequency thats stable above 4.4

AppleIntelInfo.kext v1.2 Copyright © 2012-2015 Pike R. Alpha. All rights reserved



Settings:
------------------------------------
logMSRs............................: 1
logIGPU............................: 0
logIntelRegs.......................: 1
logCStates.........................: 1
logIPGStyle........................: 1
InitialTSC.........................: 0xa0dc10fd92
MWAIT C-States.....................: 270624


Model Specific Regiters
------------------------------------
MSR_CORE_THREAD_COUNT......(0x35) : 0x40008
MSR_PLATFORM_INFO..........(0xCE) : 0x80838F3012800
MSR_PMG_CST_CONFIG_CONTROL.(0xE2) : 0x1E000005
MSR_PMG_IO_CAPTURE_BASE....(0xE4) : 0x21814
IA32_MPERF.................(0xE7) : 0xE7E201548
IA32_APERF.................(0xE8) : 0xF26EB68BB
MSR_FLEX_RATIO.............(0x194) : 0xE0000
MSR_IA32_PERF_STATUS.......(0x198) : 0x290A00002C00
MSR_IA32_PERF_CONTROL......(0x199) : 0x2C00
IA32_CLOCK_MODULATION......(0x19A) : 0x0
IA32_THERM_STATUS..........(0x19C) : 0x884B0800
IA32_MISC_ENABLES..........(0x1A0) : 0x850089
MSR_MISC_PWR_MGMT..........(0x1AA) : 0x400001
MSR_TURBO_RATIO_LIMIT......(0x1AD) : 0x2C2C2C2C
IA32_ENERGY_PERF_BIAS......(0x1B0) : 0x1
MSR_POWER_CTL..............(0x1FC) : 0x4005F
MSR_RAPL_POWER_UNIT........(0x606) : 0xA0E03
MSR_PKG_POWER_LIMIT........(0x610) : 0x429000001D9000
MSR_PKG_ENERGY_STATUS......(0x611) : 0x17F78AC
MSR_PKG_POWER_INFO.........(0x614) : 0x2C0
MSR_PP0_CURRENT_CONFIG.....(0x601) : 0x800
MSR_PP0_POWER_LIMIT........(0x638) : 0x0
MSR_PP0_ENERGY_STATUS......(0x639) : 0x121AD51
MSR_PP0_POLICY.............(0x63a) : 0x0
MSR_CONFIG_TDP_NOMINAL.....(0x648) : 0x28
MSR_CONFIG_TDP_LEVEL1......(0x649) : 0x0
MSR_CONFIG_TDP_LEVEL2......(0x64a) : 0x0
MSR_CONFIG_TDP_CONTROL.....(0x64b) : 0x80000000
MSR_TURBO_ACTIVATION_RATIO.(0x64c) : 0x0
MSR_PKGC3_IRTL.............(0x60a) : 0x8842
MSR_PKGC6_IRTL.............(0x60b) : 0x8873
MSR_PKGC7_IRTL.............(0x60c) : 0x8891
MSR_PKG_C2_RESIDENCY.......(0x60d) : 0x700E72B248
MSR_PKG_C3_RESIDENCY.......(0x3f8) : 0x0
MSR_PKG_C6_RESIDENCY.......(0x3f9) : 0x0
MSR_PKG_C7_RESIDENCY.......(0x3fa) : 0x0
IA32_TSC_DEADLINE..........(0x6E0) : 0xA0DF1204D6


CPU Ratio Info:
------------------------------------
CPU Low Frequency Mode.............: 800 MHz
CPU Maximum non-Turbo Frequency....: 4000 MHz
CPU Maximum Turbo Frequency........: 4400 MHz
CPU P-States [ (8) 39 44 ]
CPU C3-Cores [ 3 4 5 ]
CPU C6-Cores [ 0 1 6 7 ]
CPU C7-Cores [ 1 3 4 6 ]
CPU P-States [ (8) 39 42 44 ]
CPU C3-Cores [ 0 1 2 3 4 5 7 ]
CPU C7-Cores [ 1 2 3 4 5 6 7 ]
CPU P-States [ 8 38 39 (40) 42 44 ]
CPU C3-Cores [ 0 1 2 3 4 5 6 7 ]
CPU C7-Cores [ 0 1 2 3 4 5 6 7 ]
CPU P-States [ (8) 34 38 39 40 42 44 ]
CPU P-States [ (8) 34 35 38 39 40 42 44 ]
CPU P-States [ 8 31 34 35 38 39 40 42 (44) ]
CPU P-States [ 8 29 31 34 35 38 39 (40) 42 44 ]
CPU P-States [ (8) 29 31 32 34 35 38 39 40 42 44 ]
CPU P-States [ (8) 27 29 31 32 34 35 38 39 40 42 44 ]
CPU P-States [ 8 27 29 31 32 34 35 36 38 39 (40) 42 44 ]
CPU P-States [ 8 27 29 31 32 33 34 35 36 38 39 (40) 42 44 ]
CPU P-States [ 8 27 28 29 31 32 33 34 35 36 38 39 (40) 42 44 ]
 
Damn, I followed the guide but now El Capitan boots into a black screen. I had a working Clover setup which was setup to generate P-states without a custom SSDT. I guess I had to change Clover settings after putting my generated SSDT.aml on the Clover partition. Is there any way to delete the SSDT.aml file from the partition using Windows or Linux? I tried mounting the partition from Linux but I could only mount it read-only. Or can I get Clover to boot without using the patched .aml file? I tried safe mode but it did not work.
 
Cinner: Create a basic 2nd OS X install on a spare drive and boot from this.

I got this p states wothout a SSDT file. It must be wrong, because i overclocked the CPU and this is working.
I think I don't need an SSDT.

CPU Ratio Info:
------------------------------------
CPU Low Frequency Mode.............: 1600 MHz
CPU Maximum non-Turbo Frequency....: 3400 MHz
CPU Maximum Turbo Frequency........: 4000 MHz
CPU P-States [ (16) 37 40 ]
CPU C6-Cores [ 1 2 3 ]
CPU P-States [ (16) 33 37 40 ]
CPU P-States [ (16) 33 34 37 40 ]
CPU P-States [ (16) 28 33 34 37 40 ]
CPU P-States [ (16) 28 30 33 34 37 40 ]
CPU P-States [ (16) 28 30 32 33 34 37 40 ]
CPU P-States [ (16) 28 30 32 33 34 36 37 40 ]
CPU P-States [ (16) 26 28 30 32 33 34 36 37 40 ]
CPU P-States [ 16 26 27 28 30 32 33 34 36 37 (40) ]
 
Getting the following error when trying to run:

Code:
ssdtPRGen.sh v0.9 Copyright (c) 2011-2012 by † RevoGirl             v6.6 Copyright (c) 2013 by † Jeroen
             v15.6 Copyright (c) 2013-2015 by Pike R. Alpha
-----------------------------------------------------------
Bugs > https://github.com/Piker-Alpha/ssdtPRGen.sh/issues <


gDataPath: /Users/stu/Library/ssdtPRGen/Data
System information: Mac OS X 10.10.5 (14F27)
Brandstring 'Intel(R) Core(TM) M-5Y10c CPU @ 0.80GHz'


Error: Unknown processor model ...
       Visit http://ark.intel.com to gather the required data:
       Processor Number
       TDP
       Low Frequency Mode (use AppleIntelInfo.kext)
       Base Frequency
       Max Turbo Frequency
       Cores
       Threads
Aborting ...
Done.

Any ideas?
 
Cinner: Create a basic 2nd OS X install on a spare drive and boot from this.

I got this p states wothout a SSDT file. It must be wrong, because i overclocked the CPU and this is working.
I think I don't need an SSDT.

CPU Ratio Info:
------------------------------------
CPU Low Frequency Mode.............: 1600 MHz
CPU Maximum non-Turbo Frequency....: 3400 MHz
CPU Maximum Turbo Frequency........: 4000 MHz
CPU P-States [ (16) 37 40 ]
CPU C6-Cores [ 1 2 3 ]
CPU P-States [ (16) 33 37 40 ]
CPU P-States [ (16) 33 34 37 40 ]
CPU P-States [ (16) 28 33 34 37 40 ]
CPU P-States [ (16) 28 30 33 34 37 40 ]
CPU P-States [ (16) 28 30 32 33 34 37 40 ]
CPU P-States [ (16) 28 30 32 33 34 36 37 40 ]
CPU P-States [ (16) 26 28 30 32 33 34 36 37 40 ]
CPU P-States [ 16 26 27 28 30 32 33 34 36 37 (40) ]

I think if you made an SSDT you would get more states
 
Getting the following error when trying to run:

Code:
ssdtPRGen.sh v0.9 Copyright (c) 2011-2012 by † RevoGirl             v6.6 Copyright (c) 2013 by † Jeroen
             v15.6 Copyright (c) 2013-2015 by Pike R. Alpha
-----------------------------------------------------------
Bugs > https://github.com/Piker-Alpha/ssdtPRGen.sh/issues <


gDataPath: /Users/stu/Library/ssdtPRGen/Data
System information: Mac OS X 10.10.5 (14F27)
Brandstring 'Intel(R) Core(TM) M-5Y10c CPU @ 0.80GHz'


Error: Unknown processor model ...
       Visit http://ark.intel.com to gather the required data:
       Processor Number
       TDP
       Low Frequency Mode (use AppleIntelInfo.kext)
       Base Frequency
       Max Turbo Frequency
       Cores
       Threads
Aborting ...
Done.

Any ideas?

From RehabMan's guide:

Note: If you have a CPU currently unsupported by the script, you may have to provide the data for it.

For example, i7-4720HQ:
Code:
./ssdtPRGen.sh -p 'i7-4710HQ' -f 2600 -turbo 3600

By providing the name 'i7-4710HQ' (similar enough to i7-4720HQ), and overrides for the non-turbo and turbo frequencies, the script is successful. Eventually, it would not be necessary, provided the script is updated with the new CPUs.
 
Damn, I followed the guide but now El Capitan boots into a black screen. I had a working Clover setup which was setup to generate P-states without a custom SSDT. I guess I had to change Clover settings after putting my generated SSDT.aml on the Clover partition. Is there any way to delete the SSDT.aml file from the partition using Windows or Linux? I tried mounting the partition from Linux but I could only mount it read-only. Or can I get Clover to boot without using the patched .aml file? I tried safe mode but it did not work.

Booting using clover USB. That won't load, SSDT
 
Back
Top