New version is going to be upstream soon hopefully, and is already in t2 kernels with versions above 6.1.12-2. t2linux/kernel#2 is now the place tracking the status of GMUX on t2 macs.
Work in progress version of apple-gmux for T2 MacBookPros with both Intel and AMD graphics (15 and 16 inch models)
Follow this guide.
If you are on an arch based distro and have the
Redecorating-t2
repo, you can install with sudo pacman -S apple-gmux-t2-dkms-git
.
If you are on a Debian or Ubuntu based distro and have the
adityagarg8.github.io/t2-ubuntu-repo
repo, you can install with sudo apt install apple-gmux-t2
.
To install with dkms sudo dkms install .
Otherwise, you can do:
make
sudo modprobe -r apple-gmux
sudo modprobe ./apple-gmux.ko
- Read and Write to gmux ports
- Backlight control
- Switching Display between GPUs
- To preserve state after resume (so you can resume properly when using the igpu!)
- At runtime with vga_switcheroo
- Make amdgpu register with vga_switcheroo
- Make intel card register with vga_switcheroo
- Get the switched to GPU to output to the display
- Interrupts
- Power up/down dGPU
- Power Down
- Power Up
- mbp15,x
- mbp16,x
- ACPI PWRD, PWG1
- Update internal documentation
- Test on other T2 models once everything should be working
- Ensure these changes don't cause regressions for pio and indexed models.
If you want to support me see here.