'Kernel panic MacBook Pro Mid 2014

I have MacBook Pro (Retina, 15-inch, Mid 2014) with BigSur 11.6.2

Everyday when I boot my laptop at first time it stay in black screen then my laptop reboot and show this report error.

panic(cpu 4 caller 0xffffff7fb9410deb): "virtual bool IOAccelLegacyDisplayMachine::display_mode_did_change(uint32_t): 
Uninitialized NVIDIA GPU driver returns false"@/System/Volumes/Data/SWE/macOS/BuildRoots/9dc5c14c79/Library/Caches/com.apple.xbs/Sources/IOAcceleratorFamily_kexts/IOAcceleratorFamily-442.9/Kext2/IOAccelLegacyDisplayMachine.cpp:267
Backtrace (CPU 4), Frame : Return Address
0xffffffa0d09c35a0 : 0xffffff801e68c26d 
0xffffffa0d09c35f0 : 0xffffff801e7d3993 
0xffffffa0d09c3630 : 0xffffff801e7c3f8a 
0xffffffa0d09c3680 : 0xffffff801e630a2f 
0xffffffa0d09c36a0 : 0xffffff801e68ba8d 
0xffffffa0d09c37c0 : 0xffffff801e68bd83 
0xffffffa0d09c3830 : 0xffffff801ee9c7ba 
0xffffffa0d09c38a0 : 0xffffff7fb9410deb 
0xffffffa0d09c38b0 : 0xffffff7fb93bb146 
0xffffffa0d09c38f0 : 0xffffff7fb9403420 
0xffffffa0d09c3930 : 0xffffff7fb955bf3a 
0xffffffa0d09c3a70 : 0xffffff7fb9546593 
0xffffffa0d09c3b00 : 0xffffff7fb95518f3 
0xffffffa0d09c3b20 : 0xffffff7fb9556094 
0xffffffa0d09c3ba0 : 0xffffff7fb954c31a 
0xffffffa0d09c3c30 : 0xffffff7fb9a1beb1 
0xffffffa0d09c3c80 : 0xffffff801edbd8fb 
0xffffffa0d09c3ce0 : 0xffffff801ee25ce3 
0xffffffa0d09c3d40 : 0xffffff801e77ec6f 
0xffffffa0d09c3d90 : 0xffffff801e6918ed 
0xffffffa0d09c3e00 : 0xffffff801e667c35 
0xffffffa0d09c3e60 : 0xffffff801e67f3e2 
0xffffffa0d09c3ef0 : 0xffffff801e7a805d 
0xffffffa0d09c3fa0 : 0xffffff801e631216 
      Kernel Extensions in backtrace:
         com.apple.iokit.IOGraphicsFamily(585.2)[18F5DD47-7688-37AB-A74A-5AF8B45A4E0F]@0xffffff7fb953c000->0xffffff7fb956afff
            dependency: com.apple.iokit.IOPCIFamily(2.9)[C14212B3-F922-3073-B54C-9DE243057AF4]@0xffffff802116b000->0xffffff8021193fff
         com.apple.iokit.IOAcceleratorFamily2(442.9)[F7B6BAA2-1B1C-3905-9242-208418037EC3]@0xffffff7fb93ba000->0xffffff7fb9424fff
            dependency: com.apple.driver.AppleMobileFileIntegrity(1.0.5)[69A9D9EF-33A7-3D13-B753-5B810032ABBF]@0xffffff801fcc0000->0xffffff801fcd5fff
            dependency: com.apple.iokit.IOGraphicsFamily(585.2)[18F5DD47-7688-37AB-A74A-5AF8B45A4E0F]@0xffffff7fb953c000->0xffffff7fb956afff
            dependency: com.apple.iokit.IOPCIFamily(2.9)[C14212B3-F922-3073-B54C-9DE243057AF4]@0xffffff802116b000->0xffffff8021193fff
            dependency: com.apple.iokit.IOReportFamily(47)[37461963-03B3-38F8-89AE-C2E4CF31422B]@0xffffff80211a2000->0xffffff80211a4fff
            dependency: com.apple.iokit.IOSurface(290.8.1)[702BEA50-24DD-36A9-A53B-71AE8C33EA3C]@0xffffff8021295000->0xffffff80212b1fff
         com.apple.nvidia.driver.NVDAResman(16.0)[879FE28C-BC88-3553-B3C7-1CCFAE357D45]@0xffffff7fb9a17000->0xffffff7fb9c90fff
            dependency: com.apple.AppleGraphicsDeviceControl(6.3.5)[2943A57C-11EA-349E-ABF5-0AC7DED914EA]@0xffffff7fb7d50000->0xffffff7fb7d53fff
            dependency: com.apple.iokit.IOGraphicsFamily(585.2)[18F5DD47-7688-37AB-A74A-5AF8B45A4E0F]@0xffffff7fb953c000->0xffffff7fb956afff
            dependency: com.apple.iokit.IONDRVSupport(585.2)[96CB8C0E-E3A4-32A1-90B8-BF25BEED72E7]@0xffffff7fb9581000->0xffffff7fb9589fff
            dependency: com.apple.iokit.IOPCIFamily(2.9)[C14212B3-F922-3073-B54C-9DE243057AF4]@0xffffff802116b000->0xffffff8021193fff

This happen to me only when my laptop is plugged-in, when I'm in battery it boot normally.

Any help for this issue ?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source