Question Macbook Pro 15" Retina 2012 Kernel panic issue

mranimo

Reputable
May 4, 2019
36
0
4,530
Today I encountered a problem with my macbook.
Every gpu intensive task or using an external monitor makes my macbook freeze instantly.
The boots are fine and the system can wake up from sleep with no problem. Everything functioning normally but something not quite right with my GT650 dgpu.
After every freeze, I rebooted the mac and it gives me this kernel panic:

panic(cpu 4 caller 0xffffff7fc4133e2e): "virtual bool IOAccelLegacyDisplayMachine::display_mode_did_change(uint32_t): Uninitialized NVIDIA GPU driver returns false" @IOAccelLegacyDisplayMachine.cpp:267
Panicked task 0xffffff97d6133620: 9 threads: pid 148: WindowServer
Backtrace (CPU 4), panicked thread: 0xffffff8e3c4b3598, Frame : Return Address
0xfffffface74f3430 : 0xffffff802e3eb38d mach_kernel : _handle_debugger_trap + 0x4ad
0xfffffface74f3480 : 0xffffff802e558ed6 mach_kernel : _kdp_i386_trap + 0x116
0xfffffface74f34c0 : 0xffffff802e548120 mach_kernel : _kernel_trap + 0x3e0
0xfffffface74f3510 : 0xffffff802e385951 mach_kernel : _return_from_trap + 0xc1
0xfffffface74f3530 : 0xffffff802e3eb66d mach_kernel : _DebuggerTrapWithState + 0x5d
0xfffffface74f3620 : 0xffffff802e3ead19 mach_kernel : _panic_trap_to_debugger + 0x1a9
0xfffffface74f3680 : 0xffffff802ebe072b mach_kernel : _panic + 0x84
0xfffffface74f3770 : 0xffffff7fc4133e2e com.apple.iokit.IOAcceleratorFamily2 : __ZN24IOAccelResidentMemorySet7reallocEv.cold.1
0xfffffface74f3780 : 0xffffff7fc40dc8fe com.apple.iokit.IOAcceleratorFamily2 : __ZN27IOAccelLegacyDisplayMachine25find_primary_display_pipeEP24IOAccelLegacyDisplayPipe
0xfffffface74f37c0 : 0xffffff7fc4125e47 com.apple.iokit.IOAcceleratorFamily2 : __ZN18IOAccelDisplayPipe22display_change_handlerEPvP13IOFramebufferiS0_ + 0x1ab
0xfffffface74f3820 : 0xffffff7fc429bc16 com.apple.iokit.IOGraphicsFamily : __ZN13IOFramebuffer24deliverGroupNotificationEijbiPv + 0x356
0xfffffface74f3960 : 0xffffff7fc428607d com.apple.iokit.IOGraphicsFamily : __ZN13IOFramebuffer30deliverFramebufferNotificationEiPv + 0x193
0xfffffface74f39f0 : 0xffffff7fc429166b com.apple.iokit.IOGraphicsFamily : __ZN13IOFramebuffer39deliverDisplayModeDidChangeNotificationEv + 0x15
0xfffffface74f3a10 : 0xffffff7fc4295d2c com.apple.iokit.IOGraphicsFamily : __ZN13IOFramebuffer4openEv + 0x642
0xfffffface74f3aa0 : 0xffffff7fc428bf0e com.apple.iokit.IOGraphicsFamily : __ZN13IOFramebuffer13newUserClientEP4taskPvjPP12IOUserClient + 0x25e
0xfffffface74f3b30 : 0xffffff7fc5765eb1 com.apple.nvidia.driver.NVDAResman : __ZN4NVDA13newUserClientEP4taskPvjPP12IOUserClient + 0xb3
0xfffffface74f3b80 : 0xffffff802eae130c mach_kernel : __ZN9IOService13newUserClientEP4taskPvjP12OSDictionaryPP12IOUserClient + 0x6c
0xfffffface74f3be0 : 0xffffff802eb521d6 mach_kernel : _is_io_service_open_extended + 0xb6
0xfffffface74f3c50 : 0xffffff802e4ff68a mach_kernel : _iokit_server_routine + 0x342a
0xfffffface74f3ca0 : 0xffffff802e3c2c99 mach_kernel : _ipc_kmsg_send + 0x569
0xfffffface74f3d50 : 0xffffff802e3dbbd2 mach_kernel : _mach_msg_overwrite_trap + 0x4a2
0xfffffface74f3dc0 : 0xffffff802e3dc2da mach_kernel : _mach_msg2_trap + 0x3ba
0xfffffface74f3ef0 : 0xffffff802e52a71a mach_kernel : _mach_call_munger64 + 0x1ea
0xfffffface74f3fa0 : 0xffffff802e385db6 mach_kernel : _hndl_mach_scall64 + 0x16
Kernel Extensions in backtrace:
com.apple.iokit.IOGraphicsFamily(597.0)[5ABF1ED9-18B9-3062-8621-5ED1B70959BD]@0xffffff7fc427b000->0xffffff7fc42a9fff
dependency: com.apple.iokit.IOPCIFamily(2.9)[9367C7B9-149B-329D-B085-39BC7D39EF03]@0xffffff8030e59000->0xffffff8030e88fff
com.apple.iokit.IOAcceleratorFamily2(475.0)[4E66FFD5-3966-3371-976D-4E3629566615]@0xffffff7fc40db000->0xffffff7fc4145fff
dependency: com.apple.driver.AppleMobileFileIntegrity(1.0.5)[0A4CE60B-B1DC-35B5-8558-B70FF5D3B249]@0xffffff802f9c5000->0xffffff802f9f3fff
dependency: com.apple.iokit.IOGraphicsFamily(597)[5ABF1ED9-18B9-3062-8621-5ED1B70959BD]@0xffffff7fc427b000->0xffffff7fc42a9fff
dependency: com.apple.iokit.IOPCIFamily(2.9)[9367C7B9-149B-329D-B085-39BC7D39EF03]@0xffffff8030e59000->0xffffff8030e88fff
dependency: com.apple.iokit.IOReportFamily(47)[D8F664BF-70CB-3596-A4D5-35E72EBC36EE]@0xffffff8030e9a000->0xffffff8030e9cfff
dependency: com.apple.iokit.IOSurface(334.0.1)[1C0546E1-83CA-3305-85B3-60AEF2EFF372]@0xffffff8030fba000->0xffffff8030fe1fff
com.apple.nvidia.driver.NVDAResman(16.0)[879FE28C-BC88-3553-B3C7-1CCFAE357D45]@0xffffff7fc5761000->0xffffff7fc59dafff
dependency: com.apple.AppleGraphicsDeviceControl(7.1.18)[DB321B04-5254-3878-8C56-730905ADB792]@0xffffff7fc31c6000->0xffffff7fc31c9fff
dependency: com.apple.iokit.IOGraphicsFamily(597)[5ABF1ED9-18B9-3062-8621-5ED1B70959BD]@0xffffff7fc427b000->0xffffff7fc42a9fff
dependency: com.apple.iokit.IONDRVSupport(597)[F0E4911C-EEF8-3589-8DA1-D72D45C8E920]@0xffffff7fc42cf000->0xffffff7fc42d7fff
dependency: com.apple.iokit.IOPCIFamily(2.9)[9367C7B9-149B-329D-B085-39BC7D39EF03]@0xffffff8030e59000->0xffffff8030e88fff

Process name corresponding to current thread (0xffffff8e3c4b3598): WindowServer
Boot args: keepsyms=1 debug=0x100 ipc_control_port_options=0 -nokcmismatchpanic

Mac OS version:
22D49

Kernel version:
Darwin Kernel Version 22.3.0: Thu Jan 5 20:53:49 PST 2023; root:xnu-8792.81.2~2/RELEASE_X86_64
Kernel UUID: 4AD8D60C-F454-330F-B4A6-1CB012B5D0D3
roots installed: 0
KernelCache slide: 0x000000002e000000
KernelCache base: 0xffffff802e200000
Kernel slide: 0x000000002e0dc000
Kernel text base: 0xffffff802e2dc000
__HIB text base: 0xffffff802e100000
System model name: MacBookPro10,1 (Mac-C3EC7CD22292981F)
System shutdown begun: NO
Panic diags file available: YES (0x0)
Hibernation exit count: 0

System uptime in nanoseconds: 16642603787
Last Sleep: absolute base_tsc base_nano
Uptime : 0x00000003dffa0bf0
Sleep : 0x0000000000000000 0x0000000000000000 0x0000000000000000
Wake : 0x0000000000000000 0x00000003baf9270c 0x0000000000000000
Compressor Info: 0% of compressed pages limit (OK) and 0% of segments limit (OK) with 0 swapfiles and OK swap space
Zone info:
Zone map: 0xffffff830881d000 - 0xffffffa30881d000
. PGZ : 0xffffff830881d000 - 0xffffff830a81e000
. VM : 0xffffff830a81e000 - 0xffffff87d701d000
. RO : 0xffffff87d701d000 - 0xffffff897081d000
. GEN0 : 0xffffff897081d000 - 0xffffff8e3d01d000
. GEN1 : 0xffffff8e3d01d000 - 0xffffff930981d000
. GEN2 : 0xffffff930981d000 - 0xffffff97d601d000
. GEN3 : 0xffffff97d601d000 - 0xffffff9ca281d000
. DATA : 0xffffff9ca281d000 - 0xffffffa30881d000
Metadata: 0xffffff82e280d000 - 0xffffff830280d000
Bitmaps : 0xffffff830280d000 - 0xffffff830880d000


Can it be fixed?