Contribute
Register

[Guide] Native Power Management for Laptops

I have attached the output from AppleIntelInfo.kext from my laptop with a 6200u. I am not sure how to tell from this info if power management is working properly or not.
 

Attachments

  • Terminal Output.zip
    3.9 KB · Views: 72
I'm having a very weird issue with power management.

I have HWP enabled and working, with injected frequency vectors. I have noticed that my battery life vastly improves if I briefly plug in an AC adapter. I don't have to charge the computer, just have to get it to recognize the AC adapter and battery management will improve after the AC adapter is unplugged

I'm using SSDT-PluginType1 as opposed to the full SSDT from ssdtprgen.sh, and X86PlatformPlugin is loaded.

You should open a separate thread.
 
I have attached the output from AppleIntelInfo.kext from my laptop with a 6200u. I am not sure how to tell from this info if power management is working properly or not.

CPU pstate x27 is consistent with your CPU specs.
Lower idle pstate could probably be attained by tweaking FrequencyVectors in the associated X86PlatformPlugin plist.
 
My base CPU and GPU freqs are stuck at much higher base freqs. How can I make them drop below 1.30 GHz and 500 MHz respectively. As per GPU, it's not much, 200 MHz, but for CPU it's almost 3 times the base/low frequency.

If I run Geekbench, test CPU goes up to 2.50GHz (no 2.70GHz for some reason?) and GPU goes upto 850 MHz (no 900 MHz too?). And Temperature went up to 52 C.


From Intel Power Gadget:
Base CPU frequency is always set to 1.30 GHz
Base GPU: 500 MHz.

AppleIntelInfo.kext
Code:
CPU Ratio Info:
------------------------------------
CPU Low Frequency Mode.............: 500 MHz
CPU Maximum non-Turbo Frequency....: 2200 MHz
CPU Maximum Turbo Frequency........: 2700 MHz

IGPU Info:
------------------------------------
IGPU Current Frequency.............:  500 MHz
IGPU Minimum Frequency.............:  300 MHz
IGPU Maximum Non-Turbo Frequency...:  300 MHz
IGPU Maximum Turbo Frequency.......:  900 MHz
IGPU Maximum limit.................: No Limit

CPU P-States [ (13) 20 25 ] iGPU P-States [ (10) ]
CPU C3-Cores [ 1 2 3 ]
CPU C6-Cores [ 0 1 2 3 ]
CPU C7-Cores [ 0 1 2 3 ]
CPU P-States [ (13) 15 20 25 ] iGPU P-States [ (10) ]
CPU C3-Cores [ 0 1 2 3 ]
CPU P-States [ (13) 15 18 20 25 ] iGPU P-States [ (10) ]
CPU P-States [ (13) 15 17 18 20 25 ] iGPU P-States [ (10) ]
CPU P-States [ (13) 14 15 17 18 20 25 ] iGPU P-States [ (10) ]
CPU P-States [ 13 14 15 17 18 20 (22) 25 ] iGPU P-States [ (10) ]
CPU P-States [ (13) 14 15 16 17 18 20 22 25 ] iGPU P-States [ (10) ]

Should I try using Experimental technique: XCPM only method?
 

Attachments

  • AEs Problem Reporting For Native PM Higher base clock rates.zip
    5.4 MB · Views: 63
I found it! I reapplied the guide and checked the terminal log and guess what?

Notice: The LFM frequency in Mac-E43C1C25D4880AD6.plist is set to 1300 MHz!
AEs-MacBook-Pro:~ ae$ ./ssdtPRGen.sh

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

System information: Mac OS X 10.12.4 (16E195)
Brandstring: "Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz"

Version: models.cfg v170 / Broadwell.cfg v151


Scope (_PR_) {222 bytes} with ACPI Processor declarations found in DSDT (ACPI 1.0 compliant)

Notice: The LFM frequency in Mac-E43C1C25D4880AD6.plist is set to 1300 MHz!
This restriction can be lifted with help of freqVectorsEdit.sh from:
https://github.com/Piker-Alpha/freqVectorsEdit.sh

Generating ssdt.dsl for a 'MacBookPro12,1' with board-id [Mac-E43C1C25D4880AD6]
Broadwell Core i5-5200U processor [0x306D4] setup [0x0606]
With a maximum TDP of 15 Watt, as specified by Intel
Number logical CPU's: 4 (Core Frequency: 2200 MHz)
Number of Turbo States: 5 (2300-2700 MHz)
Number of P-States: 20 (800-2700 MHz)
Adjusting C-States for detected (mobile) processor
Injected C-States for CPU0 (C1,C3,C6,C7)
Injected C-States for CPU1 (C1,C2,C3,C6,C7)
Warning: 'cpu-type' may be set improperly (0x0606 instead of 0x0906)
- Clover users should read https://clover-wiki.zetam.org/Configuration/CPU#cpu_type

Compiling: ssdt_pr.dsl
[/quorw]

What is your suggestion, RehabMan?

Thanks
 
I found it! I reapplied the guide and checked the terminal log and guess what?

Notice: The LFM frequency in Mac-E43C1C25D4880AD6.plist is set to 1300 MHz!

Read about Pike's freqVectorsEdit.sh script.
 
I did and decided not to go with it and used SSDT-PluginType1 instead. But kext is not loading now. Should I add SSDT-PluginType1 to clover config's sortedorder?
 
I did and decided not to go with it and used SSDT-PluginType1 instead. But kext is not loading now. Should I add SSDT-PluginType1 to clover config's sortedorder?

If you're using SortedOrder and SSDT-PluginType1.aml is omitted, it will not load.
 
How can I make it to load with dropoem=true (also with sortedorder) then?
 
How can I make it to load with dropoem=true (also with sortedorder) then?

You must include all the SSDTs you expect to load in SortedOrder.
Clover will load only those SSDTs listed, in the order listed.
 
Back
Top