Skip to content

Commit b5aca01

Browse files
committed
Update README.md
1 parent 80d3872 commit b5aca01

File tree

1 file changed

+17
-9
lines changed

1 file changed

+17
-9
lines changed

README.md

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# gpu-switch
22
gpu-switch is an application to switch between the integrated and dedicated GPU of dual-GPU MacBook Pro models for the next reboot.
33

4-
It aims to remove the need of booting into Mac OS X and running gfxCardStatus v2.2.1 to switch to the integrated card.
4+
It aims to remove the need of booting into OS X and running gfxCardStatus v2.2.1 to switch to the integrated card.
55

66
### Warning:
77
This is new code and it comes without any warranty! It's completely based on reverse engineering. Therefore use it at your own risk and don't blame us if anything breaks.
@@ -13,15 +13,29 @@ As root you can select the GPU by running gpu-switch and **rebooting** your mach
1313
#### switch to the dedicated GPU:
1414
``# ./gpu-switch -d``
1515

16+
## OS X Usage:
17+
Use ``$ ./build.sh`` to build gpu-switch.
18+
OS X can switch between the GPUs without having to reboot the MacBook:
19+
#### switch to the integrated GPU:
20+
``$ ./gpu-switch -i``
21+
#### switch to the dedicated GPU:
22+
``$ ./gpu-switch -d``
23+
#### enable automatic GPU switching:
24+
``$ ./gpu-switch -a``
25+
26+
#### Login Hooks:
27+
``$ ./install_hooks.sh`` can be used to install Login Hooks to automate the swichting process for login/logout.
28+
29+
1630
## Windows 8/10 Usage:
1731
* Windows is using the MacBook's UEFI mode ([how to check](http://blogs.technet.com/b/home_is_where_i_lay_my_head/archive/2012/10/02/how-to-check-in-windows-if-you-are-using-uefi.aspx))
1832
* Download the [Windows Version](https://github.com/0xbb/gpu-switch/releases/download/v0/gpu-switch-windows.zip)
19-
* Run the provided scripts by right click "Run as administrator" and **rebooting** your machine:
33+
* Run the provided scripts by right click "Run as administrator" and **rebooting** your machine:
2034
* switch to the integrated GPU: ``integrated.bat``
2135
* switch to the dedicated GPU: ``dedicated.bat``
2236

2337
### MacBook Pro 11,3 and 11,5 notes:
24-
By default the Intel GPU gets switched off by the MacBook Pro 11,3's (and 11,5's) EFI if you boot anything but Mac OS X.
38+
By default the Intel GPU gets switched off by the MacBook Pro 11,3's (and 11,5's) EFI if you boot anything but OS X.
2539
So to use the Intel GPU, you need to trick the EFI by using the "apple_set_os" hack either with:
2640
- rEFInd version 0.10.0 or above (recommended): http://www.rodsbooks.com/refind
2741

@@ -49,12 +63,6 @@ Otherwise you will end up with a powered-down integrated graphics card and a **b
4963
- MacBook Pro 11,3 (Late 2013, Retina)
5064
- MacBook Pro 11,5 (Mid 2015, Retina)
5165

52-
## Future Work:
53-
- Testing
54-
- Integrating "apple_set_os" in the Kernel or GRUB?
55-
- Documentation
56-
- (So far : https://gist.github.com/0xbb/974999591da4b1b2635c)
57-
5866
## Troubleshooting:
5967
If you are facing weird problems a NVRAM reset could help:
6068
http://support.apple.com/kb/PH14222?viewlocale=en_US

0 commit comments

Comments
 (0)