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)