<div dir="ltr"><div><div><div><div><div><div>To answer my problem...<br><br></div>Looking at the log, I could see that when I turned off my screen it generated a xrandr even switching ti 1024x768 at 70Hz which isn't supported by my monitor but is listed in the xrandr modes and is at the top of the list.<br>
<br></div>Reading the nvidia X documentation, I found the following option: <br><dl><dt><span class=""><code class="">Option "UseHotplugEvents"
"boolean"</code></span></dt><dd>
<p>When this option is enabled, the NVIDIA X driver will generate
RandR display changed events when displays are plugged into or
unplugged from an NVIDIA GPU. Some desktop environments will listen
for these events and dynamically reconfigure the desktop when
displays are added or removed.</p>
<p>Disabling this option suppresses the generation of these RandR
events for non-DisplayPort displays, i.e., ones connected via VGA,
DVI, or HDMI. Hotplug events cannot be suppressed for displays
connected via DisplayPort.</p>
<p>Note that probing the display configuration (e.g. with xrandr or
nvidia-settings) may cause RandR display changed events to be
generated, regardless of whether this option is enabled or
disabled. Additionally, some VGA ports are incapable of hotplug
detection: on such ports, the addition or removal of displays can
only be detected by re-probing the display configuration.</p>
<p>Default: on. The driver will generate RandR events when displays
are added or removed.</p>
</dd></dl><br></div>Adding:<br> Option "UseHotplugEvents" "False"<br><br></div>to my device section:<br></div>problem solved...<br><br></div>Here is my xorg.conf that explicitely list the modelines I want and in the order I want so myth find them more easily:<br>
<br>Section "ServerLayout"<br> Identifier "Layout0"<br> Screen 0 "Screen0" 0 0<br> Screen 1 "Screen1" RightOf "Screen0"<br> InputDevice "Keyboard0" "CoreKeyboard"<br>
InputDevice "Mouse0" "CorePointer"<br> Option "Xinerama" "0"<br>EndSection<br><br>Section "Files"<br>EndSection<br><br>Section "InputDevice"<br>
# generated from default<br> Identifier "Mouse0"<br> Driver "mouse"<br> Option "Protocol" "auto"<br> Option "Device" "/dev/psaux"<br>
Option "Emulate3Buttons" "no"<br> Option "ZAxisMapping" "4 5"<br>EndSection<br><br>Section "InputDevice"<br> # generated from default<br> Identifier "Keyboard0"<br>
Driver "kbd"<br>EndSection<br><br>Section "InputClass"<br> Identifier "Remote"<br> MatchProduct "MCE IR Keyboard/Mouse (cx88xx)|MCE IR Keyboard/Mouse (mceusb)|Media Center Ed. eHome Infrared Remote Transceiver (1784:0001)|IR-receiver inside an USB DVB receiver|cx88 IR (digitalnow DNTV Live! "<br>
Option "Ignore" "on"<br>EndSection<br><br>Section "Monitor"<br> # 1920x1080p @ 50Hz (EIA/CEA-861B)<br> Identifier "Monitor0"<br> VendorName "Unknown"<br>
ModelName "SII SP32"<br> HorizSync 27.0 - 68.0<br> VertRefresh 23.0 - 70.0<br> ModeLine "1920x1080@50" 148.500 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync<br>
ModeLine "1920x1080@60" 148.500 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync<br> ModeLine "1920x1080@24" 74.250 1920 2558 2602 2750 1080 1084 1089 1125 +hsync +vsync<br> ModeLine "1920x1080@23.976" 74.175 1920 2558 2602 2750 1080 1084 1089 1125 +hsync +vsync<br>
ModeLine "1920x1080@50i" 74.250 1920 2448 2492 2640 1080 1085 1095 1125 +hsync +vsync interlace<br> ModeLine "1920x1080@60i" 74.250 1920 2008 2052 2200 1080 1085 1095 1125 +hsync +vsync interlace<br>
ModeLine "1920x1080@59.94" 148.350 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync<br> ModeLine "1920x1080@59.94i" 74.175 1920 2008 2052 2200 1080 1085 1095 1125 +hsync +vsync interlace<br>
Option "ExactModeTimingsDVI" "True"<br> Option "UseEDIDFreqs" "FALSE"<br> Option "UseEDIDDpi" "FALSE"<br> Option "ModeValidation" "NoEdidModes"<br>
Option "UseHotplugEvents" "False"<br>EndSection<br><br>Section "Monitor"<br> Identifier "Monitor1"<br> VendorName "Unknown"<br> ModelName "ViewSonic VX715"<br>
HorizSync 30.0 - 82.0<br> VertRefresh 50.0 - 85.0<br> Option "DPMS"<br>EndSection<br><br>Section "Device"<br> Identifier "Device0"<br> Driver "nvidia"<br>
VendorName "NVIDIA Corporation"<br> BoardName "GeForce GT 430"<br> BusID "PCI:1:0:0"<br> Screen 0<br>EndSection<br><br>Section "Device"<br> Identifier "Device1"<br>
Driver "nvidia"<br> VendorName "NVIDIA Corporation"<br> BoardName "GeForce GT 430"<br> BusID "PCI:1:0:0"<br> Screen 1<br>EndSection<br>
<br>Section "Screen"<br> Identifier "Screen0"<br> Device "Device0"<br> Monitor "Monitor0"<br> DefaultDepth 24<br> Option "FlatPanelProperties" "Scaling = Native"<br>
Option "TwinView" "0"<br> #Option "metamodes" "DFP: 1920x1080 +0+0"<br> Option "ConnectedMonitor" "DFP-0,CRT-1"<br> Option "UseDisplayDevice" "DFP-0"<br>
Option "CustomEDID" "CRT-1:/etc/X11/viewsonic-edid.bin; DFP-0:/etc/X11/sp32-edid.bin"<br> Option "HWCursor" "false"<br> SubSection "Display"<br>
Depth 24<br> Modes "1920x1080@50" "1920x1080@60" "1920x1080@24" "1920x1080@23.976" "1920x1080@50i" "1920x1080@60i" "1920x1080@59.94" "1920x1080@59.94i"<br>
EndSubSection<br>EndSection<br><br>Section "Screen"<br> Identifier "Screen1"<br> Device "Device1"<br> Monitor "Monitor1"<br> DefaultDepth 24<br>
Option "TwinView" "0"<br> Option "metamodes" "CRT: nvidia-auto-select +0+0"<br> Option "ConnectedMonitor" "DFP-0,CRT-1"<br> Option "UseDisplayDevice" "CRT-1"<br>
SubSection "Display"<br> Depth 24<br> EndSubSection<br>EndSection<br><br>Section "Extensions"<br> Option "Composite" "Disable"<br>EndSection<br><br>
<br><div><div><div><br></div></div></div></div>