Skip to content

Instantly share code, notes, and snippets.

Last active October 17, 2023 18:23
Show Gist options
  • Save cdleon/d16e7743e6f056fedbebc329333d79df to your computer and use it in GitHub Desktop.
Save cdleon/d16e7743e6f056fedbebc329333d79df to your computer and use it in GitHub Desktop.

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

NOTE: This is experimental; works for some people, not for others

Improved thermal and power management


Create login hook folder for thermal and power management

sudo mkdir -p /Library/LoginHook

Create login hook file

sudo nano /Library/LoginHook/

Add folowing contents when nano opens

kextload  /System/Library/Extensions-off/AMDRadeonX3000.kext
pmset -a force gpuswitch 0    # undocumented/experimental
exit 0

Use ctrl + o to save and ctrl + x exit

Make it executable

sudo chmod a+x /Library/LoginHook/

Register login hook

sudo defaults write LoginHook /Library/LoginHook/

Reboot normally

Check that proper kexts exist

kextstat | grep AMD

The command above should display

... (1.5.1) ...
... (1.5.1) ...
... (1.5.1) ...
... (1.5.1) ...

And this
... (1.5.1)  ...

should also appear on the list

Reboot normally

Boot into single user recovery by pressing on boot

Command + r + s

Modify NVRAM

nvram boot-args="-v agc=0"



Script ot make part of the process automatic

Open terminal

Create script

sudo nano /

Add contents

sudo nvram boot-args="-v"
sudo nvram fa4ce28d-b62f-4c99-9cc3-6815686e30f9:gpu-power-prefs=%01%00%00%00
exit 0

Make exectuable

sudo chmod a+x /

When booting into single user mode (Cmd + r or CMD + r + s) use

sh /
Copy link

Hi alato19,
I'm not advising you but I'll tell you what I do. I use something called Macs Fan Control (Crystalidea software). I use a custom preset details as follows:-
Sensor based value - CPU Proximity.
Temperature fan starts to increase from 60degs.
Maximum temperature 75degs.
This keeps mine running cool, the fan probably comes on more than designed but fans are cheap and easy replace. Logic board is expensive.

Also I'm curious, why don't you run Mac OS Sierra on that machine?

Copy link

fa-bs commented Dec 19, 2022

amazing, it downs gpu temperature in my mbp 2011 late high sierra.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment