Kernel Panic on 16" i9 MBPwRD

My MacBook Pro is having a kernel panic about three times a week when in sleep mode. I received this MBP in early Feb with 10.15.3 so I decided to wait for 10.15.4 to see if that corrected the issue yet this is the second time it has happened since the latest update.


Hardware config:

I have a 2019 16" i9 MBPwRD w/ 64GB of RAM and an Intel UHD Graphics 630 and an AMD Radeon Pro 5500M graphics card. Sometimes I'm connected to my Thunderbolt dock, other times my USB C dock when mobile and today it happened with only my Apple provided USB C power cable attached. I don't see a pattern in the hardware and the error message seems to be connected to the internal hardware.


Here is the error:

panic(cpu 2 caller 0xffffff801ae16487): "AppleIntelFramebuffer::setPowerState(0xffffff86afd6a000 : 0xffffff7f9e3c5d88, 1 -> 0) timed out after 45970 ms"@/AppleInternal/BuildRoot/Library/Caches/com.apple.xbs/Sources/xnu/xnu-6153.101.6/iokit/Kernel/IOServicePM.cpp:5296

Backtrace (CPU 2), Frame : Return Address

0xffffffa78d233b40 : 0xffffff801a7215cd

0xffffffa78d233b90 : 0xffffff801a85a3c5

0xffffffa78d233bd0 : 0xffffff801a84bf7e

0xffffffa78d233c20 : 0xffffff801a6c7a40

0xffffffa78d233c40 : 0xffffff801a720c97

0xffffffa78d233d40 : 0xffffff801a721087

0xffffffa78d233d90 : 0xffffff801aec2c7c

0xffffffa78d233e00 : 0xffffff801ae16487

0xffffffa78d233e50 : 0xffffff801ae15d69

0xffffffa78d233e60 : 0xffffff801ae2d2fe

0xffffffa78d233ea0 : 0xffffff801ae14b18

0xffffffa78d233ec0 : 0xffffff801a763545

0xffffffa78d233f40 : 0xffffff801a763071

0xffffffa78d233fa0 : 0xffffff801a6c713e


The rest of the error is attached.

MacBook Pro with Touch Bar

Posted on Mar 28, 2020 4:39 PM

Reply
Question marked as Top-ranking reply

Posted on Apr 19, 2020 8:14 AM

Had the same problem, solved it 4 days ago.


Status here

My GPU Panic sleep problem is still solved. I have since installed my video-rendering tools, my developer tools, all my other stuff.

My energy saving stuff is back to normal.

Having it gooing to sleep on power, on batteries no problems so far.

Running 10.15.4


Solution for me was

My brand new macbook pro 16 (Shipped 2. april 2020) also restarted (crashed) over nigth - actually it crashed (Kernel Panic GPU) everytime it went to sleep mode. I had nothing installed except default OSX with updates.


Solution details

  1. Reset: Pram & NVRAM (still crashed)
  2. Reset: SMC (still crashed)
  3. Internet Recovery Command+Option+R (when booting) (Crashed under installation, but continued afterwards)
  4. Disabled "Prevent computer from sleeping automatically when the display is off." & "PowerNap.." in Energy Saver settings (Problems disappeared)
  5. Two days later I enabled "Prevent computer from sleeping...." and "Powernap..." again (Still no problems)


I don't know if step 1-3 is necessary, but I think so.


So a macbook pro 16 that I almost returned, is now working perfectly - and I'm very happy:-)


Similar questions

226 replies
Question marked as Top-ranking reply

Apr 19, 2020 8:14 AM in response to jwesley07

Had the same problem, solved it 4 days ago.


Status here

My GPU Panic sleep problem is still solved. I have since installed my video-rendering tools, my developer tools, all my other stuff.

My energy saving stuff is back to normal.

Having it gooing to sleep on power, on batteries no problems so far.

Running 10.15.4


Solution for me was

My brand new macbook pro 16 (Shipped 2. april 2020) also restarted (crashed) over nigth - actually it crashed (Kernel Panic GPU) everytime it went to sleep mode. I had nothing installed except default OSX with updates.


Solution details

  1. Reset: Pram & NVRAM (still crashed)
  2. Reset: SMC (still crashed)
  3. Internet Recovery Command+Option+R (when booting) (Crashed under installation, but continued afterwards)
  4. Disabled "Prevent computer from sleeping automatically when the display is off." & "PowerNap.." in Energy Saver settings (Problems disappeared)
  5. Two days later I enabled "Prevent computer from sleeping...." and "Powernap..." again (Still no problems)


I don't know if step 1-3 is necessary, but I think so.


So a macbook pro 16 that I almost returned, is now working perfectly - and I'm very happy:-)


Apr 9, 2020 8:05 PM in response to ChrisDailyGrind

I finally heard back from Apple support today. The rep acknowledged that Engineering is aware of this issue, and asked a series of questions (some quite general, so it seems they haven't made it very far debugging the issue).


I briefly perused the XNU source mentioned in the kernel Panics we're all getting; the logic is related to a fairly general IOKit abstraction that manages the power state transitions of the mentioned driver (AppleIntelFramebuffer) or a parent of that drive. This appears to be the same code path used by any driver that handles power state transitions (cf. IOService::ackTimerTick() in IOServicePM.cpp).


Given the the actual problem is that the Intel driver isn't changing it's state within 45 seconds (which seems beyond ample for these machines), I fear this may take some time for the worst of reasons. Unless apple actually has a license to the driver's source and/or detailed and accurate hardware specs from Intel, Apple engineers might be facing a binary blob that requires Intel engineers to actually address (and Apple to integrate into some future update). But I'm not blaming Intel either; the bad power state could easily have come from Apple missing their API. Regardless, we're likely going to have to wait for two companies to debug and oddly intermittent issue. FWIW, I opened FB7658531 and offered to give full access to my machine to help them diagnose, but it seems that Apple has an *insane* policy that prevents their engineers from working directly with customers.


I know this information is only useful to the most technical users, but hopefully it saves somebody some time. If I get any additional information or status updates from Apple, I'll be sure to share, but again because of an insane policy, they don't give any updates until *after* the fix is released.


Here's the relevant code from IOServicePM.cpp in the XNU kernel that led to the above conclusions:


bool IOService::ackTimerTick( void )
{
    IOPMinformee *      nextObject;
    bool                done = false;

    PM_ASSERT_IN_GATE();
    switch (fMachineState) {
        case kIOPM_OurChangeWaitForPowerSettle:
        case kIOPM_ParentChangeWaitForPowerSettle:
            // are we waiting for controlling driver to acknowledge?
            if ( fDriverTimer > 0 )
            {
                // yes, decrement timer tick
                fDriverTimer--;
                if ( fDriverTimer == 0 )
                {
                    // controlling driver is tardy
                    uint64_t nsec = computeTimeDeltaNS(&fDriverCallStartTime);
                    OUR_PMLog(kPMLogCtrlDriverTardy, 0, 0);
                    setProperty(kIOPMTardyAckSPSKey, kOSBooleanTrue);
                    PM_ERROR("%s::setPowerState(%p, %lu -> %lu) timed out after %d ms\n",
                        fName, OBFUSCATE(this), fCurrentPowerState, fHeadNotePowerState, NS_TO_MS(nsec));

// <snip>

if (gIOKitDebug & kIOLogDebugPower)
                    {
                        panic("%s::setPowerState(%p, %lu -> %lu) timed out after %d ms",
                            fName, this, fCurrentPowerState, fHeadNotePowerState, NS_TO_MS(nsec));


HTH...

Mar 28, 2020 5:05 PM in response to Azakaircrys

AppleSupportOntario wrote:

NOTE: THIS ADVICE IS NOT FROM ME, I FOUND THIS FROM ANOTHER APPLE SUPPORT FORM. USE AT YOUR OWN RISK

Sleep issue are often sorted by
resetting the SMC https://support.apple.com/en-us/HT201295

If no resolve—
Try a SafeBoot https://support.apple.com/en-us/HT201262
Takes noticeable longer to get to the login screen, does a 5-15 minute disk repair before it fully boots up, and certain system caches get cleared and rebuilt, including dynamic loader cache, etc. Login and test. Reboot and test

This test will tell you if third party interference; extensions etc are not loaded in safe boot mode.

If you still need further assistance—
To get a good look at your System config. for conflicts or issues, you can run this trusted utility http://etrecheck.com
If you need help interpreting the report you can post it here in its entirety in the "Additional Text" box in the editing toolbar below, in your reply.


You can set its preference to "Allow full Disk Access", with this you get a digest of issues from the last 7 days that are saved in your system.


I'd be curious to know this other " ANOTHER APPLE SUPPORT FORM." and if you could site the specific link.


Apr 2, 2020 12:12 AM in response to jwesley07

I have the same kernel panics on pretty much the same configuration. Tried all kinds of resets, fresh install, .. nothing helped.


The latest thing I have tried so far prevented crashes: I turned off Power Nap in the energy settings. Can someone confirm whether they also see crashes without Power Nap? I would still expect Apple to fix that of course.. but at least if that reliably prevents the kernel panic, I could live with that workaround for a while.


Apr 2, 2020 5:46 AM in response to jsima

Yes.. given that the panic only happens during/while entering sleep mode, deactivating it will definitely help as well. I didn't want to deactivate it completely, though. Now, with power nap off and no crash since, the next step obviously would be to figure out what exactly during power nap causes it (could be anything like checking mail, update photos or syncing iCloud). Then again, even if we did know, none of them can be turned off individually anyway.. so I might just as well keep power nap off in full.

May 26, 2020 4:33 PM in response to jwesley07

I have a cal digit hook up and an external monitor attached to it. I had this same issue. I called the apple specialist first. We did a SMC and NVRAm reset. It didn't help.


What I did was...


Sys preferences - energy saver - CHECK prevent computer from sleeping automatically when the display is off - UNCHECK put hard disks to sleep when possible.


Haven't had an issue since. Hope this helps!

Jun 2, 2020 1:42 AM in response to TiagoVelloso

OK.... MacbookPro 16 (from march/april): Friday my macbook updated from 10.15.4 to 10.15.5 (19F96). That reintroduced the Sleep-Nap-Kernel-Panic (Kernel Panic when sleeping and on power). The disable "Power Nap" trick solved the problem in the weekend.


Then this morning (in EU), my computer did a huge update again. 15 minutes. Did not ask questions (none). Bum... New version of 10.15.5 was installed: Going from build 10.15.5 (19F96) to 10.15.5 (19F101).


2020-06-02 09:56:35+02 CaspersMBP16 softwareupdated[366]: softwareupdated: Starting with build 10.15.5 (19F101)

2020-06-02 09:56:50+02 CaspersMBP16 softwareupdated[366]: Previous System Version : 10.15.5 (19F96), Current System Version : 10.15.5 (19F101).


Talking about panic.. Apple releases a brand new 10.15.5 build three days after the previous one.


Lets hope that 10.15.5 (19F101) solves the problems, because 10.15.5 (19F96) did not!!!



Jul 16, 2020 12:03 AM in response to Qorne

So I have Gen 1 of Macbook Pro 16 (base model). I had this problem (see comments above). After I turned off Power Nap in the earlier versions, the problem went away. When 10.15.5 was released I turned PowerNap on again. I haven't had a problem since. I do have a my TimeMachine drive plugged into machine, also overnight. No problems. I haven't updated .6 yet.

Sep 4, 2020 6:47 PM in response to David Seguin

I have now gone 7-8 weeks without a Kernel Panic issue since Apple replaced my Logic Board. I no longer have to turn off any of the system preferences listed in many of the posts in this thread (ie. Automatic Graphics Switching, Enable Power Nap, Put Hard Drive to Sleep when Possible, Prevent Computer from Sleeping Automatically when the Display is off). Appears to be a Logic Board Issue with the 2019 16" MacBook Pro.

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 on 16" i9 MBPwRD

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