Contribute
Register

Nvidia 550Ti Sleep / Wake / Freeze Thread

Status
Not open for further replies.
Totally agree, ML DP3 (and relative framework in the zip inside your previous post) is the only one working perfect with my GTX 550 TI.

Only one think: the right patch for OpenCL for this driver is the following one (that is different from the new one for driver ver 10.8.1 - 10.8.2):

/System/Library/Extensions/GeForceGLDriver.bundle/Contents/MacOS/libclh.dylib - Opened with a hex editor and do a Search for this value:
8B 87 1C 0C 00 00 89 06 8B 87 20 0C 00 00 89 02 (copy/paste)
and replaced it with:
31 C0 FF C0 89 06 FF C0 FF C0 89 02 90 90 90 90 (copy/paste and Replace)

Reboot - OpenCL = working...

Thanks a lot.

Thanks I will test this patch for OpenCL, I check md5 in all kext for the 10.8.2 and 10.8.1 nvidia release and they are the same drivers. I think they just repair the Login loop we are getting, but no change in drivers and with 10.8.1 release drivers from Nvidia I got Sleep/Wake/Resoluion fixed but Random freeze issue still remain. That´s why I use ML DP3 Kext and Frameworks and all works ok and no Random Freeze.

Good Luck
 
Bad news.. got 2 "Channel Timeout" freezes with DP3 already :(
Working in a text editor..
Anyway, it's more stable than new driver.
 
Bad news.. got 2 "Channel Timeout" freezes with DP3 already :(
Working in a text editor..
Anyway, it's more stable than new driver.

Try with different values in your AGPM I attach mine 0 freeze after 4 days of use. Check values for Macbook Pro 8,3 inside kext.

Good Luck
 

Attachments

  • AppleGraphicsPowerManagement.kext.zip
    44.3 KB · Views: 124
Try with different values in your AGPM I attach mine 0 freeze after 4 days of use. Check values for Macbook Pro 8,3 inside kext.

Good Luck

Why don't you try to disable, for the moment, AGPM and see what happen? Change your profile to MacPro3,1 and AGPM should not load anymore.
I use this configuration and my benchmark result are quite good and GPU temperature (via HWMonitor) go up and down, so GPU seems to be well used.
It also seems to me that your AGPM kext contain strange value ... I see threasold value = 190, but in my understanding the max possible value is 100 (%)
Anyway I cannot guaranty that my configuration doesn't have freeze issue, I used it only for some minutes and than shutdown the system. But for sure is much more better than using other NVidia Kext.

Let me know....
 
Thanks to jf_alonso and fc_candido for have fixed issues with nvidia Gt430 and ML 10.8.2: very good work!!!
 
Why don't you try to disable, for the moment, AGPM and see what happen? Change your profile to MacPro3,1 and AGPM should not load anymore.
I use this configuration and my benchmark result are quite good and GPU temperature (via HWMonitor) go up and down, so GPU seems to be well used.
It also seems to me that your AGPM kext contain strange value ... I see threasold value = 190, but in my understanding the max possible value is 100 (%)
Anyway I cannot guaranty that my configuration doesn't have freeze issue, I used it only for some minutes and than shutdown the system. But for sure is much more better than using other NVidia Kext.

Let me know....

Yes you´re right the max possible value in threshold are 100, you can use 100 or 101 or 190 for the kext the important thing is there is an integer value because the binary use it. Our GF 110 114 and 116 based cards has only 3 values for Pstates, but AGPM Kext looks for 4. We need to avoid PStates 3 and 2, Pstate 3 doesn't exist at all and Pstate 2 has some lag with animations, this leave only Pstate 1 and 0. Pstate 1 for all 2D Desktop work and Pstate 0 for 3D Work. That is why those values in threshold for Pstate 3 and 2.
 
Good News everyone

Following vczilla´s way, I installed ML DP3 Nvidia kext and it works!!!!, so no Freeze and Sleep/Wake/resolution Change is working too.

I been using this kext for 2 days and no Freeze or issue to report about.


you need all the nvidia kext, and replace OpenGL and OpenCL Framework, and the GPU.Support Framework in order to work.

I´m on a Full Working 10.8.2 Installation!!!
Goood Luck

Hi! i did what u and vczilla ​said and it works but now i get 1024x768 screen and can't change the resolution please help!
 
This time it's final! (At least I hope).

I don't know where to start. OK, let me make a quick recap for people joining in on the fun. Apple released a 10.8.2 update to OS X which (re-)screws everything in regard to system stability for us fermi owners.

The just released nvidia driver doesn't install out of the box. I provided a somewhat incomplete solution to force it to work earlier in this forum
but for some reason I didn't think of checking that OpenCL worked besides launching OceanWave.
And indeed it soon became apparent that LuxMark didn't work and just rendered a white screen.
As I surmised earlier it was probably because OpenCL.framework had been also updated by the 10.8.2 update and needed a rollback.

For your convenience I'm gonna re-post the entire solution corrected for that problem. Sorry to those who already applied the fix, but read on there's a fix for the fix at the end. The next part is an almost verbatim copy and paste of my previous post save for two added lines to take care of that pesky OpenCL problem. If you already applied the previous fix just skip to the part after the ### mark.

Also I originally didn't notice this but when the 'sudo ditto ...' command is run it prints 'sudo: unable to initialize PAM: No such file or directory'. Don't pay any attention to it, the file was copied just fine.

So the first step of course is to backup everything (by default to your home folder, if you want it somewhere else just replace the tilde sign (~) in the command by a folder of your choosing):

Code:
sudo cp -R /System/Library/{Extensions/{GeForce*,NVDA*},Frameworks/{OpenGL.framework,OpenCL.framework},PrivateFrameworks/GPUSupport.framework} ~

Then you'll have to install nvidia's pkg as usual, DO NOT reboot once it's done.

Next download the zip archive named nvidia_10.8.2.zip attached at the end of the post, unzip it somewhere (it will expand to a folder named nvidia_10.8.2), open a terminal, run these commands (don't forget to replace /folder_where_I_unzipped_the_archive by the name of the folder in which you extracted the archive):

Code:
cd /folder_where_I_unzipped_the_archive/nvidia_10.8.2
sudo rm -r /System/Library/{Frameworks/{OpenGL.framework,OpenCL.framework},PrivateFrameworks/GPUSupport.framework}
sudo ditto --hfsCompression OpenGL.framework /System/Library/Frameworks/OpenGL.framework
sudo ditto --hfsCompression OpenCL.framework /System/Library/Frameworks/OpenCL.framework
sudo ditto --hfsCompression GPUSupport.framework /System/Library/PrivateFrameworks/GPUSupport.framework
sudo chown -R root:wheel /System/Library/{Frameworks/{OpenGL.framework,OpenCL.framework},PrivateFrameworks/GPUSupport.framework}

And that's it. No need to rebuild your kernel cache since the nvidia's installer took care of that.

Now what all this does is reinstall some frameworks (OpenCL.framework, OpenGL.framework and GPUSupport.framework) from the 10.8.1 release because they are a dependency of /System/Library/Extensions/GeForceGLDriver.bundle/Contents/MacOS/GeForceGLDriver which is the OpenGL driver.

If you want some OpenCL goodness, you'll have to apply this patch (for more info about this, read my earlier post on the subject):

Code:
sudo perl -p -i.old -e '$c+=s/\x8b\x81\x1c\x0c\x00\x00\xeb\x06\x8b\x81\x20\x0c\x00\x00/\xb8\x02\x00\x00\x00\x90\xeb\x06\xb8\x00\x00\x00\x00\x90/; END { printf "%s: %d substitution%s made.\n",($c==1 ? "Success" : "Error"),$c,(!$c || $c>1 ? "s" : ""); $?=($c!=1); } ' /System/Library/Extensions/GeForceGLDriver.bundle/Contents/MacOS/libclh.dylib

###
For people who applied the partial fix posted earlier. Download the attachment named opencl_fix.zip at the end of this post.

Then make a backup of your original OpenCL.framework, as earlier this command save the framework to your home folder, just change the tilde to where you want it to be saved:

Code:
sudo cp -R /System/Library/Frameworks/OpenCL.framework ~

And finally unzip the archive somewhere, and run these commands (don't forget to replace /folder_where_I_unzipped_the_archive by the name of the folder in which you extracted the archive):

Code:
cd /folder_where_I_unzipped_the_archive/opencl_fix
sudo rm -r /System/Library/Frameworks/OpenCL.framework
sudo ditto --hfsCompression OpenCL.framework /System/Library/Frameworks/OpenCL.framework
sudo chown -R root:wheel /System/Library/Frameworks/OpenCL.framework

And that's it for now. I hope I didn't forget something (again). Also as noted earlier this is not a perfect solution, there are still problems with WebGL and Safari (or Opera Next and hardware acceleration if you swing that way).



Does this say something to you?

Code:
robins-mac-pro:~ RobinKraft$ cd /Users/RobinKraft/Documents/nvidia_10.8.2
robins-mac-pro:nvidia_10.8.2 RobinKraft$ sudo rm -r /System/Library/{Frameworks/{OpenGL.framework,OpenCL.framework},PrivateFrameworks/GPUSupport.framework}
robins-mac-pro:nvidia_10.8.2 RobinKraft$ sudo ditto --hfsCompression OpenGL.framework /System/Library/Frameworks/OpenGL.framework
sudo: unable to initialize PAM: No such file or directory
robins-mac-pro:nvidia_10.8.2 RobinKraft$ sudo ditto --hfsCompression OpenCL.framework /System/Library/Frameworks/OpenCL.framework
sudo: unable to initialize PAM: No such file or directory
robins-mac-pro:nvidia_10.8.2 RobinKraft$ sudo ditto --hfsCompression GPUSupport.framework /System/Library/PrivateFrameworks/GPUSupport.framework
robins-mac-pro:nvidia_10.8.2 RobinKraft$ sudo chown -R root:wheel /System/Library/{Frameworks/{OpenGL.framework,OpenCL.framework},PrivateFrameworks/GPUSupport.framework}
 
Does this say something to you?

Code:
robins-mac-pro:~ RobinKraft$ cd /Users/RobinKraft/Documents/nvidia_10.8.2
robins-mac-pro:nvidia_10.8.2 RobinKraft$ sudo rm -r /System/Library/{Frameworks/{OpenGL.framework,OpenCL.framework},PrivateFrameworks/GPUSupport.framework}
robins-mac-pro:nvidia_10.8.2 RobinKraft$ sudo ditto --hfsCompression OpenGL.framework /System/Library/Frameworks/OpenGL.framework
sudo: unable to initialize PAM: No such file or directory
robins-mac-pro:nvidia_10.8.2 RobinKraft$ sudo ditto --hfsCompression OpenCL.framework /System/Library/Frameworks/OpenCL.framework
sudo: unable to initialize PAM: No such file or directory
robins-mac-pro:nvidia_10.8.2 RobinKraft$ sudo ditto --hfsCompression GPUSupport.framework /System/Library/PrivateFrameworks/GPUSupport.framework
robins-mac-pro:nvidia_10.8.2 RobinKraft$ sudo chown -R root:wheel /System/Library/{Frameworks/{OpenGL.framework,OpenCL.framework},PrivateFrameworks/GPUSupport.framework}

I think a most simple way is to open in the finder and go to /System/Library/Frameworks/ and paste the OpenCL.Framework and OpenGL.framework from the MLDP3 it will ask for you password an click replace, then go to /System/Library/PrivateFrameworks and paste GPU.Support.Framework and the same write your password and hit replace, and then go to /System/Library/Extensions and Place all the NVDA and Geforce kext from ML DP3 in that folder look for NVDAGK100Hal.kext and if you find it put it on trash. Then just open Disk Utility and repair permissions, then put this command
"sudo kextcache system-prelinked-kernel" and write your password.

I hope it helps
 
I think a most simple way is to open in the finder and go to /System/Library/Frameworks/ and paste the OpenCL.Framework and OpenGL.framework from the MLDP3 it will ask for you password an click replace, then go to /System/Library/PrivateFrameworks and paste GPU.Support.Framework and the same write your password and hit replace, and then go to /System/Library/Extensions and Place all the NVDA and Geforce kext from ML DP3 in that folder look for NVDAGK100Hal.kext and if you find it put it on trash. Then just open Disk Utility and repair permissions, then put this command
"sudo kextcache system-prelinked-kernel" and write your password.

I hope it helps

after this i got 1024 x 768 resolution and my screens name is now spdisplays_display:/
 
Status
Not open for further replies.
Back
Top