See original, badly formatted version here https://docs.google.com/document/d/1GnyBE1xc4qx3EF-IcUOwr7d9D8Npzy63Pwj-joOw86o
- https://wiki.archlinux.org/index.php/Lenovo_ThinkPad_T420s#Using_multiple_monitors_with_NVIDIA-Optimus
- https://wiki.archlinux.org/index.php/PRIME
While kernel modesetting (KMS) isn’t required, on recent debian, the intel driver requires KMS. You can also avoid having to use the nouveau xorg driver altogether (as in remove xserver-xorg-video-nouveau), and let Xorg talk to the nouveau kernel driver. You will want both kernel driver modules to run with modesetting: