I have opensuse 42.1 x64 with lastest nvidia drivers and dual-monitor setup. I want to force video output, so linux won’t detect monitor disonnect. I managed to do it on windows using edid files, and now when i disconnect one of my monitors, desktop isn’t resized and windows thinks that monitor is still connected. I need to have something like this on linux. I tried adding edid files in xorg.conf by adding ’ Option “CustomEDID” “DFP-0: /etc/X11/benq.bin; DFP-1: /etc/X11/hp.bin” ', but it still resize my desktop after monitor disconnect. How can i make it work? Here is my full xorg.conf:
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 375.20 (buildmeister@swio-display-x86-rhel47-06) Tue Nov 15 17:48:39 PST 2016
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from data in "/etc/sysconfig/mouse"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "yes"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
# HorizSync source: edid, VertRefresh source: edid
Identifier "Monitor0"
VendorName "Unknown"
ModelName "BenQ GW2250"
HorizSync 30.0 - 83.0
VertRefresh 50.0 - 76.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "Quadro 600"
BusID "PCI:4:0:0"
Option "IgnoreEDID" "false"
Option "CustomEDID" "DFP-0: /etc/X11/benq.bin; DFP-1: /etc/X11/hp.bin"
Option "UseEDID" "true"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "DFP-0"
Option "metamodes" "DVI-I-1: nvidia-auto-select +1280+0, DP-0: 1280x1024_60_0 +0+56"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSection