kernel panic when auto switching between dual graphics, Macbook Pro 17 (8.3 / Lion)

Hi guys,


I was wondering if you might be able to help me with an issue I'm having. I reciently bought a new 17 inch Macbook Pro 8.3 that came pre installed with Lion. Ever since I first started it up (before I installed any apps that aren't incuded in Lion) I've been having constant but random kernel panic attacks. I've been in contact with Apples support agents and even talked with their senior agents but they haven't been able to assist me. The problem report looks like this:


-----------------------------------------------------------------

Interval Since Last Panic Report: 182041 sec

Panics Since Last Report: 1

Anonymous UUID: 0577657F-1C3E-4F99-8D46-DBE4A8F848D3


Mon Dec 12 20:45:18 2011

panic(cpu 0 caller 0xffffff7f81f5bc8c): "AGC GPU REGISTER RESTORE FAILED : rdar://7254528"@/SourceCache/AppleGraphicsControl/AppleGraphicsControl-3.0.16/s rc/AppleMuxControl/kext/AGCPowerManagement.cpp:928

Backtrace (CPU 0), Frame : Return Address

0xffffff807f8d3e30 : 0xffffff8000220702

0xffffff807f8d3eb0 : 0xffffff7f81f5bc8c

0xffffff807f8d3f20 : 0xffffff7f81f5fa0f

0xffffff807f8d3f40 : 0xffffff800063c091

0xffffff807f8d3f70 : 0xffffff800023db2c

0xffffff807f8d3fb0 : 0xffffff8000820057

Kernel Extensions in backtrace:

com.apple.driver.AppleMuxControl(3.0.16)[F23C08B3-9067-32EC-B7AF-BAB315A38518]@ 0xffffff7f81f4d000->0xffffff7f81f6cfff

dependency: com.apple.driver.AppleGraphicsControl(3.0.16)[77F64D0E-E357-3B27-BC05-43EBEBBFE 665]@0xffffff7f81f38000

dependency: com.apple.iokit.IOACPIFamily(1.4)[4A5A4624-7A52-3EA0-BB8D-5B265B086727]@0xfffff f7f807cc000

dependency: com.apple.iokit.IOPCIFamily(2.6.7)[6D54F06A-46B7-37FC-AF22-DE68DC18A1A3]@0xffff ff7f8087f000

dependency: com.apple.iokit.IONDRVSupport(2.3.2)[6517D9A6-58F5-3CFC-B021-C882306150D5]@0xff ffff7f80ce1000

dependency: com.apple.iokit.IOGraphicsFamily(2.3.2)[55FF26D3-292D-3B4B-8AB7-1D25C8B4313B]@0 xffffff7f80ca9000

dependency: com.apple.driver.AppleBacklightExpert(1.0.3)[0A996825-0CA7-3ABF-B492-9826A5F046 0F]@0xffffff7f81f4a000


BSD process name corresponding to current thread: kernel_task


Mac OS version:

11C74


Kernel version:

Darwin Kernel Version 11.2.0: Tue Aug 9 20:54:00 PDT 2011; root:xnu-1699.24.8~1/RELEASE_X86_64

Kernel UUID: 59275DFA-10C0-30B3-9E26-F7B5DFB1A432

System model name: MacBookPro8,3 (Mac-942459F5819B171B)


System uptime in nanoseconds: 69318007665

last loaded kext at 52646327280: com.paragon-software.filesystems.ntfs 82 (addr 0xffffff7f82065000, size 278528)

last unloaded kext at 42845253273: com.parallels.kext.prl_hypervisor 7.0 14922.693916 (addr 0xffffff7f8205c000, size 360448)

loaded kexts:

com.paragon-software.filesystems.ntfs 82

com.parallels.kext.prl_hid_hook 7.0 14922.693916

com.parallels.kext.prl_hypervisor 7.0 14922.693916

com.parallels.kext.prl_usb_connect 7.0 14922.693916

com.parallels.kext.prl_vnic 7.0 14922.693916

com.parallels.kext.prl_netbridge 7.0 14922.693916

at.obdev.nke.LittleSnitch 2.4.4

com.apple.driver.AppleHWSensor 1.9.4d0

com.apple.filesystems.autofs 3.0

com.apple.driver.AudioAUUC 1.59

com.apple.driver.AppleTyMCEDriver 1.0.2d2

com.apple.driver.AGPM 100.12.42

com.apple.driver.AppleMikeyHIDDriver 122

com.apple.driver.AppleHDA 2.1.3f7

com.apple.driver.AppleMikeyDriver 2.1.3f7

com.apple.driver.AppleUpstreamUserClient 3.5.9

com.apple.driver.AppleMCCSControl 1.0.26

com.apple.kext.ATIFramebuffer 7.1.4

com.apple.driver.AppleIntelHD3000Graphics 7.1.4

com.apple.driver.SMCMotionSensor 3.0.1d2

com.apple.iokit.IOUserEthernet 1.0.0d1

com.apple.driver.AppleSMCLMU 2.0.1d2

com.apple.Dont_Steal_Mac_OS_X 7.0.0

com.apple.driver.AudioIPCDriver 1.2.1

com.apple.driver.ACPI_SMC_PlatformPlugin 4.7.5d4

com.apple.driver.AppleMuxControl 3.0.16

com.apple.driver.AppleLPC 1.5.3

com.apple.driver.AppleBacklight 170.1.9

com.apple.ATIRadeonX3000 7.1.4

com.apple.driver.AppleUSBTCButtons 225.2

com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1

com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1

com.apple.BootCache 33

com.apple.driver.AppleIRController 312

com.apple.driver.AppleUSBTCKeyEventDriver 225.2

com.apple.driver.AppleUSBTCKeyboard 225.2

com.apple.iokit.SCSITaskUserClient 3.0.1

com.apple.iokit.IOAHCIBlockStorage 2.0.1

com.apple.driver.AppleUSBHub 4.5.0

com.apple.driver.AppleFWOHCI 4.8.9

com.apple.driver.AirPort.Brcm4331 512.20.18

com.apple.iokit.AppleBCM5701Ethernet 3.0.8b2

com.apple.driver.AppleEFINVRAM 1.5.0

com.apple.driver.AppleAHCIPort 2.2.0

com.apple.driver.AppleUSBEHCI 4.5.5

com.apple.driver.AppleUSBUHCI 4.4.5

com.apple.driver.AppleSmartBatteryManager 161.0.0

com.apple.driver.AppleACPIButtons 1.4

com.apple.driver.AppleRTC 1.4

com.apple.driver.AppleHPET 1.6

com.apple.driver.AppleSMBIOS 1.7

com.apple.driver.AppleACPIEC 1.4

com.apple.driver.AppleAPIC 1.5

com.apple.driver.AppleIntelCPUPowerManagementClient 167.1.0

com.apple.nke.applicationfirewall 3.2.30

com.apple.security.quarantine 1

com.apple.driver.AppleIntelCPUPowerManagement 167.1.0

com.apple.kext.triggers 1.0

com.apple.driver.AppleAVBAudio 1.0.0d11

com.apple.driver.AppleHDAHardwareConfigDriver 2.1.3f7

com.apple.driver.DspFuncLib 2.1.3f7

com.apple.driver.AppleSMBusController 1.0.10d0

com.apple.iokit.IOSurface 80.0

com.apple.iokit.IOBluetoothSerialManager 4.0.1f4

com.apple.iokit.IOSerialFamily 10.0.5

com.apple.iokit.IOFireWireIP 2.2.4

com.apple.iokit.IOAVBFamily 1.0.0d22

com.apple.driver.AppleHDAController 2.1.3f7

com.apple.iokit.IOHDAFamily 2.1.3f7

com.apple.iokit.IOAudioFamily 1.8.3fc11

com.apple.kext.OSvKernDSPLib 1.3

com.apple.driver.ApplePolicyControl 3.0.16

com.apple.driver.AppleSMC 3.1.1d8

com.apple.driver.IOPlatformPluginFamily 4.7.5d4

com.apple.driver.AppleSMBusPCI 1.0.10d0

com.apple.driver.AppleGraphicsControl 3.0.16

com.apple.driver.AppleBacklightExpert 1.0.3

com.apple.driver.AppleThunderboltEDMSink 1.1.3

com.apple.driver.AppleThunderboltEDMSource 1.1.3

com.apple.driver.AppleThunderboltDPOutAdapter 1.5.8

com.apple.iokit.IONDRVSupport 2.3.2

com.apple.kext.ATI6000Controller 7.1.4

com.apple.kext.ATISupport 7.1.4

com.apple.driver.AppleIntelSNBGraphicsFB 7.1.4

com.apple.iokit.IOGraphicsFamily 2.3.2

com.apple.driver.AppleFileSystemDriver 13

com.apple.driver.AppleThunderboltDPInAdapter 1.5.8

com.apple.driver.AppleThunderboltDPAdapterFamily 1.5.8

com.apple.driver.AppleThunderboltPCIDownAdapter 1.2.1

com.apple.driver.BroadcomUSBBluetoothHCIController 4.0.1f4

com.apple.driver.AppleUSBBluetoothHCIController 4.0.1f4

com.apple.iokit.IOBluetoothFamily 4.0.1f4

com.apple.driver.AppleUSBMultitouch 227.1

com.apple.iokit.IOUSBHIDDriver 4.4.5

com.apple.iokit.IOSCSIMultimediaCommandsDevice 3.0.1

com.apple.iokit.IOBDStorageFamily 1.6

com.apple.iokit.IODVDStorageFamily 1.7

com.apple.iokit.IOCDStorageFamily 1.7

com.apple.driver.AppleUSBMergeNub 4.5.3

com.apple.driver.AppleUSBComposite 3.9.0

com.apple.driver.XsanFilter 403

com.apple.iokit.IOAHCISerialATAPI 2.0.1

com.apple.iokit.IOSCSIArchitectureModelFamily 3.0.1

com.apple.driver.AppleThunderboltNHI 1.3.2

com.apple.iokit.IOThunderboltFamily 1.7.4

com.apple.iokit.IOUSBUserClient 4.5.3

com.apple.iokit.IOFireWireFamily 4.4.5

com.apple.iokit.IO80211Family 411.1

com.apple.iokit.IOEthernetAVBController 1.0.0d5

com.apple.iokit.IONetworkingFamily 2.0

com.apple.iokit.IOAHCIFamily 2.0.7

com.apple.iokit.IOUSBFamily 4.5.5

com.apple.driver.AppleEFIRuntime 1.5.0

com.apple.iokit.IOHIDFamily 1.7.1

com.apple.iokit.IOSMBusFamily 1.1

com.apple.security.sandbox 165.3

com.apple.kext.AppleMatch 1.0.0d1

com.apple.security.TMSafetyNet 7

com.apple.driver.DiskImages 331

com.apple.iokit.IOStorageFamily 1.7

com.apple.driver.AppleKeyStore 28.18

com.apple.driver.AppleACPIPlatform 1.4

com.apple.iokit.IOPCIFamily 2.6.7

com.apple.iokit.IOACPIFamily 1.4

Model: MacBookPro8,3, BootROM MBP81.0047.B24, 4 processors, Intel Core i7, 2.4 GHz, 4 GB, SMC 1.70f5

Graphics: AMD Radeon HD 6770M, AMD Radeon HD 6770M, PCIe, 1024 MB

Graphics: Intel HD Graphics 3000, Intel HD Graphics 3000, Built-In, 384 MB

Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1333 MHz, 0x80AD, 0x484D54333235533642465238432D48392020

Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1333 MHz, 0x80AD, 0x484D54333235533642465238432D48392020

AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xD6), Broadcom BCM43xx 1.0 (5.100.98.75.18)

Bluetooth: Version 4.0.1f4, 2 service, 11 devices, 1 incoming serial ports

Network Service: Ethernet, Ethernet, en0

Network Service: Wi-Fi, AirPort, en1

Serial ATA Device: TOSHIBA MK7559GSXF, 750.16 GB

Serial ATA Device: MATSHITADVD-R UJ-8A8

USB Device: FaceTime HD Camera (Built-in), apple_vendor_id, 0x8509, 0xfa200000 / 3

USB Device: hub_device, 0x0424 (SMSC), 0x2514, 0xfa100000 / 2

USB Device: BRCM2070 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0xfa110000 / 5

USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x821a, 0xfa113000 / 8

USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x0252, 0xfa120000 / 4

USB Device: hub_device, 0x0424 (SMSC), 0x2514, 0xfd100000 / 2

USB Device: IR Receiver, apple_vendor_id, 0x8242, 0xfd110000 / 3

-----------------------------------------------------------------


I'm fairly technical but this is overkill even for me. I managed by googling "AGC GPU REGISTER RESTORE FAILED" to find a japanese blog that helped me fix the problem but it's only partially solved. I'm not getting any kernel panic attacks by switching of the integrated graphics under "Energy Saver" in system prefs but instead getting decreased battery life as the computer is constantly using the dedicated graphics card. So in other words when I untick the "Automatic Graphics Switching" the problem is gone.


I always get the same report and it doesn't really matter if I'm pushing the machine to it's limits or just writing something in TextEdit. When speaking to Apples support advisors they implied that it's most likely not hardware related but software related. I personally think that it's most likely the driver related and could be fixed by modifying the AppleGraphicsControl.kext file but I can't be sure. I've never modified a kext file before and feel a bit uncomfortable doing it without any assistance.


Could anyone please give me some advice. It would be sincerely appreciated.


Thanks


PS. Forgot to add that I've reinstalled Lion several times, reset SMC, PRAM, etc. None of that worked.

MacBook Pro, Mac OS X (10.7.2)

Posted on Dec 14, 2011 11:17 AM

Reply
12 replies

Dec 14, 2011 11:42 AM in response to eww

I'm from Sweden but bought the computer in Hong Kong. The only difference being the price and the keyboard layout. I asked them if they could replace it with a new one after a week had passed (since I bought it) but they informed me that I could only return it to the Hong Kong Apple Retail Store (and not Apple sweden). So it's unfortunately a no go.

Dec 14, 2011 11:53 AM in response to Valentin123

Well, that's a real shame. Further evidence, if any were needed, that buying one's computer close to home is usually best, regardless of the price. Spending less on the far side of the world can be a very false economy when it has consequences like this.


Turn the machine over to Apple Sweden for repair under your worldwide warranty coverage. Maybe after trying and failing to repair it a few times they'll arrive independently at the conclusion that it makes sense for them to replace it instead of wasting any more of your and their time and your good will. I'm very sorry to hear that they won't just do the right thing on their own.

Dec 14, 2011 2:20 PM in response to eww

That was their answer to but at the same time they told me that it can take weeks for them to investigate the issue. Don't really feel like being weeks without my brand new computer.


Does the integrated Intel HD 3000 graphics card have it's own dedicated 384mb of memory or does it allocate ram? Wondering if it could be ram related as in me getting faulty memory chips. Did a complete and extended hardware test but everything turned out just fine.

Dec 14, 2011 2:38 PM in response to Valentin123

The Intel HD3000 grabs some of the installed RAM. There's no VRAM.


It's certainly no fun to have bought an expensive new computer and not have the use of it for quite some time. But unless you let Apple Sweden beat their heads against it for a while, they're not going to be embarrassed enough by their incompetence to replace it for you. And if they're actually able to fix it, of course you won't need a replacement. But there won't be any chance of that happening unless you hand it over. So it isn't fair and it isn't right, but I think that's what you need to do. Then call them up once a week for four weeks and patiently ask how they're progressing on it. If they haven't gotten it fixed and back to you by then, it isn't going to be the fault of anyone in Hong Kong — it's going to be their own fault, and they're going to know it. That's when to ask again, very firmly, for a replacement.

Dec 28, 2011 1:04 PM in response to nickkk

I haven't managed to solve the problem. The only thing I've noticed is that it stops crashing when I'm using the dedicated graphics card. I'm not sure if the computer was crashing before I've updated to 10.7.2 from 10.7. I'm hoping that 10.7.3 will be released soon and that the update might solve the issue. Except for that the only thing I thing might solve this issue is removing some *.kext files so that the OS can recreate new ones on new boot or maybe modify it. Not really sure how to do that....


I know that does *.kext files are located in HDD/System/LibraryExtensions and I'm also fairly certain the issue derives with either this file "AppleGraphicsControl.kext" or "AppleGraphicsPowerManagement.kext".


Do you have issues with your computer when it have automatic graphics switching? Any issues when you are only running on the dedicated GPU?

Dec 28, 2011 11:25 PM in response to Valentin123

Auto switching definitely cause the problem. I've tried like to check/uncheck the autoswiching box for a couple of times then comes the freezing. I'm not sure about only using the dedicated GPU since I'm currently on Windows since it's more stable. I'll manage to run some stress test though. I'll go to the Genius Bar to see if they can help these days. Post later.

Feb 2, 2012 11:16 AM in response to UnferionPT

I had to send my MB Pro to an authorized apple service provider where they ran diagnostic tests on it and concluded that it was the logic board (motherboard) that was as seeehr germans would put it "kaput". After they replaced it with a new one and re-did the tests everything worked fine. So in my opinion waiting for a SW update to fix the issue one would have to wait an eternity. Just let the technicians take a look at it and they'll most likely replace the logic board or the entire computer depending on what makes most sense for them.


This is not a software glitch but HW. The only reason one does not experience this in bootcamp is due to no automatic graphic switching in windows. It only runs the dedicated GPU and never switches to the intergrated Intel HD3000 GPU.


Hope this gives you some clarity.


PS. I asked the technician if he could give me a detailed explanation in regards to which part of the GPU / logic board was causing the issue but he couldn't answer that question.

Feb 2, 2012 11:32 AM in response to UnferionPT

Your Macbook Pro must have come with Snow Leopard as Leopard never supported auto graphic switching as I'm aware. Could be that Lion is utilizing parts of the gpu that were never used in SL. I'm not sure but only speculating now. I have the 8.3 version which was shipped with Lion and even though I speculated the SL would most likely solve the problem (read on a forum that a user fix his issues by reverting to SL) I never really wanted to downgrade as I shouldn't have to go back to an older OS because of hw bugs. The only advice I can give you is to take it to a AASP and let them do extensive diagnosic tests. I never got any issues when I ran Apples HW tests (extended).

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

kernel panic when auto switching between dual graphics, Macbook Pro 17 (8.3 / Lion)

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.