add multi monitor config.

This commit is contained in:
2019-08-11 13:31:47 +08:00
parent 620e290d74
commit e1a38cb11d
2 changed files with 36 additions and 1 deletions

View File

@@ -1,4 +1,5 @@
Section "Monitor"
Identifier "Monitor"
Mode "1920x1080"
Option "PreferredMode" "1920x1080"
Option "ZoomModes" "1920x1080 3840x2160"
EndSection

34
80nvidia.conf Normal file
View File

@@ -0,0 +1,34 @@
Section "ServerLayout"
Identifier "Layout"
Screen 0 "default" 0 0
Option "Xinerama" "0"
EndSection
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "primary"
Option "DPMS"
EndSection
Section "Device"
Identifier "nvidia"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GTX 960"
EndSection
Section "Screen"
Identifier "default"
Device "nvidia"
Monitor "primary"
DefaultDepth 24
Option "Stereo" "0"
Option "metamodes" "DVI-I-1: 1920x1080 +1440+0, DP-0: 2560x1440 +0+0 {rotation=left}"
# Option "metamodes" "DVI-I-1: 1920x1080 +2160+0, DP-0: 3840x2160 +0+0 {rotation=left}"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSection