t2linux / wiki

Repository for the t2linux.org wiki
https://wiki.t2linux.org
Creative Commons Attribution Share Alike 4.0 International
173 stars 61 forks source link

hybrid-graphics: wip update to work with new gmux patches #394

Closed Redecorating closed 1 year ago

Redecorating commented 1 year ago

depends on https://github.com/t2linux/linux-t2-patches/pull/5

AdityaGarg8 commented 1 year ago

In the guide having instructions to compile apple-os-set, maybe we can replace that with an easier way to download the pre compiled one from your repo. Something like:

sudo mv /boot/efi/EFI/bootx64.efi /boot/efi/EFI/bootx64_original.efi
wget (or curl) the bootloader (probably provide options for silent version as well here)
AdityaGarg8 commented 1 year ago

Also for MBP 16,4, since now we have gmux, can we simply add the .conf file using a Linux ISO, or a third party Linux driver for macOS instead of following the complicated guide?

networkException commented 1 year ago

maybe we can replace that with an easier way to download the pre compiled one from your repo

compiling that yourself should stay a documented option in any case

Redecorating commented 1 year ago

Also for MBP 16,4, since now we have gmux, can we simply add the .conf file using a Linux ISO, or a third party Linux driver for macOS instead of following the complicated guide?

yeah we should be able to simply that section a lot, i'll figure out how best to do that later.

Redecorating commented 1 year ago

In the guide having instructions to compile apple-os-set, maybe we can replace that with an easier way to download the pre compiled one from your repo. Something like:


sudo mv /boot/efi/EFI/bootx64.efi /boot/efi/EFI/bootx64_original.efi

wget (or curl) the bootloader (probably provide options for silent version as well here)

for apple-set-os i kinda want to see if we can move to:

systemd-boot: use kernel patch for apple-set-os grub: chainload some.efi, then boot linux (or get a command added into grub itself) refind: get its apple-set-os command to work

then systemd-boot will just work, grub will just require installation of a package that adds grub config to run that efi file, and refind will just need the user to edit their config

AdityaGarg8 commented 1 year ago

It would be nice if we could get this merged as well since Linux 6.2 is out

Redecorating commented 1 year ago

I don't think we have any kernels released yet that support it.

AdityaGarg8 commented 1 year ago

Does the main branch of linux-t2-patches support this?

AdityaGarg8 commented 1 year ago

Cause Ubuntu is gonna release a Linux 6.2 soon

Redecorating commented 1 year ago

I'm going to see if i can backport the gmux stuff to 6.1 stable (it seems to be going fine with the CI) https://github.com/t2linux/linux-t2-patches/pull/9 and then we can say 6.1.12-2 or higher and have the same instructions for ppl on stable and mainline kernels