Jump to content

SpeedStepper (now supports Mountain Lion 10.8.3)


  • Please log in to reply
573 replies to this topic

#541
ugokind

ugokind

    InsanelyMac Deity

  • Donators
  • 1,712 posts
  • Gender:Male
  • Location:10100
  • Interests:Apicoltura
    Mac
    Linux
    Homebrew
    Australia
    Spremermilcervello
hy.
since I worked on lion.. I used speedstepper, the boot.chameleon pstate and cstate and no extraxt/merge of ssdt into dsdt
also I never modded my bios.. because it's too recent and I've no idea on how to do that.

but.. in lion I was sleep/resume fine.

now: revogirl blog is dead, mt asus g53s has 98% ootb hardware in ML DP4.. but obviously I have to patch AICPM, and I never come back to DP3 because for the 1st time I have BT4.0 native drivers and Geforce GTX460M good benchmark without freeze.

so:
I tried to do with this perl script.. but the boot gave me KP

I'm asking you.. if it's possible.. to explain the best procedure (mrsdumper or ssdt extract with aida or ubuntu etc) and what kind of operation I have to do to inject into DSDT (if it's a must)

because I think that altering AICPM with this utility is not enought as before in Lion.

(I read about patching SMCPlugin.. , but indeed revogirl's blog is dead)
I use Macbookpro8,2 and i7 2600 HM65) , no HD 2nd video

byr
ugo

#542
oSxFr33k

oSxFr33k

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 776 posts
  • Gender:Male
  • Interests:Sound and Graphic Design. Electronics in general.

hy.
since I worked on lion.. I used speedstepper, the boot.chameleon pstate and cstate and no extraxt/merge of ssdt into dsdt
also I never modded my bios.. because it's too recent and I've no idea on how to do that.

but.. in lion I was sleep/resume fine.

now: revogirl blog is dead, mt asus g53s has 98% ootb hardware in ML DP4.. but obviously I have to patch AICPM, and I never come back to DP3 because for the 1st time I have BT4.0 native drivers and Geforce GTX460M good benchmark without freeze.

so:
I tried to do with this perl script.. but the boot gave me KP

I'm asking you.. if it's possible.. to explain the best procedure (mrsdumper or ssdt extract with aida or ubuntu etc) and what kind of operation I have to do to inject into DSDT (if it's a must)

because I think that altering AICPM with this utility is not enought as before in Lion.

(I read about patching SMCPlugin.. , but indeed revogirl's blog is dead)
I use Macbookpro8,2 and i7 2600 HM65) , no HD 2nd video

byr
ugo


The pstate and cstate always worked for me. When I tried the ssdt1, ssdt2, ssdt3 etc thing a long time ago maybe 1 or 1.5 years my temperature of my CPU ran hotter. I cannot picture how ssdt will make my temp's run lower over chameleon or chimera default pstate/cstate?

#543
oSxFr33k

oSxFr33k

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 776 posts
  • Gender:Male
  • Interests:Sound and Graphic Design. Electronics in general.

All AICPM versions from 10.6.8 to 10.8 DP3 have 10 instances of wrmsr 0xE2, that's why the script had this check, to avoid the patch being applied more than once

if($#enderecos != 9) {
print "file is already patched or untested version\n\n";
next;
}

ML DP4 AICPM has 11 occurrences, so the script won't patch it unless we remove the check.



Backup the kext before patching and make sure you don't run the patcher twice, or it will patch instructions that should not be patched.


Would you happen to have a patch for 10.8 Golden Preview?

Thanks

#544
artur-pt

artur-pt

    InsanelyMacaholic

  • Local Moderators
  • 4,388 posts
  • Gender:Male
  • Location:Portugal
  • Interests:TechManiaco
hello

use that version of the patch in u post, it works

good hack

#545
zcream

zcream

    InsanelyMac Protégé

  • Members
  • Pip
  • 42 posts
Any chance that this may work on a dell mini 9 or 10v to enable speedstep on 10.6.8 ?
Its the only thing I do not have working yet..

#546
oSxFr33k

oSxFr33k

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 776 posts
  • Gender:Male
  • Interests:Sound and Graphic Design. Electronics in general.

Yes, fixing the SSDT table(s) for P-States is the way to work correctly with the AICPMPatch. Because in 10.7.4 "GeneratePStates=Yes" not worked for my laptop (pegatron motherboard - AMI EFI Bios).

Now I have all my SSDT tables (attached only for reference) from /Extra and set "DropSSDT=Yes", "GeneratePStates=No" and "GenerateCStates=No" from /Extra/org.chameleon.Boot.plist

You can use AIDA64 (Everest before) to extract your table(s), then fix your P-States to complete the proper sequence (RevoGirl idea).

Also, please see this Very Important complementary information in olarila web site. Good Luck.

About my five (5) SSDT tables:
Are two for C-States support (I don't need GenerateCStates anymore):
- SSDT.aml = "Cpu0Cst" for CPU0
- SSDT-1.aml = "ApCst" return C-States for CPU1 to CPU7

Optional (exclusive for my CPU):
- SSDT-2.aml = "CpuPm" the firmware memory table for CPU Power Management

Two for P-States (Just fixed only the table number 3):
- SSDT-3.aml = "Cpu0Ist" for CPU0, this is the fixed main table for P-States support
- SSDT-4.aml = "ApIst" return P-States for CPU1 to CPU7


How are you today. I finally got the same tables as you by running AIDA64. I am going to give the a try. CAn you post your original ssdt-3 table so I can compare to see what fixes you did and then apply that to my ssdt-3.

I am comparing mine to yours now and I think I can see at least some script you removed. I also see some repeating sections. Can you check to see if I did it correctly? It compiles fine after removing the package sections 0x80000000 but I did not remove the section under " Name (_PSS, Package (0x0E)" that seem to repeat the entire package as above one "Name (SPSS, Package (0x0E)". Should I remove that script to? Any other changes?


Name (_PSS, Package (0x0F)

I see many repeating package with garbage?


Package (0x06)
{
0x80000000,
0x80000000,
0x80000000,
0x80000000,
0x80000000,
0x80000000
}


Did you just remove those?

I also see the state sections twice repeated but with different name?

Name (SPSS, Package (0x0E)

Then all the pstates

Name (_PSS, Package (0x0E)

These have the same pstates under them so did you just remove these also?



Thanks

Edited:

I see you left both sections _PSS and APSS. Mine is named differently it is SPSS and that script run first then _PSS after. Yours is reverse. DId you have the sections with 0x8000000 and remove? Was that the only fix then?

Thanks

Attached Files



#547
juanerson

juanerson

    InsanelyMac Legend

  • Local Moderators
  • 1,409 posts
  • Gender:Male
  • Location:Tru, Venezuela
I am assuming ssdt-3.aml is your factory table. So, is a little bit different to editing / working on it, because your CPU has turbo states. I added those missing APSS to test, but I think is done. My guide was the genuine MacBookPro8,2 SSDT table to prepare your SSDT-3. Please look the attached, try it... and let us know. Good Luck.

Attached Files



#548
oSxFr33k

oSxFr33k

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 776 posts
  • Gender:Male
  • Interests:Sound and Graphic Design. Electronics in general.
juanerson,

Thanks very much for taking the time to modify the ssdt-3. I got an kernel panic. Error said Inconsistant CPU p-state count indicates mismatched CPU packages. In the ssdt-3

Name (_PSS, Package (0x0E)

section, there are missing some p-states when compared the the section under,

Name (SPSS, Package (0x0E).


I do appreciate the time you spent to help me though.



If I run the revogirl

ssdtPRGen.sh in OSX 10.7.3 interestingly I get ssdt.aml formatted exactly like the one you can get from TonyMac's MultiBe.... v4.6.1 i7 ssdt and with the same values from the ssdt I generated from either a live Linux CD or the aida64 application. I just ran it with my CPU specs with TDP=45 and Max Turbo=2900. The only problem is I get a kernel panic see edited post below.


If I just run the default tonymac one I can boot properly and get all these pstates listed below.


If I insert my p-states from my ssdt generated from linux live cd or even from aida64 application into the tonymac ssdt I still get a kernel panic as others have reported, p-state stepper error 18 at step 35 in context 2 on cpu whatever that means?


MSRDumper pstates from tonymac's unedited ssdt:



MSRDumper CoreMulti(8)
MSRDumper PStatesReached: 8 18 20 24 25 26 27 28


MSRDumper CoreMulti(18)
MSRDumper PStatesReached: 8 18 20 24 25 26 27 28


MSRDumper CoreMulti(20)
MSRDumper PStatesReached: 8 18 20 24 25 26 27 28


MSRDumper CoreMulti(25)
MSRDumper PStatesReached: 8 18 20 24 25 26 27 28


MSRDumper CoreMulti(26)
MSRDumper PStatesReached: 8 18 20 24 25 26 27 28


MSRDumper CoreMulti(28)
MSRDumper PStatesReached: 8 18 20 22 24 25 26 27 28


As you can see it looks very good but I am confused as to how his can work. His frequency starts at 3900 and ends with 1000. Yet my speedstep follows exactly as my processor was meant to be as far as MSRDumper shows?

I am guessing to just use the generic tonymac one I have attached. So I am going to use just the ssdt.aml and not the other system ssdt's, maybe too much bloat and uneeded?

My asus G74SX Laptop Bios will not allow me to disable EIST which I read you should disable if you dropssdt=yes and generate p/c state = no. I do not put p/c state keys in the CABP and so by default it should be no for c/p.

Attached is the tonymac one and I still do not see how it can work with my cpu?



EDITED FEW MINUTES LATER:

MSRDumper shows actual p-states but registry shows what is actually in the ssdt 3900 to 1000? WIll this become a problem?


EDITED AGAIN:

I took tonymac ssdt and trimmed it down made it 2900 to 800 as my processor should be. This time I waited longer and got all the pstates as reported above by MSRDumper.

Looks even better now!!


MSRDumper CoreMulti(16)
MSRDumper PStatesReached: 8 12 16 21 22 24 25 26 27 28 29

EDITED AGAIN:

Last thing. I think I have figured out why I was getting the same kernel panic and error script as others where getting. And with my testing all day and night for 2 days it just hit me. You have to have a minimum of 18 pstates for this to work or you could see the error. Maybe not but when I went from 14 to 22 everything worked perfect.

This was the error I was getting constantly no matter what I did:

P-State Stepper Error 18 at step 2 in context 2 on CPU 1


P-State Stepper Error 18 at step 2 in context 2 on CPU 2


P-State Stepper Error 18 at step 2 in context 2 on CPU 3


P-State Stepper Error 18 at step 2 in context 2 on CPU 0

Attached Files



#549
ugokind

ugokind

    InsanelyMac Deity

  • Donators
  • 1,712 posts
  • Gender:Male
  • Location:10100
  • Interests:Apicoltura
    Mac
    Linux
    Homebrew
    Australia
    Spremermilcervello
Hei osxfr33k i'm g53 series..i7 quite similr..
I have problem with patched rtc/aicpm and generate cstatw/pstate at obcp

So shoul i test yours?
Can you send me your rtc (my dsdt is already patche but i've no ssdt tables and..agree..i cannot mod uefi bios!)


#550
dmazar

dmazar

    InsanelyMac Sage

  • Coders
  • 256 posts
  • Gender:Male
Hi there. flAked's patch, in a way how el cognilio and oldnapalm implemented it in their perl script is now available in Clover bootloader as on-the-fly In-memory patch during booting. Since i did not mod bios, this patch was needed to allow me to install ML like on a real Mac - running ml install app to init installer and then rebooting with Clover into installer to do the install.
  • XLR likes this

#551
oSxFr33k

oSxFr33k

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 776 posts
  • Gender:Male
  • Interests:Sound and Graphic Design. Electronics in general.

Hei osxfr33k i'm g53 series..i7 quite similr..
I have problem with patched rtc/aicpm and generate cstatw/pstate at obcp

So shoul i test yours?
Can you send me your rtc (my dsdt is already patche but i've no ssdt tables and..agree..i cannot mod uefi bios!)


DO you have the i7-2630QM processor if so just grab the 2nd attachment ssdt.aml.2900-800.zip and setup your com.apple.Boot.plist as dropssdt=yes and generate cstate=no and generate pstate=no. Use Chameleon Wizzard to modify your CABP.

I have not patched any other kext. Not rtc nothing. Just added the HWSensors latest binary from the HWSensors thread. Fakesmc, NouveauSensor, IntelThermal, and I think I put in ACPIsensor. DOn't use anything else you will get kernel panics.

For audio I found it on kexts.yyy replace yyy with the usual. Is your audio ALC269? Just search it you will find one. Do audio at the very end when you have everything else working in case you get kernel panics you will know its not from audio.

DSDT must be perfect to. Mine was prepared by Mald0n.

Your graphics card is not Optimus enabled is it if so it won't work. Asus makes different gamers laptops some which lock out the Optimus and others which do not. Those which do not will not work on OSX.

Hi there. flAked's patch, in a way how el cognilio and oldnapalm implemented it in their perl script is now available in Clover bootloader as on-the-fly In-memory patch during booting. Since i did not mod bios, this patch was needed to allow me to install ML like on a real Mac - running ml install app to init installer and then rebooting with Clover into installer to do the install.


Nice I would like to have a look at that!!!

#552
ugokind

ugokind

    InsanelyMac Deity

  • Donators
  • 1,712 posts
  • Gender:Male
  • Location:10100
  • Interests:Apicoltura
    Mac
    Linux
    Homebrew
    Australia
    Spremermilcervello
Ok..i'll beat home late at night..but.. Thanks!!! Magister

#553
ugokind

ugokind

    InsanelyMac Deity

  • Donators
  • 1,712 posts
  • Gender:Male
  • Location:10100
  • Interests:Apicoltura
    Mac
    Linux
    Homebrew
    Australia
    Spremermilcervello
ok. I did all your suggestions:
but:
in the OCBP I disabled all regarding the pstate, cstate, c2,c3,c4 and cstusingIO

only dropssdt..
put your ssdt table.

at verbose boot I saw a little warning because osx didn't find ant ssdt-1 table.

at stop and resume the system is quite similar to previous.. apparently is good but you can only move the mouse. the system is still frozen

this is my boot

#554
oSxFr33k

oSxFr33k

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 776 posts
  • Gender:Male
  • Interests:Sound and Graphic Design. Electronics in general.

ok. I did all your suggestions:
but:
in the OCBP I disabled all regarding the pstate, cstate, c2,c3,c4 and cstusingIO

only dropssdt..
put your ssdt table.

at verbose boot I saw a little warning because osx didn't find ant ssdt-1 table.

at stop and resume the system is quite similar to previous.. apparently is good but you can only move the mouse. the system is still frozen

this is my boot


You can ignore that ssdt-1 message it did load the ssdt but it is just telling you there is no ssdt-1, ssdt-2 etc.

I will have a look later. WHich Graphics Card do you have?


CAn you start a new thread on your Laptop because if you have booted into osx then we no longer can post in this thread regarding off topic.

Use the latest HWSensors from that thread and put them in the /s/l/e

#555
ugokind

ugokind

    InsanelyMac Deity

  • Donators
  • 1,712 posts
  • Gender:Male
  • Location:10100
  • Interests:Apicoltura
    Mac
    Linux
    Homebrew
    Australia
    Spremermilcervello
ok I tested a lot of sensors but most give me kp except for hardware sensors they are recent
I 've also 2 thresds.. my laptop is the ROG asus G53s series.. and the video is great GTX460m 1,5ddr3 192bit pipeline
the video has a storical frandom freeze problem in all the bsd/mac OS from lion ML DP3. And I add that all the people (tonymac netkas insanely etc..) know that for that problem the only solution is to use a certain kind of version of the driver (an old driver) with the opencl patch.
BUT since the DP4 ML the problem is solved. and the opencl is still patched inside! So I never have the need to mod the vanilla GM driver of Mountain lion.
this is my thread. http://www.insanelym...dpost&p=1832002

I don't want to be OT.. see ya. thanks

#556
joshhh

joshhh

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 210 posts
  • Gender:Male
  • Location:Russia, Israel
Hello!

I tried to figure out how to enable turbo boost on my first generation core i7 640m

When I use chameleon p/c states generation my cpu reach x22 multiplier

Created custom SSDT table with my states, now i only have x21 multiplier

and don't know is boost working, speed step is definitely working but boost? how to check?

Attached File  DSDT+SSDT.zip   17.78KB   9 downloads

#557
veda95110

veda95110

    InsanelyMac Protégé

  • Members
  • Pip
  • 17 posts
  • Gender:Male
  • Location:france
hi, can someone look to my ssdt and dsdt,because i have only 2 pstates,8x and 22x.
I patched aicpm.kext create my ssdt with revo script,removed nullcpu...everything seems good but not really working, i tried a lot of smbios and no more results...
I'm on 10.8.1, on a hp laptop the cpu is a core i3 2330m.
Thanks for your help

#558
omp2k1

omp2k1

    InsanelyMac Protégé

  • Members
  • Pip
  • 13 posts
Does anyone have or know how to generate SSDT for 3770K. I've attached AIDA generated SSDT tables if anyone can help. Running 10.8.2, SM-iMac12,2. So far I only get 16,35,39 but when I use SM-MP3,1 i get 16,17,18,19,20,35,39. Should this incrementaly (steps of one) go from 16->39 or is this correct? Also what are the correct PStates for 3770K?

Attached Files



#559
westwaerts

westwaerts

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 879 posts
  • Gender:Male
dont use imac12,2, as said, open the imac12,2.plist look under SP11 and read the numbers in hex it just says "undefined".
i changed to macbookpro8,3 for my i-2600k and it works well ( but i am still on 10.7.5)

so i dont think it gets better with another SSDT
maybe you should try the new ivy-bridge models

#560
beta992

beta992

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 338 posts
  • Gender:Male

dont use imac12,2, as said, open the imac12,2.plist look under SP11 and read the numbers in hex it just says "undefined".
i changed to macbookpro8,3 for my i-2600k and it works well ( but i am still on 10.7.5)

so i dont think it gets better with another SSDT
maybe you should try the new ivy-bridge models

Could you tell me how you did read the numbers? (Only the numbers?)

This is the contents iMac12,2.plist from ML:
<5c040000 00000102 04000002 02000055 006e0073 00700065 00630069 00660069 00650064 0c0007ff 0700000d 00000002 000001ff ff00ff00 ff00ff00 ff00ff00 060000ff 010003ff 000b0f00 00ff0100 03ff000b 0f0000ff 010003ff 000b0f00 00ff0100 03ff000b 0f0000ff 010003ff 000b0f00 00ff0100 03ff000b 0f0000ff 010003ff 000b0f00 00ff0100 03ff000b 0f0000ff 010003ff 000b0f00 00ff0100 03ff000b 0f0000ff 010003ff 000b0f00 00ff0100 03ff000b 0f0000ff 010003ff 000b0f00 00ff0100 03ff000b 0f0000ff 010003ff 000b0f00 00ff0100 03ff000b 0f0000ff 010003ff 000b0f00 00ff0100 03ff000b 0f0000ff 010003ff 000b0f00 00ff0100 03ff000b 0f0000ff 010003ff 000b0f00 00ff0100 03ff000b 0f0000ff 010003ff 000b0f00 00ff0100 03ff000b 0f0000ff 010003ff 000b0f00 00ff0100 03ff000b 0f0000ff 010003ff 000b0f00 00ff0100 03ff000b 0f0000ff 010003ff 000b0f00 00ff0100 03ff000b 0f0000ff 010003ff 000b0f00 00ff0100 03ff000b 0f0000ff 010003ff 000b0f00 00ff0100 03ff000b 0f0000ff 010003ff 000b0f00 00ff0100 03ff000b 0f0000ff 010003ff 000b0f00 00ff0100 03ff000b 0f0000ff 010003ff 000b0f00 00ff0100 03ff000b 0f0000ff 010003ff 000b0f00 00ff0100 03ff000b 0f0000ff 010003ff 000b0f00 00ff0100 03ff000b 0f0000ff 010003ff 000b0f00 00ff0100 03ff000b 0f0000ff 010003ff 000b0f00 00ff0100 03ff000b 0f0000ff 010003ff 000b0f00 00ff0100 03ff000b 0f0000ff 010003ff 000b0f00 00ff0100 03ff000b 0f0000ff 010003ff 000b0f00 00ff0100 03ff000b 0f0000ff 010003ff 000b0f00 00ff0100 03ff000b 0f0000ff 010003ff 000b0f00 00ff0100 03ff000b 0f0000ff 010003ff 000b0f00 00ff0100 03ff000b 0f0000ff 010003ff 000b0f00 00ff0100 03ff000b 0f0000ff 010003ff 000b0f00 00ff0100 03ff000b 0a000001 0a000001 00000001 000000f5 00010500 00010000 05ff0001 00000001 00000001 06000002 00000004 01000080 00c300b7 002e0034 000b0000 00020000 00010000 00010000 00020000 00020200 00020600 00010000 00010000 00f50001 05000003 000005ff 00030200 00030600 00090000 00040000 00640600 00040000 05ff0003 00000001 00000004 04000080 0000000a 0a000008 00000005 00000008 00000005 00000003 00000002 00000005 06000007 00000001 000000f5 00010500 00060000 05ff0003 00000003 00000006 06000002 00000004 000000a0 000f0500 00070400 00070000 00030000 00040000 00070600 00080a00 00030000 05ff0004 02000008 06000001 00000001 000000f4 00010500 00090000 05ff0005 02000009 06000002 00000004 01000080 00c300b7 002e0034 000b0000 00090000 000a0000 00090000 000a0000 00050000 00010000 000a0600 00070000 00010000 00f50001 0500000b 000005ff 00050000 00020000 000b0600 00020000 00040000 00a0000f 0500000c 0400000c 00000005 00000003 0000000c 06000008 0a000009 000005ff>






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

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