Written by me@grafxflow
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.
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.

In the terminal add the following.
csrutil disable
When csrutil is disabled we can now move kexts and delete system folders.
Then.
reboot
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/
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.

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.
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!
Graham
21 Jan 2021
Hi, tried the first part of the fix and worked until I shu down and the problem returned. Have done the full fix and now it restarts fine. Many thanks as previously tried loads of other suggestions.
The only problem is that I have lost the brightness controls and the screen is very dark. Is there anything I can do. Using a 15” MacBook Pro 2011 running High Sierra.
Graham
21 Jan 2021
Further to my comment above can another graphics card be installed in place of the defective A MD or the Intel one that has taken over after your fix?
Echio
27 Jan 2021
Hey all, firstly, this is incredibly helpful! $50 MacBook Pro? I won't complain!
Anyway, I have two questions:
1. Is there any point in re-enabling system integrity protection? What are the chances that I'll ever run into issues without it?
2. Could I install Windows through bootcamp after this, or would windows drivers try to re-enable the AMD GPU or something?
Also, I'm a bit confused by the sleep issue fix. What is it that can't sleep? Computer, Display, or Hard Disks? Thanks!
Benjamin Lopez Jr
20 May 2021
Hi:
Thanks to this fix my old Macbook Pro that I use for music creation and entertainment is back again.
One thing however, I can’t use my Apple Cinema 27” display no more. Is there a way to bring it back in use again? Is there a fix for this? Or once you make this fix, you can’t use an external diaplay??
me@grafxflow
20 May 2021
Hi Benjamin Lopez Jr,
Sadly the above fix affects the graphics cards capabilities. So sadly I am guessing no :(
Dazzer
20 May 2021
Hi,
thank you so much for this, I can now use my MBP even after having baked the logic board twice (the fix didn't last).
2 questions:
1. how do I restore the original setting (in case I need to)? Is there a guide for that?
2. I now would like to try and upgrade the HD with an SSD, do I need to restore the default GPU settings before upgrading or can I just do it straight away by installing the OS from recovery mode on the new HD?
Any suggestion would be much appreciated, thanks so much!
D
Jorge
21 Jul 2023
Hi
Thank you for your post. Do these instructions address the thermal management of the disabled graphics card?
Thank you.
me@grafxflow.co.uk
21 Jul 2023
Hi Jorge, I think it would be best to use something like Macs Fan Control free download for Mac.