-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

My Arch box is giving me fits at the moment. Every now and then, for
no reason I can discern, Xorg just locks up. This started only after I
added a second monitor, so I'm fairly certain that the issue has to do
with Xorg config and dual monitor issues.

The observed symptoms are always the same, my "main" monitor goes
black, and no keyboard input is processed, so I can't even get out of
X. I have to telnet in, kill all my hung log-in and X, and can usually
recover that way.

It seems to be intimately related to a certain subset of applications
being on the main monitor: firefox and canopy being the two big offenders.

I can find no useful log information as to what is causing this..

My desktop environment is a tad 'customized:' Xfce4 with xmonad as the
WM. Everything is fired up off of KDM (why KDM? -- 'cause I had KDE
installed before I fell in love with xmonad)

Any help/insight/troubleshooting suggestions are appreciated!!

So, here's my box's critical stats:

System:    Host: gandalf Kernel: 3.13.6-1-ARCH x86_64 (64 bit)
Desktop: Xfce 4.10.2 Distro: Arch Linux
Machine:   Mobo: ASRock model: Z87 Extreme4 Bios: American Megatrends
v: P2.30 date: 07/03/2013
CPU:       Quad core Intel Core i5-4670K CPU (-MCP-) cache: 6144 KB
           Clock Speeds: 1: 3400 MHz 2: 3400 MHz 3: 3400 MHz 4: 3466 MHz
Graphics:  Card: NVIDIA GK104 [GeForce GTX 760]
           Display Server: X.Org 1.15.0 driver: nvidia Resolution:
3840x1080
           GLX Renderer: GeForce GTX 760/PCIe/SSE2 GLX Version: 4.4.0
NVIDIA 334.21
Audio:     Card-1: Intel 8 Series/C220 Series High Definition Audio
Controller driver: snd_hda_intel
           Card-2: NVIDIA GK104 HDMI Audio Controller driver:
snd_hda_intel
           Card-3: Logitech driver: USB Audio
           Sound: Advanced Linux Sound Architecture v:: k3.13.6-1-ARCH
Network:   Card-1: Qualcomm Atheros AR93xx Wireless Network Adapter
driver: ath9k
           IF: wlp5s0 state: up mac: 10:fe:ed:26:81:07
           Card-2: Intel Ethernet Connection I217-V driver: e1000e
           IF: enp0s25 state: down mac: bc:5f:f4:f8:b6:f9
Drives:    HDD Total Size: 2750.6GB (7.3% used) 1: id: /dev/sda model:
ST2000DX001 size: 2000.4GB
           2: id: /dev/sdb model: Samsung_SSD_840 size: 750.2GB
Partition: ID: / size: 447G used: 20G (5%) fs: ext4 ID: /home size:
1.6T used: 169G (11%) fs: btrfs
           ID: swap-1 size: 51.54GB used: 0.00GB (0%) fs: swap
Sensors:   System Temperatures: cpu: 35.0C mobo: N/A gpu: 31C
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 174 Uptime: 10 min Memory: 1581.2/32112.1MB
Client: Shell (zsh) inxi: 2.1.6

/etc/X11/xorg.conf.d/10-monitor.conf:

 nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 334.21
(buildmeister at swio-display-x64-rhel04-16)  Thu Feb 27 14:36:51 PST 2014

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" RightOf "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "1"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    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 GW2750H"
    HorizSync       30.0 - 83.0
    VertRefresh     50.0 - 76.0
    Option         "DPMS"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "BenQ GW2750H"
    HorizSync       30.0 - 83.0
    VertRefresh     50.0 - 76.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 760"
    BusID          "PCI:2:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 760"
    BusID          "PCI:2:0:0"
    Screen          1
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "metamodes" "DVI-D-0: nvidia-auto-select +0+0"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "metamodes" "HDMI-0: nvidia-auto-select +0+0"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJTKwagAAoJELWzpBXk2k3wTccIAM5Pm2gA9A/JxptPrGPRM9Yt
Z9OWjoDseP4YiPhxUbQW51RH/oIuxVYFgKJL5V1BqJhmZv2Pe65qJWHOhPLizaSE
+pTVb+i3aSTWUpYr0FcXtoXcW9IlZeJKlsLGW80CYs/Er4h21ZUjEGKyYfzYCYfW
1i7lUdg9+lflhay688WKgpdiOKMIY0Mnsf0/ba+xsiAFoeir00C+2tSrwimocNts
Eb9SPmJodhObX+qDTYp8ZsT+q7Eolu0Ge2cAn+cbwoV56TPSzEXlbJNq2QV8q6jm
DUT041gP5AkQksKvOlV93zIhTa8Y5yGV4MTyYaSz30ARnVHNiz1UGTGHsjlvqQU=
=DKbF
-----END PGP SIGNATURE-----