@Lord 2013: Thanks for the before-and-after comparison of the video Software Update. Good to know.
Question: Why do you think "the new OpenCL implementation in Lion" may cause this bug?
It is good to hear that your logic-board replacement fixed the problem (SBBoD freeze - I assume). But I wonder why logic-boad replacement did not fix the problem for at least one other person on this thread? (could it have been 2 faulty logic-boards in a row?)
@Von_Neumann: a late 2009 i7-iMac, no login PWD prompt, and no response to keyboard or mouse-clicks! That's interesting. I have one of those too but I have not yet put Lion on it. I need at least one reliable machine around the place. I will definitely be sure to do a full backup and a clean, dual-boot (SL + Lion) install on that machine before I try it with Lion.
And note there's no AGS-switching involved on that machine. But it does have nVidia's graphics inside. Curious.
I am starting to think that Lord2013 may be right (that Lion's new implementation of OpenCL) is somehow incompatible with the nVidia GPUs.
Terry Mahoney wrote:
[...] But I wonder why logic-boad replacement did not fix the problem for at least one other person on this thread? (could it have been 2 faulty logic-boards in a row?)
When a set of MacBook Pro is to be manufactured, they produce also a set of Logic Boards: one logic board per MacBook, plus some more for stock. If a new set of MacBook Pro is produced, another set of logic boards is produced again (and, again, some of them go to the computer, and some for stock). Well, it seems that there is a whole set of logic boards (that is, produced at the same time) that are faulty!
Now, let's say you have the "Lion Problem" because your logic board is faulty and Apple replace it by a new one. If the replacement takes place before Apple knows that the production of a whole set is faulty, they do the normal thing: they replace your logic board by one of those produced for stock. But the new logic board is also faulty, because all of that set are!
Then, why some replacements solved the issue? Because some people is lucky: if they choose a replacement that belongs, by chance, to a revised set, produced later for later MacBook Pros!
I believe Apple has already realized (or is realizing these days) that there is a whole set of faulty logic boards in the mid-2010 production. So, from now on, they will hopefully use only a revised new version for replacement of faulty mid-2010 logic boards. And, if they do a Quality Program as I was told, they are going to do it for free even if your computer is out of warranty.
Hope this helps to answer your question!
I seem to recall that nVidia implemented their own solution to graphics switching/power management called Optimus.
now there's a third party solution for Linux available:
note that this is about off-loading rather than switching and that they plan to bring it to more platforms (OS X?)
This refers back to my previous question: is nVidia holding out on us in regards to a driver solution, notwithstanding the fact that they probably don't feel obligated, now that Apple has dropped them
and Intel has paid them off
@Terry Mahoney :This is just a good guess. I did not do any research or debugging, but what i noticed is that these kernel panics always showed up, when I reeboted from my native Win7 (BootCamp) to Lion. The only reason I have the WIn7 partitin is because of - right - GAMES.
So I use the NVIDIA card in Windows and pretty everytime I rebooted back to Lion I had the freezing issue and the related kernel panic.
One big difference between Lion and Snowleopard (which I ran for a few moth without those issues) is OpenCL 1.1 and NVIDIA has always had issues in supporting OpenCL. They were always trying to push their proprietary drivers. (http://www.eoshd.com/content/3089/opencl-in-osx-lion-to-give-fcp-x-huge-performa nce-hike)
So my guess is like some other mentioned here, that the bug has to be somewhere in a small set of NVIDIA hardware revisions, which gets trigered by Lion's extended use of the OpenCL functionality, which SnowLeopard did not use or used in a different way.
To validate it maybe would be a good idea to run the OpenCL benchmark I used for testing on a buggy hardware and see if that leeds to crashes ...
But as I said just a gues ...
I have a degree in computer science but hardware and kernel drivers are not my field at all!
If you want to try the benchmark here is the link to a ZIP file: OceanWave_NO_Multisampling.zip
Attention you have tu run it by calling it from the terminal, as is won't find some related libraries if ran directly by doubleklicking! The benchmark is discussed in this thread (German language only).
Good Luck to everybody!
@Metalizer: Re. "why does Lion only work with the Intel graphics disabled/bypassed?". Good question. I am not a hardware.driver guy (just another computer science refugee), but my guess is that the intel-nVidia hardware switching of control depends on correct parameters being shared between drivers (Intel-nVidia) during the switch - and either they are wrong values, or else not interpreted the same way by both sender and receiver. So - if you turn off AGS - the problem gets bypassed - maybe because the parameters are OK. At least that seems to work on MBPs. But this doesn't explain why iMacs would have a problem.
I've been following this post closely as I ran in to the same problems you have.
I own a 15" Mid 2010 Macbook Pro (produced in April (China)) and had the same problems.
1. Sometimes the macbook wouldn't wake up after sleep (de system is on, you hear sound when you're pressing the buttons but the screen keeps black)
2. Sometimes the macbook wouldn't boot. I got a beach ball on loginscreen. (This especially happend after cleaning kernel/system caches)
The 1st problem also occured in Snow Leopard. But after installing Lion the problem was more visible.
After looking at the console messages I saw a lot of Nvidia errors:
kernel NVDA(OpenGL): Channel timeout!
kernel NVDA(OpenGL): Channel exception! exception type = 0x6 = Fifo: Parse Error
I replaced the hard disk and reinstalled Lion (10.7.2 disk, clean install, no restore). Updated the graphic drivers, cleaned the system/kernel caches but the problem was still there.
Fortuneately my problems are solved after replacing the logic board. The tech told me they replaced the Logic board with a Revision B part.
The only thing I noticed after the replacement is that the revision ID of the Intel HD Graphics has changed from 0x0012 to 0x0018. The revision ID of the Nvidia card did not change.
As said before: If you have problems with your Macbook mid-2010 and are running Lion.
1. Install the latest graphics drivers (Apple article TS4088)
2. Clean all system/kernel caches using OnyX for Lion
3. Install Gfxcardstatus (use google)
4. Reboot your systems a few times with forced discrete graphics and integrated graphics
5. Open Console app (In the utilities folder)
6. Search for NVDA.
If you see any errors as I experienced, get yourself to a service center and get the logic board replaced.
Good luck fixing your Macbooks!
Okay guys, I have an update.
I took my Macbook Pro in to the Apple Store this evening. The genius didn't appear to be aware of the widespread problems we have been having. I mentioned this thread, the graphics card and the out of warranty logic board replacements. She seemed unimpressed!
Of course, I could not replicate the SBBOD in the store. I referred the genius to the aforementioned knowledge base article, she went to her computer and starting tapping away whilst I was busy trying to get my machine to freeze. After about five minutes, whilst I was struggling away, she turned round and asked me if I'd installed the video update. I said yes, more tapping and more struggling. All of a sudden she said "we'll replace the logic board for free".
They will be doing the repair in store but they have to order the part, so they will ring me and I will take in my Mac. She said it will be away for 5-6 days. And hopefully that will be that.
Apparently, this replacement programme is very new so you will have to specifically refer the Apple tech to the relevant knowledge base article.
So, like others, I can confirm that they will replace logic boards out of warranty for free. I urge anyone still struggling with this problem to contact Apple.
And as ever, good luck all.
As an aside, I've also had two black screens after trying to wake from sleep since the recent firmware update.
Strange. The Pleasanton, CA store was not aware of any quality programs related to this problem when I asked. All they did for me was ran long diagnostics and a clean Lion install claiming victory. As I suspected when I brought it home, the problem still persisted. I think the tech specialist didn't pay attention that you will not see the problem if you login immediately once the login UI was available.
Like checking your take orders before leaving, should have fired up the MBP in the store.
Since the stores are not located conveniently for me, going to try Apple Support over the phone next to see if they have better knowledge over the situation since it worked for others.