Contribute
Register

Mavericks: Native CPU/IGPU Power Management

10.11.2/PM works on the same motherboard and processor; something is wrong with your configuration.

Where do you suggest I start? I did a fresh install off OS X and fresh Clover install - I've done two clean installs but no dice. Maybe it's a BIOS setting? I'm going to look there. I've also seen that people using F5 firmware have it working, I'll see if I can downgrade.

EDIT: looks like I can't downgrade. Will continue testing.
 
I'm having a weird issue trying to generate PM files for my system. When I run ssdtPRGen.sh (latest beta branch, v16.5), I'm getting lots iasl compiler errors, e.g.:

Code:
~/bin$ ./ssdtPRGen.sh


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

cmp: Data/Models.cfg: No such file or directory
System information: Mac OS X 10.11.2 (15C50)
Brandstring 'Intel(R) Core(TM) i5-4590S CPU @ 3.00GHz'

gModelDataVersion: 150
cmp: Data/Ivy Bridge.cfg: No such file or directory
cmp: Data/Haswell.cfg: No such file or directory
ACPI Processor {} Declaration(s) found in DSDT

Warning: No ACPI Processor declarations found in the DSDT!
     Using assumed Scope (\_PR) {}

Generating ssdt.dsl for a 'iMac14,2' with board-id [Mac-27ADBB7B4CEE8E61]
Haswell Core i5-4590S processor [0x306C3] setup [0x]
Processor matched!
With a maximum TDP of 65 Watt, as specified by Intel
Number logical CPU's: 4 (Core Frequency: 3000 MHz)
Number of Turbo States: 7 (3100-3700 MHz)
Number of P-States: 30 (800-3700 MHz)
Injected C-States for CPU0 (C1,C3,C6,C7)
Injected C-States for CPU1 (C1,C2,C3)

Warning: Model identifier [iMac14,2] and board-id [Mac-27ADBB7B4CEE8E61]
     are missing in: /System/Library/CoreServices/PlatformSupport.plist
Warning: File Mac-27ADBB7B4CEE8E61.plist Not Found!
./ssdtPRGen.sh: line 4296: [: 1: integer expression expected

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

Compiler aborting due to parser-detected syntax error(s)
/Users/timbck2/Library/ssdtPRGen/ssdt.dsl     20:     External (\_PR.CPU0, DeviceObj)
Error    6126 -                                                    ^ Invalid character (0x2E), expecting ASL keyword or name

/Users/timbck2/Library/ssdtPRGen/ssdt.dsl     20:     External (\_PR.CPU0, DeviceObj)
Error    6126 -                                                     ^ Invalid character (0x1B), expecting ASL keyword or name

It appears that it's inserting lots of non-printable characters into the ssdt.dsl it generates, e.g.:

Code:
/*
 * Intel ACPI Component Architecture
 * AML Disassembler version 20140210-00 [Feb 10 2014]
 * Copyright (c) 2000 - 2014 Intel Corporation
 *
 * Original Table Header:
 *     Signature        "SSDT"
 *     Length           0x0000036A (874)
 *     Revision         0x01
 *     Checksum         0x00
 *     OEM ID           "APPLE "
 *     OEM Table ID     "CpuPm"
 *     OEM Revision     0x00015600 (87552)
 *     Compiler ID      "INTL"
 *     Compiler Version 0x20140210 (538182160)
 */

DefinitionBlock ("ssdt.aml", "SSDT", 1, "APPLE ", "CpuPm", 0x00015600)
{
    External (\_PR.[B]^[[1;35;40^[[K^[[^[[K[/B]CPU0, DeviceObj)
    External (\_PR.[B]^[[1;35;40^[[K^[[^[[K[/B]CPU1, DeviceObj)
    External (\_PR.[B]^[[1;35;40^[[K^[[^[[K[/B]CPU2, DeviceObj)
    External (\_PR.[B]^[[1;35;40^[[K^[[^[[K[/B]CPU3, DeviceObj)

    Scope (\_PR.[B]^[[1;35;40^[[K^[[^[[K[/B]CPU0)
    {
        Method (_INI, 0, NotSerialized)
        {
            Store ("ssdtPRGen version....: 15.6 / Mac OS X 10.11.2 (15C50)", Debug)
            Store ("target processor.....: i5-4590S", Debug)
            Store ("running processor....: Intel(R) Core(TM) i5-4590S CPU @ 3.00GHz", Debug)
            Store ("baseFrequency........: 800", Debug)
            Store ("frequency............: 3000", Debug)
            Store ("busFrequency.........: 100", Debug)
            Store ("logicalCPUs..........: 4", Debug)
            Store ("maximum TDP..........: 65", Debug)
            Store ("packageLength........: 30", Debug)
            Store ("turboStates..........: 7", Debug)
            Store ("maxTurboFrequency....: 3700", Debug)
            Store ("machdep.xcpm.mode....: 1", Debug)
        }

(emphasis added), which of course causes the errors when iasl attempts compilation. Any clue what might be happening, or is this just a bug in the script?
 
I figured out the ssdtPRGen.sh problem :oops:. I have had the environment variables
Code:
GREP_COLOR='1;35;40'
and
Code:
GREP_OPTIONS='--color=always'
set in my .bash_profile. ssdtPRGen.sh uses grep and egrep extensively, so the control patterns to generate the context highlighting was being inserted into its output (ssdt.dsl).

Once I changed
Code:
GREP_OPTIONS
to
Code:
'--color=auto'
, the problem went away and the script properly generates the SSDT again; I will suggest to Piker Alpha that he unset those two variables at the top of the script, just to be on the safe side.

However, my power management still doesn't seem to be working properly; the CPU's operating frequency is staying in the turbo frequencies all the time from what I can tell. Requested troubleshooting information attached.

I'm running OS X El Capitan 10.11.2 on an MSI H97M-G43 (MS-7924), BIOS v2.A with an i5-4590S CPU and a Gigabyte Nvidia GTX750 graphics card.
 

Attachments

  • attachments_nobodynose.zip
    1.4 MB · Views: 83
power management still doesn't seem to be working properly
IPG frequency scale/see Post #1/Notes/2. Clover/Intel Power Gadget
Issue is low freqs missing in AICPUPMI
BIOS settings/Optimized Defaults?
config.plist/ACPI/DSDT/Drop Tables/Tableid, edit CpuPm to CpuSsdt
 
I tried the steps in the first posting, but

Verify

  1. Console/Search: XCPM
    1. Code:
      kernel[0] XCPM: registered
      kernel[0] IOPPF: XCPM mode


is not working. Because XCPM is not available (have OS X 10.11.2)


Did I misunderstanding something?
 
IPG frequency scale/see Post #1/Notes/2. Clover/Intel Power Gadget
Issue is low freqs missing in AICPUPMI
BIOS settings/Optimized Defaults?
config.plist/ACPI/DSDT/Drop Tables/Tableid, edit CpuPm to CpuSsdt

Sorry for the late response - I just started a new job so I haven't been on the forums.

BIOS Settings/Optimized Defaults - CHECK
config.plist/ACPI/DSDT/Drop Tables/Tableid, CpuPm => CpuSsdt - CHECK

Intel Power Gadget still shows freq. staying in Turbo range when idle.

New diagnostic attachments added to message.

EDIT: Added to config.plist/CPU/QPI/100, which did fix the scale, but Power Gadget still staying between the max non-turbo frequency and the max turbo frequency.

I'm getting (interesting):
Code:
Jan 13 18:04:44 TimsHackPro kernel[0]: AICPUPMI: CPU P-States [ (8) 9 10 11 12 13 14 15 17 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 ]

yet Power Gadget still looks like this:

ipg_nobodynose.png
 

Attachments

  • attachments-2_nobodynose.zip
    1.4 MB · Views: 84
Power Gadget still staying between the max non-turbo frequency and the max turbo frequency.
Two separate experiments:
1. Set config.plist/KernelAndKextPatches/KernelPm/NO
2. Remove config.plist/ACPI/DropTables
Reply with new files
 
I installed it like described in the first post.
But power gadget lucks like before.
Is it installed correctly and in use or do I have a problem?

Please have look at the attached files.




View attachment AICPUPMI_neu.txtBildschirmfoto 2016-01-15 um 22.16.08.pngView attachment PM.ioregView attachment SSDT.aml



15.01.16 22:09:13,000 kernel[0]: XCPM: registered
15.01.16 22:09:16,000 kernel[0]: IOPPF: XCPM mode



Thanks!


... but now my Intel Graphics is not working. No 3D acceleration and the system info said just 8MB of RAM for the graphic. :(

Edit:
After removing "ACPI/Set DropOEM" graphic is working.

Edit2:
With
ACPI/Drop Tables

  1. SSDT/CpuPm
  2. SSDT/Cpu0Ist
Graphic is still working
 
Back
Top