Skip to content

Instantly share code, notes, and snippets.

@lucasbrynte
Last active January 23, 2022 14:39
Show Gist options
  • Star 8 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save lucasbrynte/9b2966460832522eb6c35b44ae768667 to your computer and use it in GitHub Desktop.
Save lucasbrynte/9b2966460832522eb6c35b44ae768667 to your computer and use it in GitHub Desktop.
Manjaro multi-GPU setup intel integrated GPU + external nVidia GPUs
# /etc/X11/xorg.conf.d/20-multi-gpu-setup.conf
# Inspired by: https://gist.github.com/alexlee-gk/76a409f62a53883971a18a11af93241b
Section "ServerLayout"
Identifier "layout"
Screen 0 "intel"
Screen 1 "nvidia1"
Screen 2 "nvidia2"
EndSection
Section "Device"
Identifier "intel"
Driver "intel"
BusID "PCI:0:2:0"
EndSection
Section "Screen"
Identifier "intel"
Device "intel"
EndSection
Section "Device"
Identifier "nvidia1"
Driver "nvidia"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "nvidia1"
Device "nvidia1"
EndSection
Section "Device"
Identifier "nvidia2"
Driver "nvidia"
BusID "PCI:2:0:0"
EndSection
Section "Screen"
Identifier "nvidia2"
Device "nvidia2"
EndSection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment