Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Catalina restart with AppleGFXHDADriver error

Hey,

After upgrading my macos operation system to catalina my mac restarts every 20 - 30 minutes with this error:


panic(cpu 0 caller 0xffffff800e8290b7): "AppleGFXHDADriver::setPowerState(0xffffff8045ad1d00 : 0xffffff7f921ee9d8, 0 -> 1) timed out after 10163 ms"@/BuildRoot/Library/Caches/com.apple.xbs/Sources/xnu/xnu-6153.11.26/iokit/Kernel/IOServicePM.cpp:5302

Backtrace (CPU 0), Frame : Return Address

0xffffff922003bb40 : 0xffffff800e13f98b

0xffffff922003bb90 : 0xffffff800e276c15

0xffffff922003bbd0 : 0xffffff800e26861e

0xffffff922003bc20 : 0xffffff800e0e6a40

0xffffff922003bc40 : 0xffffff800e13f077

0xffffff922003bd40 : 0xffffff800e13f45b

0xffffff922003bd90 : 0xffffff800e8d2d89

0xffffff922003be00 : 0xffffff800e8290b7

0xffffff922003be50 : 0xffffff800e828c79

0xffffff922003be60 : 0xffffff800e84002e

0xffffff922003bea0 : 0xffffff800e827a28

0xffffff922003bec0 : 0xffffff800e1811d5

0xffffff922003bf40 : 0xffffff800e180d01

0xffffff922003bfa0 : 0xffffff800e0e613e


BSD process name corresponding to current thread: kernel_task

Boot args: chunklist-security-epoch=0 -chunklist-no-rev2-dev


Mac OS version:

19A602


Kernel version:

Darwin Kernel Version 19.0.0: Wed Sep 25 20:18:50 PDT 2019; root:xnu-6153.11.26~2/RELEASE_X86_64

Kernel UUID: 70EDD61F-86EE-3E1B-873F-98D909B78160

Kernel slide: 0x000000000de00000

Kernel text base: 0xffffff800e000000

__HIB text base: 0xffffff800df00000

System model name: MacBookPro15,2 (Mac-827FB448E656EC26)

System shutdown begun: NO


System uptime in nanoseconds: 13968799630349

last loaded kext at 13476474572571: >usb.IOUSBHostHIDDevice 1.2 (addr 0xffffff7f92257000, size 45056)

last unloaded kext at 313468059433: @filesystems.msdosfs 1.10 (addr 0xffffff7f922cc000, size 61440)


MacBook Pro 13", macOS 10.13

Posted on Oct 26, 2019 11:39 PM

Reply
Question marked as Best reply

Posted on Feb 3, 2020 4:55 AM

I have nearly the same problem with AppleGFXHDA.kext as described. Here's how I can reproduce:


  1. Turn on MacBook Pro (13" Touchbar entry-level 2 Thunderbolt 3 ports)
  2. Connect to monitor via USB-C dock
    1. Dock is a USB-C OWC 10-port dock (https://www.owcdigital.com/products/usb-c-dock)
    2. Monitor is a Dell U2718Q
    3. Connected to dock using Mini DisplayPort to DisplayPort adapter
  3. Disconnect USB-C dock from MacBook Pro
  4. Put MacBook Pro to sleep via the Apple menu or by closing the lid
  5. Wait 10-15 seconds for it to actually sleep
  6. Open the lid
  7. MacBook Pro reboots with a kernel panic


The workaround I found is to remove the AppleGFXHDA.kext (/System/Library/Extensions/AppleGFXHDA.kext)


This can be done temporarily by using kextunload:


sudo kextunload /System/Library/Extensions/AppleGFXHDA.kext


When I did that, the problem went away. I could then connect and disconnect my monitor at will without a crash.


I then took more permanent steps to eliminate the kext. I feel somewhat comfortable doing this since that kext is meant to provide high-definition audio over HDMI and DisplayPort. My monitor does not have audio so I'm not losing anything with it.

Similar questions

40 replies
Question marked as Best reply

Feb 3, 2020 4:55 AM in response to focojoaco

I have nearly the same problem with AppleGFXHDA.kext as described. Here's how I can reproduce:


  1. Turn on MacBook Pro (13" Touchbar entry-level 2 Thunderbolt 3 ports)
  2. Connect to monitor via USB-C dock
    1. Dock is a USB-C OWC 10-port dock (https://www.owcdigital.com/products/usb-c-dock)
    2. Monitor is a Dell U2718Q
    3. Connected to dock using Mini DisplayPort to DisplayPort adapter
  3. Disconnect USB-C dock from MacBook Pro
  4. Put MacBook Pro to sleep via the Apple menu or by closing the lid
  5. Wait 10-15 seconds for it to actually sleep
  6. Open the lid
  7. MacBook Pro reboots with a kernel panic


The workaround I found is to remove the AppleGFXHDA.kext (/System/Library/Extensions/AppleGFXHDA.kext)


This can be done temporarily by using kextunload:


sudo kextunload /System/Library/Extensions/AppleGFXHDA.kext


When I did that, the problem went away. I could then connect and disconnect my monitor at will without a crash.


I then took more permanent steps to eliminate the kext. I feel somewhat comfortable doing this since that kext is meant to provide high-definition audio over HDMI and DisplayPort. My monitor does not have audio so I'm not losing anything with it.

Feb 24, 2020 5:40 AM in response to cdnSpinalTap

It was the one I posted (https://discussions.apple.com/thread/250790639?answerId=252079520022#252079520022). I was getting this error:


panic(cpu 0 caller 0xffffff80032288b7): "AppleGFXHDADriver::setPowerState(0xffffff8048fd7b00 : 0xffffff7f86c28b6e, 0 -> 1) timed out after 10165


So, I ended up getting rid of AppleGFXHDA.kext. If your problem is similar, it would be worth a try. Especially with kextunload since it is non-destructive. It just temporarily unloads a kext.

May 7, 2020 6:30 PM in response to cfartgroup

  1. enter the recovery mode:power off and press the key command+R
  2. open terminal tool, input the command `csrutil disable`
  3. restart your mac
  4. open the terminal tool, input the command `sudo mount -rw /`, then you have the permision to delete files in `/System/Library/Extensions `
  5. execute the command `mv -v  /System/Library/Extensions/AppleGFXHDA.kext /System/Library/Extensions/AppleGFXHDA.kext.original` to rename `AppleGFXHDA.kext` file
  6. the problem will be resolved


the problem annoyed me long time, it's been resolved via this way, try it ,good luck!

May 27, 2020 1:33 PM in response to yafwang

I just installed 10.15.5 and the problem still persists for me. After connecting to my USB-C dock with a monitor attached, my MacBook crashes when unplugging the cable.


Here's what I did to rename the AppleGFXHD.kext. I was unable to get sudo to run so just mounted the -Data partition using Disk Utility:


  1. Reboot into Recovery Mode (hold down Command-R when starting up)
  2. Logged in as a known user
  3. Ran Disk Utility
  4. Mounted the "Macintosh HD-Data" partition (I had to guess which user to use from the dropdown. I only have two user accounts so it was easy).
  5. Closed Disk Utility
  6. Ran Terminal
  7. cd /Volumes/Macintosh\ HD-Data/System/Library/Extensions
  8. mv AppleGFXHDA.kext mv AppleGFXHDA.bak
  9. Reboot
  10. Enjoy

May 9, 2020 8:16 PM in response to cfartgroup

sorry, it's my fault, I just tried it again, and you're right, the last step failed, I forgot add 'sudo' before 'mv-v ....' , the last step that rename the filename command should be: 'sudo mv -v /System/Library/Extensions/AppleGFXHDA.kext /System/Library/Extensions/AppleGFXHDA.kext.original'

the last 2 steps as below, try it again,good luck!




Catalina restart with AppleGFXHDADriver error

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