Piker-Alpha / ssdtPRGen.sh

Script to generate a SSDT for Power Management
714 stars 154 forks source link

i7-5820K XCPM #422

Open ghost opened 6 years ago

ghost commented 6 years ago

Helllo Piker,

I have tried to enable speedstep using your generated ssdt(s). I tried setting both -x 1 and -x 0. I don't have XCMP enabled and the clover bootflag do not help. AppleIntelCPUPowerManagement doesn't seem to want to load. Could you please point me into the direction of what I need to do to get speedstep working?

ghost commented 6 years ago

Intel Enhanced Speedstep is disabled, so are Enhanced C states. This is the output I get when running your script:

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

gDataPath: /Users/bart/Library/ssdtPRGen/Data
Override value: (-x) XCPM mode, now set to: 0!
Override value: (-p) processor model, now using: i7-5820K!
Override value: (-m) model, now using: MacPro6,1!
Override value: (-f) clock frequency, now using: 3300 MHz!
Override value: (-turbo) maximum (turbo) frequency, now using: 3600 MHz!

System information: Mac OS X 10.13.2 (17C88)
Brandstring 'Intel(R) Core(TM) i7-5820K CPU @ 3.30GHz'

Scope (\_SB_) {70958 bytes} with ACPI Processor declarations found in the DSDT (ACPI 1.0 compliant)
Generating ssdt.dsl for a 'MacPro6,1' with board-id [Mac-F60DEB81FF30ACF6]
Haswell Core i7-5820K processor [0x306F2] setup [0x0507]
With a maximum TDP of 140 Watt, as specified by Intel
Number logical CPU's: 12 (Core Frequency: 3300 MHz)
Number of Turbo States: 3 (3400-3600 MHz)
Number of P-States: 25 (1200-3600 MHz)
Injected C-States for CP00 (C1,C3,C6)
Injected C-States for CP01 (C1,C3,C6)
Warning: 'system-type' may be set improperly (1 instead of 3)

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20140926-64 [Nov  6 2014]
Copyright (c) 2000 - 2014 Intel Corporation

ASL Input:     /Users/bart/Library/ssdtPRGen/ssdt.dsl - 356 lines, 10137 bytes, 95 keywords
AML Output:    /Users/bart/Library/ssdtPRGen/ssdt.aml - 2404 bytes, 40 named objects, 55 executable opcodes

Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 0 Optimizations

Do you want to copy /Users/bart/Library/ssdtPRGen/ssdt.aml to /Extra/ssdt.aml? (y/n)? 
ghost commented 6 years ago

This is in my Clover bootlog:

2018-01-21 16:28:43.31 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::getCPUPStates - CP00 APSS and _PSS evaluations failed!
2018-01-21 16:28:43.31 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::getCPUPStates - CP00 APSS and _PSS evaluations failed!
2018-01-21 16:28:43.33 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::getCPUPStates - acpiPSArrayObj is not an valid OSArray
2018-01-21 16:28:43.33 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::getCPUPStates - acpiPSArrayObj is not an valid OSArray
2018-01-21 16:28:43.35 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::publishACPIStates - Failed to get CPU P States!
2018-01-21 16:28:43.35 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::publishACPIStates - Failed to get CPU P States!
2018-01-21 16:28:43.36 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::publishACPIStates - Failed to get max non-turbo PState. Set max non-turbo PState to default value 1
2018-01-21 16:28:43.36 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::publishACPIStates - Failed to get max non-turbo PState. Set max non-turbo PState to default value 1
2018-01-21 16:28:43.38 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::getCPUPStates - CP01 APSS and _PSS evaluations failed!
2018-01-21 16:28:43.38 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::getCPUPStates - CP01 APSS and _PSS evaluations failed!
2018-01-21 16:28:43.40 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::getCPUPStates - acpiPSArrayObj is not an valid OSArray
2018-01-21 16:28:43.40 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::getCPUPStates - acpiPSArrayObj is not an valid OSArray
2018-01-21 16:28:43.42 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::publishACPIStates - Failed to get CPU P States!
2018-01-21 16:28:43.42 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::publishACPIStates - Failed to get CPU P States!
2018-01-21 16:28:43.44 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::getCPUPStates - CP02 APSS and _PSS evaluations failed!
2018-01-21 16:28:43.44 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::getCPUPStates - CP02 APSS and _PSS evaluations failed!
2018-01-21 16:28:43.46 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::getCPUPStates - acpiPSArrayObj is not an valid OSArray
2018-01-21 16:28:43.46 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::getCPUPStates - acpiPSArrayObj is not an valid OSArray
2018-01-21 16:28:43.48 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::publishACPIStates - Failed to get CPU P States!
2018-01-21 16:28:43.48 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::publishACPIStates - Failed to get CPU P States!
2018-01-21 16:28:43.50 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::getCPUPStates - CP03 APSS and _PSS evaluations failed!
2018-01-21 16:28:43.50 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::getCPUPStates - CP03 APSS and _PSS evaluations failed!
2018-01-21 16:28:43.51 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::getCPUPStates - acpiPSArrayObj is not an valid OSArray
2018-01-21 16:28:43.51 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::getCPUPStates - acpiPSArrayObj is not an valid OSArray
2018-01-21 16:28:43.53 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::publishACPIStates - Failed to get CPU P States!
2018-01-21 16:28:43.53 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::publishACPIStates - Failed to get CPU P States!
2018-01-21 16:28:43.55 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::getCPUPStates - CP04 APSS and _PSS evaluations failed!
2018-01-21 16:28:43.55 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::getCPUPStates - CP04 APSS and _PSS evaluations failed!
2018-01-21 16:28:43.57 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::getCPUPStates - acpiPSArrayObj is not an valid OSArray
2018-01-21 16:28:43.57 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::getCPUPStates - acpiPSArrayObj is not an valid OSArray
2018-01-21 16:28:43.59 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::publishACPIStates - Failed to get CPU P States!
2018-01-21 16:28:43.59 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::publishACPIStates - Failed to get CPU P States!
2018-01-21 16:28:43.61 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::getCPUPStates - CP05 APSS and _PSS evaluations failed!
2018-01-21 16:28:43.61 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::getCPUPStates - CP05 APSS and _PSS evaluations failed!
2018-01-21 16:28:43.63 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::getCPUPStates - acpiPSArrayObj is not an valid OSArray
2018-01-21 16:28:43.63 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::getCPUPStates - acpiPSArrayObj is not an valid OSArray
2018-01-21 16:28:43.65 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::publishACPIStates - Failed to get CPU P States!
2018-01-21 16:28:43.65 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::publishACPIStates - Failed to get CPU P States!
2018-01-21 16:28:43.66 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::getCPUPStates - CP06 APSS and _PSS evaluations failed!
2018-01-21 16:28:43.66 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::getCPUPStates - CP06 APSS and _PSS evaluations failed!
2018-01-21 16:28:43.68 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::getCPUPStates - acpiPSArrayObj is not an valid OSArray
2018-01-21 16:28:43.68 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::getCPUPStates - acpiPSArrayObj is not an valid OSArray
2018-01-21 16:28:43.72 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::publishACPIStates - Failed to get CPU P States!
2018-01-21 16:28:43.72 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::publishACPIStates - Failed to get CPU P States!
2018-01-21 16:28:43.74 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::getCPUPStates - CP07 APSS and _PSS evaluations failed!
2018-01-21 16:28:43.74 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::getCPUPStates - CP07 APSS and _PSS evaluations failed!
2018-01-21 16:28:43.75 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::getCPUPStates - acpiPSArrayObj is not an valid OSArray
2018-01-21 16:28:43.75 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::getCPUPStates - acpiPSArrayObj is not an valid OSArray
2018-01-21 16:28:43.77 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::publishACPIStates - Failed to get CPU P States!
2018-01-21 16:28:43.77 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::publishACPIStates - Failed to get CPU P States!
2018-01-21 16:28:43.79 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::getCPUPStates - CP08 APSS and _PSS evaluations failed!
2018-01-21 16:28:43.79 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::getCPUPStates - CP08 APSS and _PSS evaluations failed!
2018-01-21 16:28:43.81 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::getCPUPStates - acpiPSArrayObj is not an valid OSArray
2018-01-21 16:28:43.81 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::getCPUPStates - acpiPSArrayObj is not an valid OSArray
2018-01-21 16:28:43.83 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::publishACPIStates - Failed to get CPU P States!
2018-01-21 16:28:43.83 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::publishACPIStates - Failed to get CPU P States!
2018-01-21 16:28:43.85 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::getCPUPStates - CP09 APSS and _PSS evaluations failed!
2018-01-21 16:28:43.85 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::getCPUPStates - CP09 APSS and _PSS evaluations failed!
2018-01-21 16:28:43.86 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::getCPUPStates - acpiPSArrayObj is not an valid OSArray
2018-01-21 16:28:43.86 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::getCPUPStates - acpiPSArrayObj is not an valid OSArray
2018-01-21 16:28:43.88 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::publishACPIStates - Failed to get CPU P States!
2018-01-21 16:28:43.88 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::publishACPIStates - Failed to get CPU P States!
2018-01-21 16:28:43.90 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::getCPUPStates - CP0A APSS and _PSS evaluations failed!
2018-01-21 16:28:43.90 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::getCPUPStates - CP0A APSS and _PSS evaluations failed!
2018-01-21 16:28:43.92 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::getCPUPStates - acpiPSArrayObj is not an valid OSArray
2018-01-21 16:28:43.92 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::getCPUPStates - acpiPSArrayObj is not an valid OSArray
2018-01-21 16:28:43.94 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::publishACPIStates - Failed to get CPU P States!
2018-01-21 16:28:43.94 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::publishACPIStates - Failed to get CPU P States!
2018-01-21 16:28:43.96 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::getCPUPStates - CP0B APSS and _PSS evaluations failed!
2018-01-21 16:28:43.96 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::getCPUPStates - CP0B APSS and _PSS evaluations failed!
2018-01-21 16:28:43.97 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::getCPUPStates - acpiPSArrayObj is not an valid OSArray
2018-01-21 16:28:43.97 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::getCPUPStates - acpiPSArrayObj is not an valid OSArray
2018-01-21 16:28:43.99 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::publishACPIStates - Failed to get CPU P States!
2018-01-21 16:28:43.99 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformPlugin::publishACPIStates - Failed to get CPU P States!
2018-01-21 16:28:44.79 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformShim::sendPStates - Failed to get the first package of pstates!
2018-01-21 16:28:44.79 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformShim::sendPStates - Failed to get the first package of pstates!
2018-01-21 16:28:44.81 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformShim::start - Failed to send PStates
2018-01-21 16:28:44.81 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformShim::start - Failed to send PStates
2018-01-21 16:28:44.83 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformShim::sendStepper - Stepper dictionary from plist is NULL!
2018-01-21 16:28:44.83 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformShim::sendStepper - Stepper dictionary from plist is NULL!
2018-01-21 16:28:44.85 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformShim::start - Failed to send stepper
2018-01-21 16:28:44.85 Default     0x0                  0      0    kernel: (IOPlatformPluginFamily) X86PlatformShim::start - Failed to send stepper