Contribute
Register

Mavericks: Native CPU/IGPU Power Management

toleda

Moderator
Joined
May 20, 2010
Messages
23,008
Motherboard
Asus Maximus VII Impact
CPU
Core i7-4770K
Graphics
RX 560 + HD4600
Mac
  1. iMac
  2. MacBook Pro
  3. Mac mini
Classic Mac
  1. 512K
  2. LC
  3. Power Mac
Mobile Phone
  1. iOS
Well AICPUPMI from post #1 is version 4 created 3/17/2014 which doesn't panic on boot. So that's the one i'm using right now.
If you were on the Post #1 AICPUPMI, graphics P states would show.
Attach the complete report: cat /var/log/system.log | grep "AICPUPMI:"
 
Joined
Oct 17, 2013
Messages
277
Motherboard
Gigabyte GA-Z97X-UD5H
CPU
i7-4770K
Graphics
GTX 770
If you were on the Post #1 AICPUPMI, graphics P states would show.
Attach the complete report: cat /var/log/system.log | grep "AICPUPMI:"

I'm on AICPUPMI from post #1, IGP states are not showing because integrated graphics is disabled on bios. but when is enabled (but nothing connected) it show up.

Code:
[FONT=Menlo]kernel[0]: AICPUPMI: CPU Low Frequency Mode.............: 800 MHz[/FONT]
[FONT=Menlo]kernel[0]: AICPUPMI: CPU Maximum non-Turbo Frequency....: 3500 MHz[/FONT]
[FONT=Menlo]kernel[0]: AICPUPMI: CPU Maximum Turbo Frequency........: 3900 MHz[/FONT]
[FONT=Menlo]kernel[0]: AICPUPMI: IGPU Current Frequency.............: 1300 MHz[/FONT]
[FONT=Menlo]kernel[0]: AICPUPMI: IGPU Minimum Frequency.............:  200 MHz[/FONT]
[FONT=Menlo]kernel[0]: AICPUPMI: IGPU Maximum Non-Turbo Frequency...:  350 MHz[/FONT]
[FONT=Menlo]kernel[0]: AICPUPMI: IGPU Maximum Turbo Frequency.......: 1250 MHz[/FONT]
[FONT=Menlo]kernel[0]: AICPUPMI: IGPU Maximum limit.................: No Limit[/FONT]
[FONT=Menlo]kernel[0]: AICPUPMI: CPU P-States [ (8) 11 20 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 ] iGPU P-States [ (4) 26 ]
[/FONT]



However this is last AICPUPMI, so finally is working even overclocked,
Code:
[FONT=Menlo] AICPUPMI: CPU P-States [ (8) 9 16 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 43 ]
[/FONT]

Cheers !
 
Joined
May 19, 2011
Messages
36
Motherboard
GA-Z77-DS3H
CPU
i5-3570k
Graphics
Sapphire 7950 3GB
Mac
  1. MacBook Air
Classic Mac
Mobile Phone
  1. iOS
Hi all,

I followed this guide but I'm not able to get XCPM working.
I'm using Clover Rev. 2671 (latest one), OS X 10.9.3 and iMac 13,2 SMBios profile.
My hardware is:

- 3570k
- Z77-DS3H
- Sapphire 7950 3Gb
- 16GB @ 1600.

I ran ssdt script as:
Code:
 ./ssdtPRGen.sh -w 3 -x 1

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

Override value: (-w) Ivy Bridge workarounds, now set to: 3!
Override value: (-x) XCPM mode, now set to: 1!

System information: Mac OS X 10.9.3 (13D65)
Brandstring 'Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz'

Scope (_PR_) {220 bytes} with ACPI Processor declarations found in the DSDT (ACPI 1.0 compliant)
Generating ssdt.dsl for a 'iMac13,2' with board-id [Mac-FC02E91DDD3FA6A4]
Ivy Bridge Core i5-3570K processor [0x306A9] setup [0x0604]
With a maximum TDP of 77 Watt, as specified by Intel
Number logical CPU's: 4 (Core Frequency: 3400 MHz)
Number of Turbo States: 4 (3500-3800 MHz)
Number of P-States: 23 (1600-3800 MHz)
Injected C-States for CPU0 (C1,C3,C6)
Injected C-States for CPU1 (C1,C2,C3)
Warning: 'cpu-type' may be set improperly (0x0604 instead of 0x0704)

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20130117-64 [Jan 19 2013]
Copyright (c) 2000 - 2013 Intel Corporation

ASL Input:     /Volumes/Storage/somebody/Desktop/ssdt.dsl - 261 lines, 8335 bytes, 48 keywords
AML Output:    /Volumes/Storage/somebody/Desktop/ssdt.aml - 1794 bytes, 16 named objects, 32 executable opcodes

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

I copied the ssdt.aml to -> EFI/Clover/ACPI/patched/

This is the *.dsl generated:

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     0x00013500 (79104)
 *     Compiler ID      "INTL"
 *     Compiler Version 0x20140210 (538182160)
 */

DefinitionBlock ("ssdt.aml", "SSDT", 1, "APPLE ", "CpuPm", 0x00013500)
{
    External (\_PR_.CPU0, DeviceObj)
    External (\_PR_.CPU1, DeviceObj)
    External (\_PR_.CPU2, DeviceObj)
    External (\_PR_.CPU3, DeviceObj)

    Scope (\_PR_.CPU0)
    {
        Method (_INI, 0, NotSerialized)
        {
            Store ("ssdtPRGen version....: 13.5 / Mac OS X 10.9.3 (13D65)", Debug)
            Store ("target processor.....: i5-3570K", Debug)
            Store ("running processor....: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz", Debug)
            Store ("baseFrequency........: 1600", Debug)
            Store ("frequency............: 3400", Debug)
            Store ("busFrequency.........: 100", Debug)
            Store ("logicalCPUs..........: 4", Debug)
            Store ("maximum TDP..........: 77", Debug)
            Store ("packageLength........: 23", Debug)
            Store ("turboStates..........: 4", Debug)
            Store ("maxTurboFrequency....: 3800", Debug)
            Store ("IvyWorkArounds.......: 3", Debug)
            Store ("machdep.xcpm.mode....: 1", Debug)
        }

        Name (APLF, 0x08)
        Name (APSN, 0x05)
        Name (APSS, Package (0x20)
        {
            /* Workaround for the Ivy Bridge PM 'bug' */
            Package (0x06) { 0x0ED9, 0x012CC8, 0x0A, 0x0A, 0x2700, 0x2700 },
            /* High Frequency Modes (turbo) */
            Package (0x06) { 0x0ED8, 0x012CC8, 0x0A, 0x0A, 0x2600, 0x2600 },
            Package (0x06) { 0x0E74, 0x012CC8, 0x0A, 0x0A, 0x2500, 0x2500 },
            Package (0x06) { 0x0E10, 0x012CC8, 0x0A, 0x0A, 0x2400, 0x2400 },
            Package (0x06) { 0x0DAC, 0x012CC8, 0x0A, 0x0A, 0x2300, 0x2300 },
            /* High Frequency Modes (non-turbo) */
            Package (0x06) { 0x0D48, 0x012CC8, 0x0A, 0x0A, 0x2200, 0x2200 },
            Package (0x06) { 0x0CE4, 0x0120A0, 0x0A, 0x0A, 0x2100, 0x2100 },
            Package (0x06) { 0x0C80, 0x0114B0, 0x0A, 0x0A, 0x2000, 0x2000 },
            Package (0x06) { 0x0C1C, 0x0108F8, 0x0A, 0x0A, 0x1F00, 0x1F00 },
            Package (0x06) { 0x0BB8, 0x00FD77, 0x0A, 0x0A, 0x1E00, 0x1E00 },
            Package (0x06) { 0x0B54, 0x00F22D, 0x0A, 0x0A, 0x1D00, 0x1D00 },
            Package (0x06) { 0x0AF0, 0x00E719, 0x0A, 0x0A, 0x1C00, 0x1C00 },
            Package (0x06) { 0x0A8C, 0x00DC3B, 0x0A, 0x0A, 0x1B00, 0x1B00 },
            Package (0x06) { 0x0A28, 0x00D192, 0x0A, 0x0A, 0x1A00, 0x1A00 },
            Package (0x06) { 0x09C4, 0x00C71F, 0x0A, 0x0A, 0x1900, 0x1900 },
            Package (0x06) { 0x0960, 0x00BCDF, 0x0A, 0x0A, 0x1800, 0x1800 },
            Package (0x06) { 0x08FC, 0x00B2D4, 0x0A, 0x0A, 0x1700, 0x1700 },
            Package (0x06) { 0x0898, 0x00A8FC, 0x0A, 0x0A, 0x1600, 0x1600 },
            Package (0x06) { 0x0834, 0x009F58, 0x0A, 0x0A, 0x1500, 0x1500 },
            Package (0x06) { 0x07D0, 0x0095E6, 0x0A, 0x0A, 0x1400, 0x1400 },
            Package (0x06) { 0x076C, 0x008CA7, 0x0A, 0x0A, 0x1300, 0x1300 },
            Package (0x06) { 0x0708, 0x008399, 0x0A, 0x0A, 0x1200, 0x1200 },
            Package (0x06) { 0x06A4, 0x007ABD, 0x0A, 0x0A, 0x1100, 0x1100 },
            /* Low Frequency Mode */
            Package (0x06) { 0x0640, 0x007212, 0x0A, 0x0A, 0x1000, 0x1000 },
            Package (0x06) { 0x05DC,     Zero, 0x0A, 0x0A, 0x0F00, 0x0F00 },
            Package (0x06) { 0x0578,     Zero, 0x0A, 0x0A, 0x0E00, 0x0E00 },
            Package (0x06) { 0x0514,     Zero, 0x0A, 0x0A, 0x0D00, 0x0D00 },
            Package (0x06) { 0x04B0,     Zero, 0x0A, 0x0A, 0x0C00, 0x0C00 },
            Package (0x06) { 0x044C,     Zero, 0x0A, 0x0A, 0x0B00, 0x0B00 },
            Package (0x06) { 0x03E8,     Zero, 0x0A, 0x0A, 0x0A00, 0x0A00 },
            Package (0x06) { 0x0384,     Zero, 0x0A, 0x0A, 0x0900, 0x0900 },
            Package (0x06) { 0x0320,     Zero, 0x0A, 0x0A, 0x0800, 0x0800 }
        })

        Method (ACST, 0, NotSerialized)
        {
            Store ("Method CPU0.ACST Called", Debug)
            Store ("CPU0 C-States    : 13", Debug)

            /* Low Power Modes for CPU0 */
            Return (Package (0x05)
            {
                One,
                0x03,
                Package (0x04)
                {
                    ResourceTemplate ()
                    {
                        Register (FFixedHW,
                            0x01,               // Bit Width
                            0x02,               // Bit Offset
                            0x0000000000000000, // Address
                            0x01,               // Access Size
                            )
                    },
                    One,
                    Zero,
                    0x03E8
                },

                Package (0x04)
                {
                    ResourceTemplate ()
                    {
                        Register (FFixedHW,
                            0x01,               // Bit Width
                            0x02,               // Bit Offset
                            0x0000000000000010, // Address
                            0x03,               // Access Size
                            )
                    },
                    0x03,
                    0xCD,
                    0x01F4
                },

                Package (0x04)
                {
                    ResourceTemplate ()
                    {
                        Register (FFixedHW,
                            0x01,               // Bit Width
                            0x02,               // Bit Offset
                            0x0000000000000020, // Address
                            0x03,               // Access Size
                            )
                    },
                    0x06,
                    0xF5,
                    0x015E
                }
            })
        }

        Method (_DSM, 4, NotSerialized)
        {
            Store ("Method CPU0._DSM Called", Debug)

            If (LEqual (Arg2, Zero))
            {
                Return (Buffer (One)
                {
                    0x03
                })
            }

            Return (Package (0x02)
            {
                "plugin-type",
                One
            })
        }
    }

    Scope (\_PR_.CPU1)
    {
        Method (APSS, 0, NotSerialized)
        {
            Store ("Method _PR_.CPU1.APSS Called", Debug)

            Return (\_PR_.CPU0.APSS)
        }

        Method (ACST, 0, NotSerialized)
        {
            Store ("Method CPU1.ACST Called", Debug)
            Store ("CPU1 C-States    : 7", Debug)

            /* Low Power Modes for CPU1 */
            Return (Package (0x05)
            {
                One,
                0x03,
                Package (0x04)
                {
                    ResourceTemplate ()
                    {
                        Register (FFixedHW,
                            0x01,               // Bit Width
                            0x02,               // Bit Offset
                            0x0000000000000000, // Address
                            0x01,               // Access Size
                            )
                    },
                    One,
                    0x03E8,
                    0x03E8
                },

                Package (0x04)
                {
                    ResourceTemplate ()
                    {
                        Register (FFixedHW,
                            0x01,               // Bit Width
                            0x02,               // Bit Offset
                            0x0000000000000010, // Address
                            0x03,               // Access Size
                            )
                    },
                    0x02,
                    0x94,
                    0x01F4
                },

                Package (0x04)
                {
                    ResourceTemplate ()
                    {
                        Register (FFixedHW,
                            0x01,               // Bit Width
                            0x02,               // Bit Offset
                            0x0000000000000020, // Address
                            0x03,               // Access Size
                            )
                    },
                    0x03,
                    0xA9,
                    0x15E
                }
            })
        }
    }

    Scope (\_PR_.CPU2)
    {
        Method (APSS, 0, NotSerialized)
        {
            Store ("Method _PR_.CPU2.APSS Called", Debug)

            Return (\_PR_.CPU0.APSS)
        }

        Method (ACST, 0, NotSerialized) { Return (\_PR_.CPU1.ACST ()) }
    }

    Scope (\_PR_.CPU3)
    {
        Method (APSS, 0, NotSerialized)
        {
            Store ("Method _PR_.CPU3.APSS Called", Debug)

            Return (\_PR_.CPU0.APSS)
        }

        Method (ACST, 0, NotSerialized) { Return (\_PR_.CPU1.ACST ()) }
    }
}

On the console app, IOPPF reports:
Code:
18/05/14 18:12:51,000 kernel[0]: IOPPF: AppleIntelCPUPowerManagement mode

Not the XCPM mode :(

This is my config.plist from Clover:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>Devices</key>
	<dict>
		<key>Audio</key>
		<dict>
			<key>Inject</key>
			<string>No</string>
		</dict>
		<key>FakeID</key>
		<dict>
			<key>ATI</key>
			<string>0x0</string>
			<key>IntelGFX</key>
			<string>0x0</string>
			<key>NVidia</key>
			<string>0x0</string>
			<key>LAN</key>
			<string>0x0</string>
			<key>SATA</key>
			<string>0x0</string>
			<key>WIFI</key>
			<string>0x0</string>
			<key>XHCI</key>
			<string>0x0</string>
			<key>IMEI</key>
			<string>0x0</string>
		</dict>
		<key>UseIntelHDMI</key>
		<false/>
		<key>USB</key>
		<dict>
			<key>Inject</key>
			<true/>
			<key>FixOwnership</key>
			<true/>
			<key>HighCurrent</key>
			<true/>
		</dict>
	</dict>
	<key>ACPI</key>
	<dict>
		<key>DSDT</key>
		<dict>
			<key>Debug</key>
			<false/>
			<key>ReuseFFFF</key>
			<false/>
			<key>Name</key>
			<string>dsdt.aml</string>
			<key>DropOEM_DSM</key>
			<false/>
		</dict>
		<key>DropTables</key>
		<array>
			<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>SSDT</key>
		<dict>
			<key>DropOem</key>
			<false/>
			<key>Generate</key>
			<dict>
				<key>PStates</key>
				<false/>
				<key>CStates</key>
				<false/>
			</dict>
		</dict>
	</dict>
	<key>KernelAndKextPatches</key>
	<dict>
		<key>AppleRTC</key>
		<true/>
		<key>KextsToPatch</key>
		<array>
			<dict>
				<key>Name</key>
				<string>AppleAHCIPort</string>
				<key>Find</key>
				<data>
				RXh0ZXJuYWw=
				</data>
				<key>Replace</key>
				<data>
				SW50ZXJuYWw=
				</data>
				<key>Comment</key>
				<string>External icons patch</string>
			</dict>
			<dict>
				<key>Name</key>
				<string>IOAHCIBlockStorage</string>
				<key>Find</key>
				<data>
				QVBQTEUgU1NEAA==
				</data>
				<key>Replace</key>
				<data>
				AAAAAAAAAAAAAA==
				</data>
				<key>Comment</key>
				<string>Trim support patch</string>
			</dict>
		</array>
	</dict>
	<key>DisableDrivers</key>
	<array>
		<string>Nothing</string>
	</array>
	<key>GUI</key>
	<dict>
		<key>Language</key>
		<string>es:0</string>
		<key>ScreenResolution</key>
		<string>1920x1080</string>
		<key>Theme</key>
		<string>Mavs Style</string>
		<key>Mouse</key>
		<dict>
			<key>Speed</key>
			<integer>8</integer>
			<key>Enabled</key>
			<true/>
		</dict>
		<key>Scan</key>
		<dict>
			<key>Entries</key>
			<true/>
			<key>Tool</key>
			<true/>
			<key>Legacy</key>
			<string>First</string>
		</dict>
		<key>Hide</key>
		<array>
			<string>Windows</string>
			<string>\EFI\BOOT\BOOTX64.EFI</string>
			<string>Recovery HD</string>
			<string>Win8</string>
			<string>Datos</string>
		</array>
	</dict>
	<key>Graphics</key>
	<dict>
		<key>Inject</key>
		<dict>
			<key>Intel</key>
			<true/>
			<key>ATI</key>
			<true/>
			<key>NVidia</key>
			<false/>
		</dict>
	</dict>
	<key>RtVariables</key>
	<dict>
		<key>LogEveryBoot</key>
		<string>10</string>
		<key>LogLineCount</key>
		<integer>3000</integer>
		<key>MountEFI</key>
		<string>Yes</string>
	</dict>
	<key>SMBIOS</key>
	<dict>
		<key>BoardType</key>
		<integer>10</integer>
		<key>ChassisType</key>
		<integer>13</integer>
		<key>BiosReleaseDate</key>
		<string>10/12/2012</string>
		<key>Version</key>
		<string>1.0</string>
		<key>SerialNumber</key>
		<string>C02KN58NDNMP</string>
		<key>Manufacturer</key>
		<string>Apple Computer, Inc.</string>
		<key>BoardManufacturer</key>
		<string>Apple Computer, Inc.</string>
		<key>ChassisAssetTag</key>
		<string>iMac-Aluminum</string>
		<key>BiosVendor</key>
		<string>Apple Computer, Inc.</string>
		<key>ChassisManufacturer</key>
		<string>Apple Computer, Inc.</string>
		<key>BiosVersion</key>
		<string>IM131.88Z.010A.B05.1210121459</string>
		<key>Board-ID</key>
		<string>Mac-FC02E91DDD3FA6A4</string>
		<key>Family</key>
		<string>iMac</string>
		<key>ProductName</key>
		<string>iMac13,2</string>
		<key>Trust</key>
		<true/>
	</dict>
	<key>Boot</key>
	<dict>
		<key>Arguments</key>
		<string>darkwake=0</string>
		<key>DefaultVolume</key>
		<string>OS X</string>
		<key>Legacy</key>
		<string>PBR</string>
		<key>Log</key>
		<false/>
		<key>Timeout</key>
		<integer>5</integer>
		<key>XMPDetection</key>
		<string>No</string>
		<key>Secure</key>
		<false/>
	</dict>
	<key>SystemParameters</key>
	<dict>
		<key>InjectSystemID</key>
		<true/>
		<key>InjectKexts</key>
		<string>Detect</string>
	</dict>
</dict>
</plist>

IORegistry copy is attached.

Here's the output from AICPUPMI:
Code:
ay 18 18:12:51 localhost kernel[0]: AICPUPMI: v3.3 Copyright © 2012-2014 Pike R. Alpha. All rights reserved
May 18 18:12:51 localhost kernel[0]: AICPUPMI: logMSRs............................: 1
May 18 18:12:51 localhost kernel[0]: AICPUPMI: logIGPU............................: 0
May 18 18:12:51 localhost kernel[0]: AICPUPMI: logCStates.........................: 1
May 18 18:12:51 localhost kernel[0]: AICPUPMI: logIPGStyle........................: 1
May 18 18:12:51 localhost kernel[0]: AICPUPMI: MWAIT C-States.....................: 4384
May 18 18:12:51 localhost kernel[0]: AICPUPMI: MSR_CORE_THREAD_COUNT......(0x35)  : 0x40004
May 18 18:12:51 localhost kernel[0]: AICPUPMI: MSR_PLATFORM_INFO..........(0xCE)  : 0x81010F0012200
May 18 18:12:51 localhost kernel[0]: AICPUPMI: MSR_PMG_CST_CONFIG_CONTROL.(0xE2)  : 0x1E000403
May 18 18:12:51 localhost kernel[0]: AICPUPMI: MSR_PMG_IO_CAPTURE_BASE....(0xE4)  : 0x10414
May 18 18:12:51 localhost kernel[0]: AICPUPMI: IA32_MPERF.................(0xE7)  : 0x17D6A25EDB
May 18 18:12:51 localhost kernel[0]: AICPUPMI: IA32_APERF.................(0xE8)  : 0x1715C4DAC7
May 18 18:12:51 localhost kernel[0]: AICPUPMI: MSR_FLEX_RATIO.............(0x194) : 0xE0000
May 18 18:12:51 localhost kernel[0]: AICPUPMI: MSR_IA32_PERF_STATUS.......(0x198) : 0x205800002200
May 18 18:12:51 localhost kernel[0]: AICPUPMI: MSR_IA32_PERF_CONTROL......(0x199) : 0x2200
May 18 18:12:51 localhost kernel[0]: AICPUPMI: IA32_CLOCK_MODULATION......(0x19A) : 0x0
May 18 18:12:51 localhost kernel[0]: AICPUPMI: IA32_THERM_STATUS..........(0x19C) : 0x883F0000
May 18 18:12:51 localhost kernel[0]: AICPUPMI: IA32_MISC_ENABLES..........(0x1A0) : 0x850089
May 18 18:12:51 localhost kernel[0]: AICPUPMI: MSR_MISC_PWR_MGMT..........(0x1AA) : 0x400000
May 18 18:12:51 localhost kernel[0]: AICPUPMI: MSR_TURBO_RATIO_LIMIT......(0x1AD) : 0x24252626
May 18 18:12:51 localhost kernel[0]: AICPUPMI: IA32_ENERGY_PERF_BIAS......(0x1B0) : 0x0
May 18 18:12:51 localhost kernel[0]: AICPUPMI: MSR_POWER_CTL..............(0x1FC) : 0x14005F
May 18 18:12:51 localhost kernel[0]: AICPUPMI: MSR_RAPL_POWER_UNIT........(0x606) : 0xA1003
May 18 18:12:51 localhost kernel[0]: AICPUPMI: MSR_PKG_POWER_LIMIT........(0x610) : 0xA58000009F40
May 18 18:12:51 localhost kernel[0]: AICPUPMI: MSR_PKG_ENERGY_STATUS......(0x611) : 0x209E83F
May 18 18:12:51 localhost kernel[0]: AICPUPMI: MSR_PKGC3_IRTL.............(0x60a) : 0x883B
May 18 18:12:51 localhost kernel[0]: AICPUPMI: MSR_PKGC6_IRTL.............(0x60b) : 0x8850
May 18 18:12:51 localhost kernel[0]: AICPUPMI: MSR_PKGC7_IRTL.............(0x60c) : 0x8857
May 18 18:12:51 localhost kernel[0]: AICPUPMI: MSR_PP0_CURRENT_CONFIG.....(0x601) : 0x1814149400000960
May 18 18:12:51 localhost kernel[0]: AICPUPMI: MSR_PP0_POWER_LIMIT........(0x638) : 0xA580
May 18 18:12:51 localhost kernel[0]: AICPUPMI: MSR_PP0_ENERGY_STATUS......(0x639) : 0x161E25E
May 18 18:12:51 localhost kernel[0]: AICPUPMI: MSR_PP0_POLICY.............(0x63a) : 0x0
May 18 18:12:51 localhost kernel[0]: AICPUPMI: MSR_CONFIG_TDP_NOMINAL.....(0x648) : 0x22
May 18 18:12:51 localhost kernel[0]: AICPUPMI: MSR_CONFIG_TDP_LEVEL1......(0x649) : 0x1E0000000000000
May 18 18:12:51 localhost kernel[0]: AICPUPMI: MSR_CONFIG_TDP_LEVEL2......(0x64a) : 0x1E0000000000000
May 18 18:12:51 localhost kernel[0]: AICPUPMI: MSR_CONFIG_TDP_CONTROL.....(0x64b) : 0x80000000
May 18 18:12:51 localhost kernel[0]: AICPUPMI: MSR_TURBO_ACTIVATION_RATIO.(0x64c) : 0x0
May 18 18:12:51 localhost kernel[0]: AICPUPMI: MSR_PKG_C2_RESIDENCY.......(0x60d) : 0x0
May 18 18:12:51 localhost kernel[0]: AICPUPMI: MSR_PKG_C3_RESIDENCY.......(0x3f8) : 0x0
May 18 18:12:51 localhost kernel[0]: AICPUPMI: MSR_PKG_C6_RESIDENCY.......(0x3f9) : 0x0
May 18 18:12:51 localhost kernel[0]: AICPUPMI: MSR_PKG_C7_RESIDENCY.......(0x3fa) : 0x0
May 18 18:12:51 localhost kernel[0]: AICPUPMI: CPU Low Frequency Mode.............: 1600 MHz
May 18 18:12:51 localhost kernel[0]: AICPUPMI: CPU Maximum non-Turbo Frequency....: 3400 MHz
May 18 18:12:51 localhost kernel[0]: AICPUPMI: CPU Maximum Turbo Frequency........: 3800 MHz
May 18 18:12:51 localhost kernel[0]: AICPUPMI: CPU P-States [ (16) 34 ]
May 18 18:12:51 localhost kernel[0]: AICPUPMI: CPU C6-Cores [ 1 3 ]
May 18 18:12:51 localhost kernel[0]: AICPUPMI: CPU P-States [ 16 26 (34) ]
May 18 18:12:51 localhost kernel[0]: AICPUPMI: CPU C6-Cores [ 1 2 3 ]
May 18 18:12:52 Mac-Pro-de-Carlos kernel[0]: AICPUPMI: CPU P-States [ 16 26 31 34 (36) ]
May 18 18:12:52 Mac-Pro-de-Carlos kernel[0]: AICPUPMI: CPU C6-Cores [ 0 1 2 3 ]
May 18 18:12:52 Mac-Pro-de-Carlos kernel[0]: AICPUPMI: CPU P-States [ 16 26 31 33 34 (36) ]
May 18 18:12:53 Mac-Pro-de-Carlos kernel[0]: AICPUPMI: CPU C3-Cores [ 2 3 ]
May 18 18:12:53 Mac-Pro-de-Carlos kernel[0]: AICPUPMI: CPU P-States [ 16 26 31 33 34 36 (37) ]
May 18 18:12:53 Mac-Pro-de-Carlos kernel[0]: AICPUPMI: CPU C3-Cores [ 0 2 3 ]
May 18 18:12:54 Mac-Pro-de-Carlos kernel[0]: AICPUPMI: CPU P-States [ (16) 26 31 32 33 34 36 37 ]
May 18 18:12:54 Mac-Pro-de-Carlos kernel[0]: AICPUPMI: CPU P-States [ 16 26 30 31 32 33 34 36 37 (38) ]
May 18 18:12:55 Mac-Pro-de-Carlos kernel[0]: AICPUPMI: CPU P-States [ 16 26 29 30 31 32 33 34 36 (37) 38 ]
May 18 18:12:56 Mac-Pro-de-Carlos kernel[0]: AICPUPMI: CPU C3-Cores [ 0 1 2 3 ]
May 18 18:12:57 Mac-Pro-de-Carlos kernel[0]: AICPUPMI: CPU P-States [ (16) 22 26 29 30 31 32 33 34 36 37 38 ]
May 18 18:12:59 Mac-Pro-de-Carlos kernel[0]: AICPUPMI: CPU P-States [ (16) 22 26 27 29 30 31 32 33 34 36 37 38 ]
May 18 18:13:00 Mac-Pro-de-Carlos kernel[0]: AICPUPMI: CPU P-States [ (16) 22 25 26 27 29 30 31 32 33 34 36 37 38 ]
May 18 18:13:04 Mac-Pro-de-Carlos kernel[0]: AICPUPMI: CPU P-States [ (16) 22 23 25 26 27 29 30 31 32 33 34 36 37 38 ]
May 18 18:13:04 Mac-Pro-de-Carlos kernel[0]: AICPUPMI: CPU P-States [ (16) 22 23 24 25 26 27 29 30 31 32 33 34 36 37 38 ]
May 18 18:13:09 Mac-Pro-de-Carlos kernel[0]: AICPUPMI: CPU P-States [ (16) 20 22 23 24 25 26 27 29 30 31 32 33 34 36 37 38 ]
May 18 18:13:12 Mac-Pro-de-Carlos kernel[0]: AICPUPMI: CPU P-States [ 16 20 22 23 24 25 26 27 29 30 31 32 33 34 35 (36) 37 38 ]
May 18 18:13:19 Mac-Pro-de-Carlos kernel[0]: AICPUPMI: CPU P-States [ (16) 20 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 ]
May 18 18:14:01 Mac-Pro-de-Carlos kernel[0]: AICPUPMI: CPU P-States [ (16) 19 20 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 ]
May 18 18:14:03 Mac-Pro-de-Carlos kernel[0]: AICPUPMI: CPU P-States [ (16) 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 ]
May 18 18:14:07 Mac-Pro-de-Carlos kernel[0]: AICPUPMI: CPU P-States [ (16) 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 ]
May 18 18:14:52 Mac-Pro-de-Carlos 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 ]

I tried to boot with the flag "-xcpm" but the result is a KP.

This is the log:
Code:
Sun May 18 18:37:22 2014
Panic(CPU 0): Unresponsive processor (this CPU did not acknowledge interrupts) TLB state:0x0
RAX: 0xffffff8025b83e30, RBX: 0xffffff80008d4c40, RCX: 0xffffff80008897f8, RDX: 0x0000002d00000000
RSP: 0xffffff81c5ee3e20, RBP: 0xffffff81c5ee3e60, RSI: 0x0000002d8f025e40, RDI: 0xffffff80008d1600
R8:  0xffffff81c5ee3e08, R9:  0x00000000000003d6, R10: 0x000000003fdee1cc, R11: 0x00000000c028a29b
R12: 0xffffff80008d15f0, R13: 0xffffff8000907000, R14: 0xffffff80008d1600, R15: 0xffffff8000920000
RFL: 0x0000000000000002, RIP: 0xffffff80002d0af0, CS:  0x0000000000000008, SS:  0x0000000000000000
Backtrace (CPU 0), Frame : Return Address
0xffffff81c5ecbf50 : 0xffffff80002e2001 
0xffffff81c5ecbf80 : 0xffffff80002db51f 
0xffffff81c5ecbfd0 : 0xffffff80002f3619 
0xffffff81c5ee3e60 : 0xffffff80002c5a84 
0xffffff81c5ee3ec0 : 0xffffff80002d6422 
0xffffff81c5ee3f00 : 0xffffff8000653539 
0xffffff81c5ee3f90 : 0xffffff800023ac32 
0xffffff81c5ee3fb0 : 0xffffff80002d7127 

BSD process name corresponding to current thread: kernel_task
Boot args: darkwake=0 -xcpm  slide=0

What am I doing wrong?

Thanks in advace,

Cheers.

EDIT:

After a few reboots and KP, I've been able to boot; this is the log on console app:
Code:
18/05/14 22:45:25,000 kernel[0]: IOPPF: XCPM mode
18/05/14 22:45:25,000 kernel[0]: XCPM: P-state table mismatch (error:0x12)
18/05/14 22:45:25,000 kernel[0]: X86PlatformShim::sendPStates - pmCPUControl (XCPMIO_SETPSTATETABLE) returned 0x12
18/05/14 22:45:25,000 kernel[0]: X86PlatformShim::start - Failed to send PStates
18/05/14 22:45:25,000 kernel[0]: X86PlatformShim::start - Failed to send stepper
18/05/14 22:45:25,000 kernel[0]: AICPUPMI: CPU P-States [ 16 25 33 35 (36) 38 ]
18/05/14 22:45:25,000 kernel[0]: AICPUPMI: CPU C3-Cores [ 0 1 2 3 ]

Obviously, something is wrong. I googled the error 0x12 and there's people in the same situation but not solution. I'm not sure if this is Clover's fault or SSDT.

Cheers.
 

Attachments

  • iMac-lithetails.ioreg
    5.8 MB · Views: 102
Joined
Jul 30, 2013
Messages
45
Motherboard
<< need non-Apple model # >> See Forum Rules !!
CPU
i7 4790K
Graphics
580GTX
Mac
  1. iMac
Classic Mac
  1. Portable
Mobile Phone
  1. Android
Mavericks: Native CPU/IGPU Power Management

Native Mavericks power management delivers the best combination of processor and graphics performance and efficiency. The ingredients are an installed processor specific power management ssdt, a compatible system definition and the native power management kext. Native Mavericks power management does not require specific BIOS settings or anything more than one boot setting to load the power management ssdt. Credit for the technique described to PikeRAlpha.

What changed between Mountain Lion and Mavericks power management? The existing processor frequency/power state reporting tools (i.e., MSRDumper, HWMonitor) stopped reporting power states between idle and max non turbo. This led to an incorrect conclusion that native Mavericks power management was not working. A new tool, Intel Power Gadget, shows Mavericks power management is working as designed.

To be clear, native Mavericks power management is not mandatory. The consequences are not severe. Performance is similar, however, higher temps (~10 C), more power (5-10 W) and sleep problems are likely.
Please post a SSDT for i7 3770K non OC.And I post my results.
Thank's.
 

toleda

Moderator
Joined
May 20, 2010
Messages
23,008
Motherboard
Asus Maximus VII Impact
CPU
Core i7-4770K
Graphics
RX 560 + HD4600
Mac
  1. iMac
  2. MacBook Pro
  3. Mac mini
Classic Mac
  1. 512K
  2. LC
  3. Power Mac
Mobile Phone
  1. iOS
Obviously, something is wrong. I googled the error 0x12 and there's people in the same situation but not solution. I'm not sure if this is Clover's fault or SSDT.
Not Clover, likely the SSDT. Did you try ./ssdtPRGen.sh -w 3?
 
Joined
Jul 30, 2013
Messages
45
Motherboard
<< need non-Apple model # >> See Forum Rules !!
CPU
i7 4790K
Graphics
580GTX
Mac
  1. iMac
Classic Mac
  1. Portable
Mobile Phone
  1. Android
Make your own.
Post #1, 6. Prepare ssdt
Use
./ssdtPRGen.sh -w 3
I install yesterday new Mavericks 10.9.3 and put definition iMac13,2.Tommorow after work I'll test my Mavericks with the command ./ssdtPRGen.sh -w 3.After test I write results.
Thanks!!!!
 
Joined
Sep 22, 2013
Messages
12
Motherboard
ASUS Maximus VIII Hero
CPU
i7 6700K
Graphics
EVGA GTX 980 Ti Hybrid
Mac
Classic Mac
Mobile Phone
  1. Android
  2. iOS
Sorry if this is a bit off topic but, any idea why Intel Power Gadget's frequency's Y-axis is garbled?
Screen Shot 2014-05-21 at 11.09.09 PM.png

Old version of IPG seems to be ok. No idea what's wrong but PM is working fine:
May 21 22:23:59 iMac kernel[0]: AICPUPMI: CPU P-States [ 8 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 (46) ]
May 21 22:24:30 iMac kernel[0]: AICPUPMI: CPU P-States [ (8) 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 ]
May 21 22:24:31 iMac kernel[0]: AICPUPMI: CPU P-States [ (8) 22 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 ]
May 21 22:24:33 iMac kernel[0]: AICPUPMI: CPU P-States [ (8) 21 22 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 ]
May 21 22:24:37 iMac kernel[0]: AICPUPMI: CPU P-States [ (8) 20 21 22 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 ]
May 21 22:24:39 iMac kernel[0]: AICPUPMI: CPU P-States [ (8) 18 20 21 22 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 ]
May 21 22:24:39 iMac kernel[0]: AICPUPMI: CPU P-States [ 8 18 20 21 22 23 25 26 27 28 29 30 31 32 33 34 (35) 36 37 38 39 40 41 42 43 44 45 46 ]
May 21 22:24:40 iMac kernel[0]: AICPUPMI: CPU P-States [ (8) 18 19 20 21 22 23 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 ]
May 21 22:24:44 iMac kernel[0]: AICPUPMI: CPU P-States [ (8) 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 43 44 45 46 ]
May 21 22:25:29 iMac kernel[0]: AICPUPMI: CPU P-States [ (8) 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 43 44 45 46 ]
May 21 22:29:12 iMac kernel[0]: AICPUPMI: CPU P-States [ (8) 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 43 44 45 46 ]

Thanks in advance!
 
Joined
Jul 30, 2013
Messages
45
Motherboard
<< need non-Apple model # >> See Forum Rules !!
CPU
i7 4790K
Graphics
580GTX
Mac
  1. iMac
Classic Mac
  1. Portable
Mobile Phone
  1. Android
Make your own.
Post #1, 6. Prepare ssdt
Use
./ssdtPRGen.sh -w 3
I use a iMac13,2 and command ./ssdtPRGen.sh -w 3 my P-State is 16,39.And I use a kernel flag -xcpm my P-State is 16,25,30,35,37,39.I attached my ioReg and system log.
 

Attachments

  • iCrusher’s iMac.ioreg
    1.9 MB · Views: 95
  • system.log
    174 KB · Views: 102
Top