Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
nsgrbr opened this issue May 29, 2017 · 7 comments

Comments

@nsgrbr
Copy link

@nsgrbr nsgrbr commented May 29, 2017

I would use the gpu-switch but the home page says: "WARNING: broken on macOS +10.12.4".

Macbook Pro Early 2011 - Intel HD 3000 and AMD Radeon HD 6750M - Mac OS Sierra 10.12.5

Test: Single-User mode (Command + S) with red background screen and white stripes.

After the reboot, the screen became normal again.
The configuration remains after 3 days with 3 shutdowns.

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

. . . . .
There is this procedure that works but some people could not do it through ArchLinux.

AppleMacFinder
https://forums.macrumors.com/threads/force-2011-macbook-pro-8-2-with-failed-amd-gpu-to-always-use-intel-integrated-gpu-efi-variable-fix.2037591/

FGuarani
https://forums.macrumors.com/threads/force-2011-macbook-pro-8-2-with-failed-amd-gpu-to-always-use-intel-integrated-gpu-efi-variable-fix.2037591/page-5
.
So I decided to search and found that the format "gpu-power-prefs=%01%00%00%00" is not in the correct format.

The correct format is:

sudo nvram GUID:NVRAM_Variable=value

GUID - Standard Apple Macbook Pro Early 2011-> fa4ce28d-b62f-4c99-9cc3-6815686e30f9

NVRAM Variable -> gpu-power-prefs

Value for Integrated gpu - In this case Binary data Hexadecimal (%) -> %01%00%00%00
.
Macbook Pro 2011 (AMD) and Macbook Pro 2014 (Nvidia) have the same GUIDs / UUIDs. I think it's an Apple standard factory.

FA4CE28D-B62F-4C99-9CC3-6815686E30F9:gpu-active

FA4CE28D-B62F-4C99-9CC3-6815686E30F9:gpu-power-prefs

7C436110-AB2A-4BBB-A880-FE41995C9F8:gpu-policy

https://github.com/ah-/gmux-scripts/issues/1#issuecomment-68113930
.
Setting NVRAM Variables from OS X - Wikileaks
Example: DriverOrder

sudo nvram 8BE4DF61-93CA-11D2-AA0D-00E098032B8C:DriverOrder=%00%50

https://wikileaks.org/ciav7p1/cms/page_26968084.html

http://www.insanelymac.com/forum/topic/291655-ozmosis/page-3

https://github.com/erikberglund/AppleNVRAM

@cbartondock

This comment has been minimized.

Copy link

@cbartondock cbartondock commented Jun 27, 2018

If I were to adapt this for an early 2013 macbook pro that is also having discrete gpu graphics card kernel panics would I just change the guid?

@ffloyd

This comment has been minimized.

Copy link

@ffloyd ffloyd commented Aug 14, 2018

YOU ARE AWESOME! Solution works perfectly.

@khushiyal

This comment has been minimized.

Copy link

@khushiyal khushiyal commented Aug 22, 2018

Will this work with iMac mid-2011? Same graphic card, but not sure if GUID will be same or different? Can't check cause it doesn't even boot in recovery mode.

@alexanderchan

This comment has been minimized.

Copy link

@alexanderchan alexanderchan commented Nov 21, 2018

Thanks, this worked for me on an rMBP 2012 with an nvidia GPU.

  • power down
  • reset nvram
  • Single User mode command-S

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

  • power down machine holding power button (and do not type exit)
  • power up and then about this mac shows only the intel card

time will tell if this continues to help until I can get it to a store where I can check if extended video support is still covering it.

@zanderzhng

This comment has been minimized.

Copy link

@zanderzhng zanderzhng commented Nov 25, 2018

Something went wrong with my rMBP 2012 NVGPU and above command
sudo nvram fa4ce28d-b62f-4c99-9cc3-6815686e30f9:gpu-power-prefs=%01%00%00%00
worked for me, pixelmator no longer drag me into EXT GPU mode.

@milushov

This comment has been minimized.

Copy link

@milushov milushov commented Dec 17, 2018

Hey, guys, how long it takes to load the system first time after updating gpu-power-prefs variable? Mines stuck at login user screen.

123

@zanderzhng

This comment has been minimized.

Copy link

@zanderzhng zanderzhng commented Dec 17, 2018

@milushov little bit longer than normal startup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
7 participants
You can’t perform that action at this time.