Terminal Icon Logo
me@grafxflow

Written by me@grafxflow

30 Dec, 2018
68
153,997

Defective AMD GPU fix on Macbook Pro 2011

If you are suffering from the infamous blue lines on the black screen on startup or random reboots then you maybe suffering from an AMD graphics card hardware issue with your later 2011 Macbook Pro laptop.

Now there are several solutions on the web but this is the only one that worked for me running macOS High Sierra (10.13.6+) and what was worst for me is that the MacBook Pro was stuck in looping reboot... I wanted to use the Time machine backup... if I could ever get it to bootup!

NOTE: One known issue to this solution (and maybe others) is that when the screen goes to sleep/black it no longer wakes up, therefore needing a forced reboot. The solution is to change your energy settings and make sure the screen saver animation options are always active.

Step 1 - Disable the csrutil.

Now there are other solutions that say at first boot into Recovery Single User Mode - CMD + R + S. But I had two problems - I had no permissions when trying to disable the csrutil and when trying the same with Recovery Mode - CMD + R I had the blue lines on black screen appearing, but the below sorted it for me.

So first reboot your Macbook Pro into single user mode by holding down the CMD + S keys. The terminal will now be on the screen.

First input.

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

Then.

reboot

Now reboot into Recovery mode using CMD + R. On the screen that loads choose a language then on the screen which appears next choose the following options in the menu Utilities -> Terminal - see below.

Recovery Mode Mac Screen

In the terminal add the following.

csrutil disable

When csrutil is disabled we can now move kexts and delete system folders.

Then.

reboot

Step 2 - Remove the AMD drivers

On reboot go back into single user mode by holding down the CMD + S keys. Now in the terminal add the following, which will fix any disk permissions before we do anything.

fsck -fy

Once done mount the MacBook Pro hard drive by adding.

mount -uw /

Try using /sbin/mount if you get mount command not found

Now we are going to move all the AMD graphics card drivers, so best to make a copy of them rather than deleting them all. So first make a backup directory to copy them into.

sudo mkdir /amd-backup-kexts/

Then move all of the drivers with a wildcard naming.

sudo mv /System/Library/Extensions/AMD*.* /amd-backup-kexts/

Now once done lets delete the kext drivers cache.

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

To be safe create it again.

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

Now update the timestamps of the driver cache without the AMD drivers.

sudo touch /System/Library/Extensions/

Step 3 - Enable the csrutil.

Now we are more or less repeating the same as Step 1.

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

Then.

reboot

Now reboot into Recovery mode using CMD + R. On the screen that loads choose the following in the menu Utilities -> Terminal.

Recovery Mode Mac Screen

In the terminal add the following.

csrutil enable

Then.

reboot

Now your mac should be booting normally without any issues, if not then there really is more than a graphics card issue.

Important! This is up to you but I would suggest doing a Time Machine backup just to be safe.

Hope this helps anybody else with the same problem.

Note: You will probably have to do this all again when doing any system updates and from my experience even security updates.

Share this article

Add comment...

68 Responses

Anne
25 Oct 2019

How to i revert to AMD gpu? I had a problem using photoshop as the intel HD gpu didnt support the app. I had downgraded my high sierra to sierra as i notice that the gpu problem starts right after i upgraded the OS

Mr_Pinguin
27 Nov 2019

I got a macbook pro 15 inch non retina mid 2012 with a broken amd gpu does the fix works with the 2012 model too?

|

me@grafxflow
27 Nov 2019

Hi Mr_Pinguin,

Sorry I am not sure whether this would work or not - never had to try it on that MacBook model.

You could always try it and if not copy the files back again.

Vincenzo
29 Nov 2019

Hi and thanks for this post. I haven’t tried it yet, I suppose this guide assumes that the operative system is already installed on the hard drive is it correct? I’ve formatted the hard drive because I thought the Problem could be there.

|

Vincenzo
04 Dec 2019

Great article! I’ve tried several solutions, yours is the only one that works and is easy to implement! My MacBook is now working! Ad maiora :)

Nico
15 Jan 2020

Works! Thx a lot!

Best regards

Andrey
24 Jan 2020

Thank you !!! Thank you!!!
This Magic works !!!!

Great article :))

Damon
30 Jan 2020

Seems to work other than I can’t use my external monitor and when I boot up or power down I see lotsa text. Scared to do anything

|

me@grafxflow
30 Jan 2020

Hi Damon,

Yes this is something that will be effected. The other graphics card which causes the issue also controls external monitors etc.

|

Damon
30 Jan 2020

Ok. Thanks. Should I do a safe boot to get rid of the text or let it be? Could I change the harddrive if I wanted to sell the computer but keep the ssd I installed?

|

me@grafxflow
30 Jan 2020

Hi Damon,

If I understand you correctly with the text - is it on a black background? then you should now be able to boot up normal and not worry about the text.

As for the hard drive I can't see there being an issue. But I would also (if possible) do a time machine backup to another hard drive to be safe.

|

Damon
30 Jan 2020

Yes it’s on the black background. It’s pretty fast but a little annoying I guess until I’m used to it. I’ll see how it goes. Thanks a million!!!!! GOD BLESS

|

me@grafxflow
30 Jan 2020

Damon - I had the same problems with my old laptop, so I know what your going through!

Andy
27 Mar 2020

This worked for me but after a reboot it went back to pink screen. Any ideas why?

|

me@grafxflow
27 Mar 2020

Hi Andy,

Did you delete all the AMD extensions?

sudo mv /System/Library/Extensions/AMD*.* /amd-backup-kexts/

|

Andy
27 Mar 2020

Yes I followed everything above and worked fine. It went into sleep mode and wouldn’t wake up so had to keep finger on power button to shut down and then on startup it went pink again.

|

me@grafxflow
27 Mar 2020

Hi Andy,

If you just do

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

and

'reboot'

Does the pink screen still happen?

|

Andy
27 Mar 2020

Back to normal now but load status bar stuck at 3/4!

|

me@grafxflow
27 Mar 2020

Hi Andy,

Sounds like it's something more than just the graphics card, or different than what the article covers.

Sorry I can't help you on this one :(

|

Andy
27 Mar 2020

Thanks for your help anyway. It held at 3/4 then shutdown.

|

Andy
28 Mar 2020

Got it working again!

Performed a SMC and NVRAM reset, followed all the commands again but changed sudo mkdir /amd-backup-kexts/ to sudo mkdir /amd-backup-kexts1/. One or the other solved it but its now working again.

|

me@grafxflow
28 Mar 2020

Hi Andy,

Good to hear... can't be without your mac :)

I am guessing it was the 'Performed a SMC and NVRAM reset'

Pete
31 Mar 2020

You're the MAN. I could not get into Recovery to disable csrutil until I did the steps in this order. THANKS

Rufus
27 Apr 2020

I did the fix on mac os sierra. can i upgrade it to high sieraa

|

me@grafxflow
27 Apr 2020

Hi Rufus,

You should be able to update your macOS but I am guessing you will need to do this all again since I know it will create all the deleted files again.

Paulos
04 May 2020

Cheers, This worked for me after many attempts using other methods, I also found that the cooling fans don’t run as much as with other methods Ive tried. I have no real need to update or to use security as I have no personal data on this Mac, I don’t even need the use of the internet as this Mac is just to run my Daw as a backup to take along to my DJ gigs. Would you recommend stripping it down even more to stop any unnecessary background tasks such as security and updates.

|

me@grafxflow
04 May 2020

Hi Paulos,

Best to leave it as is regarding security.

The only thing - maybe make more space on your hard drive with apps you don't need or use so you can store more music etc.

Smart Search

me@grafxflow Author Profile picture

me@grafxflow

Founder, Grafxflow

I am a Full-stack Developer who also started delving into the world of UX/UI Design a few years back. I blog and tweet to hopefully share a little bit of knowledge that can help others around the web. I build lighting-fast dynamic content engines with Laravel, Winter CMS and Tailwind CSS. Thanks for stopping by!