Experimental Intel SpeedStep kext, beta version for any and all kernels/processors ;-) |
Experimental Intel SpeedStep kext, beta version for any and all kernels/processors ;-) |
|
mercurysquad
InsanelyMac Legend
|
![]() |
Aug 5 2008, 12:05 AM Post #1
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
New version 1.3.2 is now available!
New page for all downloads/bug reports is here. INFO:We have switched to Google Code. Downloads from this post have been removed. Info on this page may be outdated. Everyone's encouraged to use the google code page instead. -------------------------------------------------------------------------------------------------------- N/2 bus ratio support giving most users <1GHz pstates. Undervolting support, sse2 rtcfix kernel support, direct ctl change, Pstate override, default pstate, bug fixes. Kernels on which it will work: any. Thanks to the help of people over on #xnu-chat, an experimental Intel SpeedStep driver is now available which doesn't require a speedstep kernel (ie. it should work well with sleep kernels and allow you to resume/sleep). It will work on any Intel processor which supports speedstep (including older Pentium M). However, timing might be unstable on older processors (being fixed), so Core or higher is highly recommended. Note that it will not magically give sleep/resume ability to your speedstep kernel. Please switch to a sleep or vanilla kernel. NO AMD SUPPORT. We need more testing before it can be termed a working kext. Please download the attached zip, unzip it and do in Terminal: CODE sudo kextload IntelEnhancedSpeedStep.kext You don't need to put it in /System/Library/Extensions for testing. Then use any SpeedStep GUI. Two of them are attached, use whatever you like. Once you are satisfied, put it in /S/L/E and it should load everytime you boot up. Here is more specific info about how to install the kext and use the SpeedStep app If you experience problems with GUI apps, simply close it and use the terminal to test. A lot of people are reporting problems with the speedstep.app and cputhrottler2beta apps. These were NOT created by me and this is not what we are testing. So please, close those apps and try manually throttling using terminal. An updated SpeedStep.app is in the works, tuxx will provide more info on it. A beta is uploaded but NO support yet until it's finished. To see which frequencies are available: CODE sysctl kern.cputhrottle_freqs To switch frequency: CODE sudo sysctl -w kern.cputhrottle_curfreq=YYYY (replace YYYY with what you want from the list you got. You can also set a single digit number directly which is the frequency (pstate) number: 0 is highest speed, 1 is next lowest etc.What to test - 1) That you can actually switch CPU speed 2) Whether your timing is stable (ie. OSX UI/animations should be smooth, not stuttering in audio) 3) Test whether you can still sleep and then resume - if your sleep/resume worked before > Make sure you unload ACPICPUThrottle.kext and/or AppleIntelCPUPowerManagement.kext before loading this! < To get debug log messages, type this in Terminal: CODE sudo dmesg | grep IntelEnhancedSpeedStep If it doesn't work for you, paste on pastebin the output of the above command, and of CODE sysctl machdep.cpu && uname -a , then post the URL here. To get information about the current freq/voltage and available freq/voltage, type CODE sysctl -a | grep throttle INFO From all the bug reports and debug logs, I have come to the conclusion: ACPI SUCKS. So I have halted debugging ACPI autodetect of p-states. It is good enough now for 80% of users. For the remaining 20%, please create your P-states manually in steps of 2xFSB. Next up: support for <1Ghz speed on supported kernels, and auto-throttle. New features/fixes : 1.3.2 - fix a bug which displayed incorrect current frequency value when using n/2 bus ratio 1.3.1 - fixed certain issues with <1ghz support 1.3 - N/2 bus ratio support, should provide <1GHz pstates to most people. Note that if you have sse2, this will be enabled ONLY if you are using a kernel which supports <1ghz properly. Currently the only such kernel is my kernel 9.4 which is not released yet. :-) - Excessive debug messages are now removed. Should fix stuttering while changing frequency - Added extra IODelay after switching pstate so that sysctl displays the new values. This should make people happier. - Minor internal fixes. 1.2.2 - Better kernel feature detection. Better clock recalibration. 1.2.1c - Kernel feature autodetection, override via Info.plist key "KernelFeatures" in IOKitPersonalities. Set to -1 for autodetect (only works with new kernels which are NOT out yet), 0 = no speedstep,1ghz+, 1=speedstep kernel,1ghz+, 2=speedstep kernel,less than 1ghz support. - No more phantom PStates (e.g 2401 mhz) - Default Pstate during bootup/load, set DefaultPState key in Info.plist, -1=no default, 0=pstate0 is default etc. - Doesn't allow <1 ghz throttling unless patched kernel supports it (vanilla/sleep kernels dont) 1.2.0 - Added delay for latency while switching pstate - should fix people not being able to switch frequencies consistently - Undervolting! New sysctl key kern.cputhrottle_curvolt to change the current voltage. Setting will be remembered for that pstate. - Added sysctl key kern.cputhrottle_ctl for direct changing of fid/vid: only for testing!! Settings will not be remembered - Load PState table from kext's info.plist! For those who get "There was an error getting Pstate table from ACPI". To use this, open the kext's Info.plist in property list editor. Expand IOKitPersonalities/IntelEnhancedSpeedStep and you will see PStateTableDisabled. It is an array of arrays. Each element is one pstate. Each pstate has 2 elements, first is the frequency in MHz and 2nd is voltage in mV. If you change the name of the array to PStateTable, it will be loaded by the kext instead of autodetecting via ACPI. NO error checking so make sure it's valid for your CPU. |
mercurysquad Experimental Intel SpeedStep kext Aug 5 2008, 12:05 AM
joe75 nice job, mercurysquad Aug 5 2008, 12:12 AM
Krazubu Nice work
The system and sound stutter when the m... Aug 5 2008, 12:44 AM
mercurysquad QUOTE (Krazubu @ Aug 5 2008, 02:44 AM) Ni... Aug 5 2008, 01:13 AM
titooo Thanks for the application man.
I think it's ... Aug 5 2008, 12:20 PM
nobb1x tried it, at the start it gave me 5 p-state (see l... Aug 5 2008, 02:04 PM
mercurysquad Thanks to all those who tested!
Some issues ha... Aug 6 2008, 01:20 AM
Krazubu I forgot to say that sleep mode still doesn't ... Aug 5 2008, 02:48 PM
westwaerts QUOTE (Krazubu @ Aug 5 2008, 02:48 PM) I ... Aug 6 2008, 06:20 AM
kennyp Nice, very nice!
Compaq c714nr using Vanilla k... Aug 5 2008, 03:53 PM
mrheat hi
here my results - check my sig for hardware de... Aug 5 2008, 05:00 PM
eclau After loading IntelEnhancedSpeedStep.kext, I did t... Aug 5 2008, 06:01 PM
nobb1x QUOTE (eclau @ Aug 5 2008, 06:01 PM) Afte... Aug 5 2008, 06:57 PM
dasepsilon hell of a kext!
working great (at least up to ... Aug 5 2008, 07:25 PM
JimDandy Thanks for this. The kext works on my machine, but... Aug 6 2008, 05:24 AM
eclau Not working on Q6600 overclocked to 3.0GHz on Giga... Aug 6 2008, 06:12 AM
mercurysquad QUOTE (eclau @ Aug 6 2008, 08:12 AM) Not ... Aug 6 2008, 11:29 AM
eclau QUOTE (mercurysquad @ Aug 6 2008, 11:29 A... Aug 6 2008, 02:42 PM
r_o_o_s Thank you! This is the beginning of fixing one... Aug 6 2008, 07:26 AM
timmyj thanks for this works a treat, to get the tuxx to ... Aug 6 2008, 09:32 AM
mitch_de Works here. E4400 2.0GHZ , (little overclocked by ... Aug 6 2008, 11:19 AM
wingrunr21 Ok, it works for me with a few quirks:
No errors ... Aug 6 2008, 11:24 AM
mitch_de Seems to be very "cool" also for desktop... Aug 6 2008, 11:42 AM
wingrunr21 This is an update from my previous post.
Using Sp... Aug 6 2008, 01:16 PM
mitch_de Now 2 hours later, all is OK. CTB2 is running and ... Aug 6 2008, 02:10 PM
DrDeelay Hi there!
CPU Typ Mobile DualCore Intel Cor... Aug 6 2008, 03:02 PM
THe KiNG OMG so this is "The light at the end of the t... Aug 6 2008, 07:21 PM
mercurysquad Hey people, please keep issues separate, ie. if it... Aug 6 2008, 09:18 PM
lovedahackintosh eagerly waiting the next version of this. i tried ... Aug 7 2008, 06:18 AM
THe KiNG Until new beta is out here is my PC results:
CODEb... Aug 7 2008, 07:08 AM
rhyguy This doesnt work, as well as every other sppedstep... Aug 7 2008, 07:51 AM
zillac Works great here on Thinkpad T60p, C2D T7200, ... Aug 7 2008, 07:55 AM
uuid Q6600 on GA-P35-DS3L:
Kext loads and works fine w... Aug 7 2008, 08:26 AM
tuxx QUOTE (uuid @ Aug 7 2008, 09:26 AM) Chang... Aug 7 2008, 02:30 PM
mitch_de QUOTE (tuxx @ Aug 7 2008, 04:30 PM) the m... Aug 8 2008, 04:10 AM
mercurysquad New kext out, check 1st page.
Kext does no thrott... Aug 8 2008, 07:21 AM
uuid QUOTE (mercurysquad @ Aug 8 2008, 07:21 A... Aug 8 2008, 07:37 AM
mercurysquad SSE2 Users - version 1.2.1 now supports SpeedStep ... Aug 8 2008, 08:12 AM
THe KiNG Well the new kext dosen't work on my lappie st... Aug 8 2008, 09:17 AM
r_o_o_s I have a Dell D830 and I have now done som more te... Aug 8 2008, 10:00 AM
eclau Still no go Aug 8 2008, 10:09 AM
wingrunr21 The beta no longer works for me. dmesg output see... Aug 8 2008, 12:11 PM
mercurysquad Sorry stupid bug in culling code showed the phanto... Aug 8 2008, 12:35 PM
mitch_de Hi,
the news about the kernel flags (in your .pli... Aug 8 2008, 12:37 PM
wingrunr21 QUOTE (mercurysquad @ Aug 8 2008, 08:35 A... Aug 8 2008, 01:03 PM
mercurysquad Ok, fixed version 1.2.1c is out. Please download t... Aug 8 2008, 01:25 PM
mitch_de Thanks!
I tried VID setting now.
kern.cputhro... Aug 8 2008, 01:50 PM
mercurysquad QUOTE (mitch_de @ Aug 8 2008, 03:50 PM) T... Aug 8 2008, 01:53 PM
mitch_de QUOTE (mercurysquad @ Aug 8 2008, 03:53 P... Aug 8 2008, 02:02 PM
mercurysquad QUOTE (mitch_de @ Aug 8 2008, 04:02 PM) O... Aug 8 2008, 02:07 PM
mitch_de QUOTE (mercurysquad @ Aug 8 2008, 04:07 P... Aug 8 2008, 02:35 PM
wingrunr21 Very nice! It works properly for me now. dme... Aug 8 2008, 01:55 PM
lovedahackintosh ok, i am trying to run this on a dell inspiron 600... Aug 8 2008, 03:39 PM
mercurysquad You must use an EFI bootloader for this kext to fu... Aug 8 2008, 04:34 PM
lovedahackintosh lol. you replied just as i fixed it.
btw, its wor... Aug 8 2008, 04:57 PM
lovedahackintosh ok, worked great on the first bootup after i unloa... Aug 8 2008, 05:46 PM
mitch_de If speedstep didnt start: you must set rights (loo... Aug 8 2008, 06:01 PM
wingrunr21 I'll post the SpeedStep instructions here. Yo... Aug 8 2008, 06:22 PM
lovedahackintosh ok, speedstep.app is now running. thanks for that.... Aug 8 2008, 06:51 PM
Wiwi WOrks good here, now i can use vanilla kernel on m... Aug 8 2008, 07:41 PM
r_o_o_s 1.2.1c works with dynamic acceleration on. Really ... Aug 8 2008, 10:25 PM
dorts Hello,
I got a problem. After loading the kext an... Aug 9 2008, 06:36 AM
mitch_de QUOTE (dorts @ Aug 9 2008, 08:36 AM) Hell... Aug 9 2008, 07:56 AM
dorts QUOTE (mitch_de @ Aug 9 2008, 03:56 PM) T... Aug 9 2008, 08:13 AM
lovedahackintosh ok, after extended listening there is a little stu... Aug 9 2008, 08:33 AM
mitch_de "WARN There was an error while getting PStat... Aug 9 2008, 08:38 AM
dorts QUOTE (mitch_de @ Aug 9 2008, 04:38 PM) ... Aug 9 2008, 08:47 AM
mercurysquad Your BIOS/ACPI is not reporting the P-States for y... Aug 9 2008, 11:30 AM
dorts QUOTE (mercurysquad @ Aug 9 2008, 07:30 P... Aug 9 2008, 02:07 PM
mercurysquad QUOTE (dorts @ Aug 9 2008, 04:07 PM) Than... Aug 9 2008, 06:33 PM
lovedahackintosh Since this now works without loading acpicputhrott... Aug 9 2008, 03:55 PM
mercurysquad QUOTE (lovedahackintosh @ Aug 9 2008, 05... Aug 9 2008, 06:06 PM
Riley Freeman I'm in the same situation as dorts. It can... Aug 9 2008, 05:48 PM
lovedahackintosh that was with it set to 0 actually. I found later ... Aug 9 2008, 06:24 PM
str8edgepunker 1.2.1 didn't work for me so I figured I'd ... Aug 10 2008, 01:39 AM
dorts Finally got it working! With only 2 P-States o... Aug 10 2008, 06:35 AM
mercurysquad QUOTE (dorts @ Aug 10 2008, 08:35 AM) Fin... Aug 10 2008, 08:57 AM
Riley Freeman QUOTE (dorts @ Aug 10 2008, 07:35 AM) Fin... Aug 10 2008, 01:50 PM
titooo Thanks for the fantastic work guys.
It's exce... Aug 10 2008, 01:08 PM
mitch_de QUOTE (titooo @ Aug 10 2008, 03:08 PM) Th... Aug 10 2008, 06:35 PM
mercurysquad QUOTE (titooo @ Aug 10 2008, 06:38 PM) Th... Aug 11 2008, 05:53 AM
pipolas Hello,
Thank you very much for this kext, which wo... Aug 10 2008, 06:25 PM
pipolas QUOTE (pipolas @ Aug 10 2008, 06:25 PM) H... Aug 11 2008, 08:43 AM
mercurysquad QUOTE (pipolas @ Aug 11 2008, 02:13 PM) M... Aug 11 2008, 01:10 PM
pipolas QUOTE (mercurysquad @ Aug 11 2008, 01:10 ... Aug 11 2008, 04:56 PM
Wiwi There is a Speedstep GUI beta thread ?
Preference... Aug 10 2008, 06:52 PM
Nemphys Works great with Intel Centrino Duo @ 1.83 Ghz on ... Aug 11 2008, 08:33 AM
Wiwi I've tweak a little my pstates table, before w... Aug 11 2008, 07:09 PM
mrheat QUOTE (mrheat @ Aug 5 2008, 07:00 PM) hi
... Aug 11 2008, 09:04 PM
mercurysquad QUOTE (mrheat @ Aug 12 2008, 02:34 AM) on... Aug 12 2008, 07:59 AM
llauqsd QUOTE Could you please post which CPU you have (it... Aug 12 2008, 08:27 AM

eclau QUOTE (llauqsd @ Aug 12 2008, 08:27 AM) I... Aug 12 2008, 10:20 AM
Superhai QUOTE (mercurysquad @ Aug 12 2008, 09:59 ... Aug 12 2008, 08:37 AM
Riley Freeman Could someone post an example plist with manual p-... Aug 11 2008, 11:00 PM
mitch_de QUOTE (Riley Freeman @ Aug 12 2008, 01:00... Aug 12 2008, 05:22 AM
homer007 my IntelEnhancedSpeedStep output ---> Here
my... Aug 12 2008, 12:09 AM
llauqsd WOW! I never thought I would get speedstep wor... Aug 12 2008, 07:36 AM
uuid I don't run any other OS than OS X, so if anyo... Aug 12 2008, 09:09 AM
Wiwi CODEmachdep.cpu.address_bits.virtual: 48
machd... Aug 12 2008, 10:39 AM
titooo QUOTE Coolbook is not free.
Coolbook only does und... Aug 12 2008, 12:55 PM ![]() |
|
Lo-Fi Version | Time is now: 21st November 2009 - 01:01 PM |