Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Redecorating/apple-gmux-t2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This version is outdated

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.

apple-gmux T2

Work in progress version of apple-gmux for T2 MacBookPros with both Intel and AMD graphics (15 and 16 inch models)

Install

Enabling the iGPU

Follow this guide.

Installing the module

Arch Based Distros

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.

Debian Based Distros

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.

Other Distros

To install with dkms sudo dkms install .

Otherwise, you can do:

make
sudo modprobe -r apple-gmux
sudo modprobe ./apple-gmux.ko

TODO List

  • 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.

Support Me

If you want to support me see here.

About

Work in progress version of apple-gmux for T2 MacBookPro's with both Intel and AMD graphics (15 and 16 inch models)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published