From e1a38cb11de128b6173f05b04b7460eb1519ba8e Mon Sep 17 00:00:00 2001 From: Zedhugh Chen Date: Sun, 11 Aug 2019 13:31:47 +0800 Subject: [PATCH] add multi monitor config. --- 30monitor.conf | 3 ++- 80nvidia.conf | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 80nvidia.conf diff --git a/30monitor.conf b/30monitor.conf index 17d88f1..50daa4e 100644 --- a/30monitor.conf +++ b/30monitor.conf @@ -1,4 +1,5 @@ Section "Monitor" Identifier "Monitor" - Mode "1920x1080" + Option "PreferredMode" "1920x1080" + Option "ZoomModes" "1920x1080 3840x2160" EndSection \ No newline at end of file diff --git a/80nvidia.conf b/80nvidia.conf new file mode 100644 index 0000000..bb9dd40 --- /dev/null +++ b/80nvidia.conf @@ -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 \ No newline at end of file