Contribute
Register

Quick Guide to Generate a SSDT for CPU Power Management

My HP 8300 i53470 seems to have lots of speeds available but are the cores frequencies meant to go up and down individually? Intel Power Gadget shows only one frequency but HWMonitor displays four lines for the Core's frequency which always change at the same time so the frequency of each of the Cores is always at same speed as the others.
A problem?
A closer look at the numbers as they changed and looking at the Frequency Logs shows them displaying variations in frequency for For Core 1, which although normally the same as the others, Core 1 shows wild number changes which the others dont - eg - 8 GHz and above.
 

Attachments

  • Screen Shot 2017-07-07 at 01.39.23.png
    Screen Shot 2017-07-07 at 01.39.23.png
    754.1 KB · Views: 214
Last edited:
Newer CPUs require the beta branch.
Hi @RehabMan,

Briefly, I downloaded ssdtPRGen scripts (beta) and generate the ssdt for this MacBookPro
Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz (MacBook Pro).

I get. the following output :

" 1mWarning[0m: 'cpu-type' may be set improperly (0x0605 instead of 0x0905)
- Clover users should read https://clover-wiki.zetam.org/Configuration/CPU#cpu_type[1m
Error[0m: board-id [Mac-E43C1C25D4880AD6] not supported by Kaby Lake – check SMBIOS data / use the -target option"

I copied the ssdt.aml to clover patch and successfully restarted.

The cpu idle reading (intel power gadget) are now at 1.3Ghz. Without the ssdt.aml it is around 1Ghz.

Not understanding enough of the ssdtPRGen complex beast I need a bit of guidance here please:

Is it possible to fiddle with these setting and get CPU to idle at around 800 ?
Also the turbo states for this cpu can go up to 3.1Ghz. How do I set it to get up to 3 Ghz?
Lastly, is there settings that I need to set in clover config ?
 

Attachments

  • power gadget.png
    power gadget.png
    37.2 KB · Views: 99
Last edited:
Hi @RehabMan,

Briefly, I downloaded ssdtPRGen scripts (beta) and generate the ssdt for this MacBookPro
Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz (MacBook Pro).

I get. the following output :

" 1mWarning[0m: 'cpu-type' may be set improperly (0x0605 instead of 0x0905)
- Clover users should read https://clover-wiki.zetam.org/Configuration/CPU#cpu_type[1m
Error[0m: board-id [Mac-E43C1C25D4880AD6] not supported by Kaby Lake – check SMBIOS data / use the -target option"

I copied the ssdt.aml to clover patch and successfully restarted.

The cpu idle reading (intel power gadget) are now at 1.3Ghz. Without the ssdt.aml it is around 1Ghz.

Not understanding enough of the ssdtPRGen complex beast I need a bit of guidance here please:

Is it possible to fiddle with these setting and get CPU to idle at around 800 ?
Also the turbo states for this cpu can go up to 3.1Ghz. How do I set it to get up to 3 Ghz?
Lastly, is there settings that I need to set in clover config ?

My thinking above is incorrect.

So @RehabMan, please forgive.

I used this link https://www.tonymacx86.com/threads/skylake-hwp-enable.214915/
to set
  • HWPEnable - Check
  • UseARTFrequency - Check
  • HWPValue

See attached image. I get cpu idle around 0.5Ghz and 3.1 Ghz max for baby lake
 

Attachments

  • Power gadget - results using HWP.png
    Power gadget - results using HWP.png
    49.6 KB · Views: 124
Will this script work for Kaby Lake Processors?
 
Super basic question, how do you tell if this worked?
 
Hi, I have an i3 4160. I tried to run the ssdtPRGen scripts (master), configure the config.plist (Generate P and C). Copy the SSDT.aml to patched. But seem like I can't speedstep my CPU, it only has 2 states 8 and 30. Did I miss something? Thank you.
 
Friend, help drop ssdt and make working speedstep
Code:
<key>DropTables</key>
        <array>
            <dict>
                <key>Signature</key>
                <string>DMAR</string>
            </dict>
            <dict>
                <key>Signature</key>
                <string>SSDT</string>
                <key>TableId</key>
                <string>CpuPm</string>
            </dict>
            <dict>
                <key>Signature</key>
                <string>SSDT</string>
                <key>TableId</key>
                <string>Cpu0Ist</string>
            </dict>
        </array>
        <key>HaltEnabler</key>
        <true/>
        <key>SSDT</key>
        <dict>
            <key>EnableC6</key>
            <false/>
            <key>EnableC7</key>
            <false/>
            <key>Generate</key>
            <dict>
                <key>CStates</key>
                <false/>
                <key>PStates</key>
                <true/>
 

Attachments

  • 273227_017b2f339dd72e1ace11d5b218e81abd.png
    273227_017b2f339dd72e1ace11d5b218e81abd.png
    185.7 KB · Views: 183
  • 273228_96c3b121e492f4c8b47afb7baf48bd36.png
    273228_96c3b121e492f4c8b47afb7baf48bd36.png
    59.4 KB · Views: 171
  • iMac(n.drop).ioreg.zip
    3.5 MB · Views: 79
  • iMac(y.drop).ioreg.zip
    3.5 MB · Views: 94
Back
Top