Jump to content

Chameleon RC5 mode with mem detection enabled and automatic P-States & C-States generation for native power managment


kozlek
 Share

1,214 posts in this topic

Recommended Posts

My hack is working absolutely fine thanks to all. But I notice a little bug when a start windows 7 with Chameleon 2 RC5 rev. 629 . Suspend mode stop working in windows.

 

My windows 7 install is in my second hard drive and when I hit f8 in boot screen and choose to boot directly from It windows 7 suspend mode just works fine.

 

 

Hope anyone can help with It.

 

System specs in my signature

 

Thanks,

PiSToL

Link to comment
Share on other sites

No need, just use one of the kexts that does the same thing.

 

One is named LegacyRTC or something.

 

Alternatively, you could manually specify the appropriate DSDT to load at boot, depending on which system you're booting.

I don't remember what the syntax is though. Probably something like DSDT=system1.aml

Link to comment
Share on other sites

I have installed the new boot loader on my AMD machine, but now I can't boot :-(

I think it must be a solution to fix this :-)

 

Or is the only way to fix this to make a new installation of the OS ?

 

I have attached a photo what's going on when booting, after "press any key to continue...." it's just reboots :-(

 

Help

 

EDIT

 

I have try to boot with -x , but with no luck

 

EDIT 2

 

I have made a new installation of the OS, it's looks like this boot loader don't like AMD

 

 

//Peter

 

 

got the same issue, im on AMD too, can anyone explain how to make this work on AMD, please

Link to comment
Share on other sites

Has the ATI 5XXX code been added to any branch of chameleon yet?

 

It has but for my HD 5770 the default framebuffer is Motmot and with this I get no HDMI audio and all ports are mirrored.

 

AtiFb=XXXXXXXX does not seem to be working as boot flag so I've had to edit ati.c changing framebuffer for 0x100268B8 from Motmot to Vervet.

 

D

Link to comment
Share on other sites

It has but for my HD 5770 the default framebuffer is Motmot and with this I get no HDMI audio and all ports are mirrored.

 

AtiFb=XXXXXXXX does not seem to be working as boot flag so I've had to edit ati.c changing framebuffer for 0x100268B8 from Motmot to Vervet.

 

D

 

 

Are we talking about Kabyl or mozodojo boot file? :wub:

Link to comment
Share on other sites

argh :/ rev 631 compiled; P-States seems proper than before. Unfortunately my XFX5870 freeze the boot sequence (the fan spins like hell).

 

search your GPU device id in ati.c (in format 0x1002xxxx) and check a.) its there (I think it is but at work now so cant check.) b.) which famebuffer is set.

 

If you know which FB works for you then you can change it accordingly.

 

Would be really nice to be able to set the framebuffer with a boot flag :)

 

D

Link to comment
Share on other sites

My card works with Uakari Fb mate, i just wonder if Kabyl's branch is merged. I guess no though. You tried UseAtiROM btw?

 

I could be wrong but I think it is Kabyls branch only the default framebuffers are different and AtiFb flag isn't implimented.

 

I'm sure one of the chameleon team can answer fo' sho'.

 

Not tried Use ATi rom as it is reading from VBIOS just fine!

 

D

Link to comment
Share on other sites

Chameleon dev's - can I ask about HDACodec= (commit 610 and 611).

Is this working and if so for which codecs?

 

Edit - Sorry just used my eyes! "Currently disabled untill I add a way for either detection of a codec"

 

Cheers

D

Link to comment
Share on other sites

It has but for my HD 5770 the default framebuffer is Motmot and with this I get no HDMI audio and all ports are mirrored.

 

AtiFb=XXXXXXXX does not seem to be working as boot flag so I've had to edit ati.c changing framebuffer for 0x100268B8 from Motmot to Vervet.

 

D

 

 

Howdy,

 

 

Alright, same here 10026898 is Motmot by default, i am currently changing it to Uakari (finger crossed).

 

EDIT: unsuccessful with VBIOS reading :P

EDIT2: success with ROM reading in E/E (not the best method but the HD is running at least)

Link to comment
Share on other sites

Hi,

 

Im almost running my HP8710W laptop without any problems except one annoying thing.

 

My FSB isn't correctly notices by the bootloader.

 

The FSB is recognized as 183Mhz instead of the supposed 200Mhz.

Tried the AnV bootloader too, multiplier is incorect but the FSB is fine at 200Mhz. Problem with cracky audio appears with this bootloader.

 

See the output van the new Chameleon RC5 boot process:

 

Hope you can help me or have some good tips Thx.

 

Does it have something to do with the Dynamic Acceleration feature of the T7700 ?

 

Last login: Mon Nov 15 15:27:33 on console
/Extra/Util/bdmesg; exit;
Han-van-Vilsterens-MacBook-Pro:~ hanvanvilsteren$ /Extra/Util/bdmesg; exit;
msr(221): ia32_perf_stat 0x06000d2f
max: 13 current: 13
CPU: Vendor/Model/ExtModel: 0x756e6547/0xf/0x0
CPU: Family/ExtFamily:	  0x6/0x0
CPU: MaxCoef/CurrCoef:	  0xd/0xd
CPU: MaxDiv/CurrDiv:		0x0/0x0
CPU: TSCFreq:			   2394MHz
CPU: FSBFreq:			   184MHz
CPU: CPUFreq:			   2394MHz
CPU: NoCores/NoThreads:	 2/2
CPU: Features:			  0x0000034f
Attempting to read GPT
Read GPT
Reading GPT partition 1, type C12A7328-F81F-11D2-BA4B-00A0C93EC93B
Reading GPT partition 2, type 48465300-0000-11AA-AA11-00306543ECAC
Read HFS+ file: [hd(0,2)/Extra/com.apple.Boot.plist] 861 bytes.
Read HFS+ file: [hd(0,2)/Extra/com.apple.Boot.plist] 861 bytes.
Setting boot-uuid to: 212E91DB-91A6-349C-8D9F-B48D53689A11
Read HFS+ file: [hd(0,2)/System/Library/CoreServices/SystemVersion.plist] 479 bytes.
Hibernate image is too old by 106753 seconds. Use ForceWake=y to override
Loading Darwin 10.6
Loading kernel mach_kernel
Read HFS+ file: [hd(0,2)/mach_kernel] 4096 bytes.
Read HFS+ file: [hd(0,2)/mach_kernel] 5579907 bytes.
LoadDrivers: Loading from [/Extra/Extensions.mkext]
Read HFS+ file: [hd(0,2)/Extra/Extensions.mkext] 4096 bytes.
Read HFS+ file: [hd(0,2)/Extra/Extensions.mkext] 206582 bytes.
LoadDrivers: Loading from [/System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext]
Read HFS+ file: [hd(0,2)/System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext] 4096 bytes.
Read HFS+ file: [hd(0,2)/System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext] 4189983 bytes.
Using PCI-Root-UID value: 1
nVidia Quadro FX 1600M 512MB NV84 [10de:040d] :: PciRoot(0x1)/Pci(0x1,0x0)/Pci(0x0,0x0)
LAN Controller [8086:1049] :: PciRoot(0x1)/Pci(0x19,0x0)
Setting up lan keys
No SMBIOS replacement found.
Intel GM965/GL960 DRAM Controller [8086:2a00] at 00:00.0
Frequency detected: 306 MHz (613) Dual Channel 
CAS:5 tRC:5 tRP:5 RAS:15 (5-5-5-15)
Slot: 0 Type 19 2048MB (DDR2 SDRAM) 613MHz Vendor=Nanya Technology
  PartNo=NT2GT64U8HD0BN-3C SerialNo=44EB4813
Slot: 2 Type 19 2048MB (DDR2 SDRAM) 613MHz Vendor=Nanya Technology
  PartNo=M2N2G64TU8HD5B-3C SerialNo=46761856
CPU is Intel(R) Core(TM)2 Duo CPU	 T7700  @ 2.40GHz, family 0x6, model 0xf
Patched DMI Table
Found SMBIOS System Information Table 1
Customizing SystemID with : 0a1b6a4e-2dab-dd11-2c94-669910485d29
ACPI table not found: DSDT.aml
ACPI table not found: SSDT.aml
FADT: Restart Fix applied!
Invalid character found in ProcessorOP 0x5c!
Invalid character found in ProcessorOP 0x5c!
ACPI CPUs not found: P-States not generated !!!
FADT: Restart Fix applied!
Invalid character found in ProcessorOP 0x5c!
Invalid character found in ProcessorOP 0x5c!
ACPI CPUs not found: P-States not generated !!!
Starting Darwin x86_64
UHCI controller [8086:2834] at 00:1a.0 base 283(5061)
UHCI controller [8086:2835] at 00:1a.1 base 284(5081)
UHCI controller [8086:2830] at 00:1d.0 base 285(50a1)
UHCI controller [8086:2831] at 00:1d.1 base 286(50c1)
UHCI controller [8086:2832] at 00:1d.2 base 287(50e1)

Link to comment
Share on other sites

:D

 

This site never ceases to amaze me. Just want to shout out some huge thanks to the geniuses on this thread - I just checked out the latest chameleon trunk, built it, plugged it in, and enabled P and C state generation (and dropped SSDT). Everything works flawlessly - including

  • native power management
  • NATIVE sleep - got rid of sleepenabler at long last
  • cpu detection (mine is a core 2 duo)
  • memory detection

 

I was even able to get things running optimally by picking the correct macbook pro model that had my CPU back in 2007 in smbios.plist - as soon as I stepped down from a MacBookPro4,1 to a MacBookPro3,1 things started humming. All this by simply reading and doing a little thinking.

 

thanks thanks thanks thanks. :(

Link to comment
Share on other sites

Tried the AnV bootloader too, multiplier is incorect but the FSB is fine at 200Mhz. Problem with cracky audio appears with this bootloader.
u should try latest version (also try to fix the multiplier with appropriate key)

p.s: again this is not AnV boot loader; but I think we know what u meant by this :(

Link to comment
Share on other sites

u should try latest version (also try to fix the multiplier with appropriate key)

p.s: again this is not AnV boot loader; but I think we know what u meant by this :)

 

 

Thanx for replying. I found and used the latest version from 13 july 2010 found at:

 

http://www.darwinx86.net/forum/60-english-...55-introduction

 

This version detects the FSB right. Multiplier is incorrect. Can you confirm the following please ?

 

Is this the latest version ?

 

If Chameleon is installed, is a copy of just boot enough to try all functions of your bootloader ?

 

Do you know if the T7700 is correctly detected by your bootloader because it supports Dynamic Accelaration. This means that one core can run on 1 step higher multiplier while lowering the MP of the other core.

 

What do you mean with "(also try to fix the multiplier with appropriate key)"

 

 

 

 

Thanx for your feedback !

Link to comment
Share on other sites

That's an older version. Try this topic instead.

 

Thx everything is working right now. CPU was detected with one MP setiing too much so I lowered it with MP=12

 

The only thing I have right now is that the OS sounds are cracky (Latest VooDooHDA). Playing music with iTunes is fine. The AudioChip is an Analog Devices AD 1981

 

Any ideas guys ? Sound should be working. It has something to do because an other guy who wrote an installation manual for the HP8710W made a node that a legacy kernel was necessary to correct FSB. See this link:

 

http://www.insanelymac.com/forum/index.php?showtopic=152403

 

Ludens post #13

 

His note:

System is working now, but there is a problem with a stuttering audio.

Problem is in incorrect FSB speed detection by vanilla kernel.

 

Download 10.3.0 Legacy Kernel for INTEL/AMD by qoopz/nawcom

run kernel installer legacy_kernel-10.3.0.pkg

reboot

 

My FSB is detected fine and the MP is corrected. But still have a problem with the audio.

 

Thx for replying.

Link to comment
Share on other sites

 Share

×
×
  • Create New...