Skip to content

Instantly share code, notes, and snippets.

@hopoffbaby
Last active July 21, 2018 16:45
Show Gist options
  • Save hopoffbaby/eb5d2eba5c03cb0b844da245781ec4f2 to your computer and use it in GitHub Desktop.
Save hopoffbaby/eb5d2eba5c03cb0b844da245781ec4f2 to your computer and use it in GitHub Desktop.
M4700 /etc/X11/xorg.conf with nvidia
[root@localhost ~]# cat /etc/X11/xorg.conf
Section "ServerLayout"
Identifier "layout"
Screen 0 "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