Contribute
Register

Nvidia 550Ti Sleep / Wake / Freeze Thread

Status
Not open for further replies.
Same here, if you had previously issues with sleep,resolution change, external display stay away from 10.8.2. Trying to extract the nvidia kexts and apply them will result in login loop. So if you use your PC 99% for Facebook maybe worth it, if not 10.8.1 is our savior.

But 10.8.2 has some useful tweaks and updates that is worth the upgrade. All that new functions are useless without a fully working card, and the use of safe mode is not a solution at all, but maybe there's a way for us to upgrade to 10.8.2 and make it work correctly.

I've made a backup with time machine, upgraded to 10.8.2 using combo update, restarted, and all the problems that we had before the nvidia latest drivers are here again. So, using safe mode, I tried to reinstall the drivers, but I can't, because it says that I have the most recent drivers.
Then I extracted the kexts from the nvidia dmg file using Pacifist, installed it manually, rebuild caches using Kext Utility, and restarted. The system does not boot, getting stuck on an infinite spinner loop.
I've read that 10.8.2 has some boot problems if using oemsmbios.kext, so I deleted it, rebuild caches again, restarted, but it didn't solve anything. Then I've replaced AppleACPIPlatform.kext with patched v1.3.5 (the one I always use). No go. Later I've replaced it with v1.6 downloaded from this forum. That kext solved boot problems for many people after the 10.8.2 upgrade, but in our case, it's a no go too.

So, resuming, again we have graphics incompatibility problems, and the latest nvidia drivers does not work with 10.8.2.
C'mon nvidia, you can't be so crappy, give us a proper driver, the last one only worked for less than 2 weeks until 10.8.2 came out.
 
After reading the last few comments it looks like it's better to stay at 10.8.1. Waiting again for nVidia!

cheers
 
OK, I must admit I foolishly upgraded to 10.8.2 with no backup whatsoever.
What can I say? I like taking risks I suppose.

Of course, since my system didn't even boot after that I was pissed.
But after a bit of reading I learned that I just needed to restore an older version of AppleACPIPlatform.kext and everything would be honky dory once again.

Was it though?

Not in the slightest, because as some of you here noticed there was no way of installing nvidia's 10.8.1 drivers without experiencing the infamous login loop upon reboot. Which of course is just loginwindow.app segfaulting.

But were you to log to a console in those conditions, you would notice that nvidia's kexts are indeed loaded. What's more since the login animation was being so jerky it also probably meant that something was preventing QE or OpenGL from working.

Right now you might be worrying that I'm just venting and wasting your time, but fear not because in fact I have a solution that will enable you to use nvidia's kexts on a 10.8.2 system.

As usual just copy and paste what's between code tags in your favorite terminal, preferably one line at a time.

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,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 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,PrivateFrameworks/GPUSupport.framework}
sudo ditto --hfsCompression OpenGL.framework /System/Library/Frameworks/OpenGL.framework
sudo ditto --hfsCompression GPUSupport.framework /System/Library/PrivateFrameworks/GPUSupport.framework
sudo chown -R root:wheel /System/Library/{Frameworks/OpenGL.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 (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

Reboot and enjoy!

On my hackintosh the 10.8.2 update is now as functional as the 10.8.1 was.

I can change resolutions without triggering a blue screen, sleep without a garbled display upon waking up, launch Unigine Heaven without triggering a black screen.

I do have the occasional freeze and/or "NVDA(OpenGL): Channel exception!" message in my logs but on the whole everything is usable (I had an uptime of 5 days before updating to 10.8.2).

But of course your mileage may vary.
 

Attachments

  • nvidia_10.8.2.zip
    16.1 MB · Views: 304
@vczilla

Thanks so much, your help is very welcome here!

Right now i can't try it, but i will later then. I'm sure your workaround will fix the Graphic issues as it has before!

cheers
 
OK, I must admit I foolishly upgraded to 10.8.2 with no backup whatsoever.
What can I say? I like taking risks I suppose.

Of course, since my system didn't even boot after that I was pissed.
But after a bit of reading I learned that I just needed to restore an older version of AppleACPIPlatform.kext and everything would be honky dory once again.

Was it though?

Not in the slightest, because as some of you here noticed there was no way of installing nvidia's 10.8.1 drivers without experiencing the infamous login loop upon reboot. Which of course is just loginwindow.app segfaulting.

But were you to log to a console in those conditions, you would notice that nvidia's kexts are indeed loaded. What's more since the login animation was being so jerky it also probably meant that something was preventing QE or OpenGL from working.

Right now you might be worrying that I'm just venting and wasting your time, but fear not because in fact I have a solution that will enable you to use nvidia's kexts on a 10.8.2 system.

As usual just copy and paste what's between code tags in your favorite terminal, preferably one line at a time.

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,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 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,PrivateFrameworks/GPUSupport.framework}
sudo ditto --hfsCompression OpenGL.framework /System/Library/Frameworks/OpenGL.framework
sudo ditto --hfsCompression GPUSupport.framework /System/Library/PrivateFrameworks/GPUSupport.framework
sudo chown -R root:wheel /System/Library/{Frameworks/OpenGL.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 (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

Reboot and enjoy!

On my hackintosh the 10.8.2 update is now as functional as the 10.8.1 was.

I can change resolutions without triggering a blue screen, sleep without a garbled display upon waking up, launch Unigine Heaven without triggering a black screen.

I do have the occasional freeze and/or "NVDA(OpenGL): Channel exception!" message in my logs but on the whole everything is usable (I had an uptime of 5 days before updating to 10.8.2).

But of course your mileage may vary.

Very Nice! Work on my system as advertised!

One slight thing I did differently is in these terminal commands:

Code:
sudo ditto --hfsCompression OpenGL.framework /System/Library/Frameworks/OpenGL.framework
sudo ditto --hfsCompression GPUSupport.framework /System/Library/PrivateFrameworks/GPUSupport.framework

I typed
Code:
sudo ditto --hfsCompression 'drop nvidia_10.8.2 OpenGL.framework folder here' /System/Library/Frameworks/OpenGL.framework
sudo ditto --hfsCompression 'drop nvidia_10.8.2 GPUSupport.framework folder here' /System/Library/PrivateFrameworks/GPUSupport.framework

The I dropped in the OpenGL.framework folder from the nvidia_10.8.2 folder I downloaded. Same thing for GPUSupport.framework.
For some reason when I used your command it said no file or directory even though I ran the cd command properly as instructed. Oh well.

Thank you, thank you, thank you!!

Edit: coding change
 
Well, I guess I was a bit hasty in declaring 'victory'.

The solution I posted earlier does work but it's not all roses still.

I just noticed that WebGL is a sure-fire way to get those damn "NVDA(OpenGL): Channel exception!" which will sometimes result in a total freeze. Safari is particularly guilty of this.

Oddly enough when I try some WebGL experiments in Firefox Nightly or Chrome Dev everything works without a hitch.

Also Opera Next is a particularly egregious example of that bug because if you try if with hardware acceleration on it will pretty much always freeze.

Since I don't have a 10.8.1 install anymore I can't check if that was already the case before.

Anyway you can try it by yourself; as for me, I'm gonna keep my 10.8.2 install with nvidia drivers since except for that everything pretty much works.

So take what I posted earlier with a grain a salt, it is a hack, not a long term solution.
The long term solution would be for Apple/Nvidia to release a WORKING driver. (Seriously don't they test their stuff?)

Very Nice! Work on my system as advertised!

One slight thing I did differently is in these terminal commands:

Code:
sudo ditto --hfsCompression OpenGL.framework /System/Library/Frameworks/OpenGL.framework
sudo ditto --hfsCompression GPUSupport.framework /System/Library/PrivateFrameworks/GPUSupport.framework

I typed
Code:
sudo ditto --hfsCompression

The I dropped in the OpenGL.framework folder from the nvidia_10.8.2 folder I downloaded. Same thing for GPUSupport.framework.
For some reason when I used your command it said no file or directory even though I ran the cd command properly as instructed. Oh well.

Thank you, thank you, thank you!!

@twistedindustries: I guess I should have just used a flat archive.Could you please re-post what you changed from my instructions? For some reason there's only the beginning of the command you changed in your post . Thanks.
 
vczilla, you are a genius.
thanks! also, I just disable webgl (it's experimental in safari anyways)
 
Thank you VERY much. Worked perfectly on my G73SW-3DE running 10.8.2. Even restored the sleep functionality!
 
Thank`s vczilla, my gtx550ti work with fullscreen app now,
 
Very Nice! Work on my system as advertised!

One slight thing I did differently is in these terminal commands:

Code:
sudo ditto --hfsCompression OpenGL.framework /System/Library/Frameworks/OpenGL.framework
sudo ditto --hfsCompression GPUSupport.framework /System/Library/PrivateFrameworks/GPUSupport.framework

I typed
Code:
sudo ditto --hfsCompression 'drop nvidia_10.8.2 OpenGL.framework folder here' /System/Library/Frameworks/OpenGL.framework
sudo ditto --hfsCompression 'drop nvidia_10.8.2 GPUSupport.framework folder here' /System/Library/PrivateFrameworks/GPUSupport.framework

The I dropped in the OpenGL.framework folder from the nvidia_10.8.2 folder I downloaded. Same thing for GPUSupport.framework.
For some reason when I used your command it said no file or directory even though I ran the cd command properly as instructed. Oh well.

Thank you, thank you, thank you!!

Edit: coding change

Actually the files will be copied to the right place even though the terminal says no file or directory.
 
Status
Not open for further replies.
Back
Top