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.

Spectrum

macrumors 68000
Mar 23, 2005
1,808
1,115
Never quite sure
Similar symptoms here (except for keyboard backlit - on), but after hardware "fix" - removing the resistor...
I feel like there has to be a way to reapply the fix - the question is how to proceed when the screen is black?
The computer was working fine minutes before (after applying the GPU firmware fixes), but would not wake from sleep, and rebooting chimes and motherboard starts up, but then nothing.
 

Wowtime100

macrumors newbie
Feb 21, 2019
1
0
Melbourne
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

Trying to boot my MBP from the original software CD and getting this error after having saved the machine with the fix described above, please help!
 

Attachments

  • IMG_20190222_063305.jpg
    IMG_20190222_063305.jpg
    4.5 MB · Views: 317

jaysee_au

macrumors newbie
Aug 7, 2018
28
8
Melbourne, Australia
Seems like others have the same issue I do re: the nvram setting 'fix' not working after the January security update.

Per this link at Apple it seems that there is an updated graphics driver in that update. Has anyone tried just replacing the previous driver and doing the NVRAM fix again to see if that fixes it?
 

pckrullenbol

macrumors member
Sep 30, 2016
30
10
The Netherlands
Per this link at Apple it seems that there is an updated graphics driver in that update. Has anyone tried just replacing the previous driver and doing the NVRAM fix again to see if that fixes it?

I think you are right, I had a lot of problems installing the January security update. Luckily I have a second OSX on a second HD, so it is easy to do updates and do changes in the file-system.
With kext /System/Library/Extensions-off/AMDRadeonX3000.kext (v1.68.20) terminal code "sudo kextload /System/Library/Extensions-off/AMDRadeonX3000.kext" works without errors. This is the code in the login hook.
With the newer version I had problems. The other AMD*.kext's /System/Library/Extensions are newer with version v1.68.21.
I have no problems with the NVRAM fix. I can reboot or shutdown without problems (most of the time...).
And my brightness is still working.
 

Tussockland

macrumors newbie
Feb 22, 2019
1
1
New Zealand
I'm not a mac guy, but my wife has one of these. I had problems after this update too, but then tried a few more things:

[this possibly need all SMC and PRAM/NVRAM resets done;
<leftShift>+<Ctrl>+<Opt>+<Power> for few seconds; then hold
<Cmd>+<Opt>+<p>+<r>+<Power> until 2nd Chime]

Try either one or both of these:
1.Power up, hold Command-S, type:

fsck -fy
nvram fa4ce28d-b62f-4c99-9cc3-6815686e30f9:gpu-power-prefs=%01%00%00%00
nvram boot-args="-v"
reboot

2.And/Or Power up, hold Command-R for recovery options; do First Aid; Close down and restart with Command-S, then just the nvram stuff above.
Or try reverse order of both these options.

Hope this helps others, got mine going again, but i wish someone could do a new guide for a permanent fix!
 
  • Like
Reactions: Laisen

lonadar

macrumors newbie
Jul 11, 2011
2
0
Indiana, USA
I apologize in advance if this isn't the approperiate place, but this thread helped me to get as far as I have so far, and since it appears to still be active, I thought I'd see if the hive mind could help.

I have a 27" Late 2009 iMac (3.06 Ghz, ATI Radeon HD 4670) running High Sierra.
About two years ago the computer refused to wake from sleep, so I hard-powered down and rebooted. The progress bar would get about 2/3rds the way across and then stop. Usually just before this, the pattern of the background would change slightly into something of a fine checkerboard.

I was able to boot to the Recovery drive, and into Safe Mode, but not normally. I've run EtreCheck, the Apple Hardware Test (which was an adventure itself as it isn't on my Recovery drive so I had no keyboard method to boot to it) and probably a few other tools. I have reinstalled the OS countless times, and even bought an external drive to backup to before wiping the main drive and reinstalling the OS. I have pruned my Extensions, PreferencePanes, StartupItems, removed all login items from the Users/Groups pane, used OnyX to rebuild the caches and reset the SMC.

In the end, primarily from this thread, I was able to determine that if I removed two files, the system would complete the boot cycle:
ATIRadeonX2000.kext
AMDLegacySupport.kext

Originally only the ATI file needed to be removed, but a later system update required the removal of both to restore a bootable state. With those two files removed, I am able to boot, although the system is noticeably hindered. iTunes and Discord are almost unusable because they constantly refresh the active window. My typing easily outpaces the text entry into Facebook and Messenger (I've taken to writing long messages in a notepad window and then copy/pasting it into the text field in Facebook - typing into this forum is no problem). Youtube videos are a mess and most of my games won't run at all. Even during normal use, the screen has faint red bars vertically through it.

image0.jpg


I had some discussion going on the Apple support communities (https://discussions.apple.com/thread/8031750?page=2) but it felt stalled after a bit, or perhaps I just didn't comprehend the next step. There was discussion about manually editing the 4600Controller.kext, but I'm not sure I understand what to change or add.

On a side note, at my son's suggestion I downloaded Ubuntu 18.04.2 to a USB drive and attempted to boot. The results were fairly similar to when the system originally crashed, just with a lot more red.

I know this is a different beast than a laptop with an integrated GPU as a backup, but I thought I'd see what was possible, short of the $500+ to replace the GPU, or $1000+ for a new machine. I'd like to think there's some way to adjust the .kext that allows it to load properly, even if the GPU has gone bad in some way and can't use it's full feature set. The card isn't "dead", or I wouldn't see anything, right? Any help appreciated...
 
Last edited:

pshufd

macrumors G4
Oct 24, 2013
10,145
14,572
New Hampshire
One of these days I'll go through this again to see if I can get the 2011 working again. It is a nice laptop and I can always use another screen. I'm have my needs met for now, though. My home is starting to resemble a MacBook Pro museum.
 
  • Like
Reactions: Spectrum

Dave111

macrumors newbie
Nov 1, 2018
24
4
Anybody has been able to fix the sleep issues on El Capitan? @MikeyN guide works great except for screen going dark after closing lid or going into sleep mode. Any help is appreciated.
 

pckrullenbol

macrumors member
Sep 30, 2016
30
10
The Netherlands
Anybody has been able to fix the sleep issues on El Capitan? @MikeyN guide works great except for screen going dark after closing lid or going into sleep mode. Any help is appreciated.

Maybe check your sleep mode?
Get (in terminal) the current sleep mode:
pmset -g | grep hibernatemode

0 - only component powered is RAM. This is the default for desktop Macs.
1 - hibernate mode and is the default for older portable Macs.
3 - like 0, but RAM contents are also written to disk. If there is power loss, the system will restore RAM contents from disk. This is the default for newer portable Macs.
25 - power off RAM and CPU, write RAM contents to disk. The system will restore from disk.

Set sleep mode with:
sudo pmset -a hibernatemode <hibernate value>

I have mine on 0, seems most reliable.
 

pshufd

macrumors G4
Oct 24, 2013
10,145
14,572
New Hampshire
Thank-you for the directions. Just to be clear, I have Sierra installed on the HDD and the screen is dead so I can't see what I am doing. I just do step 1 (Command-S), wait for a while, and then type in those commands?
 
  • Like
Reactions: Spectrum

pshufd

macrumors G4
Oct 24, 2013
10,145
14,572
New Hampshire
I spent an hour trying to get this to work and was unsuccessful. I kept getting the three beeps. I did get it to stall but it's possible that the OS on the HDD is no good. So I will build an OS on a spare SSD and put it in and try again. I did play around with the memory sticks just in case that was the problem but I had no success there. For those that did get this to work: can you still use 1920x1200 on the 17 inch models? I would love to get this working as I could use another MBP (I need one for my daughter).
 

Chatocl

macrumors newbie
Feb 26, 2019
2
0
Hi I'm also having more problems with the January update on sierra

I think that improved "stability" (not getting almost always frozen on restart / power down and on recovering from sleeping by moving two files instead of only one
moved files
AMDRadeonX3000.kext and AMDRadeonX3000GLDriver.bundle file out of the way:

mv /System/Library/Extensions/AMDRadeonX300* /System/Library/Extensions-off/


regards
 
Last edited:

Chatocl

macrumors newbie
Feb 26, 2019
2
0
Hi I'm also having more problems with the January update on sierra

I think that improved "stability" (not getting almost always frozen on restart / power down and on recovering from sleeping by moving two files instead of only one
moved files
AMDRadeonX3000.kext and AMDRadeonX3000GLDriver.bundle file out of the way:

mv /System/Library/Extensions/AMDRadeonX300* /System/Library/Extensions-off/


regards
 
Last edited:

Roman78

macrumors 6502
May 7, 2018
380
131
Eifel - Germany
I got a problem whit the new MBP that came today. Well i did the EFI mod, rebooted into safemode and that worked. But after removing the R9811 the display was black. The machine ist running and i can use VNC to remotely get on the desktop.

It should be the exact same laptop i am working on now. But i found some diverence in the Bootrom version. Maybe that could be the problem. On mine there is bootrom MBP81.0050.B00 on the other one the is 82.0.0, without the MBP

Screen Shot 2019-02-27 at 19.12.13.png


No monitor seems to be connected.

Screen Shot 2019-02-27 at 19.12.56.png


What could that be?

/edit... well now something strange. While i was connected via VNC i entered

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

did a reboot an got screen.... I don't get it...

/edit2: I just discovered that the mew one is a Late 2011 and mine is a early 2011. Could there be a difference? And it got a different CPU. It has the i7-2675QM and mine got the i7-2720QM, but both 2.2 Ghz.
 
Last edited:

MikeyN

macrumors regular
Jul 26, 2017
129
75
Anybody has been able to fix the sleep issues on El Capitan? @MikeyN guide works great except for screen going dark after closing lid or going into sleep mode. Any help is appreciated.

First of all: In my experience Sierra is the sweet spot in terms of usability, reliability and applicability of the fix in this situation. For me at least.

For the sleep problems:

1. Disable automatic sleep, because:

2. Do not let it sleep while peripherals like disks or docks are connected via Thunderbolt.

3. Do not let it sleep via just closing the lid.

4. Make sure you have the start-up disk selected in the System Preferences


Instead of lid-closing: issue a software command to let it sleep, like "Apple Menu > Sleep" or the key combo. Automatic sleep is not a problem *if* no Thunderbolt peripherals are attached. But with software-induced sleep and waiting before lid-close the dark-screen is a very rare occurrence.

In my voodoo experience it seems hardware triggered sleep or sleep with Thunderbolt peripherals attached cause the black screen issue. Once that happens it seems to screw up an NVRAM or SMC variable, requiring a reset of those. Clearing those variables then also requires you to repeat setting the fix again.

That is of course just conjecture, but it seems to help if you really wait with closing the lid until the sleep indicator is in snoring-mode. That may take up to minute. Slowing you down occasionally is way better than a hard switch-off.
 

Roman78

macrumors 6502
May 7, 2018
380
131
Eifel - Germany
Anybody has been able to fix the sleep issues on El Capitan? @MikeyN guide works great except for screen going dark after closing lid or going into sleep mode. Any help is appreciated.

I run also El Capitan, but don't have any problems. I just put the screen down and it goes to sleep. What mods did you do?

I only did the EFI mod (last only from within OSX because of a Pram reset i had to do because of a new SSD) and removed the R8911 resistor.
 

JMVB

macrumors regular
May 16, 2016
186
51
I run also El Capitan, but don't have any problems. I just put the screen down and it goes to sleep. What mods did you do?

I only did the EFI mod (last only from within OSX because of a Pram reset i had to do because of a new SSD) and removed the R8911 resistor.
X2
 

funkybrewster

macrumors newbie
Jul 3, 2017
2
0
Hey there folks. So I found this forum and applied the fix to my early 2011 mbp, worked wonderfully for about a year.

Back in January, I was streaming from Netflix and ran out of battery, forced shutdown mid stream. Since then, I haven't been able to restart at all. I reset SMC and PRAM, and I can't even make it past the restart "dvd drive grind" sound. I'm still on the original battery, and usually don't make it a full hour on one charge, but even disconnecting the battery and running off mains, I can't get past the grind sound. The fans will run but the os won't load, the screen doesn't display, and no startup chime.

I know it's a bit of a longshot, but has anyone seen this problem or have any recommendations for me? Obvi I can't replace the mobo, just wondering if it's something more mundane than that. Thanks in advance!
 

ethan0

macrumors newbie
Mar 2, 2019
1
0
London, Ontario, Canada
Sorry for late to the party as the original post start in 2017 Feb. I got my MBP8,2 in 2012 and I was lucky enough to enter the recall program before Apple ended. However, a similar situation happened about two weeks ago as I believe it was after I update the High Sierra from 10.13.5 to 10.13.6. My MBP has two physical SSD drives, and I have both 10.9 and 10.13 install on SSD separately. Both gave me a similar problem. First is 10.13.6 and then 10.9.5

I first pull out the SSD for 10.13 so I can just work on 10.9.5 boot at this time.
I tried the first method "remove the AMD drivers" and able to give me a super lagging screen, but I have no luck with re-building the gfxCardStatus. Last, I put all the AMD drivers back, reset PRAM and SMC and do the following:


1. Boot into the single user mode
2. Resetting nvram to based on the original post in single user mode

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

nvram boot-args="-v"

3. Remove only the ONE offending kext (AMDRadeonX3000.kext)based on a protocol from page 35 - #875

Woola! It WORKS!!! For OSX 10.9, I believe there is no SIP, so whatever has been removed will be removed. There is also no update. I have no sleeping/walking issue also. The downside is this not as beautiful as the other macOS and the ram leak is slightly higher (16G —> 8.4 gb during normal operation when using Chorome with 7~ 8 tabs). My GPU temperature is about 50-53 when it sits idle. I did some followings after it boots normally:

1. set gfxCardStatus (v2.3) to integrate only. I just notice that I have to reset gfxCardStatus to integrated every time I reboot the system.

2. I put back the AMDRadeonX3000.kext (i dont think it will use it) as I did not try to load the kext mentioned in those post.

Anyway, I just want to thanks for all the efforts. For people who have other issues after fixing the failed AMD graphic on other macOS, perhaps downgrade to OSX10.9.5 would help?
 
Last edited:

constm

macrumors member
Nov 4, 2009
35
2
I feel like there has to be a way to reapply the fix - the question is how to proceed when the screen is black?
The computer was working fine minutes before (after applying the GPU firmware fixes), but would not wake from sleep, and rebooting chimes and motherboard starts up, but then nothing.

The issue with black screen was fixed with Adam's (https://realmacmods.com) help.
[doublepost=1551557196][/doublepost]
OK, so I'm going to try and downgrade from High Sierra to El Capitan to try and get the sleep and brightness control back.

Will the software fix not be undone during the install process and the computer crash during install as it tries to switch to the GPU? Worries about getting stuck with a half installed OS ...

How did it go? Any results to share? I'm in the same situation with High Sierra and resistor removed. Sleeping issue is kinda bummer...
 

Spectrum

macrumors 68000
Mar 23, 2005
1,808
1,115
Never quite sure
The issue with black screen was fixed with Adam's (https://realmacmods.com) help.
[doublepost=1551557196][/doublepost]

How did it go? Any results to share? I'm in the same situation with High Sierra and resistor removed. Sleeping issue is kinda bummer...
Thanks for the link. I’m just reading this page. But not sure I fully understand...So I just need to download this ISO and make a new modified installer and the laptop should boot? To which OS? But in some situations it may also be necessary to remove the resistor too?

How would I get it to boot to a USB disk image of the screen is black?
 

pshufd

macrumors G4
Oct 24, 2013
10,145
14,572
New Hampshire
Thanks for the link. I’m just reading this page. But not sure I fully understand...So I just need to download this ISO and make a new modified installer and the laptop should boot? To which OS? But in some situations it may also be necessary to remove the resistor too?

How would I get it to boot to a USB disk image of the screen is black?

I think that I want to try this as well though I'm not 100% sure my issue is the GPU but I'm willing to try a lot of things to get my 2011 back up and running. Which is the best operating system to try to boot from these days? I think that I have High Sierra on the HDD but would be willing to build a Sierra or El Capitan external drive if those might be better.
 

constm

macrumors member
Nov 4, 2009
35
2
Thanks for the link. I’m just reading this page. But not sure I fully understand...So I just need to download this ISO and make a new modified installer and the laptop should boot? To which OS? But in some situations it may also be necessary to remove the resistor too?

How would I get it to boot to a USB disk image of the screen is black?
Buy the iso ($10) and support for $5. Adam will give you instructions. Wait. I thought you already removed the resistor...
 

Spectrum

macrumors 68000
Mar 23, 2005
1,808
1,115
Never quite sure
Buy the iso ($10) and support for $5. Adam will give you instructions. Wait. I thought you already removed the resistor...
No. All I previously did was apply the soft fixes as described in this thread. e.g. I removed the KEXTs and modified the nvram argument so that it booted off iGPU.

This worked great for about a month, then suddenly the computer screen wouldn't come on after sleeping. It now makes a boot chime and the DVD and fans start up, but the screen stays completely black. I have since since tried resetting PRAM and NVRAM, swapped HDD etc, but nothing I can do enables me to boot into Single user mode to reapply the soft fixes, because the screen remains black whatever I have tried.
[doublepost=1551598751][/doublepost]
Hey there folks. So I found this forum and applied the fix to my early 2011 mbp, worked wonderfully for about a year.

Back in January, I was streaming from Netflix and ran out of battery, forced shutdown mid stream. Since then, I haven't been able to restart at all. I reset SMC and PRAM, and I can't even make it past the restart "dvd drive grind" sound. I'm still on the original battery, and usually don't make it a full hour on one charge, but even disconnecting the battery and running off mains, I can't get past the grind sound. The fans will run but the os won't load, the screen doesn't display, and no startup chime.

I know it's a bit of a longshot, but has anyone seen this problem or have any recommendations for me? Obvi I can't replace the mobo, just wondering if it's something more mundane than that. Thanks in advance!
This is similar to me. The soft fix was working, but then one day after sleeping (lid closed), the computer wouldn't wake up. And now after rebooting, I get the chime and DVD sounds, but a completely black screen. PRAM rest doesn't seem to do anything (no chime).
 
Last edited:

constm

macrumors member
Nov 4, 2009
35
2
No. All I previously did was apply the soft fixes as described in this thread. e.g. I removed the KEXTs and modified the nvram argument so that it booted off iGPU.

This worked great for about a month, then suddenly the computer screen wouldn't come on after sleeping. It now makes a boot chime and the DVD and fans start up, but the screen stays completely black. I have since since tried resetting PRAM and NVRAM, swapped HDD etc, but nothing I can do enables me to boot into Single user mode to reapply the soft fixes, because the screen remains black whatever I have tried.
[doublepost=1551598751][/doublepost]
This is similar to me. The soft fix was working, but then one day after sleeping (lid closed), the computer wouldn't wake up. And now after rebooting, I get the chime and DVD sounds, but a completely black screen. PRAM rest doesn't seem to do anything (no chime).

Sorry to hear. Maybe email him via contact us form on the website. See if he has an idea.
 
  • Like
Reactions: Spectrum
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.