You are not logged in.

#1 2015-12-17 05:42:53

sparky2012
Member
Registered: 2015-12-17
Posts: 15

i3 Crashes whenever I plug in my laptop [answered]

Whenever I unplug or plug in my laptop (Dell xps 13 ), i3 chrases with:

ERROR: X11 connection was closed unexpectedly  -  maybe your X server terminated / chrashed?
i3: connection to X server lost
Cannot open display

I'm not sure what logs or other info I should post, please let me know.

Cheers!

Last edited by sparky2012 (2015-12-22 19:14:21)

Offline

#2 2015-12-17 05:57:08

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: i3 Crashes whenever I plug in my laptop [answered]

Xorg log and the relevant section from your journal. Also, what are you using for power management?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2015-12-17 05:59:06

sparky2012
Member
Registered: 2015-12-17
Posts: 15

Re: i3 Crashes whenever I plug in my laptop [answered]

How do you get both those? (Serious newb here) and just laptop-mode-tools i think.

Edit: acpid is also installed

Last edited by sparky2012 (2015-12-17 06:12:02)

Offline

#4 2015-12-17 06:21:45

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: i3 Crashes whenever I plug in my laptop [answered]

Start with:  /var/log/Xorg.0.log and .xsession-errors.

https://wiki.archlinux.org/index.php/Systemd#Journal

Also, please copy and paste error messages rather then type them (complete with typos).


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#5 2015-12-17 06:24:12

sparky2012
Member
Registered: 2015-12-17
Posts: 15

Re: i3 Crashes whenever I plug in my laptop [answered]

Neither of those files exits (presuming they are both supposed to be in /var/log/

Offline

#6 2015-12-17 06:25:19

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: i3 Crashes whenever I plug in my laptop [answered]


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2015-12-17 07:53:08

sparky2012
Member
Registered: 2015-12-17
Posts: 15

Re: i3 Crashes whenever I plug in my laptop [answered]

[  5150.649] 
X.Org X Server 1.18.0
Release Date: 2015-11-09
[  5150.653] X Protocol Version 11, Revision 0
[  5150.654] Build Operating System: Linux 4.2.3-1-ARCH x86_64 
[  5150.655] Current Operating System: Linux mobilearchbox 4.2.5-1-ARCH #1 SMP PREEMPT Tue Oct 27 08:13:28 CET 2015 x86_64
[  5150.655] Kernel command line: initrd=\initramfs-linux.img root=/dev/sda8 rw pcie_aspm=force i915.enable_fbc=1 i915.enable_rc6=7
[  5150.658] Build Date: 18 November 2015  08:07:09AM
[  5150.659]  
[  5150.660] Current version of pixman: 0.32.8
[  5150.662] 	Before reporting problems, check [url]http://wiki.x.org[/url]
	to make sure that you have the latest version.
[  5150.662] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  5150.667] (==) Log file: "/home/gareth/.local/share/xorg/Xorg.0.log", Time: Wed Dec 16 23:34:45 2015
[  5150.668] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  5150.668] (==) No Layout section.  Using the first Screen section.
[  5150.668] (==) No screen section available. Using defaults.
[  5150.668] (**) |-->Screen "Default Screen Section" (0)
[  5150.668] (**) |   |-->Monitor "<default monitor>"
[  5150.668] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[  5150.668] (==) Automatically adding devices
[  5150.668] (==) Automatically enabling devices
[  5150.668] (==) Automatically adding GPU devices
[  5150.668] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  5150.668] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[  5150.668] 	Entry deleted from font path.
[  5150.668] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[  5150.668] 	Entry deleted from font path.
[  5150.668] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[  5150.668] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[  5150.668] 	Entry deleted from font path.
[  5150.668] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[  5150.668] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/
[  5150.668] (==) ModulePath set to "/usr/lib/xorg/modules"
[  5150.668] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[  5150.668] (II) Loader magic: 0x819d40
[  5150.668] (II) Module ABI versions:
[  5150.668] 	X.Org ANSI C Emulation: 0.4
[  5150.668] 	X.Org Video Driver: 20.0
[  5150.668] 	X.Org XInput driver : 22.1
[  5150.668] 	X.Org Server Extension : 9.0
[  5150.669] (++) using VT number 1

[  5150.669] (--) controlling tty is VT number 1, auto-enabling KeepTty
[  5150.671] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[  5150.671] (II) xfree86: Adding drm device (/dev/dri/card0)
[  5150.672] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 8 paused 0
[  5150.890] (--) PCI:*(0:0:2:0) 8086:1616:1028:0665 rev 9, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, I/O @ 0x0000f000/64
[  5150.890] (II) Open ACPI successful (/var/run/acpid.socket)
[  5150.890] (II) LoadModule: "glx"
[  5150.890] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  5150.891] (II) Module glx: vendor="X.Org Foundation"
[  5150.891] 	compiled for 1.18.0, module version = 1.0.0
[  5150.891] 	ABI class: X.Org Server Extension, version 9.0
[  5150.891] (==) AIGLX enabled
[  5150.891] (==) Matched intel as autoconfigured driver 0
[  5150.891] (==) Matched intel as autoconfigured driver 1
[  5150.891] (==) Matched modesetting as autoconfigured driver 2
[  5150.891] (==) Matched fbdev as autoconfigured driver 3
[  5150.891] (==) Matched vesa as autoconfigured driver 4
[  5150.891] (==) Assigned the driver to the xf86ConfigLayout
[  5150.891] (II) LoadModule: "intel"
[  5150.891] (WW) Warning, couldn't open module intel
[  5150.891] (II) UnloadModule: "intel"
[  5150.891] (II) Unloading intel
[  5150.891] (EE) Failed to load module "intel" (module does not exist, 0)
[  5150.891] (II) LoadModule: "modesetting"
[  5150.891] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[  5150.891] (II) Module modesetting: vendor="X.Org Foundation"
[  5150.891] 	compiled for 1.18.0, module version = 1.18.0
[  5150.891] 	Module class: X.Org Video Driver
[  5150.891] 	ABI class: X.Org Video Driver, version 20.0
[  5150.891] (II) LoadModule: "fbdev"
[  5150.891] (WW) Warning, couldn't open module fbdev
[  5150.891] (II) UnloadModule: "fbdev"
[  5150.891] (II) Unloading fbdev
[  5150.891] (EE) Failed to load module "fbdev" (module does not exist, 0)
[  5150.891] (II) LoadModule: "vesa"
[  5150.891] (WW) Warning, couldn't open module vesa
[  5150.891] (II) UnloadModule: "vesa"
[  5150.891] (II) Unloading vesa
[  5150.891] (EE) Failed to load module "vesa" (module does not exist, 0)
[  5150.891] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[  5150.892] (II) modeset(0): using drv /dev/dri/card0
[  5150.892] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[  5150.892] (II) modeset(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[  5150.892] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[  5150.892] (==) modeset(0): RGB weight 888
[  5150.892] (==) modeset(0): Default visual is TrueColor
[  5150.892] (II) Loading sub module "glamoregl"
[  5150.892] (II) LoadModule: "glamoregl"
[  5150.892] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[  5150.896] (II) Module glamoregl: vendor="X.Org Foundation"
[  5150.896] 	compiled for 1.18.0, module version = 1.0.0
[  5150.896] 	ABI class: X.Org ANSI C Emulation, version 0.4
[  5150.896] (II) glamor: OpenGL accelerated X.org driver based.
[  5150.906] (II) glamor: EGL version 1.4 (DRI2):
[  5150.908] (II) modeset(0): glamor initialized
[  5150.909] (II) modeset(0): Output eDP-1 has no monitor section
[  5150.909] (II) modeset(0): Output DP-1 has no monitor section
[  5150.909] (II) modeset(0): Output HDMI-1 has no monitor section
[  5150.910] (II) modeset(0): EDID for output eDP-1
[  5150.910] (II) modeset(0): Manufacturer: SHP  Model: 1420  Serial#: 0
[  5150.910] (II) modeset(0): Year: 2015  Week: 2
[  5150.910] (II) modeset(0): EDID Version: 1.4
[  5150.910] (II) modeset(0): Digital Display Input
[  5150.910] (II) modeset(0): 8 bits per channel
[  5150.910] (II) modeset(0): Digital interface is DisplayPort
[  5150.910] (II) modeset(0): Max Image Size [cm]: horiz.: 29  vert.: 17
[  5150.910] (II) modeset(0): Gamma: 2.20
[  5150.910] (II) modeset(0): No DPMS capabilities specified
[  5150.910] (II) modeset(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 
[  5150.910] (II) modeset(0): Default color space is primary color space
[  5150.910] (II) modeset(0): First detailed timing is preferred mode
[  5150.910] (II) modeset(0): Preferred mode is native pixel format and refresh rate
[  5150.910] (II) modeset(0): redX: 0.640 redY: 0.329   greenX: 0.300 greenY: 0.600
[  5150.910] (II) modeset(0): blueX: 0.149 blueY: 0.060   whiteX: 0.312 whiteY: 0.328
[  5150.910] (II) modeset(0): Manufacturer's mask: 0
[  5150.910] (II) modeset(0): Supported detailed timing:
[  5150.910] (II) modeset(0): clock: 138.5 MHz   Image Size:  294 x 165 mm
[  5150.910] (II) modeset(0): h_active: 1920  h_sync: 1968  h_sync_end 2000 h_blank_end 2080 h_border: 0
[  5150.910] (II) modeset(0): v_active: 1080  v_sync: 1083  v_sync_end 1088 v_blanking: 1111 v_border: 0
[  5150.910] (II) modeset(0):  V4FJ4LQ133M1
[  5150.910] (II) modeset(0): Unknown vendor-specific block 0
[  5150.910] (II) modeset(0): EDID (in hex):
[  5150.910] (II) modeset(0): 	00ffffffffffff004d10201400000000
[  5150.910] (II) modeset(0): 	02190104a51d11780ede50a3544c9926
[  5150.910] (II) modeset(0): 	0f505400000001010101010101010101
[  5150.910] (II) modeset(0): 	0101010101011a3680a070381f403020
[  5150.910] (II) modeset(0): 	350026a5100000180000001000000000
[  5150.910] (II) modeset(0): 	00000000000000000000000000fe0056
[  5150.910] (II) modeset(0): 	34464a34814c513133334d3100000000
[  5150.910] (II) modeset(0): 	0002410328001200000b010a202000b5
[  5150.910] (II) modeset(0): Printing probed modes for output eDP-1
[  5150.910] (II) modeset(0): Modeline "1920x1080"x59.9  138.50  1920 1968 2000 2080  1080 1083 1088 1111 -hsync -vsync (66.6 kHz eP)
[  5150.910] (II) modeset(0): Modeline "1400x1050"x60.0  122.00  1400 1488 1640 1880  1050 1052 1064 1082 +hsync +vsync (64.9 kHz d)
[  5150.910] (II) modeset(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz d)
[  5150.910] (II) modeset(0): Modeline "1280x960"x60.0  108.00  1280 1376 1488 1800  960 961 964 1000 +hsync +vsync (60.0 kHz d)
[  5150.910] (II) modeset(0): Modeline "1024x768"x120.1  133.47  1024 1100 1212 1400  768 768 770 794 doublescan -hsync +vsync (95.3 kHz d)
[  5150.910] (II) modeset(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz d)
[  5150.910] (II) modeset(0): Modeline "960x720"x120.0  117.00  960 1024 1128 1300  720 720 722 750 doublescan -hsync +vsync (90.0 kHz d)
[  5150.910] (II) modeset(0): Modeline "928x696"x120.1  109.15  928 976 1088 1264  696 696 698 719 doublescan -hsync +vsync (86.4 kHz d)
[  5150.910] (II) modeset(0): Modeline "896x672"x120.0  102.40  896 960 1060 1224  672 672 674 697 doublescan -hsync +vsync (83.7 kHz d)
[  5150.910] (II) modeset(0): Modeline "800x600"x120.0   81.00  800 832 928 1080  600 600 602 625 doublescan +hsync +vsync (75.0 kHz d)
[  5150.910] (II) modeset(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz d)
[  5150.910] (II) modeset(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz d)
[  5150.910] (II) modeset(0): Modeline "700x525"x120.0   61.00  700 744 820 940  525 526 532 541 doublescan +hsync +vsync (64.9 kHz d)
[  5150.910] (II) modeset(0): Modeline "640x512"x120.0   54.00  640 664 720 844  512 512 514 533 doublescan +hsync +vsync (64.0 kHz d)
[  5150.910] (II) modeset(0): Modeline "640x480"x120.0   54.00  640 688 744 900  480 480 482 500 doublescan +hsync +vsync (60.0 kHz d)
[  5150.910] (II) modeset(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz d)
[  5150.910] (II) modeset(0): Modeline "512x384"x120.0   32.50  512 524 592 672  384 385 388 403 doublescan -hsync -vsync (48.4 kHz d)
[  5150.910] (II) modeset(0): Modeline "400x300"x120.6   20.00  400 420 484 528  300 300 302 314 doublescan +hsync +vsync (37.9 kHz d)
[  5150.910] (II) modeset(0): Modeline "400x300"x112.7   18.00  400 412 448 512  300 300 301 312 doublescan +hsync +vsync (35.2 kHz d)
[  5150.910] (II) modeset(0): Modeline "320x240"x120.1   12.59  320 328 376 400  240 245 246 262 doublescan -hsync -vsync (31.5 kHz d)
[  5150.910] (II) modeset(0): EDID for output DP-1
[  5150.911] (II) modeset(0): EDID for output HDMI-1
[  5150.911] (II) modeset(0): Output eDP-1 connected
[  5150.911] (II) modeset(0): Output DP-1 disconnected
[  5150.911] (II) modeset(0): Output HDMI-1 disconnected
[  5150.911] (II) modeset(0): Using exact sizes for initial modes
[  5150.911] (II) modeset(0): Output eDP-1 using initial mode 1920x1080 +0+0
[  5150.911] (II) modeset(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[  5150.911] (==) modeset(0): DPI set to (96, 96)
[  5150.911] (II) Loading sub module "fb"
[  5150.911] (II) LoadModule: "fb"
[  5150.911] (II) Loading /usr/lib/xorg/modules/libfb.so
[  5150.911] (II) Module fb: vendor="X.Org Foundation"
[  5150.911] 	compiled for 1.18.0, module version = 1.0.0
[  5150.911] 	ABI class: X.Org ANSI C Emulation, version 0.4
[  5150.911] (==) Depth 24 pixmap format is 32 bpp
[  5150.976] (==) modeset(0): Backing store enabled
[  5150.976] (==) modeset(0): Silken mouse enabled
[  5150.976] (II) modeset(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[  5150.976] (==) modeset(0): DPMS enabled
[  5150.976] (II) modeset(0): [DRI2] Setup complete
[  5150.976] (II) modeset(0): [DRI2]   DRI driver: i965
[  5150.976] (II) modeset(0): [DRI2]   VDPAU driver: i965
[  5150.982] (--) RandR disabled
[  5150.989] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[  5150.989] (II) AIGLX: enabled GLX_ARB_create_context
[  5150.989] (II) AIGLX: enabled GLX_ARB_create_context_profile
[  5150.989] (II) AIGLX: enabled GLX_EXT_create_context_es2_profile
[  5150.989] (II) AIGLX: enabled GLX_INTEL_swap_event
[  5150.989] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
[  5150.989] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB
[  5150.989] (II) AIGLX: enabled GLX_ARB_fbconfig_float
[  5150.989] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[  5150.989] (II) AIGLX: enabled GLX_ARB_create_context_robustness
[  5150.989] (II) AIGLX: Loaded and initialized i965
[  5150.989] (II) GLX: Initialized DRI2 GL provider for screen 0
[  5150.990] (II) modeset(0): Setting screen physical size to 508 x 285
[  5151.018] (II) config/udev: Adding input device Power Button (/dev/input/event4)
[  5151.018] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[  5151.018] (II) LoadModule: "evdev"
[  5151.018] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[  5151.018] (II) Module evdev: vendor="X.Org Foundation"
[  5151.018] 	compiled for 1.18.0, module version = 2.10.0
[  5151.019] 	Module class: X.Org XInput Driver
[  5151.019] 	ABI class: X.Org XInput driver, version 22.1
[  5151.019] (II) systemd-logind: got fd for /dev/input/event4 13:68 fd 13 paused 0
[  5151.019] (II) Using input driver 'evdev' for 'Power Button'
[  5151.019] (**) Power Button: always reports core events
[  5151.019] (**) evdev: Power Button: Device: "/dev/input/event4"
[  5151.019] (--) evdev: Power Button: Vendor 0 Product 0x1
[  5151.019] (--) evdev: Power Button: Found keys
[  5151.019] (II) evdev: Power Button: Configuring as keyboard
[  5151.019] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input5/event4"
[  5151.019] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[  5151.019] (**) Option "xkb_rules" "evdev"
[  5151.019] (II) config/udev: Adding input device Video Bus (/dev/input/event9)
[  5151.019] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[  5151.020] (II) systemd-logind: got fd for /dev/input/event9 13:73 fd 14 paused 0
[  5151.020] (II) Using input driver 'evdev' for 'Video Bus'
[  5151.020] (**) Video Bus: always reports core events
[  5151.020] (**) evdev: Video Bus: Device: "/dev/input/event9"
[  5151.020] (--) evdev: Video Bus: Vendor 0 Product 0x6
[  5151.020] (--) evdev: Video Bus: Found keys
[  5151.020] (II) evdev: Video Bus: Configuring as keyboard
[  5151.020] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input11/event9"
[  5151.020] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[  5151.020] (**) Option "xkb_rules" "evdev"
[  5151.020] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[  5151.020] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[  5151.021] (II) systemd-logind: got fd for /dev/input/event2 13:66 fd 15 paused 0
[  5151.021] (II) Using input driver 'evdev' for 'Power Button'
[  5151.021] (**) Power Button: always reports core events
[  5151.021] (**) evdev: Power Button: Device: "/dev/input/event2"
[  5151.021] (--) evdev: Power Button: Vendor 0 Product 0x1
[  5151.021] (--) evdev: Power Button: Found keys
[  5151.021] (II) evdev: Power Button: Configuring as keyboard
[  5151.021] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input3/event2"
[  5151.021] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 8)
[  5151.021] (**) Option "xkb_rules" "evdev"
[  5151.021] (II) config/udev: Adding input device Lid Switch (/dev/input/event1)
[  5151.021] (II) No input driver specified, ignoring this device.
[  5151.021] (II) This device may have been added with another device file.
[  5151.021] (II) config/udev: Adding input device Sleep Button (/dev/input/event3)
[  5151.021] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[  5151.022] (II) systemd-logind: got fd for /dev/input/event3 13:67 fd 16 paused 0
[  5151.022] (II) Using input driver 'evdev' for 'Sleep Button'
[  5151.022] (**) Sleep Button: always reports core events
[  5151.022] (**) evdev: Sleep Button: Device: "/dev/input/event3"
[  5151.022] (--) evdev: Sleep Button: Vendor 0 Product 0x3
[  5151.022] (--) evdev: Sleep Button: Found keys
[  5151.022] (II) evdev: Sleep Button: Configuring as keyboard
[  5151.022] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input4/event3"
[  5151.022] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 9)
[  5151.022] (**) Option "xkb_rules" "evdev"
[  5151.022] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=3 (/dev/input/event11)
[  5151.022] (II) No input driver specified, ignoring this device.
[  5151.022] (II) This device may have been added with another device file.
[  5151.022] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=7 (/dev/input/event12)
[  5151.022] (II) No input driver specified, ignoring this device.
[  5151.022] (II) This device may have been added with another device file.
[  5151.023] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=8 (/dev/input/event13)
[  5151.023] (II) No input driver specified, ignoring this device.
[  5151.023] (II) This device may have been added with another device file.
[  5151.023] (II) config/udev: Adding input device Integrated_Webcam_HD (/dev/input/event14)
[  5151.023] (**) Integrated_Webcam_HD: Applying InputClass "evdev keyboard catchall"
[  5151.023] (II) systemd-logind: got fd for /dev/input/event14 13:78 fd 17 paused 0
[  5151.023] (II) Using input driver 'evdev' for 'Integrated_Webcam_HD'
[  5151.023] (**) Integrated_Webcam_HD: always reports core events
[  5151.023] (**) evdev: Integrated_Webcam_HD: Device: "/dev/input/event14"
[  5151.023] (--) evdev: Integrated_Webcam_HD: Vendor 0xc45 Product 0x670c
[  5151.023] (--) evdev: Integrated_Webcam_HD: Found keys
[  5151.023] (II) evdev: Integrated_Webcam_HD: Configuring as keyboard
[  5151.023] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/input/input17/event14"
[  5151.023] (II) XINPUT: Adding extended input device "Integrated_Webcam_HD" (type: KEYBOARD, id 10)
[  5151.023] (**) Option "xkb_rules" "evdev"
[  5151.024] (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event6)
[  5151.024] (II) No input driver specified, ignoring this device.
[  5151.024] (II) This device may have been added with another device file.
[  5151.024] (II) config/udev: Adding input device HDA Intel PCH Headphone Mic (/dev/input/event7)
[  5151.024] (II) No input driver specified, ignoring this device.
[  5151.024] (II) This device may have been added with another device file.
[  5151.024] (II) config/udev: Adding input device DLL0665:01 06CB:76AD UNKNOWN (/dev/input/event10)
[  5151.024] (**) DLL0665:01 06CB:76AD UNKNOWN: Applying InputClass "evdev touchpad catchall"
[  5151.024] (**) DLL0665:01 06CB:76AD UNKNOWN: Applying InputClass "touchpad catchall"
[  5151.024] (**) DLL0665:01 06CB:76AD UNKNOWN: Applying InputClass "Default clickpad buttons"
[  5151.024] (II) LoadModule: "synaptics"
[  5151.024] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[  5151.024] (II) Module synaptics: vendor="X.Org Foundation"
[  5151.024] 	compiled for 1.18.0, module version = 1.8.3
[  5151.024] 	Module class: X.Org XInput Driver
[  5151.024] 	ABI class: X.Org XInput driver, version 22.1
[  5151.025] (II) systemd-logind: got fd for /dev/input/event10 13:74 fd 18 paused 0
[  5151.025] (II) Using input driver 'synaptics' for 'DLL0665:01 06CB:76AD UNKNOWN'
[  5151.025] (**) DLL0665:01 06CB:76AD UNKNOWN: always reports core events
[  5151.025] (**) Option "Device" "/dev/input/event10"
[  5151.056] (II) synaptics: DLL0665:01 06CB:76AD UNKNOWN: found clickpad property
[  5151.056] (--) synaptics: DLL0665:01 06CB:76AD UNKNOWN: x-axis range 0 - 1216 (res 12)
[  5151.056] (--) synaptics: DLL0665:01 06CB:76AD UNKNOWN: y-axis range 0 - 680 (res 12)
[  5151.056] (II) synaptics: DLL0665:01 06CB:76AD UNKNOWN: device does not report pressure, will use touch data.
[  5151.056] (II) synaptics: DLL0665:01 06CB:76AD UNKNOWN: device does not report finger width.
[  5151.056] (--) synaptics: DLL0665:01 06CB:76AD UNKNOWN: buttons: left double triple
[  5151.056] (--) synaptics: DLL0665:01 06CB:76AD UNKNOWN: Vendor 0x6cb Product 0x76ad
[  5151.056] (--) synaptics: DLL0665:01 06CB:76AD UNKNOWN: invalid pressure range.  defaulting to 0 - 255
[  5151.056] (--) synaptics: DLL0665:01 06CB:76AD UNKNOWN: invalid finger width range.  defaulting to 0 - 15
[  5151.056] (**) Option "TapButton1" "1"
[  5151.056] (**) Option "TapButton2" "2"
[  5151.056] (**) Option "TapButton3" "3"
[  5151.056] (**) Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
[  5151.056] (--) synaptics: DLL0665:01 06CB:76AD UNKNOWN: touchpad found
[  5151.056] (**) DLL0665:01 06CB:76AD UNKNOWN: always reports core events
[  5151.056] (**) Option "config_info" "udev:/sys/devices/pci0000:00/INT3433:00/i2c-1/i2c-DLL0665:01/0018:06CB:76AD.0001/input/input12/event10"
[  5151.056] (II) XINPUT: Adding extended input device "DLL0665:01 06CB:76AD UNKNOWN" (type: TOUCHPAD, id 11)
[  5151.056] (**) synaptics: DLL0665:01 06CB:76AD UNKNOWN: (accel) MinSpeed is now constant deceleration 2.5
[  5151.056] (**) synaptics: DLL0665:01 06CB:76AD UNKNOWN: (accel) MaxSpeed is now 1.75
[  5151.056] (**) synaptics: DLL0665:01 06CB:76AD UNKNOWN: (accel) AccelFactor is now 0.144
[  5151.056] (**) DLL0665:01 06CB:76AD UNKNOWN: (accel) keeping acceleration scheme 1
[  5151.056] (**) DLL0665:01 06CB:76AD UNKNOWN: (accel) acceleration profile 1
[  5151.056] (**) DLL0665:01 06CB:76AD UNKNOWN: (accel) acceleration factor: 2.000
[  5151.056] (**) DLL0665:01 06CB:76AD UNKNOWN: (accel) acceleration threshold: 4
[  5151.056] (--) synaptics: DLL0665:01 06CB:76AD UNKNOWN: touchpad found
[  5151.057] (II) config/udev: Adding input device DLL0665:01 06CB:76AD UNKNOWN (/dev/input/mouse0)
[  5151.057] (**) DLL0665:01 06CB:76AD UNKNOWN: Ignoring device from InputClass "touchpad ignore duplicates"
[  5151.057] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
[  5151.057] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[  5151.057] (II) systemd-logind: got fd for /dev/input/event0 13:64 fd 19 paused 0
[  5151.058] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
[  5151.058] (**) AT Translated Set 2 keyboard: always reports core events
[  5151.058] (**) evdev: AT Translated Set 2 keyboard: Device: "/dev/input/event0"
[  5151.058] (--) evdev: AT Translated Set 2 keyboard: Vendor 0x1 Product 0x1
[  5151.058] (--) evdev: AT Translated Set 2 keyboard: Found keys
[  5151.058] (II) evdev: AT Translated Set 2 keyboard: Configuring as keyboard
[  5151.058] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input0/event0"
[  5151.058] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 12)
[  5151.058] (**) Option "xkb_rules" "evdev"
[  5151.058] (II) config/udev: Adding input device PC Speaker (/dev/input/event5)
[  5151.058] (II) No input driver specified, ignoring this device.
[  5151.058] (II) This device may have been added with another device file.
[  5151.058] (II) config/udev: Adding input device Dell WMI hotkeys (/dev/input/event8)
[  5151.058] (**) Dell WMI hotkeys: Applying InputClass "evdev keyboard catchall"
[  5151.059] (II) systemd-logind: got fd for /dev/input/event8 13:72 fd 20 paused 0
[  5151.059] (II) Using input driver 'evdev' for 'Dell WMI hotkeys'
[  5151.059] (**) Dell WMI hotkeys: always reports core events
[  5151.059] (**) evdev: Dell WMI hotkeys: Device: "/dev/input/event8"
[  5151.059] (--) evdev: Dell WMI hotkeys: Vendor 0 Product 0
[  5151.059] (--) evdev: Dell WMI hotkeys: Found keys
[  5151.059] (II) evdev: Dell WMI hotkeys: Configuring as keyboard
[  5151.059] (**) Option "config_info" "udev:/sys/devices/virtual/input/input10/event8"
[  5151.059] (II) XINPUT: Adding extended input device "Dell WMI hotkeys" (type: KEYBOARD, id 13)
[  5151.059] (**) Option "xkb_rules" "evdev"
[  5152.687] (II) modeset(0): EDID vendor "SHP", prod id 5152
[  5152.687] (II) modeset(0): Printing DDC gathered Modelines:
[  5152.687] (II) modeset(0): Modeline "1920x1080"x0.0  138.50  1920 1968 2000 2080  1080 1083 1088 1111 -hsync -vsync (66.6 kHz eP)
[  5152.688] (II) modeset(0): EDID vendor "SHP", prod id 5152
[  5152.688] (II) modeset(0): Printing DDC gathered Modelines:
[  5152.688] (II) modeset(0): Modeline "1920x1080"x0.0  138.50  1920 1968 2000 2080  1080 1083 1088 1111 -hsync -vsync (66.6 kHz eP)

T

Last edited by sparky2012 (2015-12-17 08:33:00)

Offline

#8 2015-12-17 08:31:22

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: i3 Crashes whenever I plug in my laptop [answered]

Please use code tags when pasting to the boards:
https://wiki.archlinux.org/index.php/Fo … s_and_code


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#9 2015-12-17 08:33:15

sparky2012
Member
Registered: 2015-12-17
Posts: 15

Re: i3 Crashes whenever I plug in my laptop [answered]

Sorry, fixed

Offline

#10 2015-12-17 10:17:00

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: i3 Crashes whenever I plug in my laptop [answered]

Try "journactl --follow" and then simulate the crash.  Paste the output here.

You also need to figure out what you are using for power management rather than just what is installed.  Try disabling it and see if the crash still occurs.


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#11 2015-12-17 16:49:28

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: i3 Crashes whenever I plug in my laptop [answered]

Also, tell us about your graphics hardware.   Is this a Hybrid graphics system?
Why did you choose to use glamoregl ?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#12 2015-12-17 18:02:30

sparky2012
Member
Registered: 2015-12-17
Posts: 15

Re: i3 Crashes whenever I plug in my laptop [answered]

loafer:
Assuming you meant "journalctl --follow", how should I save the output? If I have it running in a terminal in i3 when I plug in or unplug the laptop, I lose the terminal window when i3 crashes, and if I just have it running in the base system (no window manger / desktop manager running) I don't see anything new when I plug in or unplug the laptop. I tried disabling both "acpid.service" and "laptop-mode.service" using "systemctl disable" but it still occurred, even with both disabled. I'm not sure where to even begin with figuring out exactly what I'm using for power management.
Edit: ran "sudo journalctl --follow" from the terminal directly after login, and again tried enabling and disabling laptop-mode.service and acpid.service. With both enabled, I got messages from both when I plugged in and unplugged the laptop. Disabling acpid.service made it's messages vanish, I still get:
(sorry, don't know how to copy from this terminal, so typed it in as accurately as I could)

systemd[1]: Stopping Login Service
systemd[1]: Stopped Login Service
systemd[1]: Starting Login Service
systemd[1]: Started Login Service
system-logind[7961]: New seat seat0.
system-logind[7961]: Watching system buttons on /dev/input/event4 (Power Button)
system-logind[7961]: Watching system buttons on /dev/input/event7 (Video Bus)
system-logind[7961]: Watching system buttons on /dev/input/event2 (Power Switch)
system-logind[7961]: Watching system buttons on /dev/input/event1 (Lid Switch)
system-logind[7961]: Watching system buttons on /dev/input/event3 (Sleep Button)
system-logind[7961]: Watching system buttons on /dev/input/event6 (Dell WMI hotkeys)
systemd[1]: Reloading Laptop Mode Tools.
systemd[1]: Started User Manager for UID 1000
system-logind[7961]: New session c1 of user sparky
laptop-mode[8003]: Laptop mode
laptop_mode[7963]: Laptop mode
laptop-mode[8003]: enabled, not active
laptop_mode[7963]: enabled, not active
laptop_mode[7963]: Device "eth0" does not exist
laptop_mode[7963]: Cannot find device "eth0"
NMI watchdog:enabled on all CPUs, permanently consumes one hw-PMU counter.
EXT4-fs (sda8): re-mounted. Opts: data=ordered,commit=0
systemd[1]: Reloaded Laptop Mode Tools.

when I plug in my laptop.
And even after disabling laptop-mode.service.

ewaller:
It's just intel integrated graphics.
I don't think so, presuming that means using two different gpu's.
I'm honestly not even sure what glamoregl is. This is my first time delving into arch, just got it setup yesterday.

Last edited by sparky2012 (2015-12-17 18:32:08)

Offline

#13 2015-12-17 19:34:52

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: i3 Crashes whenever I plug in my laptop [answered]

sparky2012 wrote:

It's just intel integrated graphics.
I don't think so, presuming that means using two different gpu's.

It would.  In some configurations, laptops are set up to change to a lower power graphics solution when running from battery.  I was probing to see if that be going on here.

I'm honestly not even sure what glamoregl is. This is my first time delving into arch, just got it setup yesterday.

So...  Why did we install it?   Why did you not just install the Intel driver?  It appears that the Intel driver is not installed (based upon the Xorg.0.log file)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#14 2015-12-17 19:37:39

sparky2012
Member
Registered: 2015-12-17
Posts: 15

Re: i3 Crashes whenever I plug in my laptop [answered]

I did not specifically install glamoregl, it may have been installed as a dependency for another package? Should I install the intel driver, and if so, should I follow (https://wiki.archlinux.org/index.php/Intel_graphics) installation instructions? Should I remove glamoregl?

Last edited by sparky2012 (2015-12-17 19:39:07)

Offline

#15 2015-12-17 19:39:31

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: i3 Crashes whenever I plug in my laptop [answered]

Yes on the Intel driver and the wiki instructions. smile
I'll get back to you on the dependency thing.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#16 2015-12-17 19:39:56

sparky2012
Member
Registered: 2015-12-17
Posts: 15

Re: i3 Crashes whenever I plug in my laptop [answered]

Should I remove glamoregl first?

Offline

#17 2015-12-17 19:53:54

sparky2012
Member
Registered: 2015-12-17
Posts: 15

Re: i3 Crashes whenever I plug in my laptop [answered]

Installed the Intel driver, crash still occurs. Could it have something to do with laptop-mode or laptop_mode? If my guess is correct, and the number after the command (ie. [8003]) is the process id, then do I have two slightly different versions of laptop-mode running on my system (see above log)? I can't seem to disable either of them via "sudo systemctl disable" (as in they will still be there if I disable them, then plug in my laptop, and still again after a reboot).

Offline

#18 2015-12-17 19:57:42

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: i3 Crashes whenever I plug in my laptop [answered]

I am confused.  I cannot seem to find glamor in any of the Arch Linux repositories or in the AUR.

Where did glamoregl come from?   Please post your /etc/pacman.conf file, and the output of uname -a


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#19 2015-12-17 20:05:29

sparky2012
Member
Registered: 2015-12-17
Posts: 15

Re: i3 Crashes whenever I plug in my laptop [answered]

/etc/pacman.conf

#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives

#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir     = /
#DBPath      = /var/lib/pacman/
#CacheDir    = /var/cache/pacman/pkg/
#LogFile     = /var/log/pacman.log
#GPGDir      = /etc/pacman.d/gnupg/
HoldPkg     = pacman glibc
#XferCommand = /usr/bin/curl -C - -f %u > %o
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
#UseDelta    = 0.7
Architecture = auto

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg   =
#IgnoreGroup =

#NoUpgrade   =
#NoExtract   =

# Misc options
#UseSyslog
#Color
#TotalDownload
CheckSpace
#VerbosePkgLists

# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel    = Required DatabaseOptional
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required

# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Arch Linux
# packagers with `pacman-key --populate archlinux`.

#
# REPOSITORIES
#   - can be defined here or included from another file
#   - pacman will search repositories in the order defined here
#   - local/custom mirrors can be added here or in separate files
#   - repositories listed first will take precedence when packages
#     have identical names, regardless of version number
#   - URLs will have $repo replaced by the name of the current repo
#   - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
#       [repo-name]
#       Server = ServerName
#       Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#

# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.

#[testing]
#Include = /etc/pacman.d/mirrorlist

[core]
Include = /etc/pacman.d/mirrorlist

[extra]
Include = /etc/pacman.d/mirrorlist

#[community-testing]
#Include = /etc/pacman.d/mirrorlist

[community]
Include = /etc/pacman.d/mirrorlist

# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.

#[multilib-testing]
#Include = /etc/pacman.d/mirrorlist

#[multilib]
#Include = /etc/pacman.d/mirrorlist

[archlinuxfr]
SigLevel = Never
Server = http://repo.archlinux.fr/$arch

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#

uname -a

Linux mobilearchbox 4.2.5-1-ARCH #1 SMP PREEMPT Tue Oct 27 08:13:28 CET 2015 x86_64 GNU/Linux

Offline

#20 2015-12-17 20:07:53

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: i3 Crashes whenever I plug in my laptop [answered]

ewaller wrote:

I am confused.  I cannot seem to find glamor in any of the Arch Linux repositories or in the AUR.

It was deprecated a year ago: https://www.archlinux.org/news/xorg-ser … available/


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#21 2015-12-17 21:43:31

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: i3 Crashes whenever I plug in my laptop [answered]

I thought it must be coming from the archlinuxfr repository.  But, I cannot find it there either.
Anyway, I seem to be chasing ghosts so I'll not worry about the video stuff further.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#22 2015-12-22 19:13:26

sparky2012
Member
Registered: 2015-12-17
Posts: 15

Re: i3 Crashes whenever I plug in my laptop [answered]

I managed to figure it out. The problem was aclidswitch, yaourt -R aclidswitch-git followed by a reboot solved the problem instantly.

Offline

Board footer

Powered by FluxBB