Skip to content

Instantly share code, notes, and snippets.

@milesial
Created March 29, 2018 17:35
Show Gist options
  • Save milesial/2dc7e15bea587f4d3feaccfcfd1a797b to your computer and use it in GitHub Desktop.
Save milesial/2dc7e15bea587f4d3feaccfcfd1a797b to your computer and use it in GitHub Desktop.
Xorg config working with nvidia driver
Section "ServerLayout"
Identifier "layout"
Screen 1 "nvidia"
Inactive "intel"
EndSection
Section "Device"
Identifier "intel"
Driver "modesetting"
BusID "PCI:0@0:2:0"
Option "AccelMethod" "None"
EndSection
Section "Screen"
Identifier "intel"
Device "intel"
EndSection
Section "Device"
Identifier "nvidia"
Driver "nvidia"
BusID "PCI:1@0:0:0"
Option "ConstrainCursor" "off"
EndSection
Section "Screen"
Identifier "nvidia"
Device "nvidia"
Option "AllowEmptyInitialConfiguration" "on"
Option "IgnoreDisplayDevices" "CRT"
EndSection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment