Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Status
The first post of this thread is a WikiPost and can be edited by anyone with the appropiate permissions. Your edits will be public.
I want to forget the ATI and use just intel graphics on 2011 if I understood you right, @Macbookprodude .

@******* I tried to boot to the recovery mode and put a strong light behind the display but still can't see anything.
How do you switched to intel graphics on recovery mode after NVRAM reset? I have googled a lot but couldn't found anyone else but you an answer how to deal, when an ATI card is so dead that you can't get any sing from it.

Thank you very much, if you bother to answer me. :)
I have two of those 2011 computers and both can't get any sign to the screen.

Jeremias
 
Jeremias
Just boot to single user mode and wait a little to this thing boots up then carefully type that line
nvram fa4ce28d-b62f-4c99-9cc3-6815686e30f9:gpu-power-prefs=%01%00%00%00
blindly and hit enter. Then type "reboot" and hit enter. If you did it correctly, it should be good to go.
 
If you don't have time to read my story (which also describes some interesting technical approaches) just scroll down this thread until a "100% WORKING SOLUTION" text

Discrete AMD GPU of my 2011 MacBook Pro 8,2 has finally failed because of the reasons mentioned here ( http://logicboardmac.blogspot.ru/ ) and there ( https://www.macrumors.com/2015/02/19/2011-macbook-pro-repair-program-apple/ ) . It has been working perfectly for 6 years under quite a high load, even tried SETI@HOME mining at background! So I was confident that my MBP is not affected by bad solder / bad soldering quality and didn't want to bring it to Apple for a free repair program - partially because couldn't find the time to pause my important software projects, partially because I was afraid that Apple might give me a less reliable logic board or refuse a free repair because of the several unrelated repairs that I did manually by myself earlier to save money: changed thermal paste a few times, replaced the internal battery 2 times, replaced a keyboard with broken buttons, etc. But it finally broke down last week: laptop's screen image became distorted, it refused to boot OS X (always freezing half-way), and - Apple free repair program has already ended! I know there are affordable solutions like $50 BGA resoldering at unofficial local repair shop and that its possible to get a new replacement HD 6750M chip from AliExpress for $35 or cheaper ( http://www.aliexpress.com/item/DC-2...0028-216-0810028-BGA-Chipset/32764872143.html or https://www.aliexpress.com/item/DC-2015-New-216-0810001-216-0810001-Graphic-Chipset/32718112928.html , because don't know if this is true - https://www.rossmanngroup.com/board...0604-replace-216-0810005-gpu-with-216-0810028 ) to guarantee a successful repair, so the total price of repair would be either $50 or $50+$35=$85 - less than $100 in any case. But I don't like investing money to the old computers, so I have thought - what if there is some hack to force MBP to use integrated graphics ALL THE TIME, even while booting ? And then started to explore the possible solutions...

===

First of all, it is possible to successfully boot a MBP to OS X while still using the failed GPU, after you remove the AMD drivers by booting in command line mode (CMD+S) and entering these commands:
1) fsck -fy (to check a disk)
2) mount -uw / (mount a root filesystem with read/write permissions)
3) sudo mkdir /AMD_Kexts/ (make a directory to store the AMD drivers in case you'll need them in future)
4) sudo mv /System/Library/Extensions/AMD*.* /AMD_Kexts/ (move the AMD drivers)
5) sudo rm -rf /System/Library/Caches/com.apple.kext.caches/ (remove the AMD drivers cache)
6) sudo mkdir /System/Library/Caches/com.apple.kext.caches/ (just in case OS X will be dumb and will not recreate this directory, I am creating it for OS X)
7) sudo touch /System/Library/Extensions/ (to update the timestamps so that new driver caches - without AMD drivers - will be definitely rebuilt)
8) sudo umount / (umount a partition to guarantee that your changes are flushed to it)
9) sudo reboot

The degree of your inconvenience while doing these steps - strongly depends on how heavily a screen's image is distorted in your case. In my case it was even more difficult because the OS X partition became a "read-only" partition (because of too many emergency shutdowns I did while desperately trying to boot OS X with a failed GPU) so I had to remove a hard drive from MacBook Pro and (using a USB to SATA 2.5" adapter taken from my portable HDD) attached it to a computer with Linux, then followed these instructions:

https://superuser.com/questions/961401/mounting-hfs-partition-on-arch-linux (1st answer) - carefully executed a number of commands, calculated a sizelimit for my parition layout, and finally ran sudo mount -t hfsplus -o force,rw,sizelimit=YOURNUMBER /dev/sdb2 /mnt to mount this HFS+ partition to /mnt directory in read-write mode. Then I performed these "1)-7)" steps you see above, and also repaired a filesystem by running sudo fsck.hfsplus -f /dev/sdb2 before unmounting a partition with sudo umount /mnt and putting a hard drive back to MBP...

===

This gave me a MBP which could boot to OS X although STILL using a broken AMD GPU: so it screen's image is very distorted (could browse the Internet but quite inconvenient to read a text), Launchpad is super laggy, and you can't switch to Integrated GPU using gfxCardStatus because: without AMD drivers (which we had to remove to successfully boot to OS X) Macbook Pro thinks its' internal screen is External Display and gfxCardStatus tells it is impossible to switch because External Display is using AMD GPU. Somewhere I found a suggestion that it is possible to rebuild a gfxCardStatus from the source code - https://github.com/codykrieger/gfxCardStatus - with removed or commented out 156-166 lines in the ./gfxCardStatus/Classes/GSProcess.m to make it to ignore the external display:

// find out if an external monitor is forcing the discrete gpu on
CGDirectDisplayID displays[8];
CGDisplayCount displayCount = 0;
if (CGGetOnlineDisplayList(8, displays, &displayCount) == noErr) {
for (int i = 0; i < displayCount; i++) {
if ( ! CGDisplayIsBuiltin(displays))
[list addObject:[NSDictionary dictionaryWithObjectsAndKeys:
Str(@"External Display"), kTaskItemName,
@"", kTaskItemPID, nil]];
}
}


So I rebuilt a gfxCardStatus using the instructions from the last reply of this issue -
https://github.com/codykrieger/gfxCardStatus/issues/229
(also had to download a MacOSX10.11.sdk from here - https://github.com/phracker/MacOSX-SDKs/releases - unpack and copy it to XCode's /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk - because of the Apple's stupidity the latest XCode for El Capitan does not include SDK for El Capitan!) However, it still didn't work - gfxCardStatus only pretended that it has switched to Integrated GPU, while in reality OS X did not let it switch! Even after I edited ./gfxCardStatus/Classes/GSGPU.m file to enable the mysterious "Nuke it from orbit switching" option, it still couldn't switch...

===

Then I discovered this interesting repository - https://github.com/0xbb/gpu-switch - which is partially similar by its' source code to gfxCardStatus but also has the "Login Hooks" (install_hooks.sh) to "automate the switching process for login/logout". Sadly it didn't work for me... However, there is a very interesting gpu-switch text file right at the root of this repository, which describes the EFI variables!

https://github.com/0xbb/gpu-switch/blob/master/gpu-switch

After studying it and also reading this issue's comments - https://github.com/0xbb/gpu-switch/issues/11 - I became confident to try this solution, but found out that my MacBook Pro 2011 8,2 with OS X El Capitan 10.11.6 is in a VERY problematic situation:

1)
rEFInd is not installed, and to install it - must disable SIP protection. But I cannot boot to Recovery mode (Command+Option+R) or to OS X Installation DVD/USB (hold Option), (to disable SIP), because they freeze while booting! - although I removed AMD kexts from my system, of course these recovery tools are using AMD kexts integrated to their design. Also cannot use Rootfool hack ( https://github.com/gdbinit/rootfool ) to disable SIP during runtime, because it works only at OS X version older than 10.11.4

2) Tried overheating my Macbook Pro on purpose (forcing CPU usage to 100% and putting it to a tightly closed bag) to force it to shutdown from overheating and then quickly reboot so that Integrated graphics will be enabled during the boot time - making it possible to boot to Recovery. But because of the wonderful high end thermal paste I have applied not so long ago - cannot overheat it even after waiting for a long time! At this point I thought that could either: a) remove AMD kexts from Installation media, or b) to connect MBP's hard drive to a Linux machine again and run a bunch of chmods to remove the SIP flags from the directories mentioned here ( http://apple.stackexchange.com/questions/193368/what-is-the-rootless-feature-in-el-capitan-really ) which could potentially make a system unbootable, or c) to try installing rEFInd to HFS+ partition directly from a Linux machine with root rights because it will bypass SIP --- but have not explored these options, although some of them might have worked...

3) Wanted to boot a Linux LiveCD to edit the EFI variables from there, but no matter what I did: tried booting straight without GRUB option modifications, tried editing GRUB boot options (with "e" key) to add nomodeset / remove quiet splash / or both in every combination , or like suggested in this article ( https://wiki.archlinux.org/index.php/MacBookPro8,1/8,2/8,3_(2011) ) also add i915.modeset=0 radeon.modeset=0 or radeon.modeset=0 i915.modeset=1 i915.lvds_channel_mode=2 ; and then pressed Fn+F10 or Shift+Ctrl+Fn+F10 to boot with these options: but the Linux boot process always failed at different boot stages, no matter what popular user-friendly Linux distribution or what version of it I am trying: tried many releases of Ubuntu / Lubuntu / Fedora , even the old "AMD64 Mac" and "Alternate AMD64 Mac" images, but they always failed - either at the very beginning of boot process (black screen, or a black screen with a blinking or stuck _ character at the left upper corner) or failed at the very end of it - right before it is supposed to show a graphical desktop environment...

Later, totoe_84 wrote that he was able to boot Ubuntu in graphical mode using the following setup for GRUB:
  • To disable the AMD graphics card I added the following lines after set gfxpayload=keep
outb 0x728 1
outb 0x710 2
outb 0x740 2
outb 0x750 0

  • Next I added the following after quiet splash
    i915.lvds_channel_mode=2 i915.modeset=1 i915.lvds_use_ssc=0
(based on https://ubuntuforums.org/showthread.php?t=2157775 )

===

Then I remembered that there are not-mainstream Linux distributions for advanced users, which have a LiveCD without any graphical interface: you are dropped to a pure console and you are supposed to install the system along with only those graphical interfaces and software packages / groups of packages which you explicitly select. For example: Arch Linux (https://www.archlinux.org/) and Gentoo Linux (https://gentoo.org/) . Because their LiveCD does not have a graphical interface, they could be booted without a problem to a pure Linux console and there you could edit the EFI variables ! So here is a...

===
=== 100% WORKING SOLUTION
===
=== Force your MBP to ALWAYS use Intel integrated GPU (EFI variable fix)
===
=== to make it great again ! ;)
===


1) Create the Arch Linux LiveCD/LiveUSB :


You need a working computer for that and a spare CD/DVD/USB drive. After downloading archlinux-2017.03.01-dual.iso (see the links below) you have to check the integrity of the .ISO file to see if it is not corrupted (avoid I/O error, printf: not found, chattr: not found, etc). After checking the integrity of archlinux-2017.03.01-dual.iso and everything is OK, then you can generate an ArchLinux boot disk.

archlinux-2017.03.01-dual.iso

MD5:
1d25235e7cebe45f93452fbc05a0fb66 archlinux-2017.03.01-dual.iso

SHA1
f426866ca632a35a3eeae8e4080cff25ec8da614 archlinux-2017.03.01-dual.iso

Official website ArchLinux (only Torrent) - See MD5 and SHA1 hash numbers:

https://www.archlinux.org/releng/releases/2017.03.01/

The MD5 and SHA1 of the official ArchLinux website are the same as the mirrors Virtapi.org and Belnet.be. The archlinux-2017.03.01-dual.iso on Virtapi.org and Belnet.be are legitimate.

Virtapi.org:

http://archive.virtapi.org/iso/2017.03.01/

http://archive.virtapi.org/iso/2017.03.01/archlinux-2017.03.01-dual.iso

http://archive.virtapi.org/iso/2017.03.01/md5sums.txt

http://archive.virtapi.org/iso/2017.03.01/sha1sums.txt

Belnet:

http://ftp.belnet.be/pub/archlinux.org/iso/2017.03.01/

http://ftp.belnet.be/pub/archlinux.org/iso/2017.03.01/archlinux-2017.03.01-dual.iso

http://ftp.belnet.be/pub/archlinux.org/iso/2017.03.01/md5sums.txt

http://ftp.belnet.be/pub/archlinux.org/iso/2017.03.01/sha1sums.txt

Check for archlinux-2017.03.01-dual.iso integrity (Mac OS):

Boot in Safe Mode (press SHIFT key at boot) -> no freeze Mac OS -> El Capitan or Sierra.

HighSierra maybe freeze at boot time (Safe Mode). There were changes in the HighSierra in relation to the AMD kexts loaded during the Safe Mode. More tests are needed.

File downloaded -> /Users/Your_User/Downloads/archlinux-2017.03.01-dual.iso

Finder -> Applications -> Utilities -> Terminal:

MD5:
Code:
cd Downloads/

md5 archlinux-2017.03.01-dual.iso
MD5 (archlinux-2017.03.01-dual.iso) = 1d25235e7cebe45f93452fbc05a0fb66

SHA1:
Code:
cd Downloads/

shasum archlinux-2017.03.01-dual.iso
f426866ca632a35a3eeae8e4080cff25ec8da614  archlinux-2017.03.01-dual.iso

Or try the simplest way - No needed ArchLinux - Only MacOS:

1 - Boot Single User (press Command + S) at boot (If you have MacOS installed on your hard drive).

2 - If you have a blank HD, then use the USB stick/Pendrive with the MacOS installer (El Capitan, Sierra or HighSierra).

2.1 - Press Option key at boot, Position the mouse on the MacOS installer icon.

2.2 - Press Command + S and keep holding these two keys.

2.3 - Click the MacOS installer icon -> continue holding the Command + S keys until you finish the MacOS installer Single User boot .

Enter these commands (change gpu-power-prefs to Intel GPU and boot verbose):

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

nvram boot-args="-v"

reboot

If you've chosen the Arch Linux route, please continue reading:

Then you could either simply burn this ISO to CD/DVD (which later could be either inserted to MBP's SuperDrive or External DVD Drive connected to MBP by two USB cables) or create a bootable USB: use the great detailed instructions from this page, https://wiki.archlinux.org/index.php/USB_flash_installation_media

2) Boot to it: insert this CD/DVD/USB to Macbook Pro, hold Option key while booting, choose "EFI boot" (that is your bootable installation media), press "e" key to edit the GRUB options of the Arch Linux archiso x86_64 UEFI CD menu entry while it is selected at the main screen, add nomodeset to the end of this line and press Enter. If everything is done correctly, you will find yourself at the Linux console!

3) Edit EFI vars: looks like efivarfs filesystem is mounted by default! So you can already cd /sys/firmware/efi/efivars and ls to explore this directory and see if there is a "gpu-power-prefs-..." variable (where ... is UUID of this variable). If there is such a variable, its better to remove it with rm. In my case the efivarfs has been mounted by default with read/write permissions, but if you are getting the "operation not permitted" message while attempting to rm, it means that in your case efivarfs has been mounted as read-only and you need to remount it with read-write permissions and try again (credits to totoe_84 for this valuable addition) :
*) cd /
*) umount /sys/firmware/efi/efivars/
*) mount -t efivarfs rw /sys/firmware/efi/efivars/
*) cd /sys/firmware/efi/efivars/

If your screen is so distorted that it is difficult to see the letters, just start typing the rm gpu-power-pre and then press TAB key for autocompletion. In my case there were not such a EFI variable, only "gpu-active-..." and maybe somehow related "gfx-saved-config-restore-status-..." . Then I looked again at that gpu-switch text file (mentioned above, https://github.com/0xbb/gpu-switch/blob/master/gpu-switch),
and entered THESE COMMANDS:

*)
chattr -i "/sys/firmware/efi/efivars/" <----- skip this command

Actually a gpu-switch script had "${sysfs_efi_vars}/${efi_gpu}" but I didnt have a "gpu-power-prefs-..." variable - so, partially by mistake, I didn't add that efi_gpu suffix and entered this incomplete path accidentally

*) printf "\x07\x00\x00\x00\x01\x00\x00\x00" > /sys/firmware/efi/efivars/gpu-power-prefs-fa4ce28d-b62f-4c99-9cc3-6815686e30f9

Did not have a EFI "gpu-power-prefs-" variable so I thought that it will be OK to create a new one with a random UUID - in this case, taken directly from a gpu-switch script

*) chattr +i "/sys/firmware/efi/efivars/gpu-power-prefs-fa4ce28d-b62f-4c99-9cc3-6815686e30f9"

http://www.tecmint.com/chattr-command-examples/ - chattr (Change Attribute) is a command line Linux utility that is used to set/unset certain attributes to a file in Linux system to secure accidental deletion or modification of important files and folders, even though you are logged in as a root user.
...
Syntax of chattr ---> chattr [operator] [flags] [filename]
...
A file is set with ‘i‘ attribute (+i as you see in this command) ---> cannot be modified (immutable). Means no renaming, no symbolic link creation, no execution, no writable, only superuser can unset the attribute.
...
Operator
  1. + : Adds the attribute to the existing attribute of the files.
  2. : Removes the attribute to the existing attribute of the files.
  3. = : Keep the existing attributes that the files have.
This chattr command is supposed to lock a file to make it accessible only by "superuser" - and so that, while booting, your EFI will have no chance to screw up your gpu-power-prefs-... variable under any circumstances

*) cd /

Could not unmount efivars if you are inside this directory, so change to the root directory

*) umount /sys/firmware/efi/efivars/

Guarantees that your EFI variables are flushed to efivarfs filesystem, please unmount it safely before rebooting)

*) reboot

===> IF YOU DID EVERYTHING CORRECTLY, MOST LIKELY THAT YOUR MACBOOK PRO IS NOW USING INTEGRATED GRAPHICS WHILE BOOTING, AFTER BOOTING, AND IS WORKING GREAT AGAIN ! ;)

In the future maybe you could need to re-apply this solution if you would have to reset your PRAM / NVRAM / SMC because of some other problems, so remember this solution somewhere... Funny thing: now you can't switch to Discrete GPU even using gfxCardStatus, it is forever stuck at Integrated


I spent two working days to discover this solution, and really hope that it will work flawlessly for every MBP owner with a broken discrete GPU. Good luck!

=== NEWS ! YOU COULD ALSO FOLLOW THESE GUIDES FOR THE EXTRA IMPROVEMENTS : ===

Follow the MikeyN Guide - page 35 - #875 - to move the AMDRadeonX3000.kext from the /System/Library/Extensions directory and do not freeze Macbook Pro (at 75% progress bar or "IOConsoleUsers: gIOScreenLockState 3" message).

Rename old AMDRadeonX3000.kext and move new AMDRadeonX3000.kext after update - Page 57 - #1425

Shutdown or Restart Macbook Pro - avoid black screen freeze - Update 2 - Page 57 - #1425

Close the Lid - Sleep - Waking - Page 43 #1066 - Page 50 #1243
I have MBP 2011 late. I got it's GPU physically disabled. But after that I cannot install windows on it. I'm trying to install but only white screen comes on display and nothing happens.where as Mac os works perfectly with Intel graphics. I need help please.
 
I have MBP 2011 late. I got it's GPU physically disabled. But after that I cannot install windows on it. I'm trying to install but only white screen comes on display and nothing happens.where as Mac os works perfectly with Intel graphics. I need help please.
No windows in these macs with discrete gpu disabled.
 
having installed dosdude1's dGPU disabler program (after set nvram fa4ce28d-b62f-4c99-9cc3-6815686e30f9:gpu-power-prefs=%01%00%00%00 ) doesn't mean that it will always power up? even if AMD chips rot at some point?
There is no magic way to issue the efi command outside single user boot and there are no login hooks loading in single user mode so i do not understand how that could work.
 
GBDO's method has too many extra steps which most people won't need to do. It'd probably be better to go back to recommending people do part 3.1 of Fguarini's updated instructions, I have no idea why people continue rewriting existing instructions in more complicated ways.

Here is the least complicated method which I have used time and time again while testing out Kext combinations, re-installing OS X, updating OS X and restoring from Time Machine backups. It's a combination of nsgr's method for modifying the NVRAM without using Arch Linux and Fguarini's method for moving Kexts without having to disable SIP.
Registered to say Thanks!

Just used this on my late 2011 15 inch and I've got display. Had to type the first step on a completely dark screen but it works(I'm still at step 2 as I'm typing this). Thanks for putting the compilation it together as I've been searching for a while and too far away to get dosdude1's fpga programmer and flash the firmware.

Cheers.
 
There is no magic way to issue the efi command outside single user boot and there are no login hooks loading in single user mode so i do not understand how that could work.
That app not work. I also tried it some time ago and never worked.
 
I chose the Archlinux route because my late 2011 MBP 8,2 was dual booting MacOS Catalina & Windows 10 Pro. I accidentally reset the NVRAM to fix the wifi issue with Catalina & ended up with a black screen; it is nearly impossible to know where I should be clicking or when I should be hitting the Enter key. The exact steps I took to recover from the black screen are documented in the attachment.

It is advisable to set a password to prevent accidental resetting of the NVRAM that causes this black screen problem. DosDude1's utility does not work on my MBP due to dGPU being physically disabled.

Credits: AppleMacFinder of macrumors.com and realmacmods.com

PS: My late 2011 MBP 8,2 has undergone both hardware hack documented at realmacmods.com.
 

Attachments

  • How to recover from black screen of dGPU disabled 2011 MBP 8,2.pdf
    112.7 KB · Views: 248
Last edited:
No windows in these macs with discrete gpu disabled.
My late 2011 MBP 8,2 had the dGPU problem and I fixed it with using the RMM modifications and hardware hacks. I was able to get it upgraded to High Sierra back in 2019 and then to Catalina in 2020 using Dosdude1's patcher. Somewhere after HS, I was able to install Windows 10 Pro to dual boot my MBP using Bootcamp. So, with dGPU disabled, I was able to install Windows.
Bootcamp Windows 10 Pro.jpeg
Bootcamp Version 6.0.jpeg
Bootcamp Version 6.0 Control Panel.jpeg
 
Last edited:
Time to prepare ditch that oldie and get a new MacBook Pro with as soon as the M something is announced or if you need to run Ms Windows just get a second hand recent Intel one with a steep discount just because the M something.
 
My late 2011 MBP 8,2 had the dGPU problem and I fixed it with using the RMM modifications and hardware hacks. I was able to get it upgraded to High Sierra back in 2019 and then to Catalina in 2020 using Dosdude1's patcher. Somewhere after HS, I was able to install Windows 10 Pro to dual boot my MBP using Bootcamp. So, with dGPU disabled, I was able to install Windows.
View attachment 1790576View attachment 1790577View attachment 1790578


Probably your way to disable the dGPU is different. I can asure you that with the usual method is not posible.
 
Well, I have to eat my own words. I never tried Windows 10, only Windows 7. In EFI mode it is posible to install Windows 10 with dGPU disabled. Only tnat when connect it to internet, display goes black. I will keep investigating and see if I can solve it.
 

Attachments

  • 037F676D-4A50-484D-BF77-170434F2B7AF.jpeg
    037F676D-4A50-484D-BF77-170434F2B7AF.jpeg
    233.9 KB · Views: 135
  • 0B16A3B9-7186-40B9-9C63-A801E598F38C.jpeg
    0B16A3B9-7186-40B9-9C63-A801E598F38C.jpeg
    246.3 KB · Views: 138
  • C9C4B881-43A5-4622-BC6F-7A1876973F57.jpeg
    C9C4B881-43A5-4622-BC6F-7A1876973F57.jpeg
    263.5 KB · Views: 147
  • BED2DE78-33E3-4301-A19F-F86EE61E78D3.jpeg
    BED2DE78-33E3-4301-A19F-F86EE61E78D3.jpeg
    230 KB · Views: 137
  • 34FFECD5-D598-4DAA-9270-A25517D2727C.jpeg
    34FFECD5-D598-4DAA-9270-A25517D2727C.jpeg
    202.8 KB · Views: 134
Well, I can confirm that the display problem is becaise when connected to internet, installs something that cause the problem. Booting at secure mode, chosing the “Delete recent updates” solve the problem.
 
I forgot to mention that the Intel HD Graphics 3000 driver, regardless of which version, would cause the black screen on reboot. I opted to disable the Intel driver & use the Microsoft Basic Display Driver. My display is still running at full 1680 x 1050 resolution.

And you are right, Windows 10 needs to be installed in EFI mode. It's been 2 years since I installed it so my recollection of the details are a little off.😅
 

Attachments

  • Microsoft Basic Display Adapter_1680x1050.jpg
    Microsoft Basic Display Adapter_1680x1050.jpg
    99.3 KB · Views: 145
  • Like
Reactions: 0134168
Time to prepare ditch that oldie and get a new MacBook Pro with as soon as the M something is announced or if you need to run Ms Windows just get a second hand recent Intel one with a steep discount just because the M something.
To each his own...this is not my primary system so I'll run it until its last breath. Don't need to spend more than is necessary.👌
 
I share my experience, again, for those who are so lazy to read entire thread:
- Go to realmacmods, buy his supercheap utility, follow the instructions. Even, he have a procedure to recover black screen. Or you can send him the entire mac and he will return it to you, fixed.
- Once you follow the instructions, included the resistance remove, perform a efi password procedure, to prevent NVRAM reset.
- Don't go beyond High Sierra. Install a patched software in an EFI and hardware modified computer is not a smart move.
- If you are in High Sierra, in order to recover backlight-keyboard bright control and wake up to sleep ability, remove the AMD X3000 kext and install this kext
- If you want recover the display output ability, grab a displaylink usb 3.0 adaptor. It works very well

I did this procedure at least 10 dead computers, for me, my brother, friends and friends of my friends, and we all very happy.
I use my own mac in live video production, as video playback device. No faults at all

My 2 cents
 
  • Like
Reactions: foliovision
I share my experience, again, for those who are so lazy to read entire thread:
- Go to realmacmods, buy his supercheap utility, follow the instructions. Even, he have a procedure to recover black screen. Or you can send him the entire mac and he will return it to you, fixed.
- Once you follow the instructions, included the resistance remove, perform a efi password procedure, to prevent NVRAM reset.
- Don't go beyond High Sierra. Install a patched software in an EFI and hardware modified computer is not a smart move.
- If you are in High Sierra, in order to recover backlight-keyboard bright control and wake up to sleep ability, remove the AMD X3000 kext and install this kext
- If you want recover the display output ability, grab a displaylink usb 3.0 adaptor. It works very well

I did this procedure at least 10 dead computers, for me, my brother, friends and friends of my friends, and we all very happy.
I use my own mac in live video production, as video playback device. No faults at all

My 2 cents
I don´t agree. At all. running patched Mojave ant Catalina for years with no problem. After that , with Opencore, that is NOT a patched system and is installed in EFI partitions. And now High Sierra in a Mac Pro 5.1

Lastly, control brightness for disabled GPU is included in dosdude patch since some moths ago.
 
I don´t agrre. At all. running patched Mojave ant Catalina for years with no problem. After that , with Opencore, that is NOT a patched system and is installed in EFI partitions. And now High Sierra in a Mac Pro 5.1
Opencore is not a patcher, the system remain untouched.
I have it myself in my cMP 5.1

BTW, the previous post is my advice. You can take it or not.
You can install Monterey if you want. But the forum is flooded of people who no have idea what is doing and then crying about system messed.
 
Last edited:
Opencore is not a patcher, the system remain untouched.
I have it myself in my cMP 5.1

BTW, the previous post is my advice. You can take it or not.
You can install Monterey if you want. But the forum is flooded of people who no have idea what is doing and then crying about system messed.
Yes, I know what you mean. That kind of people is growing like mushrooms in the dark. The worst part is that they don´t invert any time in learning before doing. They pass directly to cry and complain.
 
Been using the fix posted here with the odd sleep/wake issues. However, today my Mac went to sleep and would not wake up and a force reboot would not fix the issue.

I've tried an NVRAM, SMC reset but the issue persists:

Black screen, no keyboard backlight, no chime on startup. Only sign of life is the white LED that stays glowed up when you boot up. I've shone a torch through the Apple logo and there is nothing on the display.​

Would really appreciate if anyone could help? Seems strange as usually the display would show something, but this time there is nothing showing on the display - just a black screen.

Thanks
 
Make a
Been using the fix posted here with the odd sleep/wake issues. However, today my Mac went to sleep and would not wake up and a force reboot would not fix the issue.

I've tried an NVRAM, SMC reset but the issue persists:

Black screen, no keyboard backlight, no chime on startup. Only sign of life is the white LED that stays glowed up when you boot up. I've shone a torch through the Apple logo and there is nothing on the display.​

Would really appreciate if anyone could help? Seems strange as usually the display would show something, but this time there is nothing showing on the display - just a black screen.

Thanks
Make a NVRAM reset and reaply. If after the NVRAM reset theres no chime at boot, you have hardware problems.
 
Hi, The first step isn't even working for me, after entering nomodeset and pressing enter it's just entering another line, nothing more than that. can you please help
Fix for 17 inch dGPU switch issue

(Tested successfully in both “early” and “late” 2011 17 inch MacBook Pro)




This guide is based on the experience of many users (including me) while trying to fix the very well known issue with AMD dGPU on 17’’ MacBook Pro from 2011 (both early and late):



Step 0) As a starting point I made a clean installation of Sierra (Version 10.12.4) — This is just a step for establishing a common middle ground and is not really needed….

0.1)
To do this just download the installer from the App Store and then use “DiskMaker X” to create a bootable installation.

0.2) After the bootable image is created, proceed to turn off your computer and hold the “Alt” or “Options” Key. Select the Sierra installer and proceed with the installation (I format the HDD partition to make a clean install on it)



Note: You might need to do this on another computer. Just buy one of those cheap usb to sata connectors and use it to connect it to another Mac so you don’t risk having your installation failed because of your machine.



Step 1) Prepare a Bootable USB pendrive with a non GUI Linux (Credits to AppleMacFinder)



1.1) Download ArchLinux ISO


You need a working computer for that and a spare CD/DVD/USB drive. Download the latest Arch Linux ISO image from this page - https://www.archlinux.org/download/ , at the time of writing it is archlinux-2017.03.01-dual.iso . Then you could either simply burn this ISO to CD/DVD (which later could be either inserted to MBP's SuperDrive or External DVD Drive connected to MBP by two USB cables) or create a bootable USB: use the great detailed instructions from this page, https://wiki.archlinux.org/index.php/USB_flash_installation_media



1.2) Creating the bootable USB with the .iso:

In macOS


First, you need to identify the USB device. Open /Applications/Utilities/Terminal and list all storage devices with the command:

*) diskutil list


Your USB device will appear as something like /dev/disk2 (external, physical). Verify that this is the device you want to erase by checking its name and size and then use its identifier for the commands below instead of /dev/diskX.

A USB device is normally auto-mounted in macOS, and you have to unmount (not eject) it before block-writing to it with dd. In Terminal, do:

*) diskutil unmountDisk /dev/diskX


Now copy the ISO image file to the device. The dd command is similar to its Linux counterpart, but notice the 'r' before 'disk' for raw mode which makes the transfer much faster:

*) sudo dd if=path/to/arch.iso of=/dev/rdiskX bs=1m

After completion, macOS may complain that "The disk you inserted was not readable by this computer". Select 'Ignore'. The USB device will be bootable.


Step 2) Boot to Linux (Credits to AppleMacFinder):

2.1) Boot to it:
insert this CD/DVD/USB to Macbook Pro, hold Option key while booting, choose "EFI boot" (that is your bootable installation media), press "e" key to edit the GRUB options of the Arch Linux archiso x86_64 UEFI CD menu entry while it is selected at the main screen, add nomodeset to the end of this line and press Enter. If everything is done correctly, you will find yourself at the Linux console! (It takes some time so be patient and wait for the prompt)


2.2) Edit EFI vars: looks like efivarfs filesystem is mounted by default! So you can already cd /sys/firmware/efi/efivars and ls to explore this directory and see if there is a "gpu-power-prefs-..." variable (where ... is UUID of this variable).


2.2-Case 1:

If there is such a variable, its better to remove it with rm.

*) rm gpu-power-prefs-…


In my case the efivarfs has been mounted by default with read/write permissions, but if you are getting the "operation not permitted" message while attempting to rm, it means that in your case efivarfs has been mounted as read-only and you need to remount it with read-write permissions and try again (credits to totoe_84 for this valuable addition) (Try this and then try to remove it):

*) cd /

*) umount /sys/firmware/efi/efivars/

*) mount -t efivarfs rw /sys/firmware/efi/efivars/

*) cd /sys/firmware/efi/efivars/

*) rm gpu-power-prefs-…


If this also fails (If you still can’t erase the file) use chattr command to disable file immutability and then erase the file:

*) chattr -i "/sys/firmware/efi/efivars/gpu-power-prefs-…”

*) cd /sys/firmware/efi/efivars/

*) rm gpu-power-prefs-…


2.2-Case 2:

The file gpu-power-prefs-… doesn’t exist well then you don’t have to delete it hahaha. (I repaired 2 17 inch models and 1 didn’t have it, so it’s fine)


2.3) Create a new gpu-power-prefs-… file (Original credit mentioned above, https://github.com/0xbb/gpu-switch/blob/master/gpu-switch, Credits to AppleMacFinder):

*)
printf "\x07\x00\x00\x00\x01\x00\x00\x00" > /sys/firmware/efi/efivars/gpu-power-prefs-fa4ce28d-b62f-4c99-9cc3-6815686e30f9


2.4) Add immutability to the gpu-power-prefs-… file (Credits to AppleMacFinder):

This chattr command is supposed to lock a file to make it accessible only by "superuser" - and so that, while booting, your EFI will have no chance to screw up your gpu-power-prefs-... variable under any circumstances


*) chattr +i "/sys/firmware/efi/efivars/gpu-power-prefs-fa4ce28d-b62f-4c99-9cc3-6815686e30f9"


2.5) Unmount efivars and reboot (Credits to AppleMacFinder):

Could not unmount efivars if you are inside this directory, so change to the root directory

*) cd /

*) umount /sys/firmware/efi/efivars/

Guarantees that your EFI variables are flushed to efivarfs filesystem, please unmount it safely before rebooting)

*) reboot


3) Eliminate AMD Kexts (Credits to newfield),
Note: You might need to do this every time you do an OS updates, since each update normally writes the AMD Kexts again.


(His words and this also happened to me!: After disabling the dGPU using Arch, normal boot would hang halfway. Although safe boot would work. I wound up having to remove all the AMD kext files in the Terminal in Recovery Console)


Trying to remove them in Single User just gave me sandbox errors. (Summary -> Don’t do it in Single User Mode the one that you boot with Cmd + S)


3.1) So what you have to do is:

If you have FileVault Unlock it first:


Unlock first.

Then Boot into Recovery (“cmd + r”, it will boot without failing, if it fails then repeat step 2 and then after that boot directly into recovery with command + R, I had to do this once because the dGPU got active again after booting into the os with AMD kexts)

*)
Boot into recovery mode (Command + r)

*) Start Terminal

*) diskutil cs list (find UUID for drive)

*) diskutil coreStorage unlockVolume UUID

*) cd /Volumes/Macintosh\ HD

*) mkdir AMD_Kexts

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

*) reboot



(If you only have one storage with 1 partition just use "cd /Volumes/Macintosh\ HD" and the remaining commands after starting the terminal)


Extra STEP), if your PC is now working! Download “steveschow” branch of gfxCardStatus (gfxCardStatus v2.4.3i) or just download the app directly from:

URLS:


https://github.com/steveschow/gfxCardStatus/releases

https://github.com/steveschow/gfxCardStatus

With this application you can even prove that the dedicated GPU can't get activated. Even if you try to change the selected GPU to the dedicated one, it just won't change.


—————

The End!


AND VOILA!!! You have a working 17 inch MacBook Pro. As I said I tested this with an early 2011 and late 2011 17 inch MacBook Pro’s and both are now running (Before they were both dead)


Big thanks to AppleMacFinder, to the makers and contributors of this thread, to gfxCardStatus maker and forkers :D (steveschow) and to switch-gpu makers I can’t thank you guys enough as I am so happy to bring both of this incredible machines back to life. With this post I am not trying to take any credit, but as I had 2 machines I run into different issues with both, which could be helpful to others, thats why I was inclined to make “my own” guide and share it with you.


I just created an account here to share this, Hope it helps more people!
 
For beginners with a BLACK SCREEN:

Received a MBP that evidently had the R8911 removed because after a SMC reset the screen went completely black.

POSTed just ok
Chime on boot
Keyboard backlight responsive
Would login with password

Had a bit of trouble accessing Single User Mode as the MBP would go straight into the (pitch black) login screen
Solved this with a NVRAM/PRAM reset
Then managed to get into Single User Mode (you'll know you're there because the CAPS green LED is responsive but you get no keyboard backlight/no sound)
Waited a few seconds for the system to settle up
Blindly entered: nvram fa4ce28d-b62f-4c99-9cc3-6815686e30f9:gpu-power-prefs=%01%00%00%00
Hit Enter

Blindly entered: reboot
Hit Enter

Display functionality restored

In this case, the main two problems were: system bypassing Single User Mode (don't know what caused this, solved with a NVRAM/PRAM reset)
And Spanish layout keyboard. Single User Mode automatically sets your layout to ENGLISH, so special characters such as -, :, % are placed differently. You have to be very careful and find the key equivalencies.

Fully restored display on High Sierra 10.12.6. Sleep/Brightness controls fully functional thanks to stecker870's patched AppleGraphicsControl.kext. See link below:




Hope you manage to get through it!



I want to forget the ATI and use just intel graphics on 2011 if I understood you right, @Macbookprodude .

@******* I tried to boot to the recovery mode and put a strong light behind the display but still can't see anything.
How do you switched to intel graphics on recovery mode after NVRAM reset? I have googled a lot but couldn't found anyone else but you an answer how to deal, when an ATI card is so dead that you can't get any sing from it.

Thank you very much, if you bother to answer me. :)
I have two of those 2011 computers and both can't get any sign to the screen.

Jeremias
 
Last edited:
  • Like
Reactions: MirComputers
Hi all,

I have been running this patch for some years now on my 8.2 Macbook Pro. Since it's stuck with HS I was thinking about installing Ubuntu on it. My question is, would it work ? I believe that the BIOS part would, but I dont think the running portion of it would.

Have someone tried it successfully ?

Many thanks
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.