Improving heat management after macbookpro 2011 discrete GPU fix, also a script to automate part of the fix process
Taken from StackExchange
Thanks to LangLangC
sudo mkdir -p /Library/LoginHook
sudo nano /Library/LoginHook/LoadX3000.sh
#!/bin/bash
kextload /System/Library/Extensions-off/AMDRadeonX3000.kext
pmset -a force gpuswitch 0 # undocumented/experimental
exit 0
Use
ctrl + o
to save andctrl + x
exit
sudo chmod a+x /Library/LoginHook/LoadX3000.sh
sudo defaults write com.apple.loginwindow LoginHook /Library/LoginHook/LoadX3000.sh
kextstat | grep AMD
... com.apple.kext.AMDLegacySupport (1.5.1) ...
... com.apple.kext.AMD6000Controller (1.5.1) ...
... com.apple.kext.AMDSupport (1.5.1) ...
... com.apple.kext.AMDLegacyFramebuffer (1.5.1) ...
And this
... com.apple.AMDRadeonX3000 (1.5.1) ...
should also appear on the list
Command + r + s
nvram boot-args="-v agc=0"
reboot
sudo nano /force-iGPU-boot.sh
#/bin/sh
sudo nvram boot-args="-v"
sudo nvram fa4ce28d-b62f-4c99-9cc3-6815686e30f9:gpu-power-prefs=%01%00%00%00
exit 0
sudo chmod a+x /force-iGPU-boot.sh
sh /force-iGPU-boot.sh
Firstly, I'm no computer scientist, not by a long shot. I just happen to know some things, but anywayyy...
A fix to most issues—I've had to do this often, even when not making any mistakes—is to start over from the beginning. Follow the steps here, https://gist.github.com/cdleon/d1eff7246a25193304284ecec40445b0, and then the steps in this article. I think my 2011 usually just takes a while in verbose mode, with no hanging on a white screen, but that has happened to me occasionally. As far as I know, I think it is just fine. It could be the computer working through the new, possibly unexpected scripts? I don't believe I've ever had an actual hang on the white screen though. So, to my knowledge, it's just a quirk of a fixed machine that you can safely ignore.*
*That said, my 2011 15" just like completely died and it seems a smc or pram issue. There's no usability at all, not even single user terminal. But I got a lot of use out of it under this fix, enough to accept the loss if I must. I'll let you know if I discover something—but I really think leaving this fix in is fine!