This may work with other Macbook Pro models that have an Intel GPU and a NVidia one, but I only have proof that this works on a MacBook Pro Mid 2014 (MacBookPro11,3) with Ubuntu 18.04.
If you want to be sure about which model you have, run sudo dmidecode -t system
in the Terminal and you will see the information about the system including the serial number and product name (MacBookPro11,3 in my case).
I'm assuming you have installed the NVidia propietary drivers, which can be installed from the application "Software & Updates" in the tab "Additional Drivers".
Steps to use the Intel GPU:
- Run
lspci |grep VGA
and check that only one line mentioning "NVIDIA" is printed. This is to be sure that you are required to do the following steps. If two lines appear, and one of those mentions "Intel", then you probably do not need to activate the GPU but only select it as the main GPU (jump to the step where you have to "Opennvidia-settings
"). - Download
apple_set_os.efi
from https://github.com/0xbb/apple_set_os.efi/releases - Run
sudo mkdir /boot/efi/EFI/custom
- Run
sudo cp apple_set_os.efi /boot/efi/EFI/custom/
- Run
sudo gedit /etc/grub.d/40_custom
- Add the following at the bottom and save the file:
search --no-floppy --set=root --file /EFI/custom/apple_set_os.efi
chainloader /EFI/custom/apple_set_os.efi
boot
- Run
sudo update-grub
- Download
gpu-switch
from https://github.com/0xbb/gpu-switch/blob/master/gpu-switch - Run
sudo ./gpu-switch -i
- Reboot
- Open
nvidia-settings
- Go to "PRIME Profiles"
- Click on "Intel (Power Saving Mode)"
- Click on "Quit"
- Log out
References:
Thanks for the reply! Yeah I can get into recovery mode and drop to a root terminal. I can see both GPUs are registered
lspci | grep "VGA"gives:
00:02.0 VGA compatible controller: Intel Corporation Crystal Well Integrated Graphics Controller (rev 08)
01:00.0 VGA compatible controller: NVIDIA Corporation GK107M [GeForce GT 750M Mac Edition] (rev a1)
When I normal boot up and I can't switch to another tty that gives me a terminal. It's just blank screens or screens with cursors that I can type in, but it's not a terminal.
I might try upgrading the kernel to 5.11 and see if that makes any difference. It's currently held back from apt-get upgrade.
Do you think it might help to recompile apple_set_os.efi from source https://github.com/0xbb/apple_set_os.efi? Maybe even consider setting the APPLE_SET_OS_VERSION to a higher version of MacOS...?