Month: March 2018

Late 2011 MBP Failing GPU

In late 2011 I had purchased a 15″ MacBook pro and in mid 2016 the GPU started failing until it was unusable. Apple had a replacement program of the logic board and GPU and had it replaced. Yet these started failing recently (less than 2 years after replacement). The symptoms are random restarts, green lines on display, distorted screen. This time there is no program that will replace it free of charge, and was not willing to spend anymore on this laptop. There are a number of solutions and this blog documents the one that worked for me, mostly from this article.

  1. Format and clean installation of Mac OS
    1. Restart/Power-On
    2. Press and hold Command + R until logo appears.
    3. Select Reinstall MacOS and follow installation steps.
  2. Boot to ArchLinux
    1. Download ArchLinux
    2. Create a Bootable USB, I used Rufus on Windows.
    3. Reboot with USB drive inserted and press Option
    4. Select EFI
    5. Press e when GRUB boot loader is displayed
    6. Type space then nomodeset at end of option then press enter
  3. Update EFI variables
    1. EFI Variables should be loaded already, if not:
      1. cd /
      2. umount /sys/firmware/efi/efivars/
      3. mount -t efivarfs rw /sys/firmware/efi/efivars/
    2. Remove immutability of GPU Power Preferences variable
      • chattr -i “/sys/firmware/efi/efivars/gpu-power-prefs-fa4ce28d-b62f-4c99-9cc3-6815686e30f9”
    3. Delete GPU Power Preferences variable
      • rm /sys/firmware/efi/efivars/gpu-power-prefs-fa4ce28d-b62f-4c99-9cc3-6815686e30f9
    4. Create new GPU Power Preferences variable
      • printf “\x07\x00\x00\x00\x01\x00\x00\x00” > /sys/firmware/efi/efivars/gpu-power-prefs-fa4ce28d-b62f-4c99-9cc3-6815686e30f9
    5. Add immutability to GPU Power Preferences variable
      • chattr +i “/sys/firmware/efi/efivars/gpu-power-prefs-fa4ce28d-b62f-4c99-9cc3-6815686e30f9”
  4. Save and reboot in Safe Mode
    1. cd /
    2. umount /sys/firmware/efi/efivars/
    3. reboot
    4. Press Shift during startup until logo appears.
  5. Remove AMD Drivers
    1. Login and turn FileVault Off from the Security & Privacy System Preferences.
    2. Reboot the system and press Command + R to boot to Recovery mode.
    3. Launch Terminal from the main menu
    4. Find UUID of your Machintosh HD drive
      1. diskutil cs list (find UUID for drive)
      2. diskutil coreStorage unlockVolume UUID
    5. Move the AMD drivers
      1. cd /Volumes/Macintosh\ HD
      2. mkdir AMD_Kexts
      3. mv System/Library/Extensions/AMD*.* AMD_Kexts/
      4. reboot
  6. Install steveschow branch of gfxCardStatus
  7. If you had FileVault on, remember to activate again.

At this point, the MBP will always use the integrated graphics card, yet the dedicated/discrete graphics card would still be drawing power. You can take this a step further by removing 1 resistor and the card would have no power. I did not do this mod but here is the article. It is possible that the steps need to be repeated upon an OS upgrade/reinstall. I am hoping to be able to use this laptop for a few more years like this. The compromise is that now I cannot use the external display, other than that I am unaffected (not a gamer) since an integrated graphic card can cope with my development requirements.

Update

Apple stopped supporting this laptop and could not update the OS anymore. Installed Ubuntu yet the graphics card kept causing issues. Removed the transistor and worked perfectly. So currently the dedicated graphics card is not being powered and the integrated card is being utilised.

PingFin 9 Closure & Thanks

PingFin 9 was a resounding success across all European workshops. This year, which also marks the 10th Anniversary of SEPA, we experimented with a different layout here in Malta which worked really well.  The workshop required each team to design, implement and visualize part of the SEPA payment protocol then to consolidate all parts together.

 

I would like to thank our sponsors MITA, MITA Innovation Hub, eSkills Malta Foundation, RS2 and Central Bank of Malta for their support. Thanks go also to MCAST management and administrative staff for their support. A special thanks to my colleagues Alan Gatt, Luke Vella Critien and Robert Abela. Thanks to all the staff at Odisee namely Dr. Christophe Debruyne. My final thanks and congrats go to all students for their hard work, dedication, and professionalism.

 

More information is found on our facebook page.

PingFIN 9 @ Malta

Glad to announce that all is set for the PingFIN 9 workshop. This is an international e-payments workshop being organised from Monday 12th-Thursday 15th March concurrently in 5 Universities Colchester Institute, Faculty of Organization and Informatics, FH SalzburgOdisee, Westerdals, and obviously MCAST. The workshop in Malta shall be held at the MITA Innovation Hub, SmartCity and it will be attended by 16 local and 12 foreign students.

This activity is being sponsored by MITA, MITA Innovation Hub, eSkills Malta Foundation and RS2 Software plc. Assisting me are my colleagues Alan GattLuke Vella Critien and Robert Abela. Visit our facebook page for more information.

Theme: Overlay by Kaira