Contribute
Register

Nvidia 550Ti Sleep / Wake / Freeze Thread

Status
Not open for further replies.
@vczilla, maybe you can help me with this. Or perhaps some other users can help find a solution.
The fix works great for me, as I'm having better performance now on 10.8.2 than in the previous versions. But one problem still exists: I can not play games from TellTale. And that is not the only problem, because I believe that this problem will be triggered on any game or app that works the same way as TellTale games do. It's something to do with nvidia, again.

All 3D apps works fine, all games works fine, but TellTale games simply does not work right. I've tested The Walking Dead Ep. 1, Ep. 2, and Back to the Future Ep. 1. In all three the problem is the same: graphic glitches, on screen texts not showing correctly, random freezes, etc. Also, the first time I entered BTTF Ep. 1 my system hangs because a resolution change. Next time I can enter the game and changed resolution in options menu to my monitor's native res. But no matter what, there are garbage graphics on screen. You can download a free no DRM copy of BTTF Ep. 1 here to test it: http://mhdownloads.s3.amazonaws.com/loot2012/BTTFEp1.zip
 
Show Package contents and install the web payload file. I assume that is what he was talking about, and my system is now working. So the instructions worked, though I have not played any games using it.

Thank you vczilla.
 
@vczilla, maybe you can help me with this. Or perhaps some other users can help find a solution.
The fix works great for me, as I'm having better performance now on 10.8.2 than in the previous versions. But one problem still exists: I can not play games from TellTale. And that is not the only problem, because I believe that this problem will be triggered on any game or app that works the same way as TellTale games do. It's something to do with nvidia, again.

All 3D apps works fine, all games works fine, but TellTale games simply does not work right. I've tested The Walking Dead Ep. 1, Ep. 2, and Back to the Future Ep. 1. In all three the problem is the same: graphic glitches, on screen texts not showing correctly, random freezes, etc. Also, the first time I entered BTTF Ep. 1 my system hangs because a resolution change. Next time I can enter the game and changed resolution in options menu to my monitor's native res. But no matter what, there are garbage graphics on screen. You can download a free no DRM copy of BTTF Ep. 1 here to test it: http://mhdownloads.s3.amazonaws.com/loot2012/BTTFEp1.zip

It ran OK on my GT 550M - had the black/white zig-zag screen with a 640x480 game screen on the lower left; changed the resolution without leaving the game, increased graphics quality to max and the game played fine - it crashed when I quit it after the initial opening sequence was completed. This is hardly definitive but I did not have graphic artifacts; I suspect an update will be required from the software manufacturer for the 660ti. I restarted it and changed from full-screen to a window; had to stop (no crash) and restart as I could not position the window (top was out of range as I had not changed the resolution from 1920x1080 yet). Once I restarted it I had window control and resized it to 1024x576 and played the opening sequence in that window. Quit game (no crash) and restarted it with lower (default) graphics; no artifacts. Quit it again (no crash); all in all, I'd say it works pretty well; there are some glitches with certain display environment command sequences but stopping and restarting it when you change the environment seems to clear them up.
 
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).

Thanks for your tutorial, with your help I finally got the update to 10.8.2. My graphics card was no longer supported. Nvidia 9200M GS, Latop HP Presario CQ60 200EP. I only have one problem that still could not solve, whenever I restart the latop get instant reboot. Thank you very much ;)
 
hello guys ...
after updating lion 10.7.5 problems with blue screen resolution change are also lion with Asus gtx 550 ti.
Returning to 10.7.4 for now.
There may be some solution for lion?
 
Not work form me, i can't find the hex string in libclh.dylib file, so i have error 0 .
i5 760
Asus gt 430 1gb

Lion 10.8.2
 
some questions...vczilla method is to do before or after 10.8.2 install?

and then when he says:

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.

i have to copy frameworks folder from the backup done in the first step of this guide?
 
Here are my MD5s:
Code:
b9d13d4d45a709870ed411ca2cba4f63 /System/Library/Extensions/GeForce.kext/Contents/MacOS/GeForce
dff13ba397f896373fa2a8b02f481c5a /System/Library/Extensions/GeForceGLDriver.bundle/Contents/MacOS/GeForceGLDriver
6f458f8482008d97836b97846b2cf10e /System/Library/Extensions/GeForceGLDriver.bundle/Contents/MacOS/libclh.dylib
9f4081d54b02bf497d4a4f80602bc9b3 /System/Library/Extensions/GeForceVADriver.bundle/Contents/MacOS/GeForceVADriver
7ebf40ef8f72c1c9e9492891b88df803 /System/Library/Extensions/GeForceGA.plugin/Contents/MacOS/GeForceGA
03ed08975494e31236d8efaf23301867 /System/Library/Extensions/NVDAGF100Hal.kext/Contents/MacOS/NVDAGF100Hal
e9d48df90981e447552335f585ec8368 /System/Library/Extensions/NVDAGK100Hal.kext/Contents/MacOS/NVDAGK100Hal
8d44e127632bfc95a28922d625c5a6bc /System/Library/Extensions/NVDANV50Hal.kext/Contents/MacOS/NVDANV50Hal
71521511cfa81eaaed9dfc38b5f0503f /System/Library/Extensions/NVDAResman.kext/Contents/MacOS/NVDAResman
67c6214d80a59c3cab5d990aa87533fa /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/CVMCompiler
df81f068854a489746ea0665bdac5cc3 /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/CVMServer
4904a448eaf8c7df4044b53e65f585fc /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/DumpGPURestart
82702b45873b4bd25dcf99f1be70db10 /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreFSCache.dylib
5dbf0e26e6c635d8f18294658276d44c /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClient.dylib
5a1703453519c2beecd9c187cd4e1299 /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClient.mono.dylib
1e737954bbb6f49d6418d14a023d91b8 /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCVMSPluginSupport.dylib
38ae61dc5d5d76be35ab4d8d3abbe46e /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.dylib
7bad46f28259fbcd21c98530760b43c2 /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
6f8b0c1b788bac29b2c4c6fe78713c4e /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
968e42c59fcac6f7a2fdc72ddfaabe9d /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgrammability.dylib
be930ae1387f450298b4561133a01ad4 /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
7eabc1020f6208a947f56824ac33cae7 /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLVMPlugin.dylib
c3d90462e9935aebd8b011d16d402dbd /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libLLVMContainer.dylib
a3cc8b1310544817bcefe088ba4677de /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/ReportGPURestart
f878f309f5d6ff0b0504d4d636ff619b /System/Library/Frameworks/OpenGL.framework/OpenGL
d6e1ca079b5f9f268dbf5122011af8c5 /System/Library/Frameworks/OpenCL.framework/Versions/A/Libraries/AMDil.dylib
df635011719c51dd08e9428531a3ec4c /System/Library/Frameworks/OpenCL.framework/Versions/A/Libraries/libcl2module.dylib
be20d8bb748f3e0d3fe9492a917b7a4f /System/Library/Frameworks/OpenCL.framework/Versions/A/Libraries/libcldcpuengine.dylib
1414b83016664f3988810decb1287349 /System/Library/Frameworks/OpenCL.framework/Versions/A/Libraries/libCLVMAMDilPlugin.dylib
57ba1c1d1ca09a37f8520d92d250a122 /System/Library/Frameworks/OpenCL.framework/Versions/A/Libraries/libCLVMCPUPlugin.dylib
af5cec2af91f4bbdcd3e05f84e5d626a /System/Library/Frameworks/OpenCL.framework/Versions/A/Libraries/libCLVMPTXPlugin.dylib
78353b3bdf76d3b1e9a3fee6586ad8bd /System/Library/Frameworks/OpenCL.framework/Versions/A/Libraries/PTX.dylib
b7dd8a95fb4f718a3463865809bd6df9 /System/Library/Frameworks/OpenCL.framework/Versions/A/Libraries/Vectorizer.dylib
da8ecfabe3767ef763f12b2194c37e96 /System/Library/Frameworks/OpenCL.framework/OpenCL
080fe46fc0ee0329e42473d0bc980e14 /System/Library/PrivateFrameworks/GPUSupport.framework/Versions/A/Libraries/libGPUSupport.dylib
e38c3b0618a398703168d37700a4a3cf /System/Library/PrivateFrameworks/GPUSupport.framework/Versions/A/Libraries/libGPUSupportMercury.dylib

Kext's checksums match, but the framework's ones are all wrong. I just applied your guide stopping at the ### marks and using only the first zip file, should I have gone further and followed the second part of the guide too?
Under /Library/Logs/DiagnosticReports I only have entries starting with mdworker, one of them is here: http://pastebin.com/vCVFYMWf
I would like to stick with your modifications, since they will allow me to have a fully functional system, with both video acceleration and sleep support.
Thanks ;)

Hi, sorry for my very belated answer.
I think you put the finger on why it's not working: the frameworks didn't get replaced. You followed the proper section of the guide BUT (and it's a big but) if I got why you said correctly you downloaded the wrong archive. You should have downloaded the one named nvidia_10_8_2.zip (the second one). Yeah it's kinda confusing that the second download corresponds to the first section of the fix but as a matter of fact the forum's software presents attachments in reverse download order.

What you can do is try to boot in safe mode and reapply the complete fix with the correct zip.
There you go, I hope it works; keep me informed if it doesn't.
 
Status
Not open for further replies.
Back
Top