Closed Rom888 closed 10 months ago
Did you set up Apple-os-set bootloader? If yes, does Apple-os-set display when you boot Linux?
Yes, $ sudo ls /boot/efi/efi/boot
. bootx64.efi fbx64.efi
.. bootx64_original.efi mmx64.efi
from this repo:
git clone https://github.com/aa15032261/apple_set_os-loader
cd apple_set_os-loader
make
sudo mv /boot/efi/efi/boot/bootx64.efi /boot/efi/efi/boot/bootx64_original.efi
sudo cp ./bootx64.efi /boot/efi/efi/boot/bootx64.efi
and it worked before, but I don't see Apple-os-set display when boot Linux this time and didn't see before.
Should I try this fork? https://github.com/Redecorating/apple_set_os-loader
Can you share the md5sums of the efi files
Now, I tried to reboot holding down the 'option' key, and then selected EFI boot. And after that I see Apple-os-set display and got iGPU back!
Should I always boot holding down the 'option' key? I didn't do it before and iGPU worked.
sudo mv /boot/efi/efi/boot/bootx64_original.efi /boot/efi/efi/boot/bootx64_original.efi.back
sudo cp /boot/efi/EFI/ubuntu/grubx64.efi /boot/efi/efi/boot/bootx64_original.efi
Run this
Then in startup manager, press and hold control while booting Ubuntu.
Okay, I'm afraid of the side effects with this solution, I'd rather will boot while holding the "Option" key.
Anyway, thank you for your help and this wonderful project!
Well that's your wish but the commands were to "fix" a "side effect" observed in your case due to grub.
If I apply it, will I be able to boot MacOs? Is it resistant to future kernel and Ubuntu updates?
Yes
I did it, but no iGPU again ( What do you mean 'hold control'?
I can only see Apple-os-set display if I hold down the 'option' key while booting.
sudo mv /boot/efi/efi/boot/bootx64_original.efi /boot/efi/efi/boot/bootx64_original.efi.back sudo cp /boot/efi/EFI/ubuntu/grubx64.efi /boot/efi/efi/boot/bootx64_original.efi
Run this
Then in startup manager, press and hold control while booting Ubuntu.
I did it, and now I see apple-os-set display without holding down the 'option' key! Thank you very much!
I thought the apple-os-set display lives in the patched bootx64.efi and it is loaded first, but we didn't move it. So I don't understand why it works )
I had enabled the iGPU using this manual: https://wiki.t2linux.org/guides/hybrid-graphics/#enabling-the-igpu
Today I upgraded the kernel to the latest using the update_t2_kernel command, and after reboot the system switched back to AMD dGPU.
There is still /etc/modprobe.d/apple-gmux.conf with the following contents:
But I see only AMD GPU (((
$ sudo lshw -C display | grep product:
$ lspci | grep VGA
my pc: macbook pro, 16 inch, 2019 have the Apple T2 Security Chip (hardware- controller-) model identifier: MacBookPro16.1 Intel Core i9 2.3g
Intel UHD graphics 630 AMD radeon pro 5500M