Jump to content

skylake P-states not working [help]

power management skylake SSDT

Best Answer MaLd0n, 21 April 2017 - 03:30 PM

without cpus=1 I will get kernel panic.

i think all HPs needs Lapic fix, the Clover have Patch, just check

Check

Go to the full post


  • Please log in to reply
23 replies to this topic

#1
arun94

arun94

    InsanelyMac Protégé

  • Members
  • Pip
  • 17 posts
  • Gender:Male
  • Location:India

I am trying to enable low power states in my laptop cpu using ssdtPRgen script. I got 17 p-states in IOregexplorer and no igpu states.

only 9 p-states working and cpu rarely idles.

 

am I doing something wrong or should I use this instead?

CPU Ratio Info:
------------------------------------
CPU Low Frequency Mode.............: 400 MHz
CPU Maximum non-Turbo Frequency....: 2000 MHz
CPU Maximum Turbo Frequency........: 2000 MHz

IGPU Info:
------------------------------------
IGPU Current Frequency.............:    0 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 [ (5) 19 20 ] iGPU P-States [ ]
CPU P-States [ (5) 14 19 20 ] iGPU P-States [ ]
CPU P-States [ (5) 14 16 19 20 ] iGPU P-States [ ]
CPU P-States [ (5) 12 14 16 19 20 ] iGPU P-States [ ]
CPU P-States [ (5) 12 13 14 16 19 20 ] iGPU P-States [ ]
CPU P-States [ (5) 12 13 14 16 18 19 20 ] iGPU P-States [ ]
CPU P-States [ (5) 10 12 13 14 16 18 19 20 ] iGPU P-States [ ]

power.jpg

edit1:this cpu always spends time at 400~500 Mhz at idle in linux.

Attached File  ioreg.zip   537.09KB   2 downloads

Attached File  CLOVER.zip   1.62MB   7 downloads



#2
MaLd0n

MaLd0n

    ...filling veins with juice of chaos...

  • Moderators
  • 16,030 posts
  • Gender:Male
  • Location:Rio de Janeiro
  • Interests:HacksLikeMacs

u need a macbookpro13, not macbookair



#3
arun94

arun94

    InsanelyMac Protégé

  • Members
  • Pip
  • 17 posts
  • Gender:Male
  • Location:India

u need a macbookpro13, not macbookair

Can I use this?
http://www.insanelym...p-enabler-kext/

#4
MaLd0n

MaLd0n

    ...filling veins with juice of chaos...

  • Moderators
  • 16,030 posts
  • Gender:Male
  • Location:Rio de Janeiro
  • Interests:HacksLikeMacs

post ur config.plist here



#5
arun94

arun94

    InsanelyMac Protégé

  • Members
  • Pip
  • 17 posts
  • Gender:Male
  • Location:India

I finally removed ssdt.aml generated by script and used HWP kext. now I got 17 states fully working fully with working IGPU states. 

CPU Ratio Info:
------------------------------------
CPU Low Frequency Mode.............: 400 MHz
CPU Maximum non-Turbo Frequency....: 2000 MHz
CPU Maximum Turbo Frequency........: 2000 MHz

IGPU Info:
------------------------------------
IGPU Current Frequency.............:    0 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 [ (5) 15 20 ] iGPU P-States [ ]
CPU P-States [ 4 (5) 15 20 ] iGPU P-States [ ]
CPU P-States [ 4 (5) 9 15 20 ] iGPU P-States [ ]
CPU P-States [ 4 (5) 7 9 15 20 ] iGPU P-States [ ]
CPU P-States [ 4 5 7 9 15 18 (20) ] iGPU P-States [ ]
CPU P-States [ 4 5 7 9 15 17 18 (20) ] iGPU P-States [ ]
CPU P-States [ 4 5 7 9 15 17 18 19 (20) ] iGPU P-States [ ]
CPU P-States [ 4 5 7 9 15 17 18 19 (20) ] iGPU P-States [ (18) ]
CPU P-States [ 4 5 7 9 14 15 17 18 19 (20) ] iGPU P-States [ 18 ]
CPU P-States [ 4 (5) 7 9 10 14 15 17 18 19 20 ] iGPU P-States [ 18 ]
CPU P-States [ 4 5 7 9 10 11 14 15 17 18 19 (20) ] iGPU P-States [ 18 ]
CPU P-States [ 4 (5) 7 8 9 10 11 14 15 17 18 19 20 ] iGPU P-States [ 18 ]
CPU P-States [ 4 5 7 8 9 10 11 (13) 14 15 17 18 19 20 ] iGPU P-States [ 18 ]
CPU P-States [ 4 (5) 7 8 9 10 11 13 14 15 16 17 18 19 20 ] iGPU P-States [ 18 ]
CPU P-States [ 4 (5) 6 7 8 9 10 11 13 14 15 16 17 18 19 20 ] iGPU P-States [ 18 ]
CPU P-States [ 4 (5) 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 ] iGPU P-States [ (18) ]
CPU P-States [ 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 (20) ] iGPU P-States [ (6) 18 ]

post ur config.plist here

Attached File  config.plist.zip   2.88KB   2 downloads



#6
MaLd0n

MaLd0n

    ...filling veins with juice of chaos...

  • Moderators
  • 16,030 posts
  • Gender:Male
  • Location:Rio de Janeiro
  • Interests:HacksLikeMacs

ur system is sierra?



#7
arun94

arun94

    InsanelyMac Protégé

  • Members
  • Pip
  • 17 posts
  • Gender:Male
  • Location:India

ur system is sierra?

yes. after using HWP value 0x94001401. I got more GPU p-states.

CPU Ratio Info:
------------------------------------
CPU Low Frequency Mode.............: 400 MHz
CPU Maximum non-Turbo Frequency....: 2000 MHz
CPU Maximum Turbo Frequency........: 2000 MHz

IGPU Info:
------------------------------------
IGPU Current Frequency.............:    0 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 [ (5) 15 20 ] iGPU P-States [ ]
CPU P-States [ 4 (5) 15 20 ] iGPU P-States [ ]
CPU P-States [ 4 (5) 9 15 20 ] iGPU P-States [ ]
CPU P-States [ 4 (5) 7 9 15 20 ] iGPU P-States [ ]
CPU P-States [ 4 5 7 9 15 18 (20) ] iGPU P-States [ ]
CPU P-States [ 4 5 7 9 15 17 18 (20) ] iGPU P-States [ ]
CPU P-States [ 4 5 7 9 15 17 18 19 (20) ] iGPU P-States [ ]
CPU P-States [ 4 5 7 9 15 17 18 19 (20) ] iGPU P-States [ (18) ]
CPU P-States [ 4 5 7 9 14 15 17 18 19 (20) ] iGPU P-States [ 18 ]
CPU P-States [ 4 (5) 7 9 10 14 15 17 18 19 20 ] iGPU P-States [ 18 ]
CPU P-States [ 4 5 7 9 10 11 14 15 17 18 19 (20) ] iGPU P-States [ 18 ]
CPU P-States [ 4 (5) 7 8 9 10 11 14 15 17 18 19 20 ] iGPU P-States [ 18 ]
CPU P-States [ 4 5 7 8 9 10 11 (13) 14 15 17 18 19 20 ] iGPU P-States [ 18 ]
CPU P-States [ 4 (5) 7 8 9 10 11 13 14 15 16 17 18 19 20 ] iGPU P-States [ 18 ]
CPU P-States [ 4 (5) 6 7 8 9 10 11 13 14 15 16 17 18 19 20 ] iGPU P-States [ 18 ]
CPU P-States [ 4 (5) 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 ] iGPU P-States [ (18) ]
CPU P-States [ 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 (20) ] iGPU P-States [ (6) 18 ]
CPU P-States [ 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 (20) ] iGPU P-States [ 6 18 (21) ]
CPU P-States [ 4 5 6 7 8 9 10 11 12 13 14 15 16 17 (18) 19 20 ] iGPU P-States [ 6 18 21 ]
CPU P-States [ 4 5 6 7 8 9 10 11 12 13 14 15 (16) 17 18 19 20 ] iGPU P-States [ 6 18 21 (30) ]
CPU P-States [ 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 (19) 20 ] iGPU P-States [ 6 18 21 (24) 30 ]

Thanks Mald0n.



#8
MaLd0n

MaLd0n

    ...filling veins with juice of chaos...

  • Moderators
  • 16,030 posts
  • Gender:Male
  • Location:Rio de Janeiro
  • Interests:HacksLikeMacs

but where c states, c6...

Attached File  config.plist.zip   3.26KB   4 downloads



#9
arun94

arun94

    InsanelyMac Protégé

  • Members
  • Pip
  • 17 posts
  • Gender:Male
  • Location:India

but where c states, c6...

attachicon.gifconfig.plist.zip

should I use this config with ssdtpregen script and remove HWP?



#10
MaLd0n

MaLd0n

    ...filling veins with juice of chaos...

  • Moderators
  • 16,030 posts
  • Gender:Male
  • Location:Rio de Janeiro
  • Interests:HacksLikeMacs

try with config.plist with correct smbios MacBookPro13,x



#11
arun94

arun94

    InsanelyMac Protégé

  • Members
  • Pip
  • 17 posts
  • Gender:Male
  • Location:India

try with config.plist with correct smbios MacBookPro13,x

removed HWP, removed ssdt and added smbios MacBook Pro 13,1

got no c states and only few p states.

 

CPU P-States [ (4) 9 10 11 12 13 14 15 16 17 18 19 20 ] iGPU P-States [ 18 21 ]

 

Attached File  config.plist.zip   3.07KB   0 downloads

Attached File  ioreg.zip   523.08KB   1 downloads



#12
MaLd0n

MaLd0n

    ...filling veins with juice of chaos...

  • Moderators
  • 16,030 posts
  • Gender:Male
  • Location:Rio de Janeiro
  • Interests:HacksLikeMacs

u need smbios macbookpro13,1 + SSDT or HWP

 

i use SSDT and work great, but fot notebook i think the best is HWP, power saving is amazin'


post ur full clover folder with ssdt here, ill check



#13
arun94

arun94

    InsanelyMac Protégé

  • Members
  • Pip
  • 17 posts
  • Gender:Male
  • Location:India

u need smbios macbookpro13,1 + SSDT or HWP

 

i use SSDT and work great, but fot notebook i think the best is HWP, power saving is amazin'


post ur full clover folder with ssdt here, ill check

 

added ssdt-pr.aml tiny SSDT, installed com.apple.driver.X86PlatformPlugin. copied Mac-66E35819EE2D0D05.plist to /S/L/E/X86platformplugin/Contents/Resources/.

 

still I don't have C states.


CPU Ratio Info:

------------------------------------

CPU Low Frequency Mode.............: 400 MHz

CPU Maximum non-Turbo Frequency....: 2000 MHz

CPU Maximum Turbo Frequency........: 2000 MHz

 

IGPU Info:

------------------------------------

IGPU Current Frequency.............:    0 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 [ 17 (20) ] iGPU P-States [ ]

CPU P-States [ (5) 17 19 20 ] iGPU P-States [ ]

CPU P-States [ (5) 9 17 19 20 ] iGPU P-States [ ]

CPU P-States [ (5) 9 15 17 19 20 ] iGPU P-States [ ]

CPU P-States [ (5) 9 13 15 17 19 20 ] iGPU P-States [ ]

CPU P-States [ (5) 6 9 13 15 17 19 20 ] iGPU P-States [ ]

CPU P-States [ (5) 6 7 9 13 15 17 19 20 ] iGPU P-States [ ]

CPU P-States [ (5) 6 7 9 13 15 17 18 19 20 ] iGPU P-States [ ]

CPU P-States [ (5) 6 7 9 10 13 15 17 18 19 20 ] iGPU P-States [ ]

CPU P-States [ (5) 6 7 9 10 13 15 16 17 18 19 20 ] iGPU P-States [ ]

CPU P-States [ 5 6 7 (8) 9 10 13 14 15 16 17 18 19 20 ] iGPU P-States [ ]

CPU P-States [ 4 (5) 6 7 8 9 10 13 14 15 16 17 18 19 20 ] iGPU P-States [ ]

CPU P-States [ 4 (5) 6 7 8 9 10 12 13 14 15 16 17 18 19 20 ] iGPU P-States [ ]

CPU P-States [ 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 (20) ] iGPU P-States [ ]

CPU P-States [ 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 (20) ] iGPU P-States [ (18) ]

CPU P-States [ 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 (20) ] iGPU P-States [ 18 (21) ]

CPU P-States [ 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 (20) ] iGPU P-States [ 18 21 ]

Attached Files



#14
MaLd0n

MaLd0n

    ...filling veins with juice of chaos...

  • Moderators
  • 16,030 posts
  • Gender:Male
  • Location:Rio de Janeiro
  • Interests:HacksLikeMacs

remove cpus=1 in ur config.plist



#15
arun94

arun94

    InsanelyMac Protégé

  • Members
  • Pip
  • 17 posts
  • Gender:Male
  • Location:India

remove cpus=1 in ur config.plist

without cpus=1 I will get kernel panic.



#16
gengik84

gengik84

    InsanelyMac Top V.I.P.

  • Moderators
  • 14,254 posts
  • Gender:Male
  • Location:Toscana

without cpus=1 I will get kernel panic.

Try Kernel Lapic without cpus=1



#17
MaLd0n

MaLd0n

    ...filling veins with juice of chaos...

  • Moderators
  • 16,030 posts
  • Gender:Male
  • Location:Rio de Janeiro
  • Interests:HacksLikeMacs

Best Answer

without cpus=1 I will get kernel panic.

i think all HPs needs Lapic fix, the Clover have Patch, just check

Check

Attached File  config.plist.zip   3.59KB   5 downloads



#18
arun94

arun94

    InsanelyMac Protégé

  • Members
  • Pip
  • 17 posts
  • Gender:Male
  • Location:India

i think all HPs needs Lapic fix, the Clover have Patch, just check
Check
config.plist.zip


Removed CPUs=1 and applied kernel lapic.

CPU P-States [ (5) 6 14 ] iGPU P-States [ ]
CPU C3-Cores [ 1 2 3 ]
CPU P-States [ 5 6 10 14 (15) ] iGPU P-States [ ]
CPU C3-Cores [ 0 1 2 3 ]
CPU P-States [ (5) 6 7 10 14 15 ] iGPU P-States [ (18) ]
CPU P-States [ 5 6 7 10 14 15 (20) ] iGPU P-States [ 18 ]
CPU P-States [ 5 6 7 10 (13) 14 15 20 ] iGPU P-States [ 18 ]
CPU P-States [ 5 6 7 (8) 10 13 14 15 20 ] iGPU P-States [ 18 ]
CPU P-States [ (5) 6 7 8 9 10 13 14 15 20 ] iGPU P-States [ 18 ]
CPU P-States [ 5 6 7 8 9 10 (11) 13 14 15 20 ] iGPU P-States [ 18 ]
CPU P-States [ 5 6 7 8 9 10 11 13 14 15 (17) 20 ] iGPU P-States [ 18 ]
CPU P-States [ 4 (5) 6 7 8 9 10 11 13 14 15 17 20 ] iGPU P-States [ 18 ]
CPU P-States [ 4 (5) 6 7 8 9 10 11 12 13 14 15 17 20 ] iGPU P-States [ 18 ]
CPU P-States [ 4 5 6 7 8 9 10 11 12 13 14 15 17 (18) 20 ] iGPU P-States [ 18 ]
CPU P-States [ 4 5 6 7 (8) 9 10 11 12 13 14 15 17 18 20 ] iGPU P-States [ (6) 18 ]
CPU P-States [ 4 (5) 6 7 8 9 10 11 12 13 14 15 17 18 20 ] iGPU P-States [ 6 18 (21) ]
CPU P-States [ 4 5 6 7 (8) 9 10 11 12 13 14 15 17 18 20 ] iGPU P-States [ 6 18 21 (24) ]
CPU P-States [ 4 (5) 6 7 8 9 10 11 12 13 14 15 17 18 20 ] iGPU P-States [ 6 18 21 24 ]



#19
gengik84

gengik84

    InsanelyMac Top V.I.P.

  • Moderators
  • 14,254 posts
  • Gender:Male
  • Location:Toscana

i think all HPs needs Lapic fix, the Clover have Patch, just check

Check

attachicon.gifconfig.plist.zip

They do not always need but lapic error is frequent...



#20
MaLd0n

MaLd0n

    ...filling veins with juice of chaos...

  • Moderators
  • 16,030 posts
  • Gender:Male
  • Location:Rio de Janeiro
  • Interests:HacksLikeMacs

You were not even born and we already needed this fix.  :lol:








0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2017 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy