Skip to content

Instantly share code, notes, and snippets.

@denysvitali
Created April 18, 2018 20:20
Show Gist options
  • Select an option

  • Save denysvitali/d08f66ed2e6e89bec43157ce575afe68 to your computer and use it in GitHub Desktop.

Select an option

Save denysvitali/d08f66ed2e6e89bec43157ce575afe68 to your computer and use it in GitHub Desktop.
Section "ServerLayout"
Identifier "layout"
Screen 0 "intel-edp1"
Screen 1 "intel-hdmi1"
EndSection
#Section "Device"
# Identifier "nvidia"
# BusID "PCI:1:0:0"
#EndSection
#Section "Screen"
# Identifier "nvidia"
# Device "nvidia"
# # Uncomment this line if your computer has no display devices connected to
# # the NVIDIA GPU. Leave it commented if you have display devices
# # connected to the NVIDIA GPU that you would like to use.
# #Option "UseDisplayDevice" "none"
#EndSection
Section "Device"
Identifier "intel"
Driver "modesetting"
EndSection
Section "Monitor"
Identifier "eDP-1"
EndSection
Section "Monitor"
Identifier "HDMI-1"
EndSection
Section "Screen"
Identifier "intel-edp1"
Device "intelgpu0"
Monitor "eDP-1"
EndSection
Section "Screen"
Identifier "intel-hdmi1"
Monitor "HDMI-1"
Device "intelgpu1"
Option "AllowEmptyInitialConfiguration" "on"
Option "IgnoreDisplayDevices" "CRT"
EndSection
Section "Device"
Identifier "intelgpu0"
Driver "modesetting"
BusID "PCI:0:2:0"
EndSection
Section "Device"
Identifier "intelgpu1"
Driver "modesetting"
BusID "PCI:0:2:0"
EndSection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment