ProjectOSX

Welcome Guest!

Returning User? Login here.

Want membership privileges? Register here.

5 Pages V  « < 2 3 4 5 >  
Start a new topic Add Reply
> Chameleon Rc5 Mode With Mem Detection Enabled And Automatic P-states & C-states Generation For Native Power Managment
osxfr33k
post Jul 25 2010, 11:50 PM
Post #61
Mojo

Great job on revision 253. It displays everything about the memory modules including Manuf during boot process after the boot0 easier to see now. Displaying the serial number is also a great feature because my modules have no obvious serial number written on them.

This post has been edited by osxfr33k: Jul 26 2010, 12:01 AM
Chameleon 2 RC5 Generally the latest using Chameleon Wizard
Auto Patched DSDTs
5 towers: Asus Maximux Formula Special Editions with Rampage Formula Bios conversion, Gigabyte GA-EP35-DS4, GA-EP45-UD3P, GA-G41M-ES2L and Newcomer GA-Z68X-UD4-B3
4 Quad Core Processors: QX6850/Q9650/Q6600/i7-2600K
MAC PRO EARLY 2008 Xeon 8 Core/10GB RAM/4TB Seagates
Asus G51JX i7-720QM. 8GB Kingston Ram. HM55 Chipset
Asus Gamers Notebook G74SX-XT1 i7-2630QM. 16GB Samsung. HM65 Chipset
Dell Laptops D820, D830, XPS M1530
Slice
post Jul 26 2010, 08:43 AM
Post #62
QUOTE (freeburma @ Jul 25 2010, 07:52 PM) *
Slice, Thank You! Setting my model identifier to MacBookPro5,2 worked according to VoodooMonitor (freq and voltage change based on load). Interestedly, sysctl still reports min and max both as the max freq for this processor and no switching. This is different from using VoodooPower which was accurately reported from both... IORegistry shows a reasonable performance state array and the ACPI...Plugin still shows the same error at boot time. It's definitely running hotter than with VoodooPower but that was not entirely unexpected.

I haven't looked into the /S/L/E/IOPlatformPluginFamily.kext/C/P/ACPI_SMC_PlatformPlugin since Leopard and having seen the individual models all broken out into different plists put me off the track when I didn't see the old style plist that could be edited to force it to use my choice of model identifier. Strange, I bunch of searching didn't find the solution, maybe I should't have had that last drink...

Ok, so... I have been resistant to using other peoples work without putting in the time and effort to get at least a basic understanding of what is going on. I absolutely don't fall into the drop the dsdt/extension/boot file in place, press the power button and cross your fingers crowd. It's been 15 years since I last was paid to write code. I'm willing to put in the effort to get things right on my own as much as I can. So that said...

My question is: What is a reasonable expectation for power management on this laptop (1525/T5450) and if there is more to be done what is the place to start?


RC5 is shaping up to be a real breakthrough, many thanks to the Chameleon Team!


Edited to add: I'm thinking about modifying the MacBook3,1.plist to include the PLimitDict MacBook3,1 set to zero. Any reason not to go this route? Are C-States just impossible on this laptop?

Not only PLimitDict. You need also to exclude CStateDict and add RestartAction.
My sample.
CODE
      <key>ConfigArray</key>
      <array>
        <dict>
          <key>WWEN</key>
          <true/>
          <key>model</key>
          <string>MacBook4,1</string>
          <!-- Slice added  -->
          <key>restart-actions</key>
          <dict>
              <key>cpu-p-state</key>
          <integer>0</integer>
          </dict>
        </dict>
      </array>
<!--      <key>CStateDict</key>
      <dict>
        <key>MacBook4,1</key>
        <string>CSD3</string>
        <key>MacBook4,1</key>
        <string>CSD3</string>
        <key>CSD3</key>
        <dict>
          <key>C6</key>
          <dict>
            <key>enable</key>
            <false/>
          </dict>
        </dict>
      </dict> -->
      <key>ControlArray</key>
Пожалуйста, прочитайте ЧаВо!
i3-2120 GA-H61M-S1, Radeon HD6670, ALC887(VoodooHDA 2.8), OS⌘10.8.3 (12D78),OS⌘ 10.7.5 Clover FakeSMC_plugins RealtekR1000v3
d00d
post Jul 26 2010, 11:07 PM
Post #63
Great work!
Revision 262 generates CStates on an overclocked GA-EX58 with GenerateCStates=yes and a DSDT with standard PR scope.
Memory is shown as 1333MHz, not the actual running speed as Asere's did, but it's not a deal breaker for me.
10.6.7:64:C2RC5:MacPro5,1:270-WS-W555-A1:A50:2xX5650@3.7GHz:GTX285:33066
10.6.4:64:C2RC5:MacPro4,1:GA-EX58-UD5:F12:W3520@4.1GHz:GTX285:14725
10.6.7:32:EFI:MacPro1,1:MA356LL/A:1.7f10:2x5150@2.66GHz:7300GT
10.6.3:32:C2RC4:MacBook3,1:T61:2.26:T7300@2GHz:X3100
freeburma
post Jul 31 2010, 07:19 PM
Post #64
Thanks again Slice. That modification allowed P-States with the Model Identifier MacBook3,1.

Not sure if it is OK to continue this in this thread as my questions are no longer directly related to RC5...

I have been struggling with C-States. I have tried a number of different possibilities but still have this error:

ACPI_SMC_PlatformPlugin::registerLPCDriver - WARNING - LPC device initialization failed: C-state power management not initialized

It is NOT proceeded by any _CST evaluation errors.

I'm left wondering if C-States are possible on this system. Dell 1525, T5450, 2GB Mem, 1280x800 LCD... I have read most threads (some with the help of Google translate) here and a few on other forums.

So, I have spent some hours comparing the OEM SSDT tables extracted using Linux (and while running MAC OS, of course the same) and real MacBook3,1 and MacBook4,1 tables and reading the ACPI spec document (which makes my eyes hurt after a while). Thinking that the Chameleon RC5 generated tables are incomplete for this system I then tried a few different SSDT tables.

First one based on your commented out tables from your dsdt (changed for my p state specifics and the locations of the hidden tables. Attached File  JohnSSDTr2.zip ( 1.92K ) Number of downloads: 7


and a generic Attached File  GenericSSDT.zip ( 1015bytes ) Number of downloads: 23


What I have not tried is real MacBook3,1 Tables (Modified for my CPU of course). One, I have only been able to find MacBook4,1 SSDT Tables and, two, I don't know how I would find out the address the tables (were loaded to so I could change the hardwired values like these:

CODE
"CPU0IST ",
0x7EECAA98,
0x00000340,
"CPU1IST ",
0x7EEC9F18,
0x000000C8,
"CPU0CST ",
0x7EEC8C18,
0x000002AD,
"CPU1CST ",
0x7EEC8F18,
0x00000085



I'm have been using a slightly modified version of your dsdt for this testing. Attached File  dsdtslice3.dsl.zip ( 21.52K ) Number of downloads: 13


In E/E I have: LegacyHDA, LegacyBluetooth (to enable bluetooth on-off), VoodooBattery, VoodooPS2 and VoodooSDHC
In /S/L/E I have FakeSMC (2.7.2) and the 10.6.2 version of AppleHDA.

Here is a dump of my ioreg: Attached File  HackMacBook3_1.zip ( 80.74K ) Number of downloads: 13


I have done a few table dumps while trying different things and this caught my eye (not sure if it is relevant, but I don't know) in the FACP table.

CODE
[058h 0088 1] PM1 Event Block Length : 04
[059h 0089 1] PM1 Control Block Length : 02
[05Ah 0090 1] PM2 Control Block Length : 01
[05Bh 0091 1] PM Timer Block Length : 04
[05Ch 0092 1] GPE0 Block Length : 08
[05Dh 0093 1] GPE1 Block Length : 00
[05Eh 0094 1] GPE1 Base Offset : 00
[05Fh 0095 1] _CST Support : 00
[060h 0096 2] C2 Latency : 0096
[062h 0098 2] C3 Latency : 00FA
[064h 0100 2] CPU Cache Size : 0000
[066h 0102 2] Cache Flush Stride : 0000
[068h 0104 1] Duty Cycle Offset : 01
[069h 0105 1] Duty Cycle Width : 03
[06Ah 0106 1] RTC Day Alarm Index : 0D
[06Bh 0107 1] RTC Month Alarm Index : 00
[06Ch 0108 1] RTC Century Index : 32
[06Dh 0109 2] Boot Flags (decoded below) : 0002



The _CST Support is always 0 . Not sure if it is part of the cause or a symptom.

At this point I have exhausted what I can try given my skill and experience. If this is not possible, then I will waste no more time. If it is, I would be grateful for any help that you might offer.

This post has been edited by freeburma: Jul 31 2010, 11:36 PM
TheAlchemyFreak
post Aug 4 2010, 06:28 PM
Post #65
Hey, can someone here break it down with what I need to do to enable the native AppleIntelCPUPowerManagement. I'm unfamiliar with LPC, HPET, PStates, and CStates. I'm not afraid of the DSDT if I need to do anything there.

I doubt it, but if it has anything to do with it, I've got an Acer Aspire One ZG5 running 10.6.4 w/ legacy_kernel.

With the Chameleon from this thread, I don't need to null the APM anymore, but it still isn't enabled, and I'm very unclear of where to start to get it working.

Also, if I were to get this enabled, would I be able to natively hibernate? This Chameleon fixed my sleep, but only with SleepEnabler for 10.6.4 and only when using a disk image(hibernatemode=0). When I try to keep the ram active (hibernatemode=1,3), immediate KP.
osxfr33k
post Aug 6 2010, 09:56 PM
Post #66
Mojo quick question,

The Official Sources are at Assembla correct? I am a bit confused because your source is also at forge.voodooproject.org and it seems that the revision level have a much lower number and not sure how they correlate to your sources on Assembla?

Where do you suggest I grab the latest sources?

Thanks
Chameleon 2 RC5 Generally the latest using Chameleon Wizard
Auto Patched DSDTs
5 towers: Asus Maximux Formula Special Editions with Rampage Formula Bios conversion, Gigabyte GA-EP35-DS4, GA-EP45-UD3P, GA-G41M-ES2L and Newcomer GA-Z68X-UD4-B3
4 Quad Core Processors: QX6850/Q9650/Q6600/i7-2600K
MAC PRO EARLY 2008 Xeon 8 Core/10GB RAM/4TB Seagates
Asus G51JX i7-720QM. 8GB Kingston Ram. HM55 Chipset
Asus Gamers Notebook G74SX-XT1 i7-2630QM. 16GB Samsung. HM65 Chipset
Dell Laptops D820, D830, XPS M1530
Azimutz
post Aug 7 2010, 05:43 PM
Post #67
osxfr33k,

the stuff at forge.voodooprojects is the most up to date, specially the trunk wink.gif
Mojo been committing everything there.
Cyberdog!
post Sep 7 2010, 08:48 PM
Post #68
Hello everybody,

I've try your work.
Very good work

With my first Hackintosh GA-EP45-DS3L + E1400@2Ghz
- temp IDLE from 50°C to 29°C, very good.

but with my second Hackintosh GA-P35-DS3P + E2180@2Ghz
- nothing better 50°C in idle.

Someone can help me for cleanup my DSDT because i've try myself and make KP.

Thank you for this version of chameleon.

Laurent

This post has been edited by Cyberdog!: Sep 8 2010, 10:18 AM
Mhackintosh 10.7.3 :
GA-H55M-S2 + Kingston Value RAM 2X2GB + 2xDiamondMax 23 SATA 500 Go + PALIT 8800GT -1024MB + Chimera 1.9.1 + DSDT.Aml - GMCR2
dino42
post Sep 14 2010, 12:32 AM
Post #69
Hello,

and again i have to say, thats a great osx86 tool.
anway i have folowing suggestion:

would it be possible to merge this with netkas pcefi boot.
the reason is that pcefi has so great gfx recognition. I use a 9800gt, a 8600gts and a hd4670 just with vanilla kexts, no dsdt editing no efi strings. I sure use chameleon as bootloader, but as said with pcefi boot file.
with this release all my gfx are set into standard mode 1024x, so that I would have to add efi strings for the nvidia cards, and edit dsdt for the ati. with pcefi, all cards work native. so what about supporting most gfx?
the situation i as you have to choose between two great looking gils, but you would rather have them both wink.gif
to get serious again. maybe its good to have different dev branches, as new ideas can be adopted faster, on the other hand i feel as in this case, already existing functionality get lost.

This post has been edited by dino42: Sep 14 2010, 06:36 AM
oldnapalm
post Sep 14 2010, 02:58 AM
Post #70
Hi Mojodojo,

congratulations for the great work on Chameleon.

I have a suggestion: what about a new version of your VoodooMonitor app that gets from ioreg the P-states generated by Chameleon, and gets status info from FakeSMC, instead of using its own kext?

Thanks for your great contribution to the scene.
jadran
post Sep 19 2010, 01:19 AM
Post #71
Hi to all!
today I was fidling around with ssdt.

And this is mine test:

All major DSDT patches are added throught SSDT tables.
After making SSDT I have done BIOS update to see what will happen.
All went well and I got new DSDT, but I did not lost mine functions and modifications added over ssdt.

List of SSDT added:
SSDT.dsl - USB/EHCI
SSDT-1.dsl - HDEF/SMBUS
SSDT-2.dsl - Ethernet/Firewire/Airport
SSDT-3.dsl - C-states
SSDT-4.dsl - P-states

P-states are for Xeon X3440
Even I think that other devices can be added like TMR RTC and PIC for fixing IRQ confilicts.

Attached File  Custom_GD65_SSDT.zip ( 4.64K ) Number of downloads: 34
fritz122
post Sep 19 2010, 04:38 PM
Post #72
QUOTE (jadran @ Sep 19 2010, 03:19 AM) *
Hi to all!
today I was fidling around with ssdt.

And this is mine test:

All major DSDT patches are added throught SSDT tables.
After making SSDT I have done BIOS update to see what will happen.
All went well and I got new DSDT, but I did not lost mine functions and modifications added over ssdt.

List of SSDT added:
SSDT.dsl - USB/EHCI
SSDT-1.dsl - HDEF/SMBUS
SSDT-2.dsl - Ethernet/Firewire/Airport
SSDT-3.dsl - C-states
SSDT-4.dsl - P-states

P-states are for Xeon X3440
Even I think that other devices can be added like TMR RTC and PIC for fixing IRQ confilicts.

Attached File  Custom_GD65_SSDT.zip ( 4.64K ) Number of downloads: 34


Hello jadran.. what mus i change for my Intel Prozesor i5-650 ?
I hva not to time a DSDT run. I hav load the new Chameleon RC5-518.
I will test with Speedstep with this prozesor and my MSI-P55-GD65
Motherboard.
DSDT is for me new, hav ever without this running my System 10.6.4 (64Bit).
Maby you hav Tipps for me, we i begin this DSTD Patch with combination
the Chameleon RC5-518 Version.

Greetings from Germany Pinarek
My Hack-Mac
Board: MSI-P55-GD65; CPU: Intel i5-650; Chipset: Intel i5-Series; Memory: DDR3 Corsair 1600 2x2GB; Grafic: nVidia GT9500 (1GB) PCIe
Mojodojo
post Sep 21 2010, 12:19 PM
Post #73
QUOTE (jadran @ Sep 19 2010, 03:19 AM) *
Hi to all!
today I was fidling around with ssdt.

And this is mine test:

All major DSDT patches are added throught SSDT tables.
After making SSDT I have done BIOS update to see what will happen.
All went well and I got new DSDT, but I did not lost mine functions and modifications added over ssdt.

List of SSDT added:
SSDT.dsl - USB/EHCI
SSDT-1.dsl - HDEF/SMBUS
SSDT-2.dsl - Ethernet/Firewire/Airport
SSDT-3.dsl - C-states
SSDT-4.dsl - P-states

P-states are for Xeon X3440
Even I think that other devices can be added like TMR RTC and PIC for fixing IRQ confilicts.

Attached File  Custom_GD65_SSDT.zip ( 4.64K ) Number of downloads: 34


Wow! What I see? You override DSDT devices via SSDT! Need more investigation for this. Interesting trick.
Mojodojo
post Sep 21 2010, 02:28 PM
Post #74
QUOTE (oldnapalm @ Sep 14 2010, 04:58 AM) *
Hi Mojodojo,

congratulations for the great work on Chameleon.

I have a suggestion: what about a new version of your VoodooMonitor app that gets from ioreg the P-states generated by Chameleon, and gets status info from FakeSMC, instead of using its own kext?

Thanks for your great contribution to the scene.


Where is no longer VID values in P-States for newest Core ix cpus. I've stopped voodoomonitor development and I am afraid I'll not start it again unsure.gif
jadran
post Sep 21 2010, 03:59 PM
Post #75
QUOTE (Mojodojo @ Sep 21 2010, 01:19 PM) *
Wow! What I see? You override DSDT devices via SSDT! Need more investigation for this. Interesting trick.


Only thing I did change in mine new DSDT is name of processors from P001 to CPU0 and so on... because mine ssdt with PStates are named CPU0. Even I think that is just cosmetics for IOReg.

One thing i tested your PstateGeneration on mine Xeon X3440 and it gives me instant reboot - used latest trunk from forge.voodoo
Mojodojo
post Sep 21 2010, 04:11 PM
Post #76
QUOTE (jadran @ Sep 21 2010, 05:59 PM) *
Only thing I did change in mine new DSDT is name of processors from P001 to CPU0 and so on... because mine ssdt with PStates are named CPU0. Even I think that is just cosmetics for IOReg.

One thing i tested your PstateGeneration on mine Xeon X3440 and it gives me instant reboot - used latest trunk from forge.voodoo


of course, your Xeon is core i7 i think (socket 1156) - where is no support for it for now. But you always could extract you P-States from native SSDTs of your motherboard (i didn't heard yet about 1156 mobo that can't generate beautiful P-States in SSDT).

But you're understand what does it mean, the feature you've discovered? DSDT is needless and we can patch it without difficult editing process. We could prepare generic patches for different mobos and devices and use it by a easier way: not so difficult like to patch DSDT itself.

This post has been edited by Mojodojo: Sep 21 2010, 04:20 PM
jadran
post Sep 21 2010, 04:40 PM
Post #77
QUOTE (Mojodojo @ Sep 21 2010, 05:11 PM) *
of course, your Xeon is core i7 i think (socket 1156) - where is no support for it for now. But you always could extract you P-States from native SSDTs of your motherboard (i didn't heard yet about 1156 mobo that can't generate beautiful P-States in SSDT).

That was for chameleon test, speedstep works even without SSDT with Pstates on these boards.

QUOTE
But you're understand what does it mean, the feature you've discovered? DSDT is needless and we can patch it without difficult editing process. We could prepare generic patches for different mobos and devices and use it by a easier way: not so difficult like to patch DSDT itself.


Yes, I understand... I am not new in DSDT stuff... and the reason for finding it is because there was no AZAL/HDEF in mine MSI board, and in similar manner are added SSDT stuff in imac11,1
Mojodojo
post Sep 21 2010, 04:53 PM
Post #78
QUOTE (jadran @ Sep 21 2010, 06:40 PM) *
Yes, I understand... I am not new in DSDT stuff... and the reason for finding it is because there was no AZAL/HDEF in mine MSI board, and in similar manner are added SSDT stuff in imac11,1


So, for Mac OS X SSDT has higher priority than DSDT for device declaration. Thats why SSDT device overriding works.
jadran
post Sep 21 2010, 05:07 PM
Post #79
QUOTE (Mojodojo @ Sep 21 2010, 05:53 PM) *
So, for Mac OS X SSDT has higher priority than DSDT for device declaration. Thats why SSDT device overriding works.


Yes, have a look at this ssdt from imac, and everything will clear for you.
Attached File  ssdt_override.zip ( 9.79K ) Number of downloads: 23


One thing, when U put DTGP method in ssdt it will be compiled and functional in OSX, but once U decompile that same SSDT, DTGP will be modified. Look at mine SSDT from previous post.
kDawg
post Sep 21 2010, 06:03 PM
Post #80
QUOTE (Mojodojo @ Sep 21 2010, 12:53 PM) *
So, for Mac OS X SSDT has higher priority than DSDT for device declaration. Thats why SSDT device overriding works.

What would be the benefit to using a bunch SSDTs as opposed one DSDT? Organization? From a development standpoint I guess it would be easier to manage with several smaller SSDT patches rather than one large DSDT. Is this what you're suggesting?

5 Pages V  « < 2 3 4 5 >
Add Reply Start a new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: