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.

o_0

macrumors newbie
Sep 25, 2017
5
2
Last night i installed High Sierra 10.13.3 from Sierra 10.12.6. Using only the the EFI fix from #875 (i needed High Sierra for a thing). Before the installation i made a usb with the latest MacOS Install so i can disable SIP if i brick it https://support.apple.com/en-us/HT201372 (You will need to force shutdown the installation at least once). I did not use this Usb stick to install High Sierra.

The kext AMDRadeonX3000.kext was in the Extensions-off folder and SIP was disabled in Sierra 10.12.6. Do not reenable SIP.
With the above state of Sierra 10.12.6 i then ran the installer "/Applications/Install macOS High Sierra.app" about 1.5 hours later the installer rebooted, during the boot a lot of error messages is displayed.
After some time the installer got stuck on installGTK: GTK installed, ( about 20 lines above it said IOConsoleUsers: gIOScreenLockState 3, hs 0, bs 0, now 0, sm 0x0 matching (post 1444) ) I waited 40 min at this place and then force shutdown the computer, Started and held down cmd + s followed (post 875 from "mount root partition writeable") (Remember do not enable SIP again).

One thing to note is i skipped the icloud setup because the fans where going crazy i logged in and loaded the kext AMDRadeonX3000.kext and the computer got back to normal.
I have not had any problem with the keyboard lights or screen light after the install.
I have a Early 2011 Macbook pro 8,2 with AMD Radeon HD 6750M.

I thought i should share this if anyone like me wondered if it was possible to upgrade to high sierra with only the EFI fix.(But probably not a good idea , force shutdown in the middle of an install is never a good idea)
 
Last edited:

Herik_wilson

macrumors newbie
Feb 5, 2018
1
1
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. 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

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!
Hy AppleMacFinder, thanks for the solution! Really appreciate it! But for some reason after I removed the drivers for the AMD my monitor lost the brightness control and also it doesn’t turn back on when was sleeping( only lcd) it could be one of the drivers?
Thanks
 
  • Like
Reactions: AppleMacFinder

MisterSensitive

macrumors regular
Mar 22, 2012
125
4
Since my Mac is totally unbootable in its state, could I boot my girlfriend's Mac off my HD, save the changes and have them write to my HD, which I could then put back in my MBP?
 
  • Like
Reactions: AppleMacFinder

thompsam

macrumors newbie
Jan 15, 2018
3
1
This was addressed in the Grub solution discussion. High Sierra has that brightness issue regardless if you're using the EFI or GRUB fix (if I am not mistaken). The best thing for you to do is downgrade to Sierra, since there's nothing really new with High Sierra anyway.
[doublepost=1516246920][/doublepost]

Try this first: Boot into Single User Recovery Mode (Cmd-S-R) or Single User Mode (Cmd-S) and fix the disk via command line.

http://www.everythingmacintosh.com/tech-notes/repair-your-hard-disk-in-single-user-mode/

This should repair/rebuild the hard disk if the only problem is the OS. If the repair fails, then consider reinstalling the OS. If you can't reinstall the OS, it's probably the hard drive.


I formatted my hard drive and downgraded to El Capitanas I was unable to download an install image for Sierra. My brightness keys are functioning again, but I am unable to “wake up” the Mac after putting it to sleep. Should sleep be working under El Capitan or does this process only make sleep functional with Sierra?
 

Bravo3013

macrumors member
Sep 1, 2016
67
34
Norway
Last night i installed High Sierra 10.13.3 from Sierra 10.12.6. Using only the the EFI fix from #875 (i needed High Sierra for a thing). Before the installation i made a usb with the latest MacOS Install so i can disable SIP if i brick it https://support.apple.com/en-us/HT201372 (You will need to force shutdown the installation at least once). I did not use this Usb stick to install High Sierra.

The kext AMDRadeonX3000.kext was in the Extensions-off folder and SIP was disabled in Sierra 10.12.6. Do not reenable SIP.
With the above state of Sierra 10.12.6 i then ran the installer "/Applications/Install macOS High Sierra.app" about 1.5 hours later the installer rebooted, during the boot a lot of error messages is displayed.
After some time the installer got stuck on installGTK: GTK installed, ( about 20 lines above it said IOConsoleUsers: gIOScreenLockState 3, hs 0, bs 0, now 0, sm 0x0 matching (post 1444) ) I waited 40 min at this place and then force shutdown the computer, Started and held down cmd + s followed (post 875 from "mount root partition writeable") (Remember do not enable SIP again).

One thing to note is i skipped the icloud setup because the fans where going crazy i logged in and loaded the kext AMDRadeonX3000.kext and the computer got back to normal.
I have not had any problem with the keyboard lights or screen light after the install.
I have a Early 2011 Macbook pro 8,2 with AMD Radeon HD 6750M.

I thought i should share this if anyone like me wondered if it was possible to upgrade to high sierra with only the EFI fix.(But probably not a good idea , force shutdown in the middle of an install is never a good idea)
I formatted my hard drive and downgraded to El Capitanas I was unable to download an install image for Sierra. My brightness keys are functioning again, but I am unable to “wake up” the Mac after putting it to sleep. Should sleep be working under El Capitan or does this process only make sleep functional with Sierra?

I am running El Capitan 10.11.6 with the fix active and I have no issues with sleep/wake. Everything works as usual.

I am considering updating to Sierra, but have not done so yet in fear of making my mac unusable.

Update:
Just updated successfully to Sierra from El Capitan! Only thing I had to do was to remove the AMD kexts once the installation was complete. (During the install process my Mac would suddenly enter a bootloop where it would get stuck on the progress at the same spot every time, I just had to remove the drivers in Single User Mode and everything works, no heat issues, function keys works). I made a bootable clone of my SSD with Carbon Copy Cloner just in case something would go wrong.
 
Last edited:
  • Like
Reactions: AppleMacFinder

thompsam

macrumors newbie
Jan 15, 2018
3
1
I am running El Capitan 10.11.6 with the fix active and I have no issues with sleep/wake. Everything works as usual.

I am considering updating to Sierra, but have not done so yet in fear of making my mac unusable.

Interesting. Per chance, does anyone know exactly which step/action in the fix process enables sleep to work? I’m thinking maybe I made a mistake on some step which is leading to my issue.
 
  • Like
Reactions: AppleMacFinder

demsar

macrumors newbie
Feb 6, 2018
2
4
Interesting. Per chance, does anyone know exactly which step/action in the fix process enables sleep to work? I’m thinking maybe I made a mistake on some step which is leading to my issue.

I started this proces on Sierra, made it work, and then I updated to High Sierra, which made me do the process again, or better said, actually creating an .sh script to rerun it again.

I've used this post and everything works, besides external display of course. Sleep, brightnes and everything is fine.

I've also put my logic board into the oven today as this blog post suggests, and it actually resurrected the GPU (made NVRAM reset first). Now even external display works, but when AMD gpu is used, graphics are not at its best - dynamic OS content and window movement flickers etc. Youtube videos are playing fine, which is suprising). Probably wont last long, but no biggie :)

Now if I update or reset nvram, there are just 2 steps

1. First need to go to recovery os (cmd+r+s) and run
Code:
csrutil disable
reboot

2. Run .sh script from Single user mode (cmd+s)
Code:
/sbin/mount -uw /
sh force-iGPU.sh

Reboot and ready to go
 
Last edited:

Bravo3013

macrumors member
Sep 1, 2016
67
34
Norway
I started this proces on Sierra, made it work, and then I updated to High Sierra, which made me do the process again, or better said, actually creating an .sh script to rerun it again.

I've used this post and everything works, besides external display of course. Sleep, brightnes and everything is fine.

I've also put my logic board into the oven today as this blog post suggests, and it actually resurrected the GPU (made NVRAM reset first). Now even external display works, but when AMD gpu is used, graphics are not at its best - dynamic OS content and window movement flickers etc. Youtube videos are playing fine, which is suprising). Probably wont last long, but no biggie :)

Now if I update or reset nvram, there are just 2 steps

1. First need to go to recovery os (cmd+r+s) and run
Code:
csrutil disable
reboot

2. Run .sh script from Single user mode (cmd+s)
Code:
/sbin/mount -uw /
sh force-iGPU.sh

Reboot and ready to go

Thank you for the guide.

As I have Written earlier I am tempted to Install Sierra. Did you experience problems like heat or sleep/wake function not working properly in Sierra like other users have reported, or did everything work as expected?

Did you experience any problems during your OS update from Sierra to High Sierra? Like did it freeze during the Install process, or did it work like a regular update? And when the install is finished, you have to apply the fix again?

Thanks in advance!
 

xanderx007

macrumors 6502
Nov 7, 2017
262
140
I formatted my hard drive and downgraded to El Capitanas I was unable to download an install image for Sierra. My brightness keys are functioning again, but I am unable to “wake up” the Mac after putting it to sleep. Should sleep be working under El Capitan or does this process only make sleep functional with Sierra?

at this point, I suggest you try the GRUB solution, since the EFI fix is unstable in some/most cases.
 
  • Like
Reactions: AppleMacFinder

demsar

macrumors newbie
Feb 6, 2018
2
4
Thank you for the guide.

As I have Written earlier I am tempted to Install Sierra. Did you experience problems like heat or sleep/wake function not working properly in Sierra like other users have reported, or did everything work as expected?

Did you experience any problems during your OS update from Sierra to High Sierra? Like did it freeze during the Install process, or did it work like a regular update? And when the install is finished, you have to apply the fix again?

Thanks in advance!

Sleep/wake works normally. About heat - gfxCardStatus allows fan speed setting, I've put it to 3000rpm and that way cpu temp is normally 40-50°C (my usage is quite basic, using mostly only Traktor Pro 2, Simple Ableton projects, Parallels, Safari).

Update went through perfeclty. And after the update was finished, mac even booted to login screen, but second time I was again stuck at grey screen, so needed to rerun mentioned .sh script again. And that was it.
 

AppleMacFinder

macrumors 6502a
Original poster
Dec 7, 2009
796
152
After all of this, and not being able to use an external monitor without a lot of lag, I decided to buy...
Sorry friend, perhaps you've skipped this part of quoted message:
I probably know another, much cheaper way to get your external monitor working without any lag. You could buy a cheap single board computer ("SBC" acronym), attach SBC to this external monitor, then enable the desktop sharing at your MBP, connect from SBC to MBP using the remote desktop and enable the full screen mode. Basically it would be like a thin client - https://en.wikipedia.org/wiki/Thin_client . Of course you would also need a keyboard / mouse / some other stuff, but it still will be much cheaper than buying a new iMac
If you will be "remote desktopping" your MBP to your external screen using a single board computer, theoretically you'll be able to avoid the lag, though a degree of your success will depend on the possible bandwidth between these devices at your local network. Probably the best results will be if your directly connect your MBP and that single board computer with an Ethernet cable

Is there a solution for the nonprogrammer who's early 2011 MBP failed d/t faulty GPU? Could anyone recommend a repair shop that can reprogram to disable the failed GPU?
If you can't do it by yourself and would like to reduce the repair costs to minimum, you don't need a repair shop - just ask some computer science student to do it for you, it will be much cheaper! Actually it doesn't require too much of the technical knowledge, you could easily follow this guide by yourself as all the steps are clearly described
[doublepost=1518020286][/doublepost]
after I removed the drivers for the AMD my monitor lost the brightness control and also it doesn’t turn back on when was sleeping( only lcd) it could be one of the drivers?
Interesting. Per chance, does anyone know exactly which step/action in the fix process enables sleep to work? I’m thinking maybe I made a mistake on some step which is leading to my issue
My brightness keys are functioning again, but I am unable to “wake up” the Mac after putting it to sleep. Should sleep be working under El Capitan or does this process only make sleep functional with Sierra?
Loss of the brightness control is somewhat expected (I also lost the brightness control) although some people report it as still working, but there shouldn't be any problems with sleep/ wake. It was working for me at El Capitan. If you got a problem with sleep/wake, I'm unsure what could have caused it, but maybe you could get it working after resetting your PRAM/NVRAM - it will remove a fix (you'll have to repeat it) but it could also return some of the other EFI variables, which could probably have caused these problems, to their default states
Since my Mac is totally unbootable in its state, could I boot my girlfriend's Mac off my HD, save the changes and have them write to my HD, which I could then put back in my MBP?
Some stages, like moving the AMD drivers, could be done while your HDD is externally connected to another computer (not necessarily Mac, connecting it to Linux is also possible - mentioned it at the 1st post). But the other stages, like setting up the EFI variables, could be done only at your MBP because these variables are stored at the NVRAM of your logic board. Hopefully you could still boot the Archlinux floppy to mess with them
I am running El Capitan 10.11.6 with the fix active and I have no issues with sleep/wake. Everything works as usual. I am considering updating to Sierra, but have not done so yet in fear of making my mac unusable.
Yes, only a few apps have something higher than El Capitan as their minimum requirement, so it makes little sense to upgrade to Sierra, especially at this fragile hardware/software setup we got
 
  • Like
Reactions: Bravo3013

Socrim

macrumors newbie
Feb 7, 2018
1
1
What can I do if there is then screen is not working at all? I think connecting an external monitor does not work with arch Linux, right?

Any help appreciated.
 
  • Like
Reactions: AppleMacFinder

deknow

macrumors newbie
Feb 7, 2018
19
3
You're welcome! But the people we all need to thank are AppleMacFinder, Fguarini, nsgr, GBDO and others who generously gave their time to make it possible for us to convert our expensive paperweight into a useful laptop!

You really have been very helpful! Hoping you can let me know if I've done everything right. I have yet to upgrade to 10.12.6, I'm running 10.12.5 and it seems to be okay though I'm not sure I've actually fixed it. Here is a photo of what my gfxcardstatus looks like. Hoping to start there and see if I've done this right... I still get occasional seizing and auto restarts!

Please! Any help will be appreciated, definitely not as tech savvy as some of you here!
 

Attachments

  • Screen Shot 2018-02-07 at 5.56.42 PM.png
    Screen Shot 2018-02-07 at 5.56.42 PM.png
    58.1 KB · Views: 219
  • Like
Reactions: AppleMacFinder

deknow

macrumors newbie
Feb 7, 2018
19
3
Does anyone have any suggestions here? I'm running Sierra 10.12.5 and it seems to be working a bit... My computer is a 2011 15' macbook pro late i7 2.2 16gb ram.

I can see that my computer is idling extremely hot (60c) with only Chrome open. I followed the steps from this post
Force 2011 MacBook Pro 8,2 with failed AMD GPU to ALWAYS use Intel integrated GPU (EFI variable fix)

Basically what I think is happening is my computer is running to hot and causing the computer to shut down automatically. Does this make sense to you? What can i do to ensure its not overheating so much?
 
  • Like
Reactions: AppleMacFinder

AppleMacFinder

macrumors 6502a
Original poster
Dec 7, 2009
796
152
What can I do if there is then screen is not working at all? I think connecting an external monitor does not work with arch Linux, right?
If you can't get any image at all, you'll have to remove a R8911 resistor. Check out this link - https://realmacmods.com/macbook-2011-radeon-gpu-disable/ - but hopefully you could still see something (even distorted) and avoid this procedure for now. They advise a reflow station / soldering iron, but maybe its possible with some thin nippers or other repair tool - just make sure not to screw up your board and pick the right resistor
I still get occasional seizing and auto restarts
In what situations you experience these restarts? If while launching some software like Photoshop, just clean install it with the full erase of its' old configs (because it could be that it detected the discrete graphics during its' installation and put some lines to config and now is always trying to use the discrete card regardless of your OS X / EFI settings
Basically what I think is happening is my computer is running to hot and causing the computer to shut down automatically. Does this make sense to you? What can i do to ensure its not overheating so much?
If you search through this thread for "kext" you'll find that loading some kext helps to reduce the temperatures. In addition you could replace your thermal paste and clean the insides of your MBP from dust
 

deknow

macrumors newbie
Feb 7, 2018
19
3
If you search through this thread for "kext" you'll find that loading some kext helps to reduce the temperatures. In addition you could replace your thermal paste and clean the insides of your MBP from dust
Its also saying I need to service my battery, I'm wondering if this is also a contributing factor to the overheating?

I moved the AMDRadeon3000x to a backup then used terminal to put it back after loading. Currently I'm still at about 60c
 

Bravo3013

macrumors member
Sep 1, 2016
67
34
Norway
I have the fix installed on my main SSD and everything works perfectly:
Today I tried to boot up from an old backup using an external HDD with Mavericks installed. It boots up fine and I can start safari with no problem.
But when I am starting any graphic intensive program (Pixelmator, Minecraft) or connecting a DisplayPort cable (I know external doesn't work but inserting a cable makes the AMD go active I believe?) the machine freezes completely and a forced shutdown is required.

I believe this happens because I haven't removed the AMD kexts in extensions on the external drive. How do I remove them? They do not show up in Finder /Library/Extensions and I am not sure how to select an external HDD from Single User mode.

Q: Does anyone know how to remove AMD kexts on external HDD?
 

Pisquit

macrumors newbie
Feb 8, 2018
5
6
hi everyone, i think i made a great mistake
i have a MBPro early 2011 15" os 10.13.3 with the GPU dead, i follow the steps of AppleMacFinder and everythinks seems good, the mac boots again, but almost everytime i try to reboot it don't start anymore so i have to repeat everything

so i follow the step at the beginning of the GRUB Solution post but now i have a kernell panic and i dont know what i have to do, there are same ways to step back?

please help
thanks
 

Darkiswhite

macrumors newbie
May 25, 2017
16
1
Thanks infinte for this guide.

I followed the guide and it was all right, the only problem was that the solution was not permanent.
I solved immediately after having forced on iGPU and then with the system working, going in Macinotosh> System> Library> Extensions and deleting ONLY the file: AMDRadeonX3000.kext
In this way the brightness, stop etc. functions they continue to work and the solution is permaentent.

At the moment the problem is totally unsolved with Bootcamp. Windows continues to work only with dGPU.
Is there anyone who knows a solution, or will I have to resign myself to using it only in virtual?
 
  • Like
Reactions: AppleMacFinder

deknow

macrumors newbie
Feb 7, 2018
19
3
But the system doesn't know how to power-management the failed AMD-chip.
For that you have to either manaully load the kext after boot by:


sudo kextload /System/Library/Extensions-off/AMDRadeonX3000.kext

Automate this with the following LoginHook:

sudo mkdir -p /Library/LoginHook
sudo nano /Library/LoginHook/LoadX3000.sh


with the following content:

#!/bin/bash
kextload /System/Library/Extensions-off/AMDRadeonX3000.kext
exit 0


then make it executable and active:

sudo chmod a+x /Library/LoginHook/LoadX3000.sh
sudo defaults write com.apple.loginwindow LoginHook /Library/LoginHook/LoadX3000.sh


Preventive measures for future use

There are two further caveats to know: This is reversible when the SMC/PRAM/NVRAM is reset. If that happens the GPU-power-pref nvram can/has to be set again to force the use of the iGPU from boot-time.

Since this can happen quite easily (and is often erroneously recommended way too many times than it is actually useful), you should probably prepare for such a scenario and create a simple script to greatly speed up the process and also make entering the necessary variable much less error prone:

sudo nano /force-iGPU-boot.sh

– Enter the following content to this file:

#/bin/sh
sudo nvram boot-args="-v"
sudo nvram fa4ce28d-b62f-4c99-9cc3-6815686e30f9:gpu-power-prefs=%01%00%00%00
exit 0


– Now make that executable:

sudo chmod a+x /force-iGPU-boot.sh

In the future, when the SMC/PRAM/NVRAM gets reset to default values it is now possible to boot into SingleUser with:

<Cmd>+<s>

– And after mounting your boot-volume read-write to execute just:

sh /force-iGPU-boot.sh

This setup has now one kext in a place Apple's installers do not expect. That is why in this guide SIP has not been reenabled. If an update that contains changes to the AMD drivers is about to take place it is advisable to move back the AMDRadeonX3000.kext to its default location before the update process. Otherwise the updater writes at least another kext of a different version to its default location or at worst you end up with an undefined state of partially non-matching drivers.

After any system update the folder /System/Library/Extensions has to be checked for the offending kext. Its presence there will lead to e.g. a boot hang on Yosemite and Sierra, an overheating boot-loop in High Sierra.

Further: this laptop is overheating, no matter what you do. The cooling system is inadequate and the huge number of failing AMD chips are just proof of that.

To prolong the life of this now hacked machine it is advisable to abstain from really heavy lifting over prolonged stretches of time. Strictly follow the usual recommendations for laptops: use on hard surfaces, keep the fans and fins inside it clean. Using any fancontrol software with relatively aggressive settings should also help: like smcFanControl, MacsFanControl, or TGPro (the latter both commercial).


This is fairly complete and what I do recommend to everyone asking me.
Nevertheless. We're not done here, yet. Improvements are welcome. Share them!

I'm pretty sure I've done everything right up until this point, I have the integrated graphics card permanently loaded but I'm not sure if the AMDRadeon kext is being moved back after login i'm getting

/System/Library/Extensions-off/AMDRadeonX3000.kext failed to load - (libkern/kext) not found; check the system/kernel logs for errors or try kextutil(8).

and I can see the faulty Kext in the backup folder I created, its in a folder inside my mac HD along with applications, Users, library etc.

Can anyone please let me know what I've done wrong? I feel like I'm so close but still struggling with this last step!
 

nsgr

macrumors 6502
May 22, 2017
317
117
At High Sierra you have to be careful with the AppleSpell service. This service is activated in the web browser or text editor (like textedit).

Maybe you think it's an AMD GPU problem but in reality it's the AppleSpell service causing overheating.

I had several tabs open in Safari and suddenly the Macbook Pro was rising in temperature until it reached 90 degrees Celsius.

I had to kill the AppleSpell process on Active Monitor to lower the temperature.

https://forums.macrumors.com/threads/what-is-applespell.161178/

https://discussions.apple.com/thread/4561221

https://discussions.apple.com/thread/8088686?start=15&tstart=0

https://discussions.apple.com/thread/6607774

https://apple.stackexchange.com/questions/151527/is-it-possible-to-disable-spell-check-systemwide
 

deknow

macrumors newbie
Feb 7, 2018
19
3
At High Sierra you have to be careful with the AppleSpell service. This service is activated in the web browser or text editor (like textedit).

Maybe you think it's an AMD GPU problem but in reality it's the AppleSpell service causing overheating.

I had several tabs open in Safari and suddenly the Macbook Pro was rising in temperature until it reached 90 degrees Celsius.

I had to kill the AppleSpell process on Active Monitor to lower the temperature.

https://forums.macrumors.com/threads/what-is-applespell.161178/

https://discussions.apple.com/thread/4561221

https://discussions.apple.com/thread/8088686?start=15&tstart=0

https://discussions.apple.com/thread/6607774

https://apple.stackexchange.com/questions/151527/is-it-possible-to-disable-spell-check-systemwide

If you can offer some advice on my above problem It would be of great help! Thanks in advance!
 

nsgr

macrumors 6502
May 22, 2017
317
117
What can I do if there is then screen is not working at all? I think connecting an external monitor does not work with arch Linux, right?

Any help appreciated.

I had a black screen problem because when I turned on the Macbook Pro nothing appeared but I heard the sound of the chime.

I did the clear reset NVRAM PRAM reset but still continued with the black screen.

What solved was the SMC reset repeated 4 times.
Each time I press Shift-Control-Option on the left side of the built-in keyboard, then press the power button at the same time. Hold these keys and the power button for 20 seconds.


How to reset the System Management Controller (SMC) on your Mac
After your Mac shuts down, press Shift-Control-Option on the left side of the built-in keyboard, then press the power button at the same time. Hold these keys and the power button for 10 seconds.

https://support.apple.com/en-us/HT201295

How? and Why? to Reset The System Management Controller (SMC Reset)

[doublepost=1518207960][/doublepost]
Does anyone have any suggestions here? I'm running Sierra 10.12.5 and it seems to be working a bit... My computer is a 2011 15' macbook pro late i7 2.2 16gb ram.

I can see that my computer is idling extremely hot (60c) with only Chrome open. I followed the steps from this post
Force 2011 MacBook Pro 8,2 with failed AMD GPU to ALWAYS use Intel integrated GPU (EFI variable fix)

Basically what I think is happening is my computer is running to hot and causing the computer to shut down automatically. Does this make sense to you? What can i do to ensure its not overheating so much?

Follow The Guide MikeN - #875
[doublepost=1518208525][/doublepost]
If you can offer some advice on my above problem It would be of great help! Thanks in advance!

Follow The Guide MikeN - #875

These kexts need to be inside the /System/Library/Extensions/ directory:
AMD6000Controller.kext
AMDSupport.kext
AMDLegacySupport.kext
AMDFramebuffer.kext
AMDLegacyFramebuffer.kext

This problematic AMDRadeonX3000.kext must be outside the above directory.
In The Guide MikeN this AMDRadeonX3000.kext is in /System/Library/Extensions-off/ .

With the above procedures, the temperature of Macbook Pro will decrease.

The AMD6000Controller.kext activates the full power of the AMD GPU and the AMDRadeonX3000.kext decreases the temperature of the AMD GPU.

Order of less heating of web browsers:

1 - Safari - the least hot of all. It can reach 50-60 degrees Celsius on Youtube.

2 - Chrome - hotter than Safari.

3 - Firefox - the champion of heating surfing the Internet.
 
Last edited:

deknow

macrumors newbie
Feb 7, 2018
19
3
Follow The Guide MikeN - #875

But how do I get the kexts back where they originally were? As I said above I moved the AMD kexts already and I don't know where to move it in order to get it back to the exact way it was before.
 

nsgr

macrumors 6502
May 22, 2017
317
117
But how do I get the kexts back where they originally were? As I said above I moved the AMD kexts already and I don't know where to move it in order to get it back to the exact way it was before.

For what directory did you move the AMD kexts? /DisableExtensions directory?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.