Jump to content

fluid | fixed

Version 1.4.5 beta out now


  • Please log in to reply
61 replies to this topic

#1
mercurysquad

mercurysquad

    InsanelyMac Legend

  • Voodoo Team
  • 521 posts
  • Gender:Male
  • Location:India
Version 1.4.5 is out as a beta. Please test and report.
http://code.google.com/p/xnu-speedstep
  • "Error getting PState array from ACPI" - if you get this error with older versions, this new version will try to create a pstate table for you based on some heuristics. It is not optimal, but will give you a headstart. Later you can fine-tune the pstate table yourself.
  • Info.plist has a new key "TargetCPULoad" currently set to 30%. Change it to whatever you want to be the default.
  • Should also fix the incorrect (high or -ve) cpu frequency problem.


#2
konistehrad

konistehrad

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts
  • Gender:Male
  • Location:USoA
The module failed to load on my machine. Confirmed the same behavior in both xnu-dev's most recent beta (2c) and Vanilla 9.5. Attached is the dump generated by the Vanilla kernel. Vitals in the sig. Thanks again for your great work on this project! ^_^

Quote

machdep.cpu.address_bits.virtual: 48
machdep.cpu.address_bits.physical: 36
machdep.cpu.cache.size: 512
machdep.cpu.cache.L2_associativity: 2
machdep.cpu.cache.linesize: 64
machdep.cpu.arch_perf.fixed_width: 40
machdep.cpu.arch_perf.fixed_number: 3
machdep.cpu.arch_perf.events: 0
machdep.cpu.arch_perf.events_number: 7
machdep.cpu.arch_perf.width: 40
machdep.cpu.arch_perf.number: 2
machdep.cpu.arch_perf.version: 2
machdep.cpu.thermal.ACNT_MCNT: 1
machdep.cpu.thermal.thresholds: 2
machdep.cpu.thermal.dynamic_acceleration: 0
machdep.cpu.thermal.sensor: 1
machdep.cpu.mwait.sub_Cstates: 544
machdep.cpu.mwait.extensions: 3
machdep.cpu.mwait.linesize_max: 64
machdep.cpu.mwait.linesize_min: 64
machdep.cpu.cores_per_package: 2
machdep.cpu.logical_per_package: 2
machdep.cpu.extfeatures: XD EM64T
machdep.cpu.features: FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PAT PSE36 CLFSH DS ACPI MMX FXSR SSE SSE2 SS HTT TM SSE3 MON DSCPL EST TM2 SSSE3 CX16 TPR PDCM
machdep.cpu.brand: 0
machdep.cpu.signature: 1789
machdep.cpu.extfeature_bits: 537919488 1
machdep.cpu.feature_bits: -1075053569 58269
machdep.cpu.stepping: 13
machdep.cpu.extfamily: 0
machdep.cpu.extmodel: 0
machdep.cpu.model: 15
machdep.cpu.family: 6
machdep.cpu.brand_string: Intel® Celeron® CPU        E1400  @ 2.00GHz
machdep.cpu.vendor: GenuineIntel
Edit: add sysctl dump

Attached Files



#3
Gugiwuz

Gugiwuz

    InsanelyMac Protégé

  • Members
  • Pip
  • 5 posts
same problem here.

Quote

$ sysctl machdep.cpu && uname -a
machdep.cpu.address_bits.virtual: 48
machdep.cpu.address_bits.physical: 36
machdep.cpu.cache.size: 6144
machdep.cpu.cache.L2_associativity: 8
machdep.cpu.cache.linesize: 64
machdep.cpu.arch_perf.fixed_width: 40
machdep.cpu.arch_perf.fixed_number: 3
machdep.cpu.arch_perf.events: 0
machdep.cpu.arch_perf.events_number: 7
machdep.cpu.arch_perf.width: 40
machdep.cpu.arch_perf.number: 2
machdep.cpu.arch_perf.version: 2
machdep.cpu.thermal.ACNT_MCNT: 1
machdep.cpu.thermal.thresholds: 2
machdep.cpu.thermal.dynamic_acceleration: 0
machdep.cpu.thermal.sensor: 1
machdep.cpu.mwait.sub_Cstates: 139808
machdep.cpu.mwait.extensions: 3
machdep.cpu.mwait.linesize_max: 64
machdep.cpu.mwait.linesize_min: 64
machdep.cpu.cores_per_package: 2
machdep.cpu.logical_per_package: 2
machdep.cpu.extfeatures: XD EM64T
machdep.cpu.features: FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PAT PSE36 CLFSH DS ACPI MMX FXSR SSE SSE2 SS HTT TM SSE3 MON DSCPL VMX SMX EST TM2 SSSE3 CX16 TPR PDCM SSE4.1
machdep.cpu.brand: 0
machdep.cpu.signature: 67190
machdep.cpu.extfeature_bits: 537919488 1
machdep.cpu.feature_bits: -1075053569 582653
machdep.cpu.stepping: 6
machdep.cpu.extfamily: 0
machdep.cpu.extmodel: 1
machdep.cpu.model: 23
machdep.cpu.family: 6
machdep.cpu.brand_string: Intel® Core™2 Duo CPU     E8400  @ 3.00GHz
machdep.cpu.vendor: GenuineIntel
Darwin manis-macpro31 9.5.0 Darwin Kernel Version 9.5.0: Tue Oct 14 07:39:11 IST 2008; Voodoo; Beta 2c :xnu-1228.7.58/BUILD/obj/RELEASE_I386 i386

System:
OSX 10.5.5
Gigabyte GA-P35-DS3
Intel Core 2 Duo E8400
nVidia GeForce 9600 GT
4 GB Ram
SAMSUNG HD501LJ (SATA, 500GB)

#4
aliasa_anderson

aliasa_anderson

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 171 posts
Hi Mercurysquad,

Has the memory Leak issue been fixed ?

Does this kext use ACPI_SMC_PlatformPlugin.kext to get the pstates ?

Regards
aliasa

#5
d!g!t@lTr@sh

d!g!t@lTr@sh

    InsanelyMac Protégé

  • Members
  • Pip
  • 40 posts
My system hangs during the installation  :jester: I install using terminal. After seemingly successful sudo copy of the file, the system just hangs ... and there's nothing I can do except hard reboot. Booting in single user mode then shows the file is not there  :)

Will update as it goes when I can install it!

Thanks for the release though. Great work.

#6
d!g!t@lTr@sh

d!g!t@lTr@sh

    InsanelyMac Protégé

  • Members
  • Pip
  • 40 posts
Finally installed (although still unsucessfully, using kext helper, machine still hangs after copying the kext). After repairing permissions in single mode, get a kernel panic.

machdep.cpu.brand_string: Intel(R) Core(TM)2 Duo CPU	 T7700  @ 2.40GHz
Darwin Hackintosh.local 9.4.0 Darwin Kernel Version 9.4.0
Posted Image

#7
mercurysquad

mercurysquad

    InsanelyMac Legend

  • Voodoo Team
  • 521 posts
  • Gender:Male
  • Location:India
aaaaaaaaaaaaa .....

trying to fix the panic. hold on guys.

#8
r0987

r0987

    InsanelyMac Protégé

  • Members
  • Pip
  • 28 posts
Works fine for me here.

#9
yuanshijie

yuanshijie

    InsanelyMac Protégé

  • Members
  • Pip
  • 18 posts
i just installed it and got kernel panic ! :D


Model: HP Compaq V3706
CPU: T5450 1.66Ghz
Chipset:Intel PM965
OSX86 : iDeneb 1.3 10.5.5
Kernel : vanilla 9.5

#10
Gugiwuz

Gugiwuz

    InsanelyMac Protégé

  • Members
  • Pip
  • 5 posts
update:
with Vanilla 9.5 the kext works!

#11
aliasa_anderson

aliasa_anderson

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 171 posts

View PostGugiwuz, on Nov 25 2008, 07:04 PM, said:

update:
with Vanilla 9.5 the kext works!


The earlier one did,so this one should also work.

#12
rimmi2002

rimmi2002

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 153 posts
I installed the IntelEnhancedSpeedStep.kext and it installed fine. How do I check to see if it is working and doing what it is suppose to do. I was thinking the speedstep.app would have some gui function when I try to run it...nothing pops up or nothing happens. Am I suppose to only install the kext or not run the app or do I install the kext and run the app. Any help will be appreciated. Thanks.


PS- I installed version 1.4.0 since many ppl here are reporting problems with 1.4.5.

#13
mercurysquad

mercurysquad

    InsanelyMac Legend

  • Voodoo Team
  • 521 posts
  • Gender:Male
  • Location:India

View Postrimmi2002, on Nov 29 2008, 11:21 PM, said:

I installed the IntelEnhancedSpeedStep.kext and it installed fine. How do I check to see if it is working and doing what it is suppose to do. I was thinking the speedstep.app would have some gui function when I try to run it...nothing pops up or nothing happens. Am I suppose to only install the kext or not run the app or do I install the kext and run the app. Any help will be appreciated. Thanks.
PS- I installed version 1.4.0 since many ppl here are reporting problems with 1.4.5.

If the kext is installed it is probably doing its job quietly in the background. You don't need to start any app.

To confirm, open Terminal and type:

sysctl -a | grep throttle

You should be able to see the current frequency and voltage, the list of available frequencies and voltages, the target cpu load, and whether auto throttle is active (kern.cputhrottle_auto: 1).

#14
rimmi2002

rimmi2002

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 153 posts

View Postmercurysquad, on Nov 30 2008, 07:13 AM, said:

If the kext is installed it is probably doing its job quietly in the background. You don't need to start any app.

To confirm, open Terminal and type:

sysctl -a | grep throttle

You should be able to see the current frequency and voltage, the list of available frequencies and voltages, the target cpu load, and whether auto throttle is active (kern.cputhrottle_auto: 1).


When I type in the sysctl -a | grep throttle in the terminal, I get the following error: "kern.exec: unknown type returned" Does this mean the kext did not install properly or do I have a non compatible kernel runnning? Thank for your help.

#15
aliasa_anderson

aliasa_anderson

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 171 posts

View Postmercurysquad, on Nov 24 2008, 06:23 AM, said:

aaaaaaaaaaaaa .....

trying to fix the panic. hold on guys.


Hi,

Has the KP been fixed ?or was this issue with old kernel only(kernels older than 9.5) ?

#16
mercurysquad

mercurysquad

    InsanelyMac Legend

  • Voodoo Team
  • 521 posts
  • Gender:Male
  • Location:India

View Postrimmi2002, on Nov 30 2008, 10:46 PM, said:

When I type in the sysctl -a | grep throttle in the terminal, I get the following error: "kern.exec: unknown type returned" Does this mean the kext did not install properly or do I have a non compatible kernel runnning? Thank for your help.
The kext is compatible with all kernels. If you only get that line and don't get anything else then that means the kext is not working properly. In that case you should edit the kext's Info.plist file and set DebugMessages to true, then type sudo touch /System/Library/Extensions and reboot. After rebooting type sudo dmesg | grep Intel to see a list of debug messages. Paste those here.

View Postaliasa_anderson, on Dec 1 2008, 03:01 PM, said:

Hi,

Has the KP been fixed ?or was this issue with old kernel only(kernels older than 9.5) ?
Not yet, I got busy with the Voodoo kernel and other things .. once Voodoo is released I'll work on this.

#17
aliasa_anderson

aliasa_anderson

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 171 posts

View Postmercurysquad, on Dec 1 2008, 10:24 AM, said:

The kext is compatible with all kernels. If you only get that line and don't get anything else then that means the kext is not working properly. In that case you should edit the kext's Info.plist file and set DebugMessages to true, then type sudo touch /System/Library/Extensions and reboot. After rebooting type sudo dmesg | grep Intel to see a list of debug messages. Paste those here.
Not yet, I got busy with the Voodoo kernel and other things .. once Voodoo is released I'll work on this.



Thanks man,no problems.

You've really inspired me to read "Mac OS X Internals By Amit Singh".I'll just grap a copy and start reading it.Chapter 10 would be of more interest to me coz of IOKit.
Anyways thanks for everything.

;)

#18
Nick14

Nick14

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,120 posts
  • Gender:Male
Will this work with a P-M ? i tried superhai but i gave me problems

#19
rimmi2002

rimmi2002

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 153 posts

View Postmercurysquad, on Dec 1 2008, 10:24 AM, said:

The kext is compatible with all kernels. If you only get that line and don't get anything else then that means the kext is not working properly. In that case you should edit the kext's Info.plist file and set DebugMessages to true, then type sudo touch /System/Library/Extensions and reboot. After rebooting type sudo dmesg | grep Intel to see a list of debug messages. Paste those here.

Thanks for your help. I made the changes you asked and below is the output. Most of the errors point to "Please create your P-State table manually"

IntelEnhancedSpeedStep: DBG   Processor Family 6, Model 15
IntelEnhancedSpeedStep: DBG   Starting
IntelEnhancedSpeedStep: DBG   On your processor, voltages can be changed in 16 mV steps
IntelEnhancedSpeedStep: DBG   Using data from CPU0
IntelEnhancedSpeedStep: WARN  There was an error while getting PState array from ACPI. Please create your P-State table manually.
IntelEnhancedSpeedStep: DBG   Freeing driver resources
IntelEnhancedSpeedStep: INFO  Initializing version 1.4.0 © Prashant Vaibhav <mercurysquad@yahoo.com>
IntelEnhancedSpeedStep: DBG   FSB = 333 MHz
IntelEnhancedSpeedStep: DBG   Probing for Intel processor...
IntelEnhancedSpeedStep: DBG   Supported Intel processor found on your system
IntelEnhancedSpeedStep: DBG   Processor Family 6, Model 15
IntelEnhancedSpeedStep: DBG   Starting
IntelEnhancedSpeedStep: DBG   On your processor, voltages can be changed in 16 mV steps
IntelEnhancedSpeedStep: DBG   Using data from CPU0
IntelEnhancedSpeedStep: WARN  There was an error while getting PState array from ACPI. Please create your P-State table manually.
IntelEnhancedSpeedStep: DBG   Freeing driver resources
IntelEnhancedSpeedStep: INFO  Initializing version 1.4.0 © Prashant Vaibhav <mercurysquad@yahoo.com>
IntelEnhancedSpeedStep: DBG   FSB = 333 MHz
IntelEnhancedSpeedStep: DBG   Probing for Intel processor...
IntelEnhancedSpeedStep: DBG   Supported Intel processor found on your system
IntelEnhancedSpeedStep: DBG   Processor Family 6, Model 15
IntelEnhancedSpeedStep: DBG   Starting
IntelEnhancedSpeedStep: DBG   On your processor, voltages can be changed in 16 mV steps
IntelEnhancedSpeedStep: DBG   Using data from CPU0
IntelEnhancedSpeedStep: WARN  There was an error while getting PState array from ACPI. Please create your P-State table manually.
IntelEnhancedSpeedStep: DBG   Freeing driver resources
IntelEnhancedSpeedStep: INFO  Initializing version 1.4.0 © Prashant Vaibhav <mercurysquad@yahoo.com>
IntelEnhancedSpeedStep: DBG   FSB = 333 MHz
IntelEnhancedSpeedStep: DBG   Probing for Intel processor...
IntelEnhancedSpeedStep: DBG   Supported Intel processor found on your system
IntelEnhancedSpeedStep: DBG   Processor Family 6, Model 15
IntelEnhancedSpeedStep: DBG   Starting
IntelEnhancedSpeedStep: DBG   On your processor, voltages can be changed in 16 mV steps
IntelEnhancedSpeedStep: DBG   Using data from CPU0
IntelEnhancedSpeedStep: WARN  There was an error while getting PState array from ACPI. Please create your P-State table manually.
IntelEnhancedSpeedStep: DBG   Freeing driver resources
IntelEnhancedSpeedStep: INFO  Initializing version 1.4.0 © Prashant Vaibhav <mercurysquad@yahoo.com>
IntelEnhancedSpeedStep: DBG   FSB = 333 MHz
IntelEnhancedSpeedStep: DBG   Probing for Intel processor...
IntelEnhancedSpeedStep: DBG   Supported Intel processor found on your system
IntelEnhancedSpeedStep: DBG   Processor Family 6, Model 15
IntelEnhancedSpeedStep: DBG   Starting
IntelEnhancedSpeedStep: DBG   On your processor, voltages can be changed in 16 mV steps
IntelEnhancedSpeedStep: DBG   Using data from CPU0
IntelEnhancedSpeedStep: WARN  There was an error while getting PState array from ACPI. Please create your P-State table manually.
IntelEnhancedSpeedStep: DBG   Freeing driver resources
IntelEnhancedSpeedStep: INFO  Initializing version 1.4.0 © Prashant Vaibhav <mercurysquad@yahoo.com>
IntelEnhancedSpeedStep: DBG   FSB = 333 MHz
IntelEnhancedSpeedStep: DBG   Probing for Intel processor...
IntelEnhancedSpeedStep: DBG   Supported Intel processor found on your system
IntelEnhancedSpeedStep: DBG   Processor Family 6, Model 15
IntelEnhancedSpeedStep: DBG   Starting
IntelEnhancedSpeedStep: DBG   On your processor, voltages can be changed in 16 mV steps
IntelEnhancedSpeedStep: DBG   Using data from CPU0
IntelEnhancedSpeedStep: WARN  There was an error while getting PState array from ACPI. Please create your P-State table manually.
IntelEnhancedSpeedStep: DBG   Freeing driver resources

#20
aliasa_anderson

aliasa_anderson

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 171 posts

View Postmercurysquad, on Nov 22 2008, 01:35 PM, said:

Version 1.4.5 is out as a beta. Please test and report.
http://code.google.com/p/xnu-speedstep
  • "Error getting PState array from ACPI" - if you get this error with older versions, this new version will try to create a pstate table for you based on some heuristics. It is not optimal, but will give you a headstart. Later you can fine-tune the pstate table yourself.
  • Info.plist has a new key "TargetCPULoad" currently set to 30%. Change it to whatever you want to be the default.
  • Should also fix the incorrect (high or -ve) cpu frequency problem.

Mercurysquad,
I was wondering that if I have a correct DSDT will I still get "Error getting Pstate array from ACPI" ?(Assuming i use version 1.4.4 of this kext)

Regards
Aliasa





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

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