Jump to content

[GUIDE]: The MacBookPro18 Project


valv
 Share

499 posts in this topic

Recommended Posts

Since 9600M GT has a built-in audio chip, I just wonder if we can also apply this hack. Would you mind looking at this?

Dear JBraddock,

First off, I 'd like to thank u for the great donation I 've received from u. :)

regarding, HDMI, I did not tried it yet (but am pretty sure we 'd need the HDAU hack inside of the DSDT video section. I 'll give it a look asap). But external monitor, as dual display is working 100%ly for me, with nothing more than this hack. Rotation is there, but Hertz cannot be changed.

Greetz

Link to comment
Share on other sites

Dear JBraddock,

First off, I 'd like to thank u for the great donation I 've received from u. :)

regarding, HDMI, I did not tried it yet (but am pretty sure we 'd need the HDAU hack inside of the DSDT video section. I 'll give it a look asap). But external monitor, as dual display is working 100%ly for me, with nothing more than this hack. Rotation is there, but Hertz cannot be changed.

Greetz

 

 

You're welcome. I hope it may help you compensate the time that you are spending for us.

 

Regarding the GPU, can you please look at the following screenshots and confirm that you have the same outputs. I don't see rotation or Hertz.

 

post-562417-1278951503_thumb.jpg

 

post-562417-1278951490_thumb.jpg

 

 

Edit: I removed the graphics enabler key from my boot.plist and now I have rotation. Does everything seem fine?

 

post-562417-1278952994_thumb.jpg

 

post-562417-1278952976_thumb.jpg

 

Built-in part is missing in the second one but I don't thing it really matters. Valv, how come you have that key alongside the DSDT fix and still have rotation?

Link to comment
Share on other sites

Valv, how come you have that key alongside the DSDT fix and still have rotation?
In fact, it seems like the boot.plist I 'v been posting earlier is becoming old and doesn't match the one am using anymore. sorry for confusing u. btw, everything else seems to be ok..for now. let's see how id 'd look for the other guyz.
Link to comment
Share on other sites

In fact, it seems like the boot.plist I 'v been posting earlier is becoming old and doesn't match the one am using anymore. sorry for confusing u. btw, everything else seems to be ok..for now. let's see how id 'd look for the other guyz.

The most important thing for me is to be able to use dual display, which I am planning to use later this year. Now, I am just looking for an affordable and yet beautiful monitor. This hack also eliminated the suspicion that the display may be the cause of me getting black screen after wake up. (When sleep mod is set to 3).

 

About hack of nVidia GeForce 9600M GT,

 

I have a GeForce GT 130M 1024MB. My hack should be different, isn't it?

You need to change Nvcap and other values according to your GPU. But I think you can use that code as a reference.

 

I just want to report something else. My sleep mode is to 0, which is the "Sleep Only" mode and it seems to me that after wake up from sleep, (after a while) my HDX gets hotter and fans spins more often (Sometimes constantly). I can't really say that it happens only if I put the machine into sleep and then wake it up but it is more obvious after wake up. I suspect that after wake up, my GPU starts to work in full speed. Is there a way to measure it?

If I restart the machine it seems to be disappeared. Btw, this is not related to the DSDT hack for GPU, it was the case before.

 

May be it just a side effect of the fact that I haven't implemented speed step yet. I don't know but there it is.

Can anyone else confirm this?

Link to comment
Share on other sites

This hack also eliminated the suspicion that the display may be the cause of me getting black screen after wake up. (When sleep mod is set to 3).
Are u now having full resume from sleep/hibernate?
May be it just a side effect of the fact that I haven't implemented speed step yet. I don't know but there it is.

Can anyone else confirm this?

Even tough speed-step is implemented on one machine, the GPU is used at its highest freq. Thus, all is needed to lower the GPU use is a legacy AGPM kext. I 'd post one for u. But the fan spin issue is not related to GPU. Once u get speed-step correctly implemented, it 'll be fixed.
Link to comment
Share on other sites

Are u now having full resume from sleep/hibernate?

Even tough speed-step is implemented on one machine, the GPU is used at its highest freq. Thus, all is needed to lower the GPU use is a legacy AGPM kext. I 'd post one for u. But the fan spin issue is not related to GPU. Once u get speed-step correctly implemented, it 'll be fixed.

 

If I set sleep mode to 0 (Sleep Only), I can wake up the machine. But it doesn't wake up if I set sleep mode to 3. It only allows me to resume from hibernate after a force restart.

When sleep mode being set to 3, after pressing power button, the keyboard all gets lightened up and I got a black screen. I'll try to remove ApplePS2controller, installed to S/L/E, and try without it. I saw HP Mini users having the same problem.

 

By the way, after waking up, I got these messages in Console.

 

Jul 15 13:35:00 SnowKittys-MacBook-Pro kernel[0]: Previous Sleep Cause: 0
Jul 15 13:35:00 SnowKittys-MacBook-Pro kernel[0]: USB (EHCI):Port 3 on bus 0xfd connected or disconnected: portSC(0x101803)
Jul 15 13:35:00 SnowKittys-MacBook-Pro kernel[0]: USB (EHCI):Port 4 on bus 0xfd connected or disconnected: portSC(0x301803)
Jul 15 13:35:00 SnowKittys-MacBook-Pro kernel[0]: USB (EHCI):Port 6 on bus 0xfd connected or disconnected: portSC(0x101803)
Jul 15 13:35:00 SnowKittys-MacBook-Pro kernel[0]: USB (EHCI):Port 8 on bus 0xfd connected or disconnected: portSC(0x301803)
Jul 15 13:35:00 SnowKittys-MacBook-Pro kernel[0]: An Unknown USB Device (Port 3 of Hub at 0xfd000000), may have caused a wake by being connected
Jul 15 13:35:00 SnowKittys-MacBook-Pro kernel[0]: The USB device HP Webcam (Port 4 of Hub at 0xfd000000) may have caused a wake by being disconnected
Jul 15 13:35:00 SnowKittys-MacBook-Pro kernel[0]: vmnet: bridge-en0: interface en is coming UP
Jul 15 13:35:00 SnowKittys-MacBook-Pro kernel[0]: An Unknown USB Device (Port 6 of Hub at 0xfd000000), 
may have caused a wake by being connected
Jul 15 13:35:00 SnowKittys-MacBook-Pro kernel[0]: The USB device A309 (Port 8 of Hub at 0xfd000000) 
may have caused a wake by being disconnected
Jul 15 13:35:00 SnowKittys-MacBook-Pro kernel[0]: The USB device IOUSBVendorSpecificDevice (Port 1 of Hub at 0x3d000000) 
may have caused a wake by being disconnected
Jul 15 13:35:00 SnowKittys-MacBook-Pro kernel[0]: The USB device HP Integrated Module (Port 2 of Hub at 0x5d000000) 
may have caused a wake by being disconnected
Jul 15 13:35:00 SnowKittys-MacBook-Pro kernel[0]: E:[AppleUSBBluetoothHCIController][interruptReadHandler] 
Received kIOReturnAborted with 1 pending interrupts
Jul 15 13:35:01 SnowKittys-MacBook-Pro kernel[0]: Sound assertion "0 != result" failed in 
"/SourceCache/AppleHDA/AppleHDA-187.4.1/AppleHDA/AppleHDAWidget.cpp" 
at line 3800 goto handler
Jul 15 13:35:01 SnowKittys-MacBook-Pro kernel[0]: Sound assertion "0 != widget->setUnsolicited ( true )" failed in "/SourceCache/AppleHDA/AppleHDA-
187.4.1/AppleHDA/AppleHDACodecGeneric.cpp" at line 1130 goto handler

 

Unknown USB Device: This is Fingerprint Reader.

HP Webcam: I used your legacykext file and although it is seen as a Built-in ISight it is still reported as HP Webcam in Console. It is only for cosmetic I guess.

HP Integrated Module: This is bluetooth.

A309: This is the Aver Media Tv turner.

 

Web cam and tv turner are on the same usb bus, which is the EHCI1. Do you have these warning messages and do you see any serious warning that may cause my sleep broken as described above.

 

Regarding the speed step and GPU kext, I'd appreciate if you could do so.

Link to comment
Share on other sites

If I set sleep mode to 0 (Sleep Only), I can wake up the machine. But it doesn't wake up if I set sleep mode to 3. It only allows me to resume from hibernate after a force restart.
same behavior here. Not sure, but I think this is the way it works.
Regarding the speed step and GPU kext, I'd appreciate if you could do so.
First off, to measure the clock speed, u can get nvclock for OSX from here. Look at your initial freqs before using the kext below. Then, after replacing the legacyHDX kext, re-measure those values to see if it throttles.

LegacyHdx18.zip

Link to comment
Share on other sites

same behavior here. Not sure, but I think this is the way it works.

First off, to measure the clock speed, u can get nvclock for OSX from here. Look at your initial freqs before using the kext below. Then, after replacing the legacyHDX kext, re-measure those values to see if it throttles.

LegacyHdx18.zip

 

I measured it before and after and noticed that the result is the same (Temperature is changing of course). Strangely enough, my GPU clock seems to stuck at 182.248 MHz. I even try after running an Open GL test. Here is the result. There is only a 3 points drop in Open GL 2.0 after installing the kext. If you confirm that the result seems correct then we can assume that there is something wrong with the Nvclock. Because I don't think my GPU can get this result with this speed.

 

post-562417-1279196362_thumb.jpg

 

-- General info --
Card: 		nVidia Geforce 9600M GT
Architecture: 	G96 A1
PCI id: 	0x649
GPU clock: 	182.248 MHz
Bustype: 	PCI-Express

-- Shader info --
Clock: 648.000 MHz
Stream units: 32 (1b)
ROP units: 8 (
-- Memory info --
Amount: 	512 MB
Type: 		128 bit DDR2
Clock: 		999.000 MHz

-- PCI-Express info --
Current Rate: 	16X
Maximum rate: 	16X

-- Smartdimmer info --
Backlight level: 0%

-- Sensor info --
Sensor: GPU Internal Sensor
GPU temperature: 65C

-- VideoBios information --
Version: 62.94.2d.00.07
Signon message: G96 E566 NB9P-GS VGA BIOS
Performance level 0: gpu 275MHz/shader 550MHz/memory 250MHz/0.89V/100%
Performance level 1: gpu 400MHz/shader 800MHz/memory 400MHz/0.89V/100%
Performance level 2: gpu 500MHz/shader 1250MHz/memory 400MHz/1.05V/100%
VID mask: 3
Voltage level 0: 0.89V, VID: 1
Voltage level 1: 1.05V, VID: 0

 

Also, your LegacyKext includes P-States enabler for MacbookPro5,4 and I checked the IORegistryExplorer and noticed that I don't have CPUPLimit showing up.

 

post-562417-1279197589_thumb.jpg

 

Sadly, my computer has lost the stability as I can't open Itunes, System Profiler, play music etc. When I open Photoshop, most of the time it got frozen. However, I can confirm that although P-States aren't working, my machine stays relatively cooler. I know this because if I removed VoodooPower I could easily see 60+ in a normal use. Now, it seems less apparent.

 

@Valv, my machine has a P8400 and I believe I should mimic MacBookPro5,5, which has the same CPU. Finally, some say we shouldn't use real mac name especially after 10.6.2 update but create our own fake model and use the power management info of a real mac model which is the closest to ours. What do you think?

 

Edit 1: If it matters; I don't have those oemSSDT key in my boot.plist.

Edit 2: I may have misread the GPU value. GPU doesn't throttle. I guess 182.248 is the correct value.

Link to comment
Share on other sites

Also, your LegacyKext includes P-States enabler for MacbookPro5,4 and I checked the IORegistryExplorer and noticed that I don't have CPUPLimit showing up.
Did u try changing your model to the same one am using?
Link to comment
Share on other sites

Did u try changing your model to the same one am using?

 

Yes, I am using MacBookPro5.4.

 

By the way, it may not be related but isn't CStateDemotionDict for C States? I don't have a SSDT table under Extra folder therefore the bootloader can't load that table. Shouldn't we create SSDT table and drop oemSSDT tables before using this particular key. May be this is the one creating the instability.

 

Also i remember comparing your StepDataDic>SP1 with the original MacBookPro5.4's and that long key was different. Did you change it according to your CPU?

Link to comment
Share on other sites

Oh Gosh.

 

I can't believe I set my Mac model as MacbookPro5.4 :) It should be MacBookPro5,4. I corrected the model name and now the kext is working as it is supposed to.

 

Here is the NvClock report. Now, my GPU values are correct but GPU clock is stuck at 432.000 and my memory doesn't go up from 399.600 MHz. I even tried with Open Gl running.

 

-- General info --
Card: 		nVidia Geforce 9600M GT
Architecture: 	G96 A1
PCI id: 	0x649
GPU clock: 	432.000 MHz
Bustype: 	PCI-Express

-- Shader info --
Clock: 1296.000 MHz
Stream units: 32 (1b)
ROP units: 8 (
-- Memory info --
Amount: 	512 MB
Type: 		128 bit DDR2
Clock: 		399.600 MHz

-- PCI-Express info --
Current Rate: 	16X
Maximum rate: 	16X

-- Smartdimmer info --
Backlight level: 0%

-- Sensor info --
Sensor: GPU Internal Sensor
GPU temperature: 63C

-- VideoBios information --
Version: 62.94.2d.00.07
Signon message: G96 E566 NB9P-GS VGA BIOS
Performance level 0: gpu 275MHz/shader 550MHz/memory 250MHz/0.89V/100%
Performance level 1: gpu 400MHz/shader 800MHz/memory 400MHz/0.89V/100%
Performance level 2: gpu 500MHz/shader 1250MHz/memory 400MHz/1.05V/100%
VID mask: 3
Voltage level 0: 0.89V, VID: 1
Voltage level 1: 1.05V, VID: 0

 

My Open GL result is dropped noticeably.

post-562417-1279207469_thumb.jpg

 

This is the P-State info. Valv, did you change P States values according to my CPU? Do I need to do anything?

 

post-562417-1279206356_thumb.jpg

 

It seems to load P States but Coolbook doesn't show those values.

Edit: I uninstalled the Coolbook and installed again. Here is the output.

 

post-562417-1279207236_thumb.jpg

Link to comment
Share on other sites

Here is the NvClock report. Now, my GPU values are correct but GPU clock is stuck at 432.000 and my memory doesn't go up from 399.600 MHz. I even tried with Open Gl running.
Actually, when u use the nvclock command, it does show u the infos of the moment it is launched. To see if it throttles, u may run it multiple times (at a 1 or 2 seconds freq.).
Link to comment
Share on other sites

Actually, when u use the nvclock command, it does show u the infos of the moment it is launched. To see if it throttles, u may run it multiple times (at a 1 or 2 seconds freq.).

I tried that for many times. Same results. I never witnessed another value. It is working for sure as my Open GL score dropped :blink:

By the way, I lost "Start up after power failure" option under Energy Savings, which is, as you know, is essential for sleep. Couldn't it be because of C States?

Link to comment
Share on other sites

as you know, is essential for sleep. Couldn't it be because of C States?
Not really (not for all models). I have sleep working without any exotic kexts. Even though

post-498884-1279208984_thumb.png

Link to comment
Share on other sites

If you say so then no problem.

 

I checked VoodooMonitor and it shows 9 P States while Coolbook shows 4. Now, can we tell that the CPU throttles between these states?

Once we implement C-States, everything will be completed regarding the speed step, right?

Link to comment
Share on other sites

Once we implement C-States, everything will be completed regarding the speed step, right?
Not really. u are going to take the other way: Vanilla (V for valv) :(

Take a look at ab__73's post over here and u will understand everything :)

Link to comment
Share on other sites

Not really. u are going to take the other way: Vanilla (V for valv) :(

Take a look at ab__73's post over here and u will understand everything :)

I could have died for laughter when I read (V for valv) :(

That's what I meant actually. I dumped the tables you said so when you have enough time and explain how to merge these tables into one SSDT table , I'am good to go.

Link to comment
Share on other sites

This comes out of the blue but here is the Chameleon theme that I am using right now. It looks like vanilla one I guess. I don't remember where I got this and as far as I am concerned I only changed the Apple logo with a new one. It is modified for 1920*1080. Make sure you have the following keys in your boot.plist.

 

 
<key>Theme</key>
<string>SnowKitty</string>
<key>Legacy Logo</key>
<string>no</string>
<key>Boot Graphics</key>
<string>Yes</string>

 

SnowKitty.zip

Link to comment
Share on other sites

Make sure you have the following keys in your boot.plist.

 

 
<key>Theme</key>
<string>SnowKitty</string>
<key>Legacy Logo</key>
<string>no</string>
<key>Boot Graphics</key>
<string>Yes</string>

Now that's a valorous contribution. Thank u dear.

Do u know with which other resolutions it 'd work? Maybe we can make it the default AnVAL's theme (if u agree).

btw, I only edited the theme key and it still works.

Link to comment
Share on other sites

Now that's a valorous contribution. Thank u dear.

Do u know with which other resolutions it 'd work? Maybe we can make it the default AnVAL's theme (if u agree).

btw, I only edited the theme key and it still works.

That would be wonderful. If you check the theme.plist you can see that it is adjusted for 1920*1080. Have you tried changing these values?

It may work as the theme doesn't use images but background colour.

Link to comment
Share on other sites

I would like to share my keyboard and trackpad solutions alongside with a Trackpad Preference. Trackpad is working with the trackpad preference extracted from 10.5.6. It only missing horizontal and vertical scrolling but double clicking, tab to drag etc. is working.

 

Download this file.

 

http://www.mediafire.com/file/pfcfbdq8cfug...rd_Trackpad.zip

 

1) Copy AppleACPIPS2Nub.kext and ApplePS2Controller.kext to System/Library/Extension. I haven't tried if these kexts can be loaded from Extra folder. These are for Snow Leopard 32/64 Bit.

2) Copy Trackpad.prefPane to /System/Library/PreferencePanes. Backup the original first.

3) Repair permission and restart.

4) Go to System Preferences and click Trackpad. Check the Clicking and Dragging.

post-562417-1279377686_thumb.jpg

 

Enjoy it.

Link to comment
Share on other sites

t only missing horizontal and vertical scrolling but double clicking, tab to drag etc. is working.
Thank JBraddock for this share. U could take a look at the one from first post, it has it all, vertical/horizontal scrolling also. nothing more needed. And it can also be loaded from /Extra.

post-498884-1279379893_thumb.png

Link to comment
Share on other sites

I'll give it a try. Do I need to delete Trackpad.prefPane that I am using right now?
dunno :)
Link to comment
Share on other sites

 Share

×
×
  • Create New...