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
That dropped my temperature about 5-6°C. I tested before and after with a 1080p 60fps video.