Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Macbook Pro 2011 GPU Defect fix macOS Sierra and High Sierra

Works for macOS Sierra and High Sierra

Taken from 2011 Macbook Pro Graphics Card FIX 100% WORKING!!!

EDIT This method works! But there is an improved version for better thermal management and brightness keys functionality. See improved version -> https://gist.github.com/cdleon/d1eff7246a25193304284ecec40445b0

Enter Recovery Mode (text mode)

if you are on high sierra 10.13.6+ you might need to use Command + r instead

Boot up holding down Command + r + s

Disable SIP

SIP locks System folder so cannot move kexts to another folder. SIP (csrutil) only enabled or disabled on Recovery Mode.

csrutil disable

Restart the system

reboot

Enter Single User mode

boot up holding down the CMD and S keys

Check a disk

use /sbin/fsck if you get fsck command not found

fsck -fy

Mount a root filesystem with read/write permissions

use /sbin/mount if you get mount command not found

mount -uw /

Make a directory to store the AMD drivers in case you'll need them in future

sudo mkdir /AMD_Kexts/

Move the AMD drivers

sudo mv /System/Library/Extensions/AMD*.* /AMD_Kexts/

Remove the AMD drivers cache

sudo rm -rf /System/Library/Caches/com.apple.kext.caches/

Just in case OS X will be dumb and will not recreate this directory, we create it again

sudo mkdir /System/Library/Caches/com.apple.kext.caches/

Update the timestamps so that new driver caches - without AMD drivers - will be rebuilt

sudo touch /System/Library/Extensions/

Unmount a partition to guarantee that your changes are flushed to it. Use /sbin/umount if you get umount command not found. It might say resource busy, ignore that and proceed to next step)

sudo umount /

Reboot

sudo reboot

Before enabling SIP again, try the normal boot without pressing any key. The Mac OS will rebuild the kernel cache and restart. See if the system starts normally. If it does, still keep going through the remaining steps.

You might encounter that you are still using discrete GPU but computer works (if you are using gfx it might say can't change to discrete while external display is connected), keep going until last step and this will be resolved

Enable SIP again by restarting the system and entering Recovery Mode (text mode)

if you are on high sierra 10.13.6+ you might need to use Command + r instead

Command + r + s

Enable SIP

csrutil enable

Restart the system

reboot

Open Terminal (Finder -> Applications -> Utilities -> Terminal (copy and paste):

sudo nvram fa4ce28d-b62f-4c99-9cc3-6815686e30f9:gpu-power-prefs=%01%00%00%00

Restart the system

sudo shutdown -r now

You might need to do this again after macOS system updates Brightness keys might not work use app like brightness-slider to handle that

@BadAppleDesignz
Copy link

BadAppleDesignz commented Oct 9, 2020

Hello Folks! I'm new here and looking forward to the interaction. Looking to get help with my issue on my 2011 MBP Laptop.

I installed the Catalina Patcher and it worked great. But it disabled my 3D Function in Photoshop. After reverting back to High Sierra, Photoshop now crashes when I try to use that function. Did installing the patcher do something to my graphics card? I was able to use this feature before I installed Catalina.
I'm not very knowledgeable with code or commands, and just looking to getting my laptop back to how it was.

Any and all help is greatly appreciated.

Screen Shot 2020-10-08 at 5 08 19 PM

@okanbahadirsoygur
Copy link

okanbahadirsoygur commented Nov 18, 2020

thanks it worked.
But I can no longer play games: D
Continue develop code 👍

qq

@numanturle
Copy link

numanturle commented Jan 1, 2021

thankss, it worked.

@tronnyjenkins
Copy link

tronnyjenkins commented Jan 23, 2021

Hello. I performed a different “fix” where you move all amd kexts to a “backup” folder and make a few changes in single user mode. I can definitely tell that it worked, because the machine no longer crashes. Unfortunately, on both my 10.8 and 10.13 partitions (I did those separately) on certain apps the graphics are basically unusable with upward scrolling horizontal lines.

This is the procedure I did:
http://www.angelofarina.it/DisableDiscrete.htm

Anyway, I wanted to go back to how it was and search for another fix (like the one on this page!) but for some reason it still seems to not be using graphics acceleration even though I moved the kexts back to the extensions folder and reset smc and PRAM.

Any help would be greatly appreciated!!

@xK4M
Copy link

xK4M commented Apr 12, 2021

Please somebody help, how i can disable a graphics card on bootcamp

@kksins
Copy link

kksins commented Apr 20, 2021

the method i used:

  1. make sure your mac is connected to a power socket
  2. hold power button 10sec to close the system
  3. press command+option+r+p to clear nvrm and reboot
  4. once you log in, don't do anything, go to terminal straight away
  5. type: sudo pmset -a gpuswitch 0 //this sets the system to integrated GPU only no matter its power or battery
  6. don't mess with auto graphic switch anymore

@Mothoto
Copy link

Mothoto commented Apr 23, 2021

Mine works perfectly after all this. Question, can i upgrade it after this process? Using this method (http://dosdude1.com/catalina/)

Thank you.

@agents2121
Copy link

agents2121 commented May 9, 2021

Firstly I beg for someone to end my nightmare.
Having already before this had macbook pro 2008 that suffered with Nvidia GeForce gpu issue but after Apple's cut off date for fix.
Then to a independent repair shop who went bust and 3years battle i ended up with my data and £750 out of court settlement.
I use logic pro 5.1 on my HP intel pentium 4 but Apple swooped it up so had to go Mac.
So got used MacBook pro 15inch 2011 high sierra with logic pro x and not for long.....FFs OMG WTF another GPU issue.
My PC is 18years old and runs fine.
I have been looking for long time at all the fixes for Mac 2011 GPU but not understand or tech enough.
I just need to know what is the best way to get mine going so can work offline no updates on as it was b4 boot up loop.
Or do I build a Hackintosh all i want to do is use logic pro x dont care about updated versions

@kksins
Copy link

kksins commented May 9, 2021

Mine works perfectly after all this. Question, can i upgrade it after this process? Using this method (http://dosdude1.com/catalina/)

Thank you.

The OP's way is by removing all AMD drivers so that the hardware is no longer operating. The dosdude's way is to have a script running at boot up of the system which disables GPU power option. They are all based on one thing, that is to make the GPU not running, so can't really say which is better, or if it is upgrade. but yes, you can used dosdude1's method. or even better, you can write your own, just use automater
to generate a app with script

echo "your password" | sudo -S pmset -a gpuswitch 0

then change mac os library and make this script to run at boot up. this is pretty much the same thing as what dusdude's way is.

@kksins
Copy link

kksins commented May 9, 2021

Firstly I beg for someone to end my nightmare.
Having already before this had macbook pro 2008 that suffered with Nvidia GeForce gpu issue but after Apple's cut off date for fix.
Then to a independent repair shop who went bust and 3years battle i ended up with my data and £750 out of court settlement.
I use logic pro 5.1 on my HP intel pentium 4 but Apple swooped it up so had to go Mac.
So got used MacBook pro 15inch 2011 high sierra with logic pro x and not for long.....FFs OMG WTF another GPU issue.
My PC is 18years old and runs fine.
I have been looking for long time at all the fixes for Mac 2011 GPU but not understand or tech enough.
I just need to know what is the best way to get mine going so can work offline no updates on as it was b4 boot up loop.
Or do I build a Hackintosh all i want to do is use logic pro x dont care about updated versions

http://dosdude1.com/gpudisable/ just follow this, let me know if you have issue. this is the easiest solution

@dhos4094
Copy link

dhos4094 commented Jun 5, 2021

How do I fix this?
20210605_112932
20210605_112955
20210605_113035
20210605_113044

@MegatronNX123
Copy link

MegatronNX123 commented Jun 15, 2021

MacBook Pro 15¨mid 2011 High Sierra. Did everything with no errors but envidia Graphics card still enable and crashing my computer, any thoughts?

I did this a few minutes ago. So far so good, nothing has crashed yet.
BUT! A warning to everyone. If you do this you'll lose the ability to adjust your display's brightness.

I'm going to attempt to reverse this process because my screen was dimmed to ~50% before I started. Now it's stuck like that :-/

Hello there! I had the exact same problem and my solution would be to restart the whole procedure here's what i do.
Start by resetting all hardware settings i.e your speakers, brightness, audio, everything. press

leftshift+control_(NOT COMMAND)_option+power

release at the same time. than press

Cmd+Option+p+r wait for two chimes.

Now everything is reset (Dont worry you wont lose any files)
Now force shutdown by holding power and restart into single user mode (Cmd+s)*
Now mount root portion writable.

Mount -uw / (or /sbin/mount -uw /)

Than type the long.

nvram fa4ce28d-b62f-4c99-9cc3-6815686e30f9:gpu-power-prefs=%01%00%00%00

After this to be safe temporarily disable Verbose boot

nvram boot-args=""

^^really important step.

Now type reboot and when you see the white screen hold command+r
You might have to hold it for 5+ minutes it depends how badly your GPU is damaged.

So after you get into recover mode your going to have to select language and than procede. At the top you will see a tab called _Utilities._from that click terminal

into terminal type the following

csrutil disable

Than once more disable dGPU on boot

nvram fa4ce28d-b62f-4c99-9cc3-6815686e30f9:gpu-power-prefs=%01%00%00%00

Into terminal type.
reboot
That restarts your whole computer.

On startup as soon as you see a white screen hold (Command+S)
You should see white text on black screen.

Now mount the root portion writable.

Mount -uw / or (/sbin/mount -uw /)

And make a kext-backup directory.

mkdir -p /System/Library/Extensions-off

Next we are going to move only One offending kext out of the way.

mv /System/Library/Extensions/AMDRadeonX3000.kext /System/Library/Extensions/

Force the system to update its kextcache

Touch /System/Library/Extensions/

Wait for the kext cache to update.
For the final time type

nvram fa4ce28d-b62f-4c99-9cc3-6815686e30f9:gpu-power-prefs=%01%00%00%00

Enable verbose boot mode

nvram boot-args="-v"

Simply type reboot
And wait for it to start up. Brightness keys should be working!

HOW TO PREVENT FOR THE FUTURE

Press Cmd + spacebar
type terminal
in terminal.

sudo nano /iGPU-boot.sh

DONT FREAK OUT if you see a black box around it ITS TOTALLY NORMAL it should look like the picture attatched below
Screen Shot 2021-06-15 at 11 37 19 AM
In your terminal you want to type

#/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 /iGPU-boot.sh

Or copy this picture
Screen Shot 2021-06-15 at 11 41 26 AM
(The name is blacked out for privacy reasons)
Now any time you have any problem with booting up simply reboot into single user mode type mount -uw / or /sbin/mount -uw /
sh /iGPU-boot.sh

@joegonza
Copy link

joegonza commented Jul 18, 2021

MacBook Pro 15¨mid 2011 High Sierra. Did everything with no errors but envidia Graphics card still enable and crashing my computer, any thoughts?

I did this a few minutes ago. So far so good, nothing has crashed yet.
BUT! A warning to everyone. If you do this you'll lose the ability to adjust your display's brightness.
I'm going to attempt to reverse this process because my screen was dimmed to ~50% before I started. Now it's stuck like that :-/

Hello there! I had the exact same problem and my solution would be to restart the whole procedure here's what i do.
Start by resetting all hardware settings i.e your speakers, brightness, audio, everything. press

leftshift+control_(NOT COMMAND)_option+power

release at the same time. than press

Cmd+Option+p+r wait for two chimes.

Now everything is reset (Dont worry you wont lose any files)
Now force shutdown by holding power and restart into single user mode (Cmd+s)*
Now mount root portion writable.

Mount -uw / (or /sbin/mount -uw /)

Than type the long.

nvram fa4ce28d-b62f-4c99-9cc3-6815686e30f9:gpu-power-prefs=%01%00%00%00

After this to be safe temporarily disable Verbose boot

nvram boot-args=""

^^really important step.

Now type reboot and when you see the white screen hold command+r
You might have to hold it for 5+ minutes it depends how badly your GPU is damaged.

So after you get into recover mode your going to have to select language and than procede. At the top you will see a tab called _Utilities._from that click terminal

into terminal type the following

csrutil disable

Than once more disable dGPU on boot

nvram fa4ce28d-b62f-4c99-9cc3-6815686e30f9:gpu-power-prefs=%01%00%00%00

Into terminal type.
reboot
That restarts your whole computer.

On startup as soon as you see a white screen hold (Command+S)
You should see white text on black screen.

Now mount the root portion writable.

Mount -uw / or (/sbin/mount -uw /)

And make a kext-backup directory.

mkdir -p /System/Library/Extensions-off

Next we are going to move only One offending kext out of the way.

mv /System/Library/Extensions/AMDRadeonX3000.kext /System/Library/Extensions/

Force the system to update its kextcache

Touch /System/Library/Extensions/

Wait for the kext cache to update.
For the final time type

nvram fa4ce28d-b62f-4c99-9cc3-6815686e30f9:gpu-power-prefs=%01%00%00%00

Enable verbose boot mode

nvram boot-args="-v"

Simply type reboot
And wait for it to start up. Brightness keys should be working!

HOW TO PREVENT FOR THE FUTURE

Press Cmd + spacebar
type terminal
in terminal.

sudo nano /iGPU-boot.sh

DONT FREAK OUT if you see a black box around it ITS TOTALLY NORMAL it should look like the picture attatched below
Screen Shot 2021-06-15 at 11 37 19 AM
In your terminal you want to type

#/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 /iGPU-boot.sh

Or copy this picture
Screen Shot 2021-06-15 at 11 41 26 AM
(The name is blacked out for privacy reasons)
Now any time you have any problem with booting up simply reboot into single user mode type mount -uw / or /sbin/mount -uw /
sh /iGPU-boot.sh

For the command to move the kext file, you are moving the that file to the folder you previously created, aren't you?

@gabojkz
Copy link

gabojkz commented Jul 19, 2021

Hey there I am getting

fsck -fy
warning: option -f is not implemented, ignoring
error: container /dev/rdisk1 is mounted. repairs in a mounted container is not supported yet

@MegatronNX123
Copy link

MegatronNX123 commented Jul 19, 2021

The
fsck -fy
isn't necessarily a crucial step. I know that some people have this problem as well so i simply would ignore it. Your computer might be a little bit different with the version.
All that command does is force the mac to do a system checkup. Not necessary in that command line

@catullum
Copy link

catullum commented Jul 21, 2021

So i hav repaired the GPu i will revert this how can i do?

@MegatronNX123
Copy link

MegatronNX123 commented Jul 22, 2021

Im not to sure what you mean by repair the gpu. could you possibly explain a little bit more about what you mean?

@catullum
Copy link

catullum commented Jul 22, 2021

Im not to sure what you mean by repair the gpu. could you possibly explain a little bit more about what you mean?

I had the laptop repaired so the graphics card was replaced and now I want to undo this process.

@gabojkz
Copy link

gabojkz commented Jul 26, 2021

Sorry my update on this:
My macbook is another version early 2015 it only has the intel GPU so this fix will not work for me

@ronaldium
Copy link

ronaldium commented Oct 12, 2021

Thanks a bunch!
Fixed my MBP early 2011 with this, but I think I missed some part. Everytime I bootup and shutdown there's always command texts showing up. Any fix for this? Thanks.

@Cyrilost
Copy link

Cyrilost commented Oct 25, 2021

Hello,
Now Apple give the name "ATI" for theirs video drivers Kexts.
So, when you do : sudo mv /System/Library/Extensions/AMD*.* /AMD_Kexts/
Think well = sudo mv /System/Library/Extensions/ATI*.* /AMD_Kexts/, too.
Yours sincerely,

@johnwtt
Copy link

johnwtt commented Oct 28, 2021

Will this method works with a mid 2010 macbook pro with nvidia gpu ?

@Cyrilost
Copy link

Cyrilost commented Oct 28, 2021

Hello @johnwtt,
Certainly, I just watched in repertory System/Library/Extensions/,
there are files GeForce and NVDA,
Yours sincerely,

@agents2121
Copy link

agents2121 commented Oct 29, 2021

My mbp 2011 has been out of action almost a year with boot up loop.
I have been trying desperately to understand the details so can attempt to get it going but I am professional making music but novice when it is about computers especially this issue.
I already suffered with almost identical problem with my first macbook pro 2007 gpu issue Nvidia GeForce. The 2011 mbp was a long awaited replacement purchased 2019 used.
So ultimately i want to just make music logic pro x high sierra with no updates or changes.
Is there a fix for this nightmare or is it not worth the time or money as £200 to £300 will get me either mac mini or imac with the same spec and 24months warranty but then the issue of getting my software and files from the mbp 2011 with no boot up.
Serious whats the best for a man that only wants to use logic pro x to be honest its logic that forces me to use these rotton apples expensive toys.

@agents2121
Copy link

agents2121 commented Oct 29, 2021

Basically is there a fix that will allow me to use this mbp as it was just for music production no more osx updates or online activity purely for logic pro use.
Or get replacement mac similar spec

@pominglam
Copy link

pominglam commented Oct 29, 2021

@johnwtt
Copy link

johnwtt commented Oct 31, 2021

Since the Tiresias (the GPUkiller) is using the same method of patching the nvram variables, is it possible to use this on a 2010 macbook pro. Also, Is there anyway to completely cut power to the gpu

@agents2121
Copy link

agents2121 commented Nov 1, 2021

I am a tech guy and it took me a bit of digging to get it working. The basic concept is to switch from your MBP's graphics chipset to the integrate chipset. I'd recommend you asking à tech friend to help you out. Here are the steps from what I remember: - boot in single user mode (hold apple key + s then start the MBP) - run a command to switch the graphics chipset - reboot (not shutdown and start again, run the "reboot" command on CLI) And you should be good to go.

On Fri., Oct. 29, 2021, 6:00 a.m. agents2121, @.> wrote: @.* commented on this gist. ------------------------------ Basically is there a fix that will allow me to use this mbp as it was just for music production no more osx updates or online activity purely for logic pro use. Or get replacement mac similar spec — You are receiving this because you commented. Reply to this email directly, view it on GitHub https://gist.github.com/ae1542279598fe80f527400cc354a956#gistcomment-3944302, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACLFCKSMMNJUHBJZY36OQZLUJJ5D3ANCNFSM4HSCNPTQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

So no need for any physical work or removal of components.

@pominglam
Copy link

pominglam commented Nov 1, 2021

@Airbum88
Copy link

Airbum88 commented May 20, 2022

The fix worked for me but now, when I close my lid , my MBP doesn't go to sleep and the Apple logo backlight is still on.
Is there a fix for this?

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