Jump to content

[GUIDE] HWP(Intel Speed Shift) enable with full power management


  • Please log in to reply
78 replies to this topic

#61
tluck

tluck

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,596 posts
  • Gender:Male
  • Location:NC, USA

ok - yes i understand

- the freq vector Mac-473D31EABEB93F9B.plist - MBP13,1 - show epp 128.

- but there is another value called epp_override in there. i didn't add it.



#62
PMheart

PMheart

    InsanelyMac Sage

  • Coders
  • 310 posts
  • Gender:Female
  • Location:Singapore

ok - yes i understand

- the freq vector Mac-473D31EABEB93F9B.plist - MBP13,1 - show epp 128.

- but there is another value called epp_override in there. i didn't add it.

Glad to hear that.  :D

Ah yes. I see/remember.

Yup. This value is typically 0x80/128 by default. You can also check Pike's comment in his freqVectorsEdit.sh.

'epp_override' seems to exist in MBP13,2 13,3 and the new Kaby Lake models (not released yet).

 

Oops. Time to go outside now. Farewell!  :)



#63
dpassmor

dpassmor

    InsanelyMac Protégé

  • Members
  • Pip
  • 19 posts

Glad to hear that. :D
Ah yes. I see/remember.
Yup. This value is typically 0x80/128 by default. You can also check Pike's comment in his freqVectorsEdit.sh.
'epp_override' seems to exist in MBP13,2 13,3 and the new Kaby Lake models (not released yet).

Oops. Time to go outside now. Farewell! :)


Sierra on my Dell with model identifier MacBookPro13,3 will dynamically change the EPP value depending upon load and whether the system is on battery or not-- perhaps epp_override controls that behavior.

#64
PMheart

PMheart

    InsanelyMac Sage

  • Coders
  • 310 posts
  • Gender:Female
  • Location:Singapore

Sierra on my Dell with model identifier MacBookPro13,3 will dynamically change the EPP value depending upon load and whether the system is on battery or not-- perhaps epp_override controls that behavior.

Yes. Just like my real MacBook9,1 can get 800 MHz frequency when idling although the LFM is 1200 MHz according to the FrequencyVectors. HWP, EPP and something else may be changed dynamically in some specific cases. Yup. Maybe epp_override did that.



#65
WinstonAce

WinstonAce

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 517 posts
Also this thread is about skylake power management, the minimal ssdt from OP works for haswell as well (speedstep, not speed shift obviously)
Thanks

Sent from my SM-G930F using Tapatalk

#66
Drfrag

Drfrag

    InsanelyMac Protégé

  • Members
  • Pip
  • 38 posts
  • Gender:Male
  • Location:Brazil

Sierra on my Dell with model identifier MacBookPro13,3 will dynamically change the EPP value depending upon load and whether the system is on battery or not-- perhaps epp_override controls that behavior.


And how can I know my actual EPP value?

#67
telepati

telepati

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 218 posts
  • Gender:Male
  • Location:istanbul

Here is my result could you please confirm my HWP is working? I am seeing HWP enabled but many things looks disabled and unsupported. I really don't get it.

AppleIntelInfo.kext v2.0 Copyright © 2012-2016 Pike R. Alpha. All rights reserved
enableHWP................................: 0

Settings:
------------------------------------------
logMSRs..................................: 1
logIGPU..................................: 1
logCStates...............................: 1
logIPGStyle..............................: 1

Warning: Clover hw.busfrequency error detected : 17d78400
InitialTSC...............................: 0x73cca848bb (12 MHz)
MWAIT C-States...........................: 1319200

Processor Brandstring....................: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz

Processor Signature..................... : 0x506E3
------------------------------------------
 - Family............................... : 6
 - Stepping............................. : 3
 - Model................................ : 0x5E (94)

Model Specific Registers (MSRs)
------------------------------------------

MSR_CORE_THREAD_COUNT............(0x35)  : 0xFFFFFF80BD158B00
------------------------------------------
 - Core Count........................... : 4
 - Thread Count......................... : 8

MSR_PLATFORM_INFO................(0xCE)  : 0x80838F1012800
------------------------------------------
 - Maximum Non-Turbo Ratio.............. : 0x28 (4000 MHz)
 - Ratio Limit for Turbo Mode........... : 1 (programmable)
 - TDP Limit for Turbo Mode............. : 1 (programmable)
 - Low Power Mode Support............... : 0 (LMP not supported)
 - Number of ConfigTDP Levels........... : 0 (only base TDP level available)
 - Maximum Efficiency Ratio............. : 8
 - Minimum Operating Ratio.............. : 8

MSR_PMG_CST_CONFIG_CONTROL.......(0xE2)  : 0x0
------------------------------------------
 - I/O MWAIT Redirection Enable......... : 0 (not enabled)
 - CFG Lock............................. : 0 (MSR not locked)
 - C3 State Auto Demotion............... : 0 (disabled/unsupported)
 - C1 State Auto Demotion............... : 0 (disabled/unsupported)
 - C3 State Undemotion.................. : 0 (disabled/unsupported)
 - C1 State Undemotion.................. : 0 (disabled/unsupported)
 - Package C-State Auto Demotion........ : 0 (disabled/unsupported)
 - Package C-State Undemotion........... : 0 (disabled/unsupported)

MSR_PMG_IO_CAPTURE_BASE..........(0xE4)  : 0x0
 - C-state Range........................ : 0 (C-States not included, I/O MWAIT redirection not enabled)

IA32_MPERF.......................(0xE7)  : 0x3D49A8F0EC
IA32_APERF.......................(0xE8)  : 0x4091C93D01

MSR_FLEX_RATIO...................(0x194) : 0xE0000

MSR_IA32_PERF_STATUS.............(0x198) : 0x2B2100002C00
------------------------------------------
 - Current Performance State Value...... : 0x2C00 (4400 MHz)

MSR_IA32_PERF_CONTROL............(0x199) : 0x2C00
------------------------------------------
 - Target performance State Value....... : 0x2C00 (4400 MHz)
 - Intel Dynamic Acceleration........... : 0 (IDA engaged)

IA32_CLOCK_MODULATION............(0x19A) : 0x0

IA32_THERM_INTERRUPT.............(0x19B) : 0x10
------------------------------------------
 - High-Temperature Interrupt Enable.... : 0 (disabled)
 - Low-Temperature Interrupt Enable..... : 0 (disabled)
 - PROCHOT# Interrupt Enable............ : 0 (disabled)
 - FORCEPR# Interrupt Enable............ : 0 (disabled)
 - Critical Temperature Interrupt Enable : 1 (enabled)
 - Threshold #1 Value................... : 0
 - Threshold #1 Interrupt Enable........ : 0 (disabled)
 - Threshold #2 Value................... : 0
 - Threshold #2 Interrupt Enable........ : 0 (disabled)
 - Power Limit Notification Enable...... : 0 (disabled)

IA32_THERM_STATUS................(0x19C) : 0x88470000
------------------------------------------
 - Thermal Status....................... : 0
 - Thermal Log.......................... : 0
 - PROCHOT # or FORCEPR# event.......... : 0
 - PROCHOT # or FORCEPR# log............ : 0
 - Critical Temperature Status.......... : 0
 - Critical Temperature log............. : 0
 - Thermal Threshold #1 Status.......... : 0
 - Thermal Threshold #1 log............. : 0
 - Thermal Threshold #2 Status.......... : 0
 - Thermal Threshold #2 log............. : 0
 - Power Limitation Status.............. : 0
 - Power Limitation log................. : 0
 - Current Limit Status................. : 0
 - Current Limit log.................... : 0
 - Cross Domain Limit Status............ : 0
 - Cross Domain Limit log............... : 0
 - Digital Readout...................... : 71
 - Resolution in Degrees Celsius........ : 1
 - Reading Valid........................ : 1 (valid)

MSR_THERM2_CTL...................(0x19D) : 0x0

IA32_MISC_ENABLES................(0x1A0) : 0x850089
------------------------------------------
 - Fast-Strings......................... : 1 (enabled)
 - FOPCODE compatibility mode Enable.... : 0
 - Automatic Thermal Control Circuit.... : 1 (enabled)
 - Split-lock Disable................... : 0
 - Performance Monitoring............... : 1 (available)
 - Bus Lock On Cache Line Splits Disable : 0
 - Hardware prefetch Disable............ : 0
 - Processor Event Based Sampling....... : 0 (PEBS supported)
 - GV1/2 legacy Enable.................. : 0
 - Enhanced Intel SpeedStep Technology.. : 1 (enabled)
 - MONITOR FSM.......................... : 1 (MONITOR/MWAIT supported)
 - Adjacent sector prefetch Disable..... : 0
 - CFG Lock............................. : 0 (MSR not locked)
 - xTPR Message Disable................. : 1 (disabled)

MSR_TEMPERATURE_TARGET...........(0x1A2) : 0x64140D
------------------------------------------
 - Turbo Attenuation Units.............. : 13 (122.1 micro-Seconds)
 - Temperature Target................... : 100
 - TCC Activation Offset................ : 0

MSR_MISC_PWR_MGMT................(0x1AA) : 0x401CC1
------------------------------------------
 - EIST Hardware Coordination........... : 1 (hardware coordination disabled)
 - Energy/Performance Bias support...... : 1
 - Energy/Performance Bias.............. : 0 (disabled/MSR not visible to software)
 - Thermal Interrupt Coordination Enable : 1 (thermal interrupt routed to all cores)

MSR_TURBO_RATIO_LIMIT............(0x1AD) : 0x2C2C2C2C
------------------------------------------
 - Maximum Ratio Limit for C01.......... : 2C (4400 MHz) 
 - Maximum Ratio Limit for C02.......... : 2C (4400 MHz) 
 - Maximum Ratio Limit for C03.......... : 2C (4400 MHz) 
 - Maximum Ratio Limit for C04.......... : 2C (4400 MHz) 

IA32_ENERGY_PERF_BIAS............(0x1B0) : 0x1
------------------------------------------
 - Power Policy Preference...............: 1 (highest performance)

MSR_POWER_CTL....................(0x1FC) : 0x2C005F
------------------------------------------
 - Bi-Directional Processor Hot..........: 1 (enabled)
 - C1E Enable............................: 1 (enabled)

MSR_RAPL_POWER_UNIT..............(0x606) : 0xA0E03
------------------------------------------
 - Power Units.......................... : 3 (1/8 Watt)
 - Energy Status Units.................. : 14 (61 micro-Joules)
 - Time Units .......................... : 10 (976.6 micro-Seconds)

MSR_PKG_POWER_LIMIT..............(0x610) : 0x42FFFF001BFFFF
------------------------------------------
 - Package Power Limit #1............... : 4095 Watt
 - Enable Power Limit #1................ : 1 (enabled)
 - Package Clamping Limitation #1....... : 1 (allow going below OS-requested P/T state during Time Window for Power Limit #1)
 - Time Window for Power Limit #1....... : 13 (20480 milli-Seconds)
 - Package Power Limit #2............... : 4095 Watt
 - Enable Power Limit #2................ : 1 (enabled)
 - Package Clamping Limitation #2....... : 0 (disabled)
 - Time Window for Power Limit #2....... : 33 (10 milli-Seconds)
 - Lock................................. : 0 (MSR not locked)

MSR_PKG_ENERGY_STATUS............(0x611) : 0x3E85B91
------------------------------------------
 - Total Energy Consumed................ : 4001 Joules (Watt = Joules / seconds)

MSR_PKG_POWER_INFO...............(0x614) : 0x2F8
------------------------------------------
 - Thermal Spec Power................... : 95 Watt
 - Minimum Power........................ : 0
 - Maximum Power........................ : 0
 - Maximum Time Window.................. : 0

MSR_PP0_POWER_LIMIT..............(0x638) : 0x0

MSR_PP0_ENERGY_STATUS............(0x639) : 0x287A270
------------------------------------------
 - Total Energy Consumed................ : 2590 Joules (Watt = Joules / seconds)

MSR_TURBO_ACTIVATION_RATIO.......(0x64C) : 0x0

MSR_PP1_POWER_LIMIT..............(0x640) : 0x0

MSR_PP1_ENERGY_STATUS............(0x641) : 0x2115B
------------------------------------------
 - Total Energy Consumed................ : 8 Joules (Watt = Joules / seconds)

MSR_PP1_POLICY...................(0x642) : 0x18
------------------------------------------
 - Priority Level....................... : 24

MSR_PKGC6_IRTL...................(0x60b) : 0x0
MSR_PKGC7_IRTL...................(0x60c) : 0x0
MSR_PKG_C2_RESIDENCY.............(0x60d) : 0x0
MSR_PKG_C6_RESIDENCY.............(0x3f9) : 0x0
MSR_PKG_C7_RESIDENCY.............(0x3fa) : 0x0

MSR_PLATFORM_ENERGY_COUNTER......(0x64D) : 0x0 (not supported by hardware/BIOS)

MSR_PPERF........................(0x64E) : 0x3E4592F87A
------------------------------------------
 - Hardware workload scalability........ : 267455232122

MSR_CORE_PERF_LIMIT_REASONS......(0x64F) : 0x0
HDC Supported

IA32_PKG_HDC_CTL.................(0xDB0) : 0x0

IA32_PM_CTL1.....................(0xDB1) : 0x1
------------------------------------------
HDC Allow Block..................(0xDB1) : 1 (HDC blocked)

IA32_THREAD_STALL................(0xDB2) : 0x0

MSR_PKG_HDC_CONFIG...............(0x652) : 0x2
------------------------------------------
Pkg Cx Monitor ..................(0x652) : 2 (count package C3 and deeper)
MSR_CORE_HDC_RESIDENCY...........(0x653) : 0x0

MSR_PKG_HDC_SHALLOW_RESIDENCY....(0x655) : 0x0

MSR_PKG_HDC_DEEP_RESIDENCY.......(0x656) : 0x0

IA32_TSC_DEADLINE................(0x6E0) : 0x73E408DB67
MSR_PPERF........................(0x63E) : 0x1 (38)

IA32_PM_ENABLE...................(0x770) : 0x1 (HWP Supported and Enabled)

IA32_HWP_CAPABILITIES............(0x771) : 0x109282C
-----------------------------------------
 - Highest Performance.................. : 44
 - Guaranteed Performance............... : 40
 - Most Efficient Performance........... : 9
 - Lowest Performance................... : 1

IA32_HWP_INTERRUPT...............(0x773) : 0x1
------------------------------------------
 - Guaranteed Performance Change........ : 1 (Interrupt generated on change of)
 - Excursion Minimum.................... : 0 (Interrupt generation disabled)

IA32_HWP_REQUEST................(0x774) : 0x20002C01
-----------------------------------------
 - Minimum Performance................. : 1
 - Maximum Performance................. : 44
 - Desired Performance................. : 0
 - Energy Efficient Performance........ : 32
 - Activity Window..................... : 0, 0
 - Package Control..................... : 0

IA32_HWP_STATUS..................(0x777) : 0x0
-----------------------------------------
 - Guaranteed Performance Change....... : 0 (has not occured)
 - Excursion To Minimum................ : 0 (has not occured)

CPU Ratio Info:
------------------------------------------
Base Clock Frequency (BLCK)............. : 100 MHz
Maximum Efficiency Ratio/Frequency.......:  8 ( 800 MHz)
Maximum non-Turbo Ratio/Frequency........: 40 (4000 MHz)
Maximum Turbo Ratio/Frequency............: 44 (4400 MHz)

IGPU Info:
------------------------------------------
IGPU Current Frequency...................:    0 MHz
IGPU Minimum Frequency...................:  350 MHz
IGPU Maximum Non-Turbo Frequency.........:  350 MHz
IGPU Maximum Turbo Frequency.............: 1150 MHz
IGPU Maximum limit.......................: 1150 MHz

P-State ratio * 100 = Frequency in MHz
------------------------------------------
CPU P-States [ 42 (44) ] iGPU P-States [ ]
CPU C6-Cores [ 0 1 2 4 6 7 ]
CPU C6-Cores [ 0 1 2 3 4 5 6 7 ]
bash-3.2# 

9FG3dZE.png



#68
PMheart

PMheart

    InsanelyMac Sage

  • Coders
  • 310 posts
  • Gender:Female
  • Location:Singapore

IA32_PM_ENABLE...................(0x770) : 0x1 (HWP Supported and Enabled)

IA32_HWP_CAPABILITIES............(0x771) : 0x109282C
-----------------------------------------
 - Highest Performance.................. : 44
 - Guaranteed Performance............... : 40
 - Most Efficient Performance........... : 9
 - Lowest Performance................... : 1

IA32_HWP_INTERRUPT...............(0x773) : 0x1
------------------------------------------
 - Guaranteed Performance Change........ : 1 (Interrupt generated on change of)
 - Excursion Minimum.................... : 0 (Interrupt generation disabled)

IA32_HWP_REQUEST................(0x774) : 0x20002C01
-----------------------------------------
 - Minimum Performance................. : 1
 - Maximum Performance................. : 44
 - Desired Performance................. : 0
 - Energy Efficient Performance........ : 32
 - Activity Window..................... : 0, 0
 - Package Control..................... : 0

IA32_HWP_STATUS..................(0x777) : 0x0
-----------------------------------------
 - Guaranteed Performance Change....... : 0 (has not occured)
 - Excursion To Minimum................ : 0 (has not occured)

9FG3dZE.png

Seem to be enabled.



#69
barijaona

barijaona

    InsanelyMac Protégé

  • Members
  • Pip
  • 37 posts

Seem to be enabled.


But what is the meaning of :

AppleIntelInfo.kext v2.0 Copyright [emoji767] 2012-2016 Pike R. Alpha. All rights reserved
enableHWP................................: 0
?

#70
PMheart

PMheart

    InsanelyMac Sage

  • Coders
  • 310 posts
  • Gender:Female
  • Location:Singapore

But what is the meaning of :
 

AppleIntelInfo.kext v2.0 Copyright [emoji767] 2012-2016 Pike R. Alpha. All rights reserved
enableHWP................................: 0
?

 

Nope. This is not related to HWP. It's actually controlled by this.

And also. I don't have a look at the source code ATM. But I guessed that is relevant to some preprocessors.

:)

 

[UPDATE]

Yes! It is.

Attached File  Snip20170219_2.png   276.84KB   4 downloads

First of all. The routine will check for the boolean of 'enableHWP', like I mentioned above.

#if ENABLE_HWP
			OSBoolean * key_enableHWP = OSDynamicCast(OSBoolean, getProperty("enableHWP"));
			
			if (key_enableHWP)
			{
				if ((bool)key_enableHWP->getValue())
				{
					do_cpuid(0x00000006, cpuid_reg);
				
					if ((cpuid_reg[eax] & 0x80) == 0x80)
					{
						if (rdmsr64(IA32_PM_ENABLE) == 0)
						{
							wrmsr64(IA32_PM_ENABLE, 1);
						}
					}
				}
			}
			
			IOLOG("enableHWP................................: %d\n", (bool)key_enableHWP->getValue());
#endif

Then if its value is yes and the output of "IOLOG("enableHWP................................: %d\n", (bool)key_enableHWP->getValue());" is 1, else will be 0, and actually it's disabled by default (0).

So just don't care of that.



#71
telepati

telepati

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 218 posts
  • Gender:Male
  • Location:istanbul

Seem to be enabled.

 
I forgot to remove SSDT.aml here is the new result; Now it look works much proper but I can't see X86PlatformPlugin anymore inside of the ioreg, I can see now ACPI_SMC_PlatformPlugin, is that normal? are you using SSDT or any patch for X86PlatformPlugin? or do I need it?
 
Last login: Sun Feb 19 20:07:30 on console
Murats-Mac:~ muratozgul$ sudo -s
Password:
bash-3.2# chown -R 0:0 ~/Desktop/AppleIntelInfo.kext
bash-3.2# chmod -R 755 ~/Desktop/AppleIntelInfo.kext
bash-3.2# kextload ~/Desktop/AppleIntelInfo.kext
bash-3.2# cat /tmp/AppleIntelInfo.dat
 
AppleIntelInfo.kext v2.0 Copyright © 2012-2016 Pike R. Alpha. All rights reserved
enableHWP................................: 0
 
Settings:
------------------------------------------
logMSRs..................................: 1
logIGPU..................................: 1
logCStates...............................: 1
logIPGStyle..............................: 1
 
Warning: Clover hw.busfrequency error detected : 17d78400
InitialTSC...............................: 0xe2e9fb1987 (24 MHz)
MWAIT C-States...........................: 1319200
 
Processor Brandstring....................: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
 
Processor Signature..................... : 0x506E3
------------------------------------------
- Family............................... : 6
- Stepping............................. : 3
- Model................................ : 0x5E (94)
 
Model Specific Registers (MSRs)
------------------------------------------
 
MSR_CORE_THREAD_COUNT............(0x35)  : 0xFFFFFF80B89AC000
------------------------------------------
- Core Count........................... : 4
- Thread Count......................... : 8
 
MSR_PLATFORM_INFO................(0xCE)  : 0x80838F1012800
------------------------------------------
- Maximum Non-Turbo Ratio.............. : 0x28 (4000 MHz)
- Ratio Limit for Turbo Mode........... : 1 (programmable)
- TDP Limit for Turbo Mode............. : 1 (programmable)
- Low Power Mode Support............... : 0 (LMP not supported)
- Number of ConfigTDP Levels........... : 0 (only base TDP level available)
- Maximum Efficiency Ratio............. : 8
- Minimum Operating Ratio.............. : 8
 
MSR_PMG_CST_CONFIG_CONTROL.......(0xE2)  : 0x0
------------------------------------------
- I/O MWAIT Redirection Enable......... : 0 (not enabled)
- CFG Lock............................. : 0 (MSR not locked)
- C3 State Auto Demotion............... : 0 (disabled/unsupported)
- C1 State Auto Demotion............... : 0 (disabled/unsupported)
- C3 State Undemotion.................. : 0 (disabled/unsupported)
- C1 State Undemotion.................. : 0 (disabled/unsupported)
- Package C-State Auto Demotion........ : 0 (disabled/unsupported)
- Package C-State Undemotion........... : 0 (disabled/unsupported)
 
MSR_PMG_IO_CAPTURE_BASE..........(0xE4)  : 0x0
- C-state Range........................ : 0 (C-States not included, I/O MWAIT redirection not enabled)
 
IA32_MPERF.......................(0xE7)  : 0x44C2D44C84
IA32_APERF.......................(0xE8)  : 0x4329B89C1C
 
MSR_FLEX_RATIO...................(0x194) : 0xE0000
 
MSR_IA32_PERF_STATUS.............(0x198) : 0x2B3D00002C00
------------------------------------------
- Current Performance State Value...... : 0x2C00 (4400 MHz)
 
MSR_IA32_PERF_CONTROL............(0x199) : 0x2C00
------------------------------------------
- Target performance State Value....... : 0x2C00 (4400 MHz)
- Intel Dynamic Acceleration........... : 0 (IDA engaged)
 
IA32_CLOCK_MODULATION............(0x19A) : 0x0
 
IA32_THERM_INTERRUPT.............(0x19B) : 0x10
------------------------------------------
- High-Temperature Interrupt Enable.... : 0 (disabled)
- Low-Temperature Interrupt Enable..... : 0 (disabled)
- PROCHOT# Interrupt Enable............ : 0 (disabled)
- FORCEPR# Interrupt Enable............ : 0 (disabled)
- Critical Temperature Interrupt Enable : 1 (enabled)
- Threshold #1 Value................... : 0
- Threshold #1 Interrupt Enable........ : 0 (disabled)
- Threshold #2 Value................... : 0
- Threshold #2 Interrupt Enable........ : 0 (disabled)
- Power Limit Notification Enable...... : 0 (disabled)
 
IA32_THERM_STATUS................(0x19C) : 0x88450000
------------------------------------------
- Thermal Status....................... : 0
- Thermal Log.......................... : 0
- PROCHOT # or FORCEPR# event.......... : 0
- PROCHOT # or FORCEPR# log............ : 0
- Critical Temperature Status.......... : 0
- Critical Temperature log............. : 0
- Thermal Threshold #1 Status.......... : 0
- Thermal Threshold #1 log............. : 0
- Thermal Threshold #2 Status.......... : 0
- Thermal Threshold #2 log............. : 0
- Power Limitation Status.............. : 0
- Power Limitation log................. : 0
- Current Limit Status................. : 0
- Current Limit log.................... : 0
- Cross Domain Limit Status............ : 0
- Cross Domain Limit log............... : 0
- Digital Readout...................... : 69
- Resolution in Degrees Celsius........ : 1
- Reading Valid........................ : 1 (valid)
 
MSR_THERM2_CTL...................(0x19D) : 0x0
 
IA32_MISC_ENABLES................(0x1A0) : 0x850089
------------------------------------------
- Fast-Strings......................... : 1 (enabled)
- FOPCODE compatibility mode Enable.... : 0
- Automatic Thermal Control Circuit.... : 1 (enabled)
- Split-lock Disable................... : 0
- Performance Monitoring............... : 1 (available)
- Bus Lock On Cache Line Splits Disable : 0
- Hardware prefetch Disable............ : 0
- Processor Event Based Sampling....... : 0 (PEBS supported)
- GV1/2 legacy Enable.................. : 0
- Enhanced Intel SpeedStep Technology.. : 1 (enabled)
- MONITOR FSM.......................... : 1 (MONITOR/MWAIT supported)
- Adjacent sector prefetch Disable..... : 0
- CFG Lock............................. : 0 (MSR not locked)
- xTPR Message Disable................. : 1 (disabled)
 
MSR_TEMPERATURE_TARGET...........(0x1A2) : 0x64140D
------------------------------------------
- Turbo Attenuation Units.............. : 13 (122.1 micro-Seconds)
- Temperature Target................... : 100
- TCC Activation Offset................ : 0
 
MSR_MISC_PWR_MGMT................(0x1AA) : 0x401CC1
------------------------------------------
- EIST Hardware Coordination........... : 1 (hardware coordination disabled)
- Energy/Performance Bias support...... : 1
- Energy/Performance Bias.............. : 0 (disabled/MSR not visible to software)
- Thermal Interrupt Coordination Enable : 1 (thermal interrupt routed to all cores)
 
MSR_TURBO_RATIO_LIMIT............(0x1AD) : 0x2C2C2C2C
------------------------------------------
- Maximum Ratio Limit for C01.......... : 2C (4400 MHz) 
- Maximum Ratio Limit for C02.......... : 2C (4400 MHz) 
- Maximum Ratio Limit for C03.......... : 2C (4400 MHz) 
- Maximum Ratio Limit for C04.......... : 2C (4400 MHz) 
 
IA32_ENERGY_PERF_BIAS............(0x1B0) : 0x1
------------------------------------------
- Power Policy Preference...............: 1 (highest performance)
 
MSR_POWER_CTL....................(0x1FC) : 0x2C005F
------------------------------------------
- Bi-Directional Processor Hot..........: 1 (enabled)
- C1E Enable............................: 1 (enabled)
 
MSR_RAPL_POWER_UNIT..............(0x606) : 0xA0E03
------------------------------------------
- Power Units.......................... : 3 (1/8 Watt)
- Energy Status Units.................. : 14 (61 micro-Joules)
- Time Units .......................... : 10 (976.6 micro-Seconds)
 
MSR_PKG_POWER_LIMIT..............(0x610) : 0x42FFFF001BFFFF
------------------------------------------
- Package Power Limit #1............... : 4095 Watt
- Enable Power Limit #1................ : 1 (enabled)
- Package Clamping Limitation #1....... : 1 (allow going below OS-requested P/T state during Time Window for Power Limit #1)
- Time Window for Power Limit #1....... : 13 (20480 milli-Seconds)
- Package Power Limit #2............... : 4095 Watt
- Enable Power Limit #2................ : 1 (enabled)
- Package Clamping Limitation #2....... : 0 (disabled)
- Time Window for Power Limit #2....... : 33 (10 milli-Seconds)
- Lock................................. : 0 (MSR not locked)
 
MSR_PKG_ENERGY_STATUS............(0x611) : 0x5F26D5F
------------------------------------------
- Total Energy Consumed................ : 6089 Joules (Watt = Joules / seconds)
 
MSR_PKG_POWER_INFO...............(0x614) : 0x2F8
------------------------------------------
- Thermal Spec Power................... : 95 Watt
- Minimum Power........................ : 0
- Maximum Power........................ : 0
- Maximum Time Window.................. : 0
 
MSR_PP0_POWER_LIMIT..............(0x638) : 0x0
 
MSR_PP0_ENERGY_STATUS............(0x639) : 0x33CC688
------------------------------------------
- Total Energy Consumed................ : 3315 Joules (Watt = Joules / seconds)
 
MSR_TURBO_ACTIVATION_RATIO.......(0x64C) : 0x0
 
MSR_PP1_POWER_LIMIT..............(0x640) : 0x0
 
MSR_PP1_ENERGY_STATUS............(0x641) : 0x3A0C8
------------------------------------------
- Total Energy Consumed................ : 14 Joules (Watt = Joules / seconds)
 
MSR_PP1_POLICY...................(0x642) : 0x18
------------------------------------------
- Priority Level....................... : 24
 
MSR_PKGC6_IRTL...................(0x60b) : 0x0
MSR_PKGC7_IRTL...................(0x60c) : 0x0
MSR_PKG_C2_RESIDENCY.............(0x60d) : 0x0
MSR_PKG_C6_RESIDENCY.............(0x3f9) : 0x0
MSR_PKG_C7_RESIDENCY.............(0x3fa) : 0x0
 
MSR_PLATFORM_ENERGY_COUNTER......(0x64D) : 0x0 (not supported by hardware/BIOS)
 
MSR_PPERF........................(0x64E) : 0x4038B624C4
------------------------------------------
- Hardware workload scalability........ : 275829368004
 
MSR_CORE_PERF_LIMIT_REASONS......(0x64F) : 0x0
HDC Supported
 
IA32_PKG_HDC_CTL.................(0xDB0) : 0x0
 
IA32_PM_CTL1.....................(0xDB1) : 0x1
------------------------------------------
HDC Allow Block..................(0xDB1) : 1 (HDC blocked)
 
IA32_THREAD_STALL................(0xDB2) : 0x0
 
MSR_PKG_HDC_CONFIG...............(0x652) : 0x2
------------------------------------------
Pkg Cx Monitor ..................(0x652) : 2 (count package C3 and deeper)
MSR_CORE_HDC_RESIDENCY...........(0x653) : 0x0
 
MSR_PKG_HDC_SHALLOW_RESIDENCY....(0x655) : 0x0
 
MSR_PKG_HDC_DEEP_RESIDENCY.......(0x656) : 0x0
 
IA32_TSC_DEADLINE................(0x6E0) : 0xE2F424A46B
MSR_PPERF........................(0x63E) : 0x1 (38)
 
IA32_PM_ENABLE...................(0x770) : 0x1 (HWP Supported and Enabled)
 
IA32_HWP_CAPABILITIES............(0x771) : 0x109282C
-----------------------------------------
- Highest Performance.................. : 44
- Guaranteed Performance............... : 40
- Most Efficient Performance........... : 9
- Lowest Performance................... : 1
 
IA32_HWP_INTERRUPT...............(0x773) : 0x1
------------------------------------------
- Guaranteed Performance Change........ : 1 (Interrupt generated on change of)
- Excursion Minimum.................... : 0 (Interrupt generation disabled)
 
IA32_HWP_REQUEST................(0x774) : 0x20002C01
-----------------------------------------
- Minimum Performance................. : 1
- Maximum Performance................. : 44
- Desired Performance................. : 0
- Energy Efficient Performance........ : 32
- Activity Window..................... : 0, 0
- Package Control..................... : 0
 
IA32_HWP_STATUS..................(0x777) : 0x0
-----------------------------------------
- Guaranteed Performance Change....... : 0 (has not occured)
- Excursion To Minimum................ : 0 (has not occured)
 
CPU Ratio Info:
------------------------------------------
Base Clock Frequency (BLCK)............. : 100 MHz
Maximum Efficiency Ratio/Frequency.......:  8 ( 800 MHz)
Maximum non-Turbo Ratio/Frequency........: 40 (4000 MHz)
Maximum Turbo Ratio/Frequency............: 44 (4400 MHz)
 
IGPU Info:
------------------------------------------
IGPU Current Frequency...................: 1050 MHz
IGPU Minimum Frequency...................:  350 MHz
IGPU Maximum Non-Turbo Frequency.........:  350 MHz
IGPU Maximum Turbo Frequency.............: 1150 MHz
IGPU Maximum limit.......................: 1150 MHz
 
P-State ratio * 100 = Frequency in MHz
------------------------------------------
CPU P-States [ (9) 39 44 ] iGPU P-States [ ]
CPU C6-Cores [ 0 1 2 4 5 ]
CPU P-States [ (9) 21 39 44 ] iGPU P-States [ ]
CPU C6-Cores [ 0 1 2 3 4 5 7 ]
CPU P-States [ (9) 10 21 39 44 ] iGPU P-States [ ]
CPU P-States [ 9 10 21 34 39 (44) ] iGPU P-States [ ]
CPU C6-Cores [ 0 1 2 3 4 5 6 7 ]
CPU P-States [ 9 10 21 34 38 39 (41) 44 ] iGPU P-States [ ]
CPU P-States [ 9 10 15 21 (22) 34 38 39 41 44 ] iGPU P-States [ ]
CPU P-States [ 9 10 15 21 22 27 34 38 39 41 (44) ] iGPU P-States [ ]
CPU P-States [ 9 10 15 (17) 21 22 27 34 38 39 41 44 ] iGPU P-States [ ]
CPU P-States [ 9 10 15 17 21 22 25 27 (29) 34 38 39 41 44 ] iGPU P-States [ ]
CPU P-States [ (9) 10 12 15 17 21 22 25 27 29 34 38 39 41 44 ] iGPU P-States [ ]
 
bash-3.2#

KXR6PxZ.png



#72
Drfrag

Drfrag

    InsanelyMac Protégé

  • Members
  • Pip
  • 38 posts
  • Gender:Male
  • Location:Brazil
telepati, you need ssdt.aml ou the tiny ssdt to work correctly.

#73
PMheart

PMheart

    InsanelyMac Sage

  • Coders
  • 310 posts
  • Gender:Female
  • Location:Singapore

 

 
I forgot to remove SSDT.aml here is the new result; Now it look works much proper but I can't see X86PlatformPlugin anymore inside of the ioreg, I can see now ACPI_SMC_PlatformPlugin, is that normal? are you using SSDT or any patch for X86PlatformPlugin? or do I need it?
 
Last login: Sun Feb 19 20:07:30 on console
Murats-Mac:~ muratozgul$ sudo -s
Password:
bash-3.2# chown -R 0:0 ~/Desktop/AppleIntelInfo.kext
bash-3.2# chmod -R 755 ~/Desktop/AppleIntelInfo.kext
bash-3.2# kextload ~/Desktop/AppleIntelInfo.kext
bash-3.2# cat /tmp/AppleIntelInfo.dat
 
AppleIntelInfo.kext v2.0 Copyright © 2012-2016 Pike R. Alpha. All rights reserved
enableHWP................................: 0
 
Settings:
------------------------------------------
logMSRs..................................: 1
logIGPU..................................: 1
logCStates...............................: 1
logIPGStyle..............................: 1
 
Warning: Clover hw.busfrequency error detected : 17d78400
InitialTSC...............................: 0xe2e9fb1987 (24 MHz)
MWAIT C-States...........................: 1319200
 
Processor Brandstring....................: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
 
Processor Signature..................... : 0x506E3
------------------------------------------
- Family............................... : 6
- Stepping............................. : 3
- Model................................ : 0x5E (94)
 
Model Specific Registers (MSRs)
------------------------------------------
 
MSR_CORE_THREAD_COUNT............(0x35)  : 0xFFFFFF80B89AC000
------------------------------------------
- Core Count........................... : 4
- Thread Count......................... : 8
 
MSR_PLATFORM_INFO................(0xCE)  : 0x80838F1012800
------------------------------------------
- Maximum Non-Turbo Ratio.............. : 0x28 (4000 MHz)
- Ratio Limit for Turbo Mode........... : 1 (programmable)
- TDP Limit for Turbo Mode............. : 1 (programmable)
- Low Power Mode Support............... : 0 (LMP not supported)
- Number of ConfigTDP Levels........... : 0 (only base TDP level available)
- Maximum Efficiency Ratio............. : 8
- Minimum Operating Ratio.............. : 8
 
MSR_PMG_CST_CONFIG_CONTROL.......(0xE2)  : 0x0
------------------------------------------
- I/O MWAIT Redirection Enable......... : 0 (not enabled)
- CFG Lock............................. : 0 (MSR not locked)
- C3 State Auto Demotion............... : 0 (disabled/unsupported)
- C1 State Auto Demotion............... : 0 (disabled/unsupported)
- C3 State Undemotion.................. : 0 (disabled/unsupported)
- C1 State Undemotion.................. : 0 (disabled/unsupported)
- Package C-State Auto Demotion........ : 0 (disabled/unsupported)
- Package C-State Undemotion........... : 0 (disabled/unsupported)
 
MSR_PMG_IO_CAPTURE_BASE..........(0xE4)  : 0x0
- C-state Range........................ : 0 (C-States not included, I/O MWAIT redirection not enabled)
 
IA32_MPERF.......................(0xE7)  : 0x44C2D44C84
IA32_APERF.......................(0xE8)  : 0x4329B89C1C
 
MSR_FLEX_RATIO...................(0x194) : 0xE0000
 
MSR_IA32_PERF_STATUS.............(0x198) : 0x2B3D00002C00
------------------------------------------
- Current Performance State Value...... : 0x2C00 (4400 MHz)
 
MSR_IA32_PERF_CONTROL............(0x199) : 0x2C00
------------------------------------------
- Target performance State Value....... : 0x2C00 (4400 MHz)
- Intel Dynamic Acceleration........... : 0 (IDA engaged)
 
IA32_CLOCK_MODULATION............(0x19A) : 0x0
 
IA32_THERM_INTERRUPT.............(0x19B) : 0x10
------------------------------------------
- High-Temperature Interrupt Enable.... : 0 (disabled)
- Low-Temperature Interrupt Enable..... : 0 (disabled)
- PROCHOT# Interrupt Enable............ : 0 (disabled)
- FORCEPR# Interrupt Enable............ : 0 (disabled)
- Critical Temperature Interrupt Enable : 1 (enabled)
- Threshold #1 Value................... : 0
- Threshold #1 Interrupt Enable........ : 0 (disabled)
- Threshold #2 Value................... : 0
- Threshold #2 Interrupt Enable........ : 0 (disabled)
- Power Limit Notification Enable...... : 0 (disabled)
 
IA32_THERM_STATUS................(0x19C) : 0x88450000
------------------------------------------
- Thermal Status....................... : 0
- Thermal Log.......................... : 0
- PROCHOT # or FORCEPR# event.......... : 0
- PROCHOT # or FORCEPR# log............ : 0
- Critical Temperature Status.......... : 0
- Critical Temperature log............. : 0
- Thermal Threshold #1 Status.......... : 0
- Thermal Threshold #1 log............. : 0
- Thermal Threshold #2 Status.......... : 0
- Thermal Threshold #2 log............. : 0
- Power Limitation Status.............. : 0
- Power Limitation log................. : 0
- Current Limit Status................. : 0
- Current Limit log.................... : 0
- Cross Domain Limit Status............ : 0
- Cross Domain Limit log............... : 0
- Digital Readout...................... : 69
- Resolution in Degrees Celsius........ : 1
- Reading Valid........................ : 1 (valid)
 
MSR_THERM2_CTL...................(0x19D) : 0x0
 
IA32_MISC_ENABLES................(0x1A0) : 0x850089
------------------------------------------
- Fast-Strings......................... : 1 (enabled)
- FOPCODE compatibility mode Enable.... : 0
- Automatic Thermal Control Circuit.... : 1 (enabled)
- Split-lock Disable................... : 0
- Performance Monitoring............... : 1 (available)
- Bus Lock On Cache Line Splits Disable : 0
- Hardware prefetch Disable............ : 0
- Processor Event Based Sampling....... : 0 (PEBS supported)
- GV1/2 legacy Enable.................. : 0
- Enhanced Intel SpeedStep Technology.. : 1 (enabled)
- MONITOR FSM.......................... : 1 (MONITOR/MWAIT supported)
- Adjacent sector prefetch Disable..... : 0
- CFG Lock............................. : 0 (MSR not locked)
- xTPR Message Disable................. : 1 (disabled)
 
MSR_TEMPERATURE_TARGET...........(0x1A2) : 0x64140D
------------------------------------------
- Turbo Attenuation Units.............. : 13 (122.1 micro-Seconds)
- Temperature Target................... : 100
- TCC Activation Offset................ : 0
 
MSR_MISC_PWR_MGMT................(0x1AA) : 0x401CC1
------------------------------------------
- EIST Hardware Coordination........... : 1 (hardware coordination disabled)
- Energy/Performance Bias support...... : 1
- Energy/Performance Bias.............. : 0 (disabled/MSR not visible to software)
- Thermal Interrupt Coordination Enable : 1 (thermal interrupt routed to all cores)
 
MSR_TURBO_RATIO_LIMIT............(0x1AD) : 0x2C2C2C2C
------------------------------------------
- Maximum Ratio Limit for C01.......... : 2C (4400 MHz) 
- Maximum Ratio Limit for C02.......... : 2C (4400 MHz) 
- Maximum Ratio Limit for C03.......... : 2C (4400 MHz) 
- Maximum Ratio Limit for C04.......... : 2C (4400 MHz) 
 
IA32_ENERGY_PERF_BIAS............(0x1B0) : 0x1
------------------------------------------
- Power Policy Preference...............: 1 (highest performance)
 
MSR_POWER_CTL....................(0x1FC) : 0x2C005F
------------------------------------------
- Bi-Directional Processor Hot..........: 1 (enabled)
- C1E Enable............................: 1 (enabled)
 
MSR_RAPL_POWER_UNIT..............(0x606) : 0xA0E03
------------------------------------------
- Power Units.......................... : 3 (1/8 Watt)
- Energy Status Units.................. : 14 (61 micro-Joules)
- Time Units .......................... : 10 (976.6 micro-Seconds)
 
MSR_PKG_POWER_LIMIT..............(0x610) : 0x42FFFF001BFFFF
------------------------------------------
- Package Power Limit #1............... : 4095 Watt
- Enable Power Limit #1................ : 1 (enabled)
- Package Clamping Limitation #1....... : 1 (allow going below OS-requested P/T state during Time Window for Power Limit #1)
- Time Window for Power Limit #1....... : 13 (20480 milli-Seconds)
- Package Power Limit #2............... : 4095 Watt
- Enable Power Limit #2................ : 1 (enabled)
- Package Clamping Limitation #2....... : 0 (disabled)
- Time Window for Power Limit #2....... : 33 (10 milli-Seconds)
- Lock................................. : 0 (MSR not locked)
 
MSR_PKG_ENERGY_STATUS............(0x611) : 0x5F26D5F
------------------------------------------
- Total Energy Consumed................ : 6089 Joules (Watt = Joules / seconds)
 
MSR_PKG_POWER_INFO...............(0x614) : 0x2F8
------------------------------------------
- Thermal Spec Power................... : 95 Watt
- Minimum Power........................ : 0
- Maximum Power........................ : 0
- Maximum Time Window.................. : 0
 
MSR_PP0_POWER_LIMIT..............(0x638) : 0x0
 
MSR_PP0_ENERGY_STATUS............(0x639) : 0x33CC688
------------------------------------------
- Total Energy Consumed................ : 3315 Joules (Watt = Joules / seconds)
 
MSR_TURBO_ACTIVATION_RATIO.......(0x64C) : 0x0
 
MSR_PP1_POWER_LIMIT..............(0x640) : 0x0
 
MSR_PP1_ENERGY_STATUS............(0x641) : 0x3A0C8
------------------------------------------
- Total Energy Consumed................ : 14 Joules (Watt = Joules / seconds)
 
MSR_PP1_POLICY...................(0x642) : 0x18
------------------------------------------
- Priority Level....................... : 24
 
MSR_PKGC6_IRTL...................(0x60b) : 0x0
MSR_PKGC7_IRTL...................(0x60c) : 0x0
MSR_PKG_C2_RESIDENCY.............(0x60d) : 0x0
MSR_PKG_C6_RESIDENCY.............(0x3f9) : 0x0
MSR_PKG_C7_RESIDENCY.............(0x3fa) : 0x0
 
MSR_PLATFORM_ENERGY_COUNTER......(0x64D) : 0x0 (not supported by hardware/BIOS)
 
MSR_PPERF........................(0x64E) : 0x4038B624C4
------------------------------------------
- Hardware workload scalability........ : 275829368004
 
MSR_CORE_PERF_LIMIT_REASONS......(0x64F) : 0x0
HDC Supported
 
IA32_PKG_HDC_CTL.................(0xDB0) : 0x0
 
IA32_PM_CTL1.....................(0xDB1) : 0x1
------------------------------------------
HDC Allow Block..................(0xDB1) : 1 (HDC blocked)
 
IA32_THREAD_STALL................(0xDB2) : 0x0
 
MSR_PKG_HDC_CONFIG...............(0x652) : 0x2
------------------------------------------
Pkg Cx Monitor ..................(0x652) : 2 (count package C3 and deeper)
MSR_CORE_HDC_RESIDENCY...........(0x653) : 0x0
 
MSR_PKG_HDC_SHALLOW_RESIDENCY....(0x655) : 0x0
 
MSR_PKG_HDC_DEEP_RESIDENCY.......(0x656) : 0x0
 
IA32_TSC_DEADLINE................(0x6E0) : 0xE2F424A46B
MSR_PPERF........................(0x63E) : 0x1 (38)
 
IA32_PM_ENABLE...................(0x770) : 0x1 (HWP Supported and Enabled)
 
IA32_HWP_CAPABILITIES............(0x771) : 0x109282C
-----------------------------------------
- Highest Performance.................. : 44
- Guaranteed Performance............... : 40
- Most Efficient Performance........... : 9
- Lowest Performance................... : 1
 
IA32_HWP_INTERRUPT...............(0x773) : 0x1
------------------------------------------
- Guaranteed Performance Change........ : 1 (Interrupt generated on change of)
- Excursion Minimum.................... : 0 (Interrupt generation disabled)
 
IA32_HWP_REQUEST................(0x774) : 0x20002C01
-----------------------------------------
- Minimum Performance................. : 1
- Maximum Performance................. : 44
- Desired Performance................. : 0
- Energy Efficient Performance........ : 32
- Activity Window..................... : 0, 0
- Package Control..................... : 0
 
IA32_HWP_STATUS..................(0x777) : 0x0
-----------------------------------------
- Guaranteed Performance Change....... : 0 (has not occured)
- Excursion To Minimum................ : 0 (has not occured)
 
CPU Ratio Info:
------------------------------------------
Base Clock Frequency (BLCK)............. : 100 MHz
Maximum Efficiency Ratio/Frequency.......:  8 ( 800 MHz)
Maximum non-Turbo Ratio/Frequency........: 40 (4000 MHz)
Maximum Turbo Ratio/Frequency............: 44 (4400 MHz)
 
IGPU Info:
------------------------------------------
IGPU Current Frequency...................: 1050 MHz
IGPU Minimum Frequency...................:  350 MHz
IGPU Maximum Non-Turbo Frequency.........:  350 MHz
IGPU Maximum Turbo Frequency.............: 1150 MHz
IGPU Maximum limit.......................: 1150 MHz
 
P-State ratio * 100 = Frequency in MHz
------------------------------------------
CPU P-States [ (9) 39 44 ] iGPU P-States [ ]
CPU C6-Cores [ 0 1 2 4 5 ]
CPU P-States [ (9) 21 39 44 ] iGPU P-States [ ]
CPU C6-Cores [ 0 1 2 3 4 5 7 ]
CPU P-States [ (9) 10 21 39 44 ] iGPU P-States [ ]
CPU P-States [ 9 10 21 34 39 (44) ] iGPU P-States [ ]
CPU C6-Cores [ 0 1 2 3 4 5 6 7 ]
CPU P-States [ 9 10 21 34 38 39 (41) 44 ] iGPU P-States [ ]
CPU P-States [ 9 10 15 21 (22) 34 38 39 41 44 ] iGPU P-States [ ]
CPU P-States [ 9 10 15 21 22 27 34 38 39 41 (44) ] iGPU P-States [ ]
CPU P-States [ 9 10 15 (17) 21 22 27 34 38 39 41 44 ] iGPU P-States [ ]
CPU P-States [ 9 10 15 17 21 22 25 27 (29) 34 38 39 41 44 ] iGPU P-States [ ]
CPU P-States [ (9) 10 12 15 17 21 22 25 27 29 34 38 39 41 44 ] iGPU P-States [ ]
 
bash-3.2#

KXR6PxZ.png

 

No. You should load X86* via a tiny SSDT like you previously did.



#74
tluck

tluck

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,596 posts
  • Gender:Male
  • Location:NC, USA

here is a bundle I adapted from

  • syscl's X86PlatformInjector kext
  • syscl's small SSDT
  • pike's freqvector script (modified)
  1. install the Injector kext in /Library/Extensions
  2. replace SSDT in EFI/CLOVER/ACPI/patched (or OEM)
  3. run the injector-freqVectorsEdit.sh script to create your HWP profile to match your model and CPU

 

The 1st run of the script will list all the Resource files and copy the selected one into the Injector - from the standard X86Platform Resource plists. Edit the one of the Frequencies to match your CPU max turbo if necessary. 

 

If you run it a 2nd time, the script will look in the Injector for the Resources vs original

 

So pick a resource plist for a model that matches your current model. and then modify the speed to match our CPU.

 

Notes: 

it will check to see determine if the Vector Frequencies match your CPU Max Turbo speed

it will change the LFM to 400 MHz (or what ever you set with -f option)

it will change EPP to 128 (or what ever you set with -p option)

it will change ring_ratio to be 2 less than the max turbo freq - seems to be the typical pattern.

 

There are some overrides:

 

./injector-freqVectorsEdit.sh -p 142 -f 800

 

this will set EPP to 142 vs 128

this will set LFM to 800 instead 400

 

 

 

 

 

Attached Files

  • Attached File  HWP.zip   17.49KB   19 downloads


#75
ClaudesTech

ClaudesTech

    InsanelyMacaholic

  • Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 2,630 posts
  • Gender:Male
  • Location:Sicily

Are you guys having problems with sleep with this SSDT and HWP enabled?

Just to explain better, i was using this other SSDT to inject correct sleep properties:

Spoiler

With this SSDT, under IOPMRootDomain there should these three entries:

PMStatusCode

IOPMDeepIdleSupported

IOPMSystemSleepType

 

But after enabling HWP with the suggested SSDT I lose:

PMStatusCode

 

It seems that the computer still sleeps somehow, display and fans powers off...

But the led doesn't blinks as usually and opening the lid doesn't wake, only the power button works for wake...

Any idea?

 

Thanks!



#76
telepati

telepati

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 218 posts
  • Gender:Male
  • Location:istanbul

No. You should load X86* via a tiny SSDT like you previously did.

 

I did, but still don't see X86PlatformPlugin in my ioreg. I attached ioreg, config and SSDTs could you please check it and tell me what is wrong?

 

Attached Files



#77
tluck

tluck

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,596 posts
  • Gender:Male
  • Location:NC, USA

@telepati

- did you try the bundle i posted?

- i don't see your SSDT for CPU - small one or one via Pike's ssdtPRgen ? 



#78
PMheart

PMheart

    InsanelyMac Sage

  • Coders
  • 310 posts
  • Gender:Female
  • Location:Singapore

I did, but still don't see X86PlatformPlugin in my ioreg. I attached ioreg, config and SSDTs could you please check it and tell me what is wrong?

Obviously you are missing a proper SSDT for 'plugin-type'. Absolutely. Like @tluck said.

Yup. Try to add that and check again.



#79
Slice

Slice

    InsanelyMac V.I.P.

  • Local Moderators
  • 5,779 posts
  • Gender:Male
  • Location:Moscow

With Clover-4016 you can set HWPEnable=true and Generate P-States=true and Clover will generate SSDT table with only plugin-type=1 without actual p-states.







1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

© 2016 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy