Written by me@grafxflow
30 Dec, 2018
68
44,284
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.
22 Apr, 2020
07 Oct, 2016
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. Thanks for stopping by!
Follow18 Dec, 2025
20 May, 2025
11 Jul, 2023
Views: 173,694
Views: 124,018
Views: 123,280
Views: 97,642
68 Response