Created attachment 67845 [details] /var/log/Xorg.2.log (ignore this one...) If I start xorg on a display (:0), then start another display (:2) from :0, then close :2 while on that display, :0 closes with an error. In the log file, I see: [ 312.075] (II) Open ACPI successful (/var/run/acpid.socket) [ 312.075] (II) AIGLX: Resuming AIGLX clients after VT switch [ 312.075] (EE) intel(0): drmSetMaster failed: Invalid argument [ 312.075] Fatal server error: [ 312.075] EnterVT failed for screen 0 [ 312.075] [ 312.075] Please consult the The X.Org Foundation support at http://wiki.x.org for help. [ 312.075] Please also check the log file at "/var/log/Xorg.2.log" for additional information. [ 312.075] [ 312.077] (II) evdev: AT Translated Set 2 keyboard: Close [ 312.077] (II) UnloadModule: "evdev" [ 312.077] (II) evdev: IR-receiver inside an USB DVB receiver: Close [ 312.077] (II) UnloadModule: "evdev" [ 312.078] (II) evdev: USB OpticalWheel Mouse: Close [ 312.078] (II) UnloadModule: "evdev" [ 312.078] (II) evdev: Acer Crystal Eye webcam: Close [ 312.078] (II) UnloadModule: "evdev" [ 312.078] (II) evdev: Sleep Button: Close [ 312.078] (II) UnloadModule: "evdev" [ 312.078] (II) evdev: Video Bus: Close [ 312.078] (II) UnloadModule: "evdev" [ 312.078] (II) evdev: Power Button: Close [ 312.079] (II) UnloadModule: "evdev" [ 312.079] (II) AIGLX: Suspending AIGLX clients for VT switch [ 312.088] (WW) intel(0): drmDropMaster failed: Invalid argument [ 312.098] Server terminated with error (1). Closing log file. I've attached the full log for that session (I think...). I'm using the xorg-server 1.12.4-1 package in Arch Linux, and my graphics chipset is an Intel GMA 4500MHD. I'm not sure exactly how recently this started happening, but I would guess at a few weeks - I checked my package update log, though, and I don't seem to have had any xorg updates in this time. I could upload this log if it would help.
Anything in /var/log/Xorg.0.log as well?
Comment on attachment 67845 [details] /var/log/Xorg.2.log (ignore this one...) [ 5034.902] X.Org X Server 1.12.4 Release Date: 2012-08-27 [ 5034.908] X Protocol Version 11, Revision 0 [ 5034.909] Build Operating System: Linux 3.4.8-1-ARCH x86_64 [ 5034.911] Current Operating System: Linux j-laptop 3.5-pf #1 SMP PREEMPT Mon Sep 17 11:06:34 BST 2012 x86_64 [ 5034.911] Kernel command line: root=/dev/sda5 ro init=/sbin/e4rat-preload loglevel=4 libahci.ignore_sss=1 [ 5034.915] Build Date: 27 August 2012 08:04:39AM [ 5034.917] [ 5034.918] Current version of pixman: 0.26.2 [ 5034.922] Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [ 5034.922] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 5034.929] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Sep 29 11:48:36 2012 [ 5034.931] (==) Using config directory: "/etc/X11/xorg.conf.d" [ 5034.931] (==) No Layout section. Using the first Screen section. [ 5034.931] (==) No screen section available. Using defaults. [ 5034.931] (**) |-->Screen "Default Screen Section" (0) [ 5034.931] (**) | |-->Monitor "<default monitor>" [ 5034.931] (==) No device specified for screen "Default Screen Section". Using the first device section listed. [ 5034.932] (**) | |-->Device "Intel Graphics" [ 5034.932] (==) No monitor specified for screen "Default Screen Section". Using a default monitor configuration. [ 5034.932] (==) Automatically adding devices [ 5034.932] (==) Automatically enabling devices [ 5034.932] (WW) The directory "/usr/share/fonts/OTF/" does not exist. [ 5034.932] Entry deleted from font path. [ 5034.932] (==) FontPath set to: /usr/share/fonts/misc/, /usr/share/fonts/TTF/, /usr/share/fonts/Type1/, /usr/share/fonts/100dpi/, /usr/share/fonts/75dpi/ [ 5034.932] (==) ModulePath set to "/usr/lib/xorg/modules" [ 5034.932] (II) The server relies on udev to provide the list of input devices. If no devices become available, reconfigure udev or disable AutoAddDevices. [ 5034.932] (II) Loader magic: 0x7c8b00 [ 5034.932] (II) Module ABI versions: [ 5034.932] X.Org ANSI C Emulation: 0.4 [ 5034.932] X.Org Video Driver: 12.1 [ 5034.932] X.Org XInput driver : 16.0 [ 5034.932] X.Org Server Extension : 6.0 [ 5034.933] (--) PCI:*(0:0:2:0) 8086:2a42:1025:0176 rev 7, Mem @ 0xf8000000/4194304, 0xd0000000/268435456, I/O @ 0x00001800/8 [ 5034.933] (--) PCI: (0:0:2:1) 8086:2a43:1025:0176 rev 7, Mem @ 0xf8400000/1048576 [ 5034.933] (II) Open ACPI successful (/var/run/acpid.socket) [ 5034.933] (II) LoadModule: "extmod" [ 5034.934] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so [ 5034.934] (II) Module extmod: vendor="X.Org Foundation" [ 5034.934] compiled for 1.12.4, module version = 1.0.0 [ 5034.934] Module class: X.Org Server Extension [ 5034.934] ABI class: X.Org Server Extension, version 6.0 [ 5034.934] (II) Loading extension MIT-SCREEN-SAVER [ 5034.934] (II) Loading extension XFree86-VidModeExtension [ 5034.934] (II) Loading extension XFree86-DGA [ 5034.934] (II) Loading extension DPMS [ 5034.934] (II) Loading extension XVideo [ 5034.934] (II) Loading extension XVideo-MotionCompensation [ 5034.934] (II) Loading extension X-Resource [ 5034.934] (II) LoadModule: "dbe" [ 5034.934] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so [ 5034.935] (II) Module dbe: vendor="X.Org Foundation" [ 5034.935] compiled for 1.12.4, module version = 1.0.0 [ 5034.935] Module class: X.Org Server Extension [ 5034.935] ABI class: X.Org Server Extension, version 6.0 [ 5034.935] (II) Loading extension DOUBLE-BUFFER [ 5034.935] (II) LoadModule: "glx" [ 5034.935] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so [ 5034.935] (II) Module glx: vendor="X.Org Foundation" [ 5034.935] compiled for 1.12.4, module version = 1.0.0 [ 5034.935] ABI class: X.Org Server Extension, version 6.0 [ 5034.935] (==) AIGLX enabled [ 5034.935] (II) Loading extension GLX [ 5034.935] (II) LoadModule: "record" [ 5034.935] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so [ 5034.935] (II) Module record: vendor="X.Org Foundation" [ 5034.935] compiled for 1.12.4, module version = 1.13.0 [ 5034.935] Module class: X.Org Server Extension [ 5034.935] ABI class: X.Org Server Extension, version 6.0 [ 5034.935] (II) Loading extension RECORD [ 5034.935] (II) LoadModule: "dri" [ 5034.935] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so [ 5034.935] (II) Module dri: vendor="X.Org Foundation" [ 5034.935] compiled for 1.12.4, module version = 1.0.0 [ 5034.935] ABI class: X.Org Server Extension, version 6.0 [ 5034.936] (II) Loading extension XFree86-DRI [ 5034.936] (II) LoadModule: "dri2" [ 5034.936] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so [ 5034.936] (II) Module dri2: vendor="X.Org Foundation" [ 5034.936] compiled for 1.12.4, module version = 1.2.0 [ 5034.936] ABI class: X.Org Server Extension, version 6.0 [ 5034.936] (II) Loading extension DRI2 [ 5034.936] (II) LoadModule: "intel" [ 5034.936] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so [ 5034.936] (II) Module intel: vendor="X.Org Foundation" [ 5034.936] compiled for 1.12.4, module version = 2.20.8 [ 5034.936] Module class: X.Org Video Driver [ 5034.936] ABI class: X.Org Video Driver, version 12.1 [ 5034.936] (II) intel: Driver for Intel Integrated Graphics Chipsets: i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, 915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45, 4 Series, G45/G43, Q45/Q43, G41, B43, B43, Clarkdale, Arrandale, Sandybridge Desktop (GT1), Sandybridge Desktop (GT2), Sandybridge Desktop (GT2+), Sandybridge Mobile (GT1), Sandybridge Mobile (GT2), Sandybridge Mobile (GT2+), Sandybridge Server, Ivybridge Mobile (GT1), Ivybridge Mobile (GT2), Ivybridge Desktop (GT1), Ivybridge Desktop (GT2), Ivybridge Server, Ivybridge Server (GT2), Haswell Desktop (GT1), Haswell Desktop (GT2), Haswell Desktop (GT2+), Haswell Mobile (GT1), Haswell Mobile (GT2), Haswell Mobile (GT2+), Haswell Server (GT1), Haswell Server (GT2), Haswell Server (GT2+), Haswell SDV Desktop (GT1), Haswell SDV Desktop (GT2), Haswell SDV Desktop (GT2+), Haswell SDV Mobile (GT1), Haswell SDV Mobile (GT2), Haswell SDV Mobile (GT2+), Haswell SDV Server (GT1), Haswell SDV Server (GT2), Haswell SDV Server (GT2+), Haswell ULT Desktop (GT1), Haswell ULT Desktop (GT2), Haswell ULT Desktop (GT2+), Haswell ULT Mobile (GT1), Haswell ULT Mobile (GT2), Haswell ULT Mobile (GT2+), Haswell ULT Server (GT1), Haswell ULT Server (GT2), Haswell ULT Server (GT2+), Haswell CRW Desktop (GT1), Haswell CRW Desktop (GT2), Haswell CRW Desktop (GT2+), Haswell CRW Mobile (GT1), Haswell CRW Mobile (GT2), Haswell CRW Mobile (GT2+), Haswell CRW Server (GT1), Haswell CRW Server (GT2), Haswell CRW Server (GT2+), ValleyView PO board [ 5034.937] (--) using VT number 8 [ 5034.941] drmOpenDevice: node name is /dev/dri/card0 [ 5034.941] drmOpenDevice: open result is 8, (OK) [ 5034.941] drmOpenByBusid: Searching for BusID pci:0000:00:02.0 [ 5034.941] drmOpenDevice: node name is /dev/dri/card0 [ 5034.941] drmOpenDevice: open result is 8, (OK) [ 5034.941] drmOpenByBusid: drmOpenMinor returns 8 [ 5034.941] drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0 [ 5034.941] drmOpenDevice: node name is /dev/dri/card0 [ 5034.941] drmOpenDevice: open result is 9, (OK) [ 5034.941] drmOpenByBusid: Searching for BusID pci:0000:00:02.0 [ 5034.941] drmOpenDevice: node name is /dev/dri/card0 [ 5034.942] drmOpenDevice: open result is 9, (OK) [ 5034.942] drmOpenByBusid: drmOpenMinor returns 9 [ 5034.942] drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0 [ 5034.942] (II) intel(0): Creating default Display subsection in Screen section "Default Screen Section" for depth/fbbpp 24/32 [ 5034.942] (==) intel(0): Depth 24, (--) framebuffer bpp 32 [ 5034.942] (==) intel(0): RGB weight 888 [ 5034.942] (==) intel(0): Default visual is TrueColor [ 5034.942] (**) intel(0): Option "AccelMethod" "sna" [ 5034.942] (--) intel(0): Integrated Graphics Chipset: Intel(R) GM45 [ 5034.942] (**) intel(0): Framebuffer tiled [ 5034.942] (**) intel(0): Pixmaps tiled [ 5034.942] (**) intel(0): 3D buffers tiled [ 5034.942] (**) intel(0): Throttling enabled [ 5034.942] (**) intel(0): Delayed flush enabled [ 5034.942] (**) intel(0): "Tear free" disabled [ 5034.942] (**) intel(0): Forcing per-crtc-pixmaps? no [ 5034.942] (II) intel(0): Output LVDS1 has no monitor section [ 5034.947] (--) intel(0): found backlight control interface acpi_video0 (type 'firmware') [ 5034.963] (II) intel(0): Output VGA1 has no monitor section [ 5034.987] (II) intel(0): Output DP1 has no monitor section [ 5034.987] (II) intel(0): EDID for output LVDS1 [ 5034.987] (II) intel(0): Manufacturer: AUO Model: 10ec Serial#: 0 [ 5034.987] (II) intel(0): Year: 2008 Week: 1 [ 5034.987] (II) intel(0): EDID Version: 1.3 [ 5034.987] (II) intel(0): Digital Display Input [ 5034.987] (II) intel(0): Max Image Size [cm]: horiz.: 34 vert.: 19 [ 5034.987] (II) intel(0): Gamma: 2.20 [ 5034.987] (II) intel(0): No DPMS capabilities specified [ 5034.987] (II) intel(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 [ 5034.987] (II) intel(0): First detailed timing is preferred mode [ 5034.987] (II) intel(0): redX: 0.640 redY: 0.342 greenX: 0.310 greenY: 0.580 [ 5034.987] (II) intel(0): blueX: 0.150 blueY: 0.120 whiteX: 0.313 whiteY: 0.329 [ 5034.987] (II) intel(0): Manufacturer's mask: 0 [ 5034.987] (II) intel(0): Supported detailed timing: [ 5034.987] (II) intel(0): clock: 72.0 MHz Image Size: 344 x 193 mm [ 5034.987] (II) intel(0): h_active: 1366 h_sync: 1414 h_sync_end 1446 h_blank_end 1486 h_border: 0 [ 5034.987] (II) intel(0): v_active: 768 v_sync: 771 v_sync_end 775 v_blanking: 806 v_border: 0 [ 5034.987] (II) intel(0): Unknown vendor-specific block f [ 5034.988] (II) intel(0): AUO [ 5034.988] (II) intel(0): B156XW01 V0 [ 5034.988] (II) intel(0): EDID (in hex): [ 5034.988] (II) intel(0): 00ffffffffffff0006afec1000000000 [ 5034.988] (II) intel(0): 01120103802213780ae6b5a3574f9426 [ 5034.988] (II) intel(0): 1e505400000001010101010101010101 [ 5034.988] (II) intel(0): 010101010101201c5678500026303020 [ 5034.988] (II) intel(0): 340058c1100000180000000f00000000 [ 5034.988] (II) intel(0): 00000000000000000020000000fe0041 [ 5034.988] (II) intel(0): 554f0a202020202020202020000000fe [ 5034.988] (II) intel(0): 004231353658573031205630200a002a [ 5034.988] (II) intel(0): EDID vendor "AUO", prod id 4332 [ 5034.988] (II) intel(0): Printing DDC gathered Modelines: [ 5034.988] (II) intel(0): Modeline "1366x768"x0.0 72.00 1366 1414 1446 1486 768 771 775 806 -hsync -vsync (48.5 kHz eP) [ 5034.988] (II) intel(0): Not using default mode "320x240" (doublescan mode not supported) [ 5034.988] (II) intel(0): Not using default mode "400x300" (doublescan mode not supported) [ 5034.988] (II) intel(0): Not using default mode "400x300" (doublescan mode not supported) [ 5034.988] (II) intel(0): Not using default mode "512x384" (doublescan mode not supported) [ 5034.988] (II) intel(0): Not using default mode "640x480" (doublescan mode not supported) [ 5034.988] (II) intel(0): Not using default mode "640x512" (doublescan mode not supported) [ 5034.988] (II) intel(0): Not using default mode "800x600" (doublescan mode not supported) [ 5034.988] (II) intel(0): Not using default mode "896x672" (doublescan mode not supported) [ 5034.988] (II) intel(0): Not using default mode "928x696" (doublescan mode not supported) [ 5034.988] (II) intel(0): Not using default mode "960x720" (doublescan mode not supported) [ 5034.988] (II) intel(0): Not using default mode "700x525" (doublescan mode not supported) [ 5034.988] (II) intel(0): Not using default mode "1024x768" (doublescan mode not supported) [ 5034.988] (II) intel(0): Printing probed modes for output LVDS1 [ 5034.989] (II) intel(0): Modeline "1366x768"x60.1 72.00 1366 1414 1446 1486 768 771 775 806 -hsync -vsync (48.5 kHz eP) [ 5034.989] (II) intel(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz d) [ 5034.989] (II) intel(0): Modeline "800x600"x60.3 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz d) [ 5034.989] (II) intel(0): Modeline "800x600"x56.2 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz d) [ 5034.989] (II) intel(0): Modeline "640x480"x59.9 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz d) [ 5035.003] (II) intel(0): EDID for output VGA1 [ 5035.029] (II) intel(0): EDID for output DP1 [ 5035.029] (II) intel(0): Output LVDS1 connected [ 5035.029] (II) intel(0): Output VGA1 disconnected [ 5035.029] (II) intel(0): Output DP1 disconnected [ 5035.029] (II) intel(0): Using exact sizes for initial modes [ 5035.029] (II) intel(0): Output LVDS1 using initial mode 1366x768 [ 5035.029] (II) intel(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated. [ 5035.029] (**) intel(0): Display dimensions: (340, 190) mm [ 5035.029] (**) intel(0): DPI set to (102, 102) [ 5035.029] (II) Loading sub module "dri2" [ 5035.029] (II) LoadModule: "dri2" [ 5035.030] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so [ 5035.030] (II) Module dri2: vendor="X.Org Foundation" [ 5035.030] compiled for 1.12.4, module version = 1.2.0 [ 5035.030] ABI class: X.Org Server Extension, version 6.0 [ 5035.030] (==) Depth 24 pixmap format is 32 bpp [ 5035.031] (II) intel(0): SNA initialized with Broadwater backend [ 5035.031] (==) intel(0): Backing store disabled [ 5035.031] (==) intel(0): Silken mouse enabled [ 5035.031] (II) intel(0): HW Cursor enabled [ 5035.031] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message. [ 5035.049] (==) intel(0): DPMS enabled [ 5035.049] (II) intel(0): Overlay video not supported on this hardware [ 5035.049] (II) intel(0): [XvMC] xvmc_vld driver initialized. [ 5035.049] (II) intel(0): [DRI2] Setup complete [ 5035.049] (II) intel(0): [DRI2] DRI driver: i965 [ 5035.049] (II) intel(0): direct rendering: DRI2 Enabled [ 5035.049] (==) intel(0): hotplug detection: "enabled" [ 5035.050] (--) RandR disabled [ 5035.050] (II) Initializing built-in extension Generic Event Extension [ 5035.050] (II) Initializing built-in extension SHAPE [ 5035.050] (II) Initializing built-in extension MIT-SHM [ 5035.050] (II) Initializing built-in extension XInputExtension [ 5035.050] (II) Initializing built-in extension XTEST [ 5035.050] (II) Initializing built-in extension BIG-REQUESTS [ 5035.050] (II) Initializing built-in extension SYNC [ 5035.050] (II) Initializing built-in extension XKEYBOARD [ 5035.050] (II) Initializing built-in extension XC-MISC [ 5035.050] (II) Initializing built-in extension SECURITY [ 5035.050] (II) Initializing built-in extension XINERAMA [ 5035.050] (II) Initializing built-in extension XFIXES [ 5035.050] (II) Initializing built-in extension RENDER [ 5035.050] (II) Initializing built-in extension RANDR [ 5035.050] (II) Initializing built-in extension COMPOSITE [ 5035.050] (II) Initializing built-in extension DAMAGE [ 5035.067] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer [ 5035.067] (II) AIGLX: enabled GLX_INTEL_swap_event [ 5035.067] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control [ 5035.067] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects [ 5035.068] (II) AIGLX: Loaded and initialized i965 [ 5035.068] (II) GLX: Initialized DRI2 GL provider for screen 0 [ 5035.068] (II) intel(0): switch to mode 1366x768 on crtc 4 (pipe 1) [ 5035.128] (II) intel(0): Setting screen physical size to 361 x 203 [ 5035.182] (II) config/udev: Adding input device Power Button (/dev/input/event4) [ 5035.182] (**) Power Button: Applying InputClass "evdev keyboard catchall" [ 5035.182] (II) LoadModule: "evdev" [ 5035.182] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so [ 5035.182] (II) Module evdev: vendor="X.Org Foundation" [ 5035.182] compiled for 1.12.3.901, module version = 2.7.3 [ 5035.182] Module class: X.Org XInput Driver [ 5035.182] ABI class: X.Org XInput driver, version 16.0 [ 5035.182] (II) Using input driver 'evdev' for 'Power Button' [ 5035.182] (**) Power Button: always reports core events [ 5035.182] (**) evdev: Power Button: Device: "/dev/input/event4" [ 5035.182] (--) evdev: Power Button: Vendor 0 Product 0x1 [ 5035.182] (--) evdev: Power Button: Found keys [ 5035.182] (II) evdev: Power Button: Configuring as keyboard [ 5035.182] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input4/event4" [ 5035.182] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6) [ 5035.182] (**) Option "xkb_rules" "evdev" [ 5035.182] (**) Option "xkb_model" "evdev" [ 5035.182] (**) Option "xkb_layout" "gb" [ 5035.183] (**) Option "xkb_variant" "dvorakukp" [ 5035.213] (II) config/udev: Adding input device Video Bus (/dev/input/event9) [ 5035.213] (**) Video Bus: Applying InputClass "evdev keyboard catchall" [ 5035.213] (II) Using input driver 'evdev' for 'Video Bus' [ 5035.213] (**) Video Bus: always reports core events [ 5035.213] (**) evdev: Video Bus: Device: "/dev/input/event9" [ 5035.213] (--) evdev: Video Bus: Vendor 0 Product 0x6 [ 5035.214] (--) evdev: Video Bus: Found keys [ 5035.214] (II) evdev: Video Bus: Configuring as keyboard [ 5035.214] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:00/input/input9/event9" [ 5035.214] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7) [ 5035.214] (**) Option "xkb_rules" "evdev" [ 5035.214] (**) Option "xkb_model" "evdev" [ 5035.214] (**) Option "xkb_layout" "gb" [ 5035.214] (**) Option "xkb_variant" "dvorakukp" [ 5035.214] (II) config/udev: Adding input device Lid Switch (/dev/input/event2) [ 5035.214] (II) No input driver specified, ignoring this device. [ 5035.214] (II) This device may have been added with another device file. [ 5035.214] (II) config/udev: Adding input device Sleep Button (/dev/input/event3) [ 5035.214] (**) Sleep Button: Applying InputClass "evdev keyboard catchall" [ 5035.214] (II) Using input driver 'evdev' for 'Sleep Button' [ 5035.214] (**) Sleep Button: always reports core events [ 5035.214] (**) evdev: Sleep Button: Device: "/dev/input/event3" [ 5035.214] (--) evdev: Sleep Button: Vendor 0 Product 0x3 [ 5035.214] (--) evdev: Sleep Button: Found keys [ 5035.214] (II) evdev: Sleep Button: Configuring as keyboard [ 5035.215] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input3/event3" [ 5035.215] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 8) [ 5035.215] (**) Option "xkb_rules" "evdev" [ 5035.215] (**) Option "xkb_model" "evdev" [ 5035.215] (**) Option "xkb_layout" "gb" [ 5035.215] (**) Option "xkb_variant" "dvorakukp" [ 5035.215] (II) config/udev: Adding input device Acer Crystal Eye webcam (/dev/input/event10) [ 5035.215] (**) Acer Crystal Eye webcam: Applying InputClass "evdev keyboard catchall" [ 5035.215] (II) Using input driver 'evdev' for 'Acer Crystal Eye webcam' [ 5035.215] (**) Acer Crystal Eye webcam: always reports core events [ 5035.215] (**) evdev: Acer Crystal Eye webcam: Device: "/dev/input/event10" [ 5035.215] (--) evdev: Acer Crystal Eye webcam: Vendor 0x64e Product 0xa103 [ 5035.215] (--) evdev: Acer Crystal Eye webcam: Found keys [ 5035.215] (II) evdev: Acer Crystal Eye webcam: Configuring as keyboard [ 5035.215] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.7/usb1/1-3/1-3:1.0/input/input10/event10" [ 5035.215] (II) XINPUT: Adding extended input device "Acer Crystal Eye webcam" (type: KEYBOARD, id 9) [ 5035.215] (**) Option "xkb_rules" "evdev" [ 5035.215] (**) Option "xkb_model" "evdev" [ 5035.215] (**) Option "xkb_layout" "gb" [ 5035.215] (**) Option "xkb_variant" "dvorakukp" [ 5035.216] (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event6) [ 5035.216] (II) No input driver specified, ignoring this device. [ 5035.216] (II) This device may have been added with another device file. [ 5035.216] (II) config/udev: Adding input device HDA Intel Mic (/dev/input/event7) [ 5035.216] (II) No input driver specified, ignoring this device. [ 5035.216] (II) This device may have been added with another device file. [ 5035.216] (II) config/udev: Adding input device HDA Intel Headphone (/dev/input/event8) [ 5035.216] (II) No input driver specified, ignoring this device. [ 5035.217] (II) This device may have been added with another device file. [ 5035.217] (II) config/udev: Adding input device USB OpticalWheel Mouse (/dev/input/event1) [ 5035.217] (**) USB OpticalWheel Mouse: Applying InputClass "evdev pointer catchall" [ 5035.217] (II) Using input driver 'evdev' for 'USB OpticalWheel Mouse' [ 5035.217] (**) USB OpticalWheel Mouse: always reports core events [ 5035.217] (**) evdev: USB OpticalWheel Mouse: Device: "/dev/input/event1" [ 5035.217] (--) evdev: USB OpticalWheel Mouse: Vendor 0x4fc Product 0x3 [ 5035.217] (--) evdev: USB OpticalWheel Mouse: Found 3 mouse buttons [ 5035.217] (--) evdev: USB OpticalWheel Mouse: Found scroll wheel(s) [ 5035.217] (--) evdev: USB OpticalWheel Mouse: Found relative axes [ 5035.217] (--) evdev: USB OpticalWheel Mouse: Found x and y relative axes [ 5035.217] (II) evdev: USB OpticalWheel Mouse: Configuring as mouse [ 5035.217] (II) evdev: USB OpticalWheel Mouse: Adding scrollwheel support [ 5035.217] (**) evdev: USB OpticalWheel Mouse: YAxisMapping: buttons 4 and 5 [ 5035.217] (**) evdev: USB OpticalWheel Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200 [ 5035.217] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.2/usb8/8-1/8-1:1.0/input/input1/event1" [ 5035.217] (II) XINPUT: Adding extended input device "USB OpticalWheel Mouse" (type: MOUSE, id 10) [ 5035.217] (II) evdev: USB OpticalWheel Mouse: initialized for relative axes. [ 5035.217] (**) USB OpticalWheel Mouse: (accel) keeping acceleration scheme 1 [ 5035.217] (**) USB OpticalWheel Mouse: (accel) acceleration profile 0 [ 5035.217] (**) USB OpticalWheel Mouse: (accel) acceleration factor: 2.000 [ 5035.217] (**) USB OpticalWheel Mouse: (accel) acceleration threshold: 4 [ 5035.218] (II) config/udev: Adding input device USB OpticalWheel Mouse (/dev/input/mouse0) [ 5035.218] (II) No input driver specified, ignoring this device. [ 5035.218] (II) This device may have been added with another device file. [ 5035.218] (II) config/udev: Adding input device IR-receiver inside an USB DVB receiver (/dev/input/event11) [ 5035.218] (**) IR-receiver inside an USB DVB receiver: Applying InputClass "evdev keyboard catchall" [ 5035.218] (II) Using input driver 'evdev' for 'IR-receiver inside an USB DVB receiver' [ 5035.218] (**) IR-receiver inside an USB DVB receiver: always reports core events [ 5035.218] (**) evdev: IR-receiver inside an USB DVB receiver: Device: "/dev/input/event11" [ 5035.218] (--) evdev: IR-receiver inside an USB DVB receiver: Vendor 0x2040 Product 0x5200 [ 5035.218] (--) evdev: IR-receiver inside an USB DVB receiver: Found keys [ 5035.218] (II) evdev: IR-receiver inside an USB DVB receiver: Configuring as keyboard [ 5035.218] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.7/usb5/5-1/rc/rc0/input11/event11" [ 5035.218] (II) XINPUT: Adding extended input device "IR-receiver inside an USB DVB receiver" (type: KEYBOARD, id 11) [ 5035.218] (**) Option "xkb_rules" "evdev" [ 5035.218] (**) Option "xkb_model" "evdev" [ 5035.218] (**) Option "xkb_layout" "gb" [ 5035.218] (**) Option "xkb_variant" "dvorakukp" [ 5035.219] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0) [ 5035.219] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall" [ 5035.219] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard' [ 5035.219] (**) AT Translated Set 2 keyboard: always reports core events [ 5035.219] (**) evdev: AT Translated Set 2 keyboard: Device: "/dev/input/event0" [ 5035.219] (--) evdev: AT Translated Set 2 keyboard: Vendor 0x1 Product 0x1 [ 5035.219] (--) evdev: AT Translated Set 2 keyboard: Found keys [ 5035.219] (II) evdev: AT Translated Set 2 keyboard: Configuring as keyboard [ 5035.219] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input0/event0" [ 5035.219] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 12) [ 5035.219] (**) Option "xkb_rules" "evdev" [ 5035.219] (**) Option "xkb_model" "evdev" [ 5035.219] (**) Option "xkb_layout" "gb" [ 5035.219] (**) Option "xkb_variant" "dvorakukp" [ 5035.219] (II) config/udev: Adding input device PC Speaker (/dev/input/event5) [ 5035.219] (II) No input driver specified, ignoring this device. [ 5035.219] (II) This device may have been added with another device file. [ 5035.665] (II) intel(0): EDID vendor "AUO", prod id 4332 [ 5035.665] (II) intel(0): Printing DDC gathered Modelines: [ 5035.665] (II) intel(0): Modeline "1366x768"x0.0 72.00 1366 1414 1446 1486 768 771 775 806 -hsync -vsync (48.5 kHz eP) [ 5051.649] (II) AIGLX: Suspending AIGLX clients for VT switch [ 5061.337] (II) Open ACPI successful (/var/run/acpid.socket) [ 5061.337] (II) AIGLX: Resuming AIGLX clients after VT switch [ 5061.338] (EE) intel(0): drmSetMaster failed: Invalid argument [ 5061.341] Fatal server error: [ 5061.341] EnterVT failed for screen 0 [ 5061.341] [ 5061.341] Please consult the The X.Org Foundation support at http://wiki.x.org for help. [ 5061.341] Please also check the log file at "/var/log/Xorg.0.log" for additional information. [ 5061.341] [ 5061.342] (II) evdev: AT Translated Set 2 keyboard: Close [ 5061.342] (II) UnloadModule: "evdev" [ 5061.342] (II) evdev: IR-receiver inside an USB DVB receiver: Close [ 5061.342] (II) UnloadModule: "evdev" [ 5061.343] (II) evdev: USB OpticalWheel Mouse: Close [ 5061.343] (II) UnloadModule: "evdev" [ 5061.343] (II) evdev: Acer Crystal Eye webcam: Close [ 5061.343] (II) UnloadModule: "evdev" [ 5061.343] (II) evdev: Sleep Button: Close [ 5061.343] (II) UnloadModule: "evdev" [ 5061.343] (II) evdev: Video Bus: Close [ 5061.343] (II) UnloadModule: "evdev" [ 5061.343] (II) evdev: Power Button: Close [ 5061.343] (II) UnloadModule: "evdev" [ 5061.343] (II) AIGLX: Suspending AIGLX clients for VT switch [ 5061.351] (WW) intel(0): drmDropMaster failed: Invalid argument [ 5061.361] Server terminated with error (1). Closing log file.
Wait, I think I confused everything - I was actually using displays 2 and 3, not 0 and 2 (and I only just realised the log's number is the display number). I've done it again, with displays 0 and 2, and there's nothing in Xorg.2.log - it ends with: [ 5061.337] Server terminated successfully (0). Closing log file. So the attached log is for the first display started (I've overwritten/renamed it to avoid confusion).
Created attachment 67847 [details] /var/log/Xorg.0.log
Gaaaaaaaaaah, sorry, I obviously don't understand Bugzilla at all. Everything should be clear now, and sorry about all the changes.
Ah, I believe the issue that we change VT when closing the second display before dropping DRM master. We delayed the DRM master dropping in order to avoid the leak of the fb during server regeneration.
Created attachment 67851 [details] [review] drop master early for VT switching on close
I think it should work now (at least as well as it did before)... commit a873f6d354ebbc52265e686b614027f537a6363a Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Sat Sep 29 16:01:58 2012 +0100 sna: Release the front buffer and drop DRM master early during shutdown If we delay the dropping of DRM master we may complete a VT switch before we are ready and so prevent a second X server from reacquiring master, and dying. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=55446 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Yes, it seems to be fixed here. Thanks.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.