Skip to content
Kext for disabling a failed AMD GPU after waking up from sleep.
Branch: master
Clone or download
Latest commit 7ffd19c Nov 27, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
AMDGPUWakeHandler.xcodeproj Cleanup Nov 27, 2017
AMDGPUWakeHandler Enables GMUX interrupts when waking up Nov 27, 2017
.gitignore Cleanup Nov 27, 2017
README.md Fixes a kernel panic when booting with the GPU enabled Nov 27, 2017

README.md

AMDGPUWakeHandler

This kernel extension disables the AMD GPU after waking up from sleep. It is intended to be used on a 2011 MacBook Pro with a failed AMD GPU.

NOTE: this should only be used with the grub solution (found here) or similar that powers down the discrete GPU before booting macOS, otherwise it will fail to load.

Installation

After building using Xcode, copy the kext to /Library/Extensions and run the following commands from terminal:

sudo chown -R root:wheel /Library/Extensions/AMDGPUWakeHandler.kext
sudo touch /Library/Extensions

Reboot.

Manual loading

If you prefer to load the kext manually, then after building the kext, copy it to a location of your choice and run the following command to change its permissions:

sudo chown -R root:wheel /path/to/AMDGPUWakeHandler.kext

Then when you want to load the kext you can simply run the command:

sudo kextload /path/to/AMDGPUWakeHandler.kext

To unload:

sudo kextunload /path/to/AMDGPUWakeHandler.kext

View logs

To view the logs for the last 24 hours run the following on the terminal:

log show --last 24h --predicate 'senderImagePath contains "AMDGPUWakeHandler"'
You can’t perform that action at this time.