Skip to content

Instantly share code, notes, and snippets.

@cattaka
Created August 30, 2016 17:09
Show Gist options
  • Save cattaka/6a809154aa0a99de230f58b6a8a39862 to your computer and use it in GitHub Desktop.
Save cattaka/6a809154aa0a99de230f58b6a8a39862 to your computer and use it in GitHub Desktop.
Section "ServerLayout"
Identifier "layout"
Screen 0 "nvidia"
Inactive "intel"
EndSection
Section "Device"
Identifier "nvidia"
Driver "nvidia"
# Change BusID if necessary. Tips: (lspci | grep 3D) (Change 01:00.0 to 1:0:0)
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "nvidia"
Device "nvidia"
Option "AllowEmptyInitialConfiguration" "Yes"
EndSection
Section "Device"
Identifier "intel"
Driver "modesetting"
# Change BusID if necessary. Tips: (lspci | grep VGA) (Change 00:02.0 to 0:2:0)
BusID "PCI:0:2:0"
Option "AccelMethod" "none"
EndSection
Section "Screen"
Identifier "intel"
Device "intel"
EndSection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment