You are not logged in.

#1 2023-12-25 15:45:34

realkc
Member
Registered: 2020-11-18
Posts: 10

[SOLVED] Xorg crashes on keyboard/touchpad input

I use startx, after Xorg starts, pressing any key or using my touchpad will crash Xorg, here's my xorg log

[    49.015] 
X.Org X Server 1.21.1.10
X Protocol Version 11, Revision 0
[    49.018] Current Operating System: Linux madoka 6.6.8-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 21 Dec 2023 19:01:01 +0000 x86_64
[    49.019] Kernel command line: initrd=\amd-ucode.img initrd=\initramfs-linux.img root=PARTUUID=26ba7f07-df5d-4e0f-825f-8b59842b6ec2 zswap.enabled=0 rw rootfstype=ext4
[    49.021]  
[    49.022] Current version of pixman: 0.42.2
[    49.025] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    49.025] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    49.029] (==) Log file: "/home/kc/.local/share/xorg/Xorg.0.log", Time: Mon Dec 25 17:32:56 2023
[    49.158] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    49.159] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    49.193] (==) No Layout section.  Using the first Screen section.
[    49.193] (==) No screen section available. Using defaults.
[    49.193] (**) |-->Screen "Default Screen Section" (0)
[    49.193] (**) |   |-->Monitor "<default monitor>"
[    49.193] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    49.193] (==) Automatically adding devices
[    49.193] (==) Automatically enabling devices
[    49.193] (==) Automatically adding GPU devices
[    49.193] (==) Automatically binding GPU devices
[    49.193] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    49.221] (WW) The directory "/usr/share/fonts/misc" does not exist.
[    49.221] 	Entry deleted from font path.
[    49.248] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[    49.248] 	Entry deleted from font path.
[    49.248] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[    49.248] 	Entry deleted from font path.
[    49.314] (==) FontPath set to:
	/usr/share/fonts/TTF,
	/usr/share/fonts/100dpi,
	/usr/share/fonts/75dpi
[    49.314] (==) ModulePath set to "/usr/lib/xorg/modules"
[    49.314] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    49.314] (II) Module ABI versions:
[    49.314] 	X.Org ANSI C Emulation: 0.4
[    49.314] 	X.Org Video Driver: 25.2
[    49.314] 	X.Org XInput driver : 24.4
[    49.314] 	X.Org Server Extension : 10.0
[    49.315] (++) using VT number 1

[    49.318] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[    49.320] (II) xfree86: Adding drm device (/dev/dri/card1)
[    49.320] (II) Platform probe for /sys/devices/pci0000:00/0000:00:08.1/0000:03:00.0/drm/card1
[    49.321] (II) systemd-logind: got fd for /dev/dri/card1 226:1 fd 13 paused 0
[    49.332] (--) PCI:*(3@0:0:0) 1002:15d8:103c:85ea rev 193, Mem @ 0xb0000000/268435456, 0xc0000000/2097152, 0xc0700000/524288, I/O @ 0x00001000/256, BIOS @ 0x????????/131072
[    49.332] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    49.332] (II) LoadModule: "glx"
[    49.334] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    49.375] (II) Module glx: vendor="X.Org Foundation"
[    49.375] 	compiled for 1.21.1.10, module version = 1.0.0
[    49.375] 	ABI class: X.Org Server Extension, version 10.0
[    49.375] (II) Applying OutputClass "AMDgpu" to /dev/dri/card1
[    49.375] 	loading driver: amdgpu
[    49.375] (II) Applying OutputClass "AMD" to /dev/dri/card1
[    49.375] 	loading driver: amdgpu
[    49.375] (==) Matched amdgpu as autoconfigured driver 0
[    49.375] (==) Matched ati as autoconfigured driver 1
[    49.375] (==) Matched modesetting as autoconfigured driver 2
[    49.375] (==) Matched fbdev as autoconfigured driver 3
[    49.375] (==) Matched vesa as autoconfigured driver 4
[    49.375] (==) Assigned the driver to the xf86ConfigLayout
[    49.375] (II) LoadModule: "amdgpu"
[    49.375] (II) Loading /usr/lib/xorg/modules/drivers/amdgpu_drv.so
[    49.481] (II) Module amdgpu: vendor="X.Org Foundation"
[    49.481] 	compiled for 1.21.1.7, module version = 23.0.0
[    49.481] 	Module class: X.Org Video Driver
[    49.481] 	ABI class: X.Org Video Driver, version 25.2
[    49.481] (II) LoadModule: "ati"
[    49.481] (WW) Warning, couldn't open module ati
[    49.481] (EE) Failed to load module "ati" (module does not exist, 0)
[    49.481] (II) LoadModule: "modesetting"
[    49.481] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    49.499] (II) Module modesetting: vendor="X.Org Foundation"
[    49.499] 	compiled for 1.21.1.10, module version = 1.21.1
[    49.499] 	Module class: X.Org Video Driver
[    49.499] 	ABI class: X.Org Video Driver, version 25.2
[    49.499] (II) LoadModule: "fbdev"
[    49.500] (WW) Warning, couldn't open module fbdev
[    49.500] (EE) Failed to load module "fbdev" (module does not exist, 0)
[    49.500] (II) LoadModule: "vesa"
[    49.500] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[    49.518] (II) Module vesa: vendor="X.Org Foundation"
[    49.518] 	compiled for 1.21.1.4, module version = 2.6.0
[    49.518] 	Module class: X.Org Video Driver
[    49.518] 	ABI class: X.Org Video Driver, version 25.2
[    49.518] (II) AMDGPU: Driver for AMD Radeon:
	All GPUs supported by the amdgpu kernel driver
[    49.518] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    49.518] (II) VESA: driver for VESA chipsets: vesa
[    49.518] xf86EnableIO: failed to enable I/O ports 0000-03ff (Operation not permitted)
[    49.533] (WW) Falling back to old probe method for modesetting
[    49.533] (EE) open /dev/dri/card0: No such file or directory
[    49.533] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[    49.533] (II) AMDGPU(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[    49.533] (==) AMDGPU(0): Depth 24, (--) framebuffer bpp 32
[    49.533] (II) AMDGPU(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
[    49.533] (==) AMDGPU(0): Default visual is TrueColor
[    49.533] (II) Applying OutputClass "AMDgpu" options to /dev/dri/card1
[    49.533] (II) Applying OutputClass "AMD" options to /dev/dri/card1
[    49.533] (**) AMDGPU(0): Option "TearFree" "true"
[    49.533] (==) AMDGPU(0): RGB weight 888
[    49.533] (II) AMDGPU(0): Using 8 bits per RGB (8 bit DAC)
[    49.533] (--) AMDGPU(0): Chipset: "AMD Radeon Vega 10 Graphics" (ChipID = 0x15d8)
[    49.533] (II) Loading sub module "fb"
[    49.533] (II) LoadModule: "fb"
[    49.533] (II) Module "fb" already built-in
[    49.533] (II) Loading sub module "dri2"
[    49.533] (II) LoadModule: "dri2"
[    49.533] (II) Module "dri2" already built-in
[    51.381] (II) Loading sub module "glamoregl"
[    51.381] (II) LoadModule: "glamoregl"
[    51.381] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[    51.419] (II) Module glamoregl: vendor="X.Org Foundation"
[    51.419] 	compiled for 1.21.1.10, module version = 1.0.1
[    51.419] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    51.596] (II) AMDGPU(0): glamor X acceleration enabled on AMD Radeon Vega 10 Graphics (radeonsi, raven, LLVM 16.0.6, DRM 3.54, 6.6.8-arch1-1)
[    51.596] (II) AMDGPU(0): glamor detected, initialising EGL layer.
[    51.596] (**) AMDGPU(0): TearFree property default: on
[    51.596] (==) AMDGPU(0): VariableRefresh: disabled
[    51.596] (==) AMDGPU(0): AsyncFlipSecondaries: disabled
[    51.596] (II) AMDGPU(0): KMS Pageflipping: enabled
[    51.599] (II) AMDGPU(0): Output eDP has no monitor section
[    51.600] (II) AMDGPU(0): Output HDMI-A-0 has no monitor section
[    51.607] (II) AMDGPU(0): EDID for output eDP
[    51.607] (II) AMDGPU(0): Manufacturer: BOE  Model: 687  Serial#: 0
[    51.607] (II) AMDGPU(0): Year: 2015  Week: 1
[    51.607] (II) AMDGPU(0): EDID Version: 1.4
[    51.607] (II) AMDGPU(0): Digital Display Input
[    51.607] (II) AMDGPU(0): 8 bits per channel
[    51.607] (II) AMDGPU(0): Digital interface is DisplayPort
[    51.607] (II) AMDGPU(0): Max Image Size [cm]: horiz.: 34  vert.: 19
[    51.607] (II) AMDGPU(0): Gamma: 2.20
[    51.607] (II) AMDGPU(0): No DPMS capabilities specified
[    51.607] (II) AMDGPU(0): Supported color encodings: RGB 4:4:4 
[    51.607] (II) AMDGPU(0): First detailed timing is preferred mode
[    51.607] (II) AMDGPU(0): Preferred mode is native pixel format and refresh rate
[    51.607] (II) AMDGPU(0): redX: 0.592 redY: 0.347   greenX: 0.328 greenY: 0.570
[    51.607] (II) AMDGPU(0): blueX: 0.150 blueY: 0.114   whiteX: 0.312 whiteY: 0.328
[    51.607] (II) AMDGPU(0): Manufacturer's mask: 0
[    51.607] (II) AMDGPU(0): Supported detailed timing:
[    51.607] (II) AMDGPU(0): clock: 152.6 MHz   Image Size:  344 x 193 mm
[    51.607] (II) AMDGPU(0): h_active: 1920  h_sync: 1968  h_sync_end 2000 h_blank_end 2192 h_border: 0
[    51.607] (II) AMDGPU(0): v_active: 1080  v_sync: 1083  v_sync_end 1089 v_blanking: 1160 v_border: 0
[    51.607] (II) AMDGPU(0): Supported detailed timing:
[    51.607] (II) AMDGPU(0): clock: 94.3 MHz   Image Size:  344 x 193 mm
[    51.607] (II) AMDGPU(0): h_active: 1920  h_sync: 2020  h_sync_end 2120 h_blank_end 2142 h_border: 0
[    51.607] (II) AMDGPU(0): v_active: 1080  v_sync: 1100  v_sync_end 1120 v_blanking: 1100 v_border: 0
[    51.607] (II) AMDGPU(0): Unknown vendor-specific block 2
[    51.607] (II) AMDGPU(0): EDID (in hex):
[    51.607] (II) AMDGPU(0): 	00ffffffffffff0009e5870600000000
[    51.607] (II) AMDGPU(0): 	01190104a522137802b0909758549226
[    51.607] (II) AMDGPU(0): 	1d505400000001010101010101010101
[    51.607] (II) AMDGPU(0): 	0101010101019c3b8010713850403020
[    51.607] (II) AMDGPU(0): 	360058c11000001ad62480de70381440
[    51.607] (II) AMDGPU(0): 	6464440558c11000001a000000000000
[    51.607] (II) AMDGPU(0): 	00000000000000000000000000000002
[    51.607] (II) AMDGPU(0): 	000c43f60b3c6e0f101c730000000051
[    51.607] (II) AMDGPU(0): Printing probed modes for output eDP
[    51.607] (II) AMDGPU(0): Modeline "1920x1080"x60.0  152.60  1920 1968 2000 2192  1080 1083 1089 1160 +hsync -vsync (69.6 kHz eP)
[    51.607] (II) AMDGPU(0): Modeline "1680x1050"x60.0  152.60  1680 1968 2000 2192  1050 1083 1089 1160 +hsync -vsync (69.6 kHz e)
[    51.607] (II) AMDGPU(0): Modeline "1280x1024"x60.0  152.60  1280 1968 2000 2192  1024 1083 1089 1160 +hsync -vsync (69.6 kHz e)
[    51.607] (II) AMDGPU(0): Modeline "1440x900"x60.0  152.60  1440 1968 2000 2192  900 1083 1089 1160 +hsync -vsync (69.6 kHz e)
[    51.607] (II) AMDGPU(0): Modeline "1280x800"x60.0  152.60  1280 1968 2000 2192  800 1083 1089 1160 +hsync -vsync (69.6 kHz e)
[    51.607] (II) AMDGPU(0): Modeline "1280x720"x60.0  152.60  1280 1968 2000 2192  720 1083 1089 1160 +hsync -vsync (69.6 kHz e)
[    51.607] (II) AMDGPU(0): Modeline "1024x768"x60.0  152.60  1024 1968 2000 2192  768 1083 1089 1160 +hsync -vsync (69.6 kHz e)
[    51.607] (II) AMDGPU(0): Modeline "800x600"x60.0  152.60  800 1968 2000 2192  600 1083 1089 1160 +hsync -vsync (69.6 kHz e)
[    51.607] (II) AMDGPU(0): Modeline "640x480"x60.0  152.60  640 1968 2000 2192  480 1083 1089 1160 +hsync -vsync (69.6 kHz e)
[    51.607] (II) AMDGPU(0): EDID for output HDMI-A-0
[    51.607] (II) AMDGPU(0): Output eDP connected
[    51.607] (II) AMDGPU(0): Output HDMI-A-0 disconnected
[    51.607] (II) AMDGPU(0): Using exact sizes for initial modes
[    51.607] (II) AMDGPU(0): Output eDP using initial mode 1920x1080 +0+0
[    51.607] (II) AMDGPU(0): mem size init: gart size :b6e24000 vram size: s:7e049000 visible:7e049000
[    51.607] (==) AMDGPU(0): DPI set to (96, 96)
[    51.608] (==) AMDGPU(0): Using gamma correction (1.0, 1.0, 1.0)
[    51.608] (II) Loading sub module "ramdac"
[    51.608] (II) LoadModule: "ramdac"
[    51.608] (II) Module "ramdac" already built-in
[    51.608] (II) UnloadModule: "modesetting"
[    51.608] (II) Unloading modesetting
[    51.608] (II) UnloadModule: "vesa"
[    51.608] (II) Unloading vesa
[    51.608] (II) AMDGPU(0): [DRI2] Setup complete
[    51.608] (II) AMDGPU(0): [DRI2]   DRI driver: radeonsi
[    51.608] (II) AMDGPU(0): [DRI2]   VDPAU driver: radeonsi
[    52.604] (II) AMDGPU(0): Front buffer pitch: 7680 bytes
[    52.635] (II) AMDGPU(0): SYNC extension fences enabled
[    52.635] (II) AMDGPU(0): Present extension enabled
[    52.636] (==) AMDGPU(0): DRI3 enabled
[    52.636] (==) AMDGPU(0): Backing store enabled
[    52.636] (II) AMDGPU(0): Direct rendering enabled
[    52.985] (II) AMDGPU(0): Use GLAMOR acceleration.
[    52.985] (II) AMDGPU(0): Acceleration enabled
[    52.985] (==) AMDGPU(0): DPMS enabled
[    52.985] (==) AMDGPU(0): Silken mouse enabled
[    52.986] (II) AMDGPU(0): Set up textured video (glamor)
[    53.005] (WW) AMDGPU(0): Option "HotplugDriver" is not used
[    53.005] (II) Initializing extension Generic Event Extension
[    53.005] (II) Initializing extension SHAPE
[    53.005] (II) Initializing extension MIT-SHM
[    53.005] (II) Initializing extension XInputExtension
[    53.005] (II) Initializing extension XTEST
[    53.006] (II) Initializing extension BIG-REQUESTS
[    53.006] (II) Initializing extension SYNC
[    53.006] (II) Initializing extension XKEYBOARD
[    53.006] (II) Initializing extension XC-MISC
[    53.006] (II) Initializing extension SECURITY
[    53.006] (II) Initializing extension XFIXES
[    53.007] (II) Initializing extension RENDER
[    53.007] (II) Initializing extension RANDR
[    53.007] (II) Initializing extension COMPOSITE
[    53.007] (II) Initializing extension DAMAGE
[    53.008] (II) Initializing extension MIT-SCREEN-SAVER
[    53.008] (II) Initializing extension DOUBLE-BUFFER
[    53.008] (II) Initializing extension RECORD
[    53.008] (II) Initializing extension DPMS
[    53.008] (II) Initializing extension Present
[    53.008] (II) Initializing extension DRI3
[    53.009] (II) Initializing extension X-Resource
[    53.009] (II) Initializing extension XVideo
[    53.009] (II) Initializing extension XVideo-MotionCompensation
[    53.009] (II) Initializing extension GLX
[    53.024] (II) AIGLX: Loaded and initialized radeonsi
[    53.024] (II) GLX: Initialized DRI2 GL provider for screen 0
[    53.024] (II) Initializing extension XFree86-VidModeExtension
[    53.024] (II) Initializing extension XFree86-DGA
[    53.025] (II) Initializing extension XFree86-DRI
[    53.025] (II) Initializing extension DRI2
[    53.025] (II) AMDGPU(0): Setting screen physical size to 508 x 285
[    53.879] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[    53.879] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[    53.879] (**) Power Button: Applying InputClass "system-keyboard"
[    53.879] (II) LoadModule: "libinput"
[    53.879] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[    53.938] (II) Module libinput: vendor="X.Org Foundation"
[    53.938] 	compiled for 1.21.1.8, module version = 1.4.0
[    53.938] 	Module class: X.Org XInput Driver
[    53.938] 	ABI class: X.Org XInput driver, version 24.4
[    53.938] (II) Using input driver 'libinput' for 'Power Button'
[    53.939] (II) systemd-logind: got fd for /dev/input/event2 13:66 fd 27 paused 0
[    53.940] (**) Power Button: always reports core events
[    53.940] (**) Option "Device" "/dev/input/event2"
[    53.989] (II) event2  - Power Button: is tagged by udev as: Keyboard
[    53.990] (II) event2  - Power Button: device is a keyboard
[    53.990] (II) event2  - Power Button: device removed
[    53.990] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input2/event2"
[    53.990] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[    53.990] (**) Option "xkb_model" "pc105+inet"
[    53.990] (**) Option "xkb_layout" "us"
[    53.990] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[    54.040] (II) event2  - Power Button: is tagged by udev as: Keyboard
[    54.040] (II) event2  - Power Button: device is a keyboard
[    54.042] (II) config/udev: Adding input device Video Bus (/dev/input/event3)
[    54.042] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[    54.042] (**) Video Bus: Applying InputClass "system-keyboard"
[    54.042] (II) Using input driver 'libinput' for 'Video Bus'
[    54.044] (II) systemd-logind: got fd for /dev/input/event3 13:67 fd 30 paused 0
[    54.044] (**) Video Bus: always reports core events
[    54.044] (**) Option "Device" "/dev/input/event3"
[    54.046] (II) event3  - Video Bus: is tagged by udev as: Keyboard
[    54.047] (II) event3  - Video Bus: device is a keyboard
[    54.047] (II) event3  - Video Bus: device removed
[    54.047] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:0a/LNXVIDEO:01/input/input3/event3"
[    54.047] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[    54.047] (**) Option "xkb_model" "pc105+inet"
[    54.047] (**) Option "xkb_layout" "us"
[    54.047] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[    54.050] (II) event3  - Video Bus: is tagged by udev as: Keyboard
[    54.050] (II) event3  - Video Bus: device is a keyboard
[    54.052] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[    54.052] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[    54.052] (**) Power Button: Applying InputClass "system-keyboard"
[    54.052] (II) Using input driver 'libinput' for 'Power Button'
[    54.053] (II) systemd-logind: got fd for /dev/input/event0 13:64 fd 31 paused 0
[    54.053] (**) Power Button: always reports core events
[    54.053] (**) Option "Device" "/dev/input/event0"
[    54.055] (II) event0  - Power Button: is tagged by udev as: Keyboard
[    54.055] (II) event0  - Power Button: device is a keyboard
[    54.056] (II) event0  - Power Button: device removed
[    54.056] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0/event0"
[    54.056] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 8)
[    54.056] (**) Option "xkb_model" "pc105+inet"
[    54.056] (**) Option "xkb_layout" "us"
[    54.056] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[    54.058] (II) event0  - Power Button: is tagged by udev as: Keyboard
[    54.058] (II) event0  - Power Button: device is a keyboard
[    54.059] (II) config/udev: Adding input device Lid Switch (/dev/input/event1)
[    54.059] (II) No input driver specified, ignoring this device.
[    54.059] (II) This device may have been added with another device file.
[    54.061] (II) config/udev: Adding input device HD-Audio Generic HDMI/DP,pcm=3 (/dev/input/event9)
[    54.061] (II) No input driver specified, ignoring this device.
[    54.061] (II) This device may have been added with another device file.
[    54.062] (II) config/udev: Adding input device HD-Audio Generic Mic (/dev/input/event10)
[    54.062] (II) No input driver specified, ignoring this device.
[    54.062] (II) This device may have been added with another device file.
[    54.063] (II) config/udev: Adding input device HD-Audio Generic Headphone (/dev/input/event11)
[    54.063] (II) No input driver specified, ignoring this device.
[    54.063] (II) This device may have been added with another device file.
[    54.065] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event4)
[    54.065] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[    54.065] (**) AT Translated Set 2 keyboard: Applying InputClass "system-keyboard"
[    54.065] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
[    54.066] (II) systemd-logind: got fd for /dev/input/event4 13:68 fd 32 paused 0
[    54.066] (**) AT Translated Set 2 keyboard: always reports core events
[    54.066] (**) Option "Device" "/dev/input/event4"
[    54.069] (II) event4  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[    54.069] (II) event4  - AT Translated Set 2 keyboard: device is a keyboard
[    54.070] (II) event4  - AT Translated Set 2 keyboard: device removed
[    54.070] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input4/event4"
[    54.070] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 9)
[    54.070] (**) Option "xkb_model" "pc105+inet"
[    54.070] (**) Option "xkb_layout" "us"
[    54.070] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[    54.072] (II) event4  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[    54.073] (II) event4  - AT Translated Set 2 keyboard: device is a keyboard
[    54.075] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event8)
[    54.075] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "libinput touchpad catchall"
[    54.075] (II) Using input driver 'libinput' for 'SynPS/2 Synaptics TouchPad'
[    54.076] (II) systemd-logind: got fd for /dev/input/event8 13:72 fd 33 paused 0
[    54.076] (**) SynPS/2 Synaptics TouchPad: always reports core events
[    54.076] (**) Option "Device" "/dev/input/event8"
[    54.079] (II) event8  - SynPS/2 Synaptics TouchPad: is tagged by udev as: Touchpad
[    54.083] (II) event8  - SynPS/2 Synaptics TouchPad: device is a touchpad
[    54.083] (II) event8  - SynPS/2 Synaptics TouchPad: device removed
[    54.083] (II) libinput: SynPS/2 Synaptics TouchPad: Step value 0 was provided, libinput Fallback acceleration function is used.
[    54.083] (II) libinput: SynPS/2 Synaptics TouchPad: Step value 0 was provided, libinput Fallback acceleration function is used.
[    54.083] (II) libinput: SynPS/2 Synaptics TouchPad: Step value 0 was provided, libinput Fallback acceleration function is used.
[    54.084] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input8/event8"
[    54.084] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD, id 10)
[    54.086] (**) Option "AccelerationScheme" "none"
[    54.086] (**) SynPS/2 Synaptics TouchPad: (accel) selected scheme none/0
[    54.086] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[    54.086] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[    54.088] (II) event8  - SynPS/2 Synaptics TouchPad: is tagged by udev as: Touchpad
[    54.091] (II) event8  - SynPS/2 Synaptics TouchPad: device is a touchpad
[    54.093] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse0)
[    54.093] (II) No input driver specified, ignoring this device.
[    54.093] (II) This device may have been added with another device file.
[    54.094] (II) config/udev: Adding input device PC Speaker (/dev/input/event6)
[    54.094] (II) No input driver specified, ignoring this device.
[    54.094] (II) This device may have been added with another device file.
[    54.101] (II) config/udev: Adding input device Wireless hotkeys (/dev/input/event5)
[    54.101] (**) Wireless hotkeys: Applying InputClass "libinput keyboard catchall"
[    54.101] (**) Wireless hotkeys: Applying InputClass "system-keyboard"
[    54.101] (II) Using input driver 'libinput' for 'Wireless hotkeys'
[    54.103] (II) systemd-logind: got fd for /dev/input/event5 13:69 fd 34 paused 0
[    54.103] (**) Wireless hotkeys: always reports core events
[    54.103] (**) Option "Device" "/dev/input/event5"
[    54.105] (II) event5  - Wireless hotkeys: is tagged by udev as: Keyboard
[    54.105] (II) event5  - Wireless hotkeys: device is a keyboard
[    54.105] (II) event5  - Wireless hotkeys: device removed
[    54.105] (**) Option "config_info" "udev:/sys/devices/virtual/input/input6/event5"
[    54.105] (II) XINPUT: Adding extended input device "Wireless hotkeys" (type: KEYBOARD, id 11)
[    54.105] (**) Option "xkb_model" "pc105+inet"
[    54.105] (**) Option "xkb_layout" "us"
[    54.105] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[    54.107] (II) event5  - Wireless hotkeys: is tagged by udev as: Keyboard
[    54.107] (II) event5  - Wireless hotkeys: device is a keyboard
[    54.108] (II) config/udev: Adding input device HP WMI hotkeys (/dev/input/event7)
[    54.108] (**) HP WMI hotkeys: Applying InputClass "libinput keyboard catchall"
[    54.108] (**) HP WMI hotkeys: Applying InputClass "system-keyboard"
[    54.108] (II) Using input driver 'libinput' for 'HP WMI hotkeys'
[    54.110] (II) systemd-logind: got fd for /dev/input/event7 13:71 fd 35 paused 0
[    54.110] (**) HP WMI hotkeys: always reports core events
[    54.110] (**) Option "Device" "/dev/input/event7"
[    54.112] (II) event7  - HP WMI hotkeys: is tagged by udev as: Keyboard Switch
[    54.112] (II) event7  - HP WMI hotkeys: device is a keyboard
[    54.112] (II) event7  - HP WMI hotkeys: device removed
[    54.112] (**) Option "config_info" "udev:/sys/devices/virtual/input/input9/event7"
[    54.112] (II) XINPUT: Adding extended input device "HP WMI hotkeys" (type: KEYBOARD, id 12)
[    54.112] (**) Option "xkb_model" "pc105+inet"
[    54.112] (**) Option "xkb_layout" "us"
[    54.112] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[    54.114] (II) event7  - HP WMI hotkeys: is tagged by udev as: Keyboard Switch
[    54.114] (II) event7  - HP WMI hotkeys: device is a keyboard

I have a ~/.xinitrc in my home that looks like this

#!/bin/sh

# eval $(/usr/bin/gnome-keyring-demon --start --components=pkcs11,secrets,ssh)
# export SSH_AUTH_SOCK

eval $(ssh-agent)

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then
    xrdb -merge $sysresources

fi

if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi

if [ -f "$userresources" ]; then
    xrdb -merge "$userresources"

fi

if [ -f "$usermodmap" ]; then
    xmodmap "$usermodmap"
fi

# start some nice programs

if [ -d /etc/X11/xinit/xinitrc.d ] ; then
 for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
  [ -x "$f" ] && . "$f"
 done
 unset f
fi

exec awesome

and a ~/.xserverrc that looks like this (I added it to see if it'd help with the crash, it did not):

#!/bin/sh

exec /usr/bin/Xorg -nolisten tcp "$@" vt$XDG_VTNR

For the record sway (launched from tty with the sway binary) works fine

Edit: I forgot to include the startx output, adding it now:

X.Org X Server 1.21.1.10
X Protocol Version 11, Revision 0
Current Operating System: Linux madoka 6.6.8-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 21 Dec 2023 19:01:01 +0000 x86_64
Kernel command line: initrd=\amd-ucode.img initrd=\initramfs-linux.img root=PARTUUID=26ba7f07-df5d-4e0f-825f-8b59842b6ec2 zswap.enabled=0 rw rootfstype=ext4
 
Current version of pixman: 0.42.2
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/home/kc/.local/share/xorg/Xorg.0.log", Time: Mon Dec 25 19:51:17 2023
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
xf86EnableIO: failed to enable I/O ports 0000-03ff (Operation not permitted)
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Could not resolve keysym XF86CameraAccessEnable
> Warning:          Could not resolve keysym XF86CameraAccessDisable
> Warning:          Could not resolve keysym XF86CameraAccessToggle
> Warning:          Could not resolve keysym XF86NextElement
> Warning:          Could not resolve keysym XF86PreviousElement
> Warning:          Could not resolve keysym XF86AutopilotEngageToggle
> Warning:          Could not resolve keysym XF86MarkWaypoint
> Warning:          Could not resolve keysym XF86Sos
> Warning:          Could not resolve keysym XF86NavChart
> Warning:          Could not resolve keysym XF86FishingChart
> Warning:          Could not resolve keysym XF86SingleRangeRadar
> Warning:          Could not resolve keysym XF86DualRangeRadar
> Warning:          Could not resolve keysym XF86RadarOverlay
> Warning:          Could not resolve keysym XF86TraditionalSonar
> Warning:          Could not resolve keysym XF86ClearvuSonar
> Warning:          Could not resolve keysym XF86SidevuSonar
> Warning:          Could not resolve keysym XF86NavInfo
Errors from xkbcomp are not fatal to the X server
libinput-config: initializing
libinput-config: replacing the device config functions
libinput-config: initializing the key mapper
libinput-config: couldn't read the config file
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Could not resolve keysym XF86CameraAccessEnable
> Warning:          Could not resolve keysym XF86CameraAccessDisable
> Warning:          Could not resolve keysym XF86CameraAccessToggle
> Warning:          Could not resolve keysym XF86NextElement
> Warning:          Could not resolve keysym XF86PreviousElement
> Warning:          Could not resolve keysym XF86AutopilotEngageToggle
> Warning:          Could not resolve keysym XF86MarkWaypoint
> Warning:          Could not resolve keysym XF86Sos
> Warning:          Could not resolve keysym XF86NavChart
> Warning:          Could not resolve keysym XF86FishingChart
> Warning:          Could not resolve keysym XF86SingleRangeRadar
> Warning:          Could not resolve keysym XF86DualRangeRadar
> Warning:          Could not resolve keysym XF86RadarOverlay
> Warning:          Could not resolve keysym XF86TraditionalSonar
> Warning:          Could not resolve keysym XF86ClearvuSonar
> Warning:          Could not resolve keysym XF86SidevuSonar
> Warning:          Could not resolve keysym XF86NavInfo
Errors from xkbcomp are not fatal to the X server
sh: line 1: playerctl: command not found
fish: Unknown command: volctl
fish: 
killall -q volctl; volctl
                   ^~~~~^

(nm-applet:589): Gtk-WARNING **: 19:51:26.526: Theme parsing error: gtk.css:6616:68: Invalid name of pseudo-class
2023-12-25 19:51:26 W: awesome: a_glib_poll:437: Last main loop iteration took 0.562383 seconds! Increasing limit for this warning to that value.
xinit: connection to X server lost
2023-12-25 19:51:32 W: awesome: a_glib_poll:437: Last main loop iteration took 0.796626 seconds! Increasing limit for this warning to that value.
2023-12-25 19:51:32 E: awesome: main:708: cannot open display (error 1)

Last edited by realkc (2023-12-28 11:40:45)

Offline

#2 2023-12-25 21:02:11

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,048

Re: [SOLVED] Xorg crashes on keyboard/touchpad input

The xorg log looks like it 's from a (still) running kernel?
Did you draw that log right after the  crash or after starting a new X11 server?

If you replace "exec awesome" w/ "exec xterm" and run (not! "exec") awesome from there, does input still kill the server?
Does it even while there's only the xterm?

Offline

#3 2023-12-26 00:00:54

realkc
Member
Registered: 2020-11-18
Posts: 10

Re: [SOLVED] Xorg crashes on keyboard/touchpad input

seth wrote:

The xorg log looks like it 's from a (still) running kernel?
Did you draw that log right after the  crash or after starting a new X11 server?

After I was returned to tty, I copied the log from ~/.local/share/xorg to my home. If by "still running kernel", you meant to refer to Xorg, looking in htop after I got sent back to the tty doesn't show me any xorg processes

seth wrote:

If you replace "exec awesome" w/ "exec xterm" and run (not! "exec") awesome from there, does input still kill the server?
Does it even while there's only the xterm?

It crashes just with xterm, so I can't start awesome from there.

This is startx's output when .xinitrc ends with "exec xterm"

X.Org X Server 1.21.1.10
X Protocol Version 11, Revision 0
Current Operating System: Linux madoka 6.6.8-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 21 Dec 2023 19:01:01 +0000 x86_64
Kernel command line: initrd=\amd-ucode.img initrd=\initramfs-linux.img root=PARTUUID=26ba7f07-df5d-4e0f-825f-8b59842b6ec2 zswap.enabled=0 rw rootfstype=ext4
 
Current version of pixman: 0.42.2
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/home/kc/.local/share/xorg/Xorg.0.log", Time: Tue Dec 26 01:38:57 2023
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
xf86EnableIO: failed to enable I/O ports 0000-03ff (Operation not permitted)
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Could not resolve keysym XF86CameraAccessEnable
> Warning:          Could not resolve keysym XF86CameraAccessDisable
> Warning:          Could not resolve keysym XF86CameraAccessToggle
> Warning:          Could not resolve keysym XF86NextElement
> Warning:          Could not resolve keysym XF86PreviousElement
> Warning:          Could not resolve keysym XF86AutopilotEngageToggle
> Warning:          Could not resolve keysym XF86MarkWaypoint
> Warning:          Could not resolve keysym XF86Sos
> Warning:          Could not resolve keysym XF86NavChart
> Warning:          Could not resolve keysym XF86FishingChart
> Warning:          Could not resolve keysym XF86SingleRangeRadar
> Warning:          Could not resolve keysym XF86DualRangeRadar
> Warning:          Could not resolve keysym XF86RadarOverlay
> Warning:          Could not resolve keysym XF86TraditionalSonar
> Warning:          Could not resolve keysym XF86ClearvuSonar
> Warning:          Could not resolve keysym XF86SidevuSonar
> Warning:          Could not resolve keysym XF86NavInfo
Errors from xkbcomp are not fatal to the X server
libinput-config: initializing
libinput-config: replacing the device config functions
libinput-config: initializing the key mapper
libinput-config: couldn't read the config file
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Could not resolve keysym XF86CameraAccessEnable
> Warning:          Could not resolve keysym XF86CameraAccessDisable
> Warning:          Could not resolve keysym XF86CameraAccessToggle
> Warning:          Could not resolve keysym XF86NextElement
> Warning:          Could not resolve keysym XF86PreviousElement
> Warning:          Could not resolve keysym XF86AutopilotEngageToggle
> Warning:          Could not resolve keysym XF86MarkWaypoint
> Warning:          Could not resolve keysym XF86Sos
> Warning:          Could not resolve keysym XF86NavChart
> Warning:          Could not resolve keysym XF86FishingChart
> Warning:          Could not resolve keysym XF86SingleRangeRadar
> Warning:          Could not resolve keysym XF86DualRangeRadar
> Warning:          Could not resolve keysym XF86RadarOverlay
> Warning:          Could not resolve keysym XF86TraditionalSonar
> Warning:          Could not resolve keysym XF86ClearvuSonar
> Warning:          Could not resolve keysym XF86SidevuSonar
> Warning:          Could not resolve keysym XF86NavInfo
Errors from xkbcomp are not fatal to the X server
xterm: cannot load font "-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1"
xterm: fatal IO error 11 (Resource temporarily unavailable) or KillClient on X server ":0"
xinit: connection to X server lost

and the xorg log

[    57.014] 
X.Org X Server 1.21.1.10
X Protocol Version 11, Revision 0
[    57.014] Current Operating System: Linux madoka 6.6.8-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 21 Dec 2023 19:01:01 +0000 x86_64
[    57.014] Kernel command line: initrd=\amd-ucode.img initrd=\initramfs-linux.img root=PARTUUID=26ba7f07-df5d-4e0f-825f-8b59842b6ec2 zswap.enabled=0 rw rootfstype=ext4
[    57.014]  
[    57.014] Current version of pixman: 0.42.2
[    57.014] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    57.014] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    57.014] (==) Log file: "/home/kc/.local/share/xorg/Xorg.0.log", Time: Tue Dec 26 01:38:57 2023
[    57.169] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    57.169] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    57.193] (==) No Layout section.  Using the first Screen section.
[    57.193] (==) No screen section available. Using defaults.
[    57.193] (**) |-->Screen "Default Screen Section" (0)
[    57.193] (**) |   |-->Monitor "<default monitor>"
[    57.194] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    57.194] (==) Automatically adding devices
[    57.194] (==) Automatically enabling devices
[    57.194] (==) Automatically adding GPU devices
[    57.194] (==) Automatically binding GPU devices
[    57.194] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    57.242] (WW) The directory "/usr/share/fonts/misc" does not exist.
[    57.242] 	Entry deleted from font path.
[    57.293] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[    57.293] 	Entry deleted from font path.
[    57.293] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[    57.293] 	Entry deleted from font path.
[    57.324] (==) FontPath set to:
	/usr/share/fonts/TTF,
	/usr/share/fonts/100dpi,
	/usr/share/fonts/75dpi
[    57.324] (==) ModulePath set to "/usr/lib/xorg/modules"
[    57.324] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    57.324] (II) Module ABI versions:
[    57.324] 	X.Org ANSI C Emulation: 0.4
[    57.324] 	X.Org Video Driver: 25.2
[    57.324] 	X.Org XInput driver : 24.4
[    57.324] 	X.Org Server Extension : 10.0
[    57.325] (++) using VT number 1

[    57.327] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[    57.328] (II) xfree86: Adding drm device (/dev/dri/card1)
[    57.328] (II) Platform probe for /sys/devices/pci0000:00/0000:00:08.1/0000:03:00.0/drm/card1
[    57.329] (II) systemd-logind: got fd for /dev/dri/card1 226:1 fd 13 paused 0
[    57.341] (--) PCI:*(3@0:0:0) 1002:15d8:103c:85ea rev 193, Mem @ 0xb0000000/268435456, 0xc0000000/2097152, 0xc0700000/524288, I/O @ 0x00001000/256, BIOS @ 0x????????/131072
[    57.341] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    57.341] (II) LoadModule: "glx"
[    57.342] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    57.412] (II) Module glx: vendor="X.Org Foundation"
[    57.412] 	compiled for 1.21.1.10, module version = 1.0.0
[    57.412] 	ABI class: X.Org Server Extension, version 10.0
[    57.412] (II) Applying OutputClass "AMDgpu" to /dev/dri/card1
[    57.412] 	loading driver: amdgpu
[    57.412] (II) Applying OutputClass "AMD" to /dev/dri/card1
[    57.412] 	loading driver: amdgpu
[    57.412] (==) Matched amdgpu as autoconfigured driver 0
[    57.412] (==) Matched ati as autoconfigured driver 1
[    57.412] (==) Matched modesetting as autoconfigured driver 2
[    57.412] (==) Matched fbdev as autoconfigured driver 3
[    57.412] (==) Matched vesa as autoconfigured driver 4
[    57.412] (==) Assigned the driver to the xf86ConfigLayout
[    57.412] (II) LoadModule: "amdgpu"
[    57.412] (II) Loading /usr/lib/xorg/modules/drivers/amdgpu_drv.so
[    57.503] (II) Module amdgpu: vendor="X.Org Foundation"
[    57.503] 	compiled for 1.21.1.7, module version = 23.0.0
[    57.503] 	Module class: X.Org Video Driver
[    57.503] 	ABI class: X.Org Video Driver, version 25.2
[    57.503] (II) LoadModule: "ati"
[    57.503] (WW) Warning, couldn't open module ati
[    57.503] (EE) Failed to load module "ati" (module does not exist, 0)
[    57.503] (II) LoadModule: "modesetting"
[    57.503] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    57.522] (II) Module modesetting: vendor="X.Org Foundation"
[    57.523] 	compiled for 1.21.1.10, module version = 1.21.1
[    57.523] 	Module class: X.Org Video Driver
[    57.523] 	ABI class: X.Org Video Driver, version 25.2
[    57.523] (II) LoadModule: "fbdev"
[    57.523] (WW) Warning, couldn't open module fbdev
[    57.523] (EE) Failed to load module "fbdev" (module does not exist, 0)
[    57.523] (II) LoadModule: "vesa"
[    57.523] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[    57.541] (II) Module vesa: vendor="X.Org Foundation"
[    57.541] 	compiled for 1.21.1.4, module version = 2.6.0
[    57.541] 	Module class: X.Org Video Driver
[    57.541] 	ABI class: X.Org Video Driver, version 25.2
[    57.541] (II) AMDGPU: Driver for AMD Radeon:
	All GPUs supported by the amdgpu kernel driver
[    57.541] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    57.541] (II) VESA: driver for VESA chipsets: vesa
[    57.542] xf86EnableIO: failed to enable I/O ports 0000-03ff (Operation not permitted)
[    57.568] (WW) Falling back to old probe method for modesetting
[    57.568] (EE) open /dev/dri/card0: No such file or directory
[    57.568] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[    57.568] (II) AMDGPU(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[    57.568] (==) AMDGPU(0): Depth 24, (--) framebuffer bpp 32
[    57.568] (II) AMDGPU(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
[    57.568] (==) AMDGPU(0): Default visual is TrueColor
[    57.568] (II) Applying OutputClass "AMDgpu" options to /dev/dri/card1
[    57.568] (II) Applying OutputClass "AMD" options to /dev/dri/card1
[    57.568] (**) AMDGPU(0): Option "TearFree" "true"
[    57.568] (==) AMDGPU(0): RGB weight 888
[    57.568] (II) AMDGPU(0): Using 8 bits per RGB (8 bit DAC)
[    57.568] (--) AMDGPU(0): Chipset: "AMD Radeon Vega 10 Graphics" (ChipID = 0x15d8)
[    57.568] (II) Loading sub module "fb"
[    57.568] (II) LoadModule: "fb"
[    57.568] (II) Module "fb" already built-in
[    57.568] (II) Loading sub module "dri2"
[    57.568] (II) LoadModule: "dri2"
[    57.568] (II) Module "dri2" already built-in
[    59.649] (II) Loading sub module "glamoregl"
[    59.649] (II) LoadModule: "glamoregl"
[    59.649] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[    59.727] (II) Module glamoregl: vendor="X.Org Foundation"
[    59.727] 	compiled for 1.21.1.10, module version = 1.0.1
[    59.727] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    59.897] (II) AMDGPU(0): glamor X acceleration enabled on AMD Radeon Vega 10 Graphics (radeonsi, raven, LLVM 16.0.6, DRM 3.54, 6.6.8-arch1-1)
[    59.897] (II) AMDGPU(0): glamor detected, initialising EGL layer.
[    59.897] (**) AMDGPU(0): TearFree property default: on
[    59.897] (==) AMDGPU(0): VariableRefresh: disabled
[    59.897] (==) AMDGPU(0): AsyncFlipSecondaries: disabled
[    59.897] (II) AMDGPU(0): KMS Pageflipping: enabled
[    59.900] (II) AMDGPU(0): Output eDP has no monitor section
[    59.900] (II) AMDGPU(0): Output HDMI-A-0 has no monitor section
[    59.909] (II) AMDGPU(0): EDID for output eDP
[    59.910] (II) AMDGPU(0): Manufacturer: BOE  Model: 687  Serial#: 0
[    59.910] (II) AMDGPU(0): Year: 2015  Week: 1
[    59.910] (II) AMDGPU(0): EDID Version: 1.4
[    59.910] (II) AMDGPU(0): Digital Display Input
[    59.910] (II) AMDGPU(0): 8 bits per channel
[    59.910] (II) AMDGPU(0): Digital interface is DisplayPort
[    59.910] (II) AMDGPU(0): Max Image Size [cm]: horiz.: 34  vert.: 19
[    59.910] (II) AMDGPU(0): Gamma: 2.20
[    59.910] (II) AMDGPU(0): No DPMS capabilities specified
[    59.910] (II) AMDGPU(0): Supported color encodings: RGB 4:4:4 
[    59.910] (II) AMDGPU(0): First detailed timing is preferred mode
[    59.910] (II) AMDGPU(0): Preferred mode is native pixel format and refresh rate
[    59.910] (II) AMDGPU(0): redX: 0.592 redY: 0.347   greenX: 0.328 greenY: 0.570
[    59.910] (II) AMDGPU(0): blueX: 0.150 blueY: 0.114   whiteX: 0.312 whiteY: 0.328
[    59.910] (II) AMDGPU(0): Manufacturer's mask: 0
[    59.910] (II) AMDGPU(0): Supported detailed timing:
[    59.910] (II) AMDGPU(0): clock: 152.6 MHz   Image Size:  344 x 193 mm
[    59.910] (II) AMDGPU(0): h_active: 1920  h_sync: 1968  h_sync_end 2000 h_blank_end 2192 h_border: 0
[    59.910] (II) AMDGPU(0): v_active: 1080  v_sync: 1083  v_sync_end 1089 v_blanking: 1160 v_border: 0
[    59.910] (II) AMDGPU(0): Supported detailed timing:
[    59.910] (II) AMDGPU(0): clock: 94.3 MHz   Image Size:  344 x 193 mm
[    59.910] (II) AMDGPU(0): h_active: 1920  h_sync: 2020  h_sync_end 2120 h_blank_end 2142 h_border: 0
[    59.910] (II) AMDGPU(0): v_active: 1080  v_sync: 1100  v_sync_end 1120 v_blanking: 1100 v_border: 0
[    59.910] (II) AMDGPU(0): Unknown vendor-specific block 2
[    59.910] (II) AMDGPU(0): EDID (in hex):
[    59.910] (II) AMDGPU(0): 	00ffffffffffff0009e5870600000000
[    59.910] (II) AMDGPU(0): 	01190104a522137802b0909758549226
[    59.910] (II) AMDGPU(0): 	1d505400000001010101010101010101
[    59.910] (II) AMDGPU(0): 	0101010101019c3b8010713850403020
[    59.910] (II) AMDGPU(0): 	360058c11000001ad62480de70381440
[    59.910] (II) AMDGPU(0): 	6464440558c11000001a000000000000
[    59.910] (II) AMDGPU(0): 	00000000000000000000000000000002
[    59.910] (II) AMDGPU(0): 	000c43f60b3c6e0f101c730000000051
[    59.910] (II) AMDGPU(0): Printing probed modes for output eDP
[    59.910] (II) AMDGPU(0): Modeline "1920x1080"x60.0  152.60  1920 1968 2000 2192  1080 1083 1089 1160 +hsync -vsync (69.6 kHz eP)
[    59.910] (II) AMDGPU(0): Modeline "1680x1050"x60.0  152.60  1680 1968 2000 2192  1050 1083 1089 1160 +hsync -vsync (69.6 kHz e)
[    59.910] (II) AMDGPU(0): Modeline "1280x1024"x60.0  152.60  1280 1968 2000 2192  1024 1083 1089 1160 +hsync -vsync (69.6 kHz e)
[    59.910] (II) AMDGPU(0): Modeline "1440x900"x60.0  152.60  1440 1968 2000 2192  900 1083 1089 1160 +hsync -vsync (69.6 kHz e)
[    59.910] (II) AMDGPU(0): Modeline "1280x800"x60.0  152.60  1280 1968 2000 2192  800 1083 1089 1160 +hsync -vsync (69.6 kHz e)
[    59.910] (II) AMDGPU(0): Modeline "1280x720"x60.0  152.60  1280 1968 2000 2192  720 1083 1089 1160 +hsync -vsync (69.6 kHz e)
[    59.910] (II) AMDGPU(0): Modeline "1024x768"x60.0  152.60  1024 1968 2000 2192  768 1083 1089 1160 +hsync -vsync (69.6 kHz e)
[    59.910] (II) AMDGPU(0): Modeline "800x600"x60.0  152.60  800 1968 2000 2192  600 1083 1089 1160 +hsync -vsync (69.6 kHz e)
[    59.910] (II) AMDGPU(0): Modeline "640x480"x60.0  152.60  640 1968 2000 2192  480 1083 1089 1160 +hsync -vsync (69.6 kHz e)
[    59.910] (II) AMDGPU(0): EDID for output HDMI-A-0
[    59.910] (II) AMDGPU(0): Output eDP connected
[    59.910] (II) AMDGPU(0): Output HDMI-A-0 disconnected
[    59.910] (II) AMDGPU(0): Using exact sizes for initial modes
[    59.910] (II) AMDGPU(0): Output eDP using initial mode 1920x1080 +0+0
[    59.910] (II) AMDGPU(0): mem size init: gart size :b6e25000 vram size: s:7e049000 visible:7e049000
[    59.910] (==) AMDGPU(0): DPI set to (96, 96)
[    59.910] (==) AMDGPU(0): Using gamma correction (1.0, 1.0, 1.0)
[    59.910] (II) Loading sub module "ramdac"
[    59.910] (II) LoadModule: "ramdac"
[    59.910] (II) Module "ramdac" already built-in
[    59.910] (II) UnloadModule: "modesetting"
[    59.910] (II) Unloading modesetting
[    59.911] (II) UnloadModule: "vesa"
[    59.911] (II) Unloading vesa
[    59.911] (II) AMDGPU(0): [DRI2] Setup complete
[    59.911] (II) AMDGPU(0): [DRI2]   DRI driver: radeonsi
[    59.911] (II) AMDGPU(0): [DRI2]   VDPAU driver: radeonsi
[    60.461] (II) AMDGPU(0): Front buffer pitch: 7680 bytes
[    60.462] (II) AMDGPU(0): SYNC extension fences enabled
[    60.462] (II) AMDGPU(0): Present extension enabled
[    60.463] (==) AMDGPU(0): DRI3 enabled
[    60.463] (==) AMDGPU(0): Backing store enabled
[    60.463] (II) AMDGPU(0): Direct rendering enabled
[    60.659] (II) AMDGPU(0): Use GLAMOR acceleration.
[    60.659] (II) AMDGPU(0): Acceleration enabled
[    60.659] (==) AMDGPU(0): DPMS enabled
[    60.659] (==) AMDGPU(0): Silken mouse enabled
[    60.660] (II) AMDGPU(0): Set up textured video (glamor)
[    60.674] (WW) AMDGPU(0): Option "HotplugDriver" is not used
[    60.674] (II) Initializing extension Generic Event Extension
[    60.674] (II) Initializing extension SHAPE
[    60.675] (II) Initializing extension MIT-SHM
[    60.675] (II) Initializing extension XInputExtension
[    60.675] (II) Initializing extension XTEST
[    60.675] (II) Initializing extension BIG-REQUESTS
[    60.675] (II) Initializing extension SYNC
[    60.675] (II) Initializing extension XKEYBOARD
[    60.676] (II) Initializing extension XC-MISC
[    60.676] (II) Initializing extension SECURITY
[    60.676] (II) Initializing extension XFIXES
[    60.676] (II) Initializing extension RENDER
[    60.676] (II) Initializing extension RANDR
[    60.677] (II) Initializing extension COMPOSITE
[    60.677] (II) Initializing extension DAMAGE
[    60.677] (II) Initializing extension MIT-SCREEN-SAVER
[    60.677] (II) Initializing extension DOUBLE-BUFFER
[    60.677] (II) Initializing extension RECORD
[    60.677] (II) Initializing extension DPMS
[    60.678] (II) Initializing extension Present
[    60.678] (II) Initializing extension DRI3
[    60.678] (II) Initializing extension X-Resource
[    60.678] (II) Initializing extension XVideo
[    60.678] (II) Initializing extension XVideo-MotionCompensation
[    60.678] (II) Initializing extension GLX
[    60.694] (II) AIGLX: Loaded and initialized radeonsi
[    60.694] (II) GLX: Initialized DRI2 GL provider for screen 0
[    60.694] (II) Initializing extension XFree86-VidModeExtension
[    60.694] (II) Initializing extension XFree86-DGA
[    60.694] (II) Initializing extension XFree86-DRI
[    60.694] (II) Initializing extension DRI2
[    60.695] (II) AMDGPU(0): Setting screen physical size to 508 x 285
[    61.340] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[    61.340] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[    61.340] (**) Power Button: Applying InputClass "system-keyboard"
[    61.340] (II) LoadModule: "libinput"
[    61.340] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[    61.364] (II) Module libinput: vendor="X.Org Foundation"
[    61.364] 	compiled for 1.21.1.8, module version = 1.4.0
[    61.364] 	Module class: X.Org XInput Driver
[    61.364] 	ABI class: X.Org XInput driver, version 24.4
[    61.364] (II) Using input driver 'libinput' for 'Power Button'
[    61.367] (II) systemd-logind: got fd for /dev/input/event2 13:66 fd 27 paused 0
[    61.367] (**) Power Button: always reports core events
[    61.367] (**) Option "Device" "/dev/input/event2"
[    61.413] (II) event2  - Power Button: is tagged by udev as: Keyboard
[    61.413] (II) event2  - Power Button: device is a keyboard
[    61.413] (II) event2  - Power Button: device removed
[    61.413] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input2/event2"
[    61.413] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[    61.413] (**) Option "xkb_model" "pc105+inet"
[    61.413] (**) Option "xkb_layout" "us"
[    61.413] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[    61.466] (II) event2  - Power Button: is tagged by udev as: Keyboard
[    61.466] (II) event2  - Power Button: device is a keyboard
[    61.468] (II) config/udev: Adding input device Video Bus (/dev/input/event3)
[    61.468] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[    61.468] (**) Video Bus: Applying InputClass "system-keyboard"
[    61.468] (II) Using input driver 'libinput' for 'Video Bus'
[    61.470] (II) systemd-logind: got fd for /dev/input/event3 13:67 fd 30 paused 0
[    61.470] (**) Video Bus: always reports core events
[    61.470] (**) Option "Device" "/dev/input/event3"
[    61.473] (II) event3  - Video Bus: is tagged by udev as: Keyboard
[    61.473] (II) event3  - Video Bus: device is a keyboard
[    61.474] (II) event3  - Video Bus: device removed
[    61.474] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:0a/LNXVIDEO:01/input/input3/event3"
[    61.474] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[    61.474] (**) Option "xkb_model" "pc105+inet"
[    61.474] (**) Option "xkb_layout" "us"
[    61.474] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[    61.477] (II) event3  - Video Bus: is tagged by udev as: Keyboard
[    61.477] (II) event3  - Video Bus: device is a keyboard
[    61.478] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[    61.478] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[    61.478] (**) Power Button: Applying InputClass "system-keyboard"
[    61.478] (II) Using input driver 'libinput' for 'Power Button'
[    61.480] (II) systemd-logind: got fd for /dev/input/event0 13:64 fd 31 paused 0
[    61.480] (**) Power Button: always reports core events
[    61.480] (**) Option "Device" "/dev/input/event0"
[    61.482] (II) event0  - Power Button: is tagged by udev as: Keyboard
[    61.482] (II) event0  - Power Button: device is a keyboard
[    61.482] (II) event0  - Power Button: device removed
[    61.482] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0/event0"
[    61.482] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 8)
[    61.482] (**) Option "xkb_model" "pc105+inet"
[    61.482] (**) Option "xkb_layout" "us"
[    61.482] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[    61.485] (II) event0  - Power Button: is tagged by udev as: Keyboard
[    61.485] (II) event0  - Power Button: device is a keyboard
[    61.487] (II) config/udev: Adding input device Lid Switch (/dev/input/event1)
[    61.487] (II) No input driver specified, ignoring this device.
[    61.487] (II) This device may have been added with another device file.
[    61.488] (II) config/udev: Adding input device HD-Audio Generic HDMI/DP,pcm=3 (/dev/input/event8)
[    61.488] (II) No input driver specified, ignoring this device.
[    61.488] (II) This device may have been added with another device file.
[    61.490] (II) config/udev: Adding input device HD-Audio Generic Mic (/dev/input/event10)
[    61.490] (II) No input driver specified, ignoring this device.
[    61.490] (II) This device may have been added with another device file.
[    61.491] (II) config/udev: Adding input device HD-Audio Generic Headphone (/dev/input/event11)
[    61.491] (II) No input driver specified, ignoring this device.
[    61.491] (II) This device may have been added with another device file.
[    61.492] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event4)
[    61.492] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[    61.492] (**) AT Translated Set 2 keyboard: Applying InputClass "system-keyboard"
[    61.492] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
[    61.494] (II) systemd-logind: got fd for /dev/input/event4 13:68 fd 32 paused 0
[    61.494] (**) AT Translated Set 2 keyboard: always reports core events
[    61.494] (**) Option "Device" "/dev/input/event4"
[    61.496] (II) event4  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[    61.496] (II) event4  - AT Translated Set 2 keyboard: device is a keyboard
[    61.498] (II) event4  - AT Translated Set 2 keyboard: device removed
[    61.498] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input4/event4"
[    61.498] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 9)
[    61.498] (**) Option "xkb_model" "pc105+inet"
[    61.498] (**) Option "xkb_layout" "us"
[    61.498] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[    61.500] (II) event4  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[    61.500] (II) event4  - AT Translated Set 2 keyboard: device is a keyboard
[    61.503] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event7)
[    61.503] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "libinput touchpad catchall"
[    61.503] (II) Using input driver 'libinput' for 'SynPS/2 Synaptics TouchPad'
[    61.505] (II) systemd-logind: got fd for /dev/input/event7 13:71 fd 33 paused 0
[    61.505] (**) SynPS/2 Synaptics TouchPad: always reports core events
[    61.505] (**) Option "Device" "/dev/input/event7"
[    61.507] (II) event7  - SynPS/2 Synaptics TouchPad: is tagged by udev as: Touchpad
[    61.511] (II) event7  - SynPS/2 Synaptics TouchPad: device is a touchpad
[    61.511] (II) event7  - SynPS/2 Synaptics TouchPad: device removed
[    61.511] (II) libinput: SynPS/2 Synaptics TouchPad: Step value 0 was provided, libinput Fallback acceleration function is used.
[    61.511] (II) libinput: SynPS/2 Synaptics TouchPad: Step value 0 was provided, libinput Fallback acceleration function is used.
[    61.511] (II) libinput: SynPS/2 Synaptics TouchPad: Step value 0 was provided, libinput Fallback acceleration function is used.
[    61.512] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input8/event7"
[    61.512] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD, id 10)
[    61.514] (**) Option "AccelerationScheme" "none"
[    61.514] (**) SynPS/2 Synaptics TouchPad: (accel) selected scheme none/0
[    61.514] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[    61.514] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[    61.516] (II) event7  - SynPS/2 Synaptics TouchPad: is tagged by udev as: Touchpad
[    61.520] (II) event7  - SynPS/2 Synaptics TouchPad: device is a touchpad
[    61.522] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse0)
[    61.522] (II) No input driver specified, ignoring this device.
[    61.522] (II) This device may have been added with another device file.
[    61.523] (II) config/udev: Adding input device PC Speaker (/dev/input/event6)
[    61.523] (II) No input driver specified, ignoring this device.
[    61.523] (II) This device may have been added with another device file.
[    61.531] (II) config/udev: Adding input device Wireless hotkeys (/dev/input/event5)
[    61.531] (**) Wireless hotkeys: Applying InputClass "libinput keyboard catchall"
[    61.531] (**) Wireless hotkeys: Applying InputClass "system-keyboard"
[    61.531] (II) Using input driver 'libinput' for 'Wireless hotkeys'
[    61.532] (II) systemd-logind: got fd for /dev/input/event5 13:69 fd 34 paused 0
[    61.532] (**) Wireless hotkeys: always reports core events
[    61.532] (**) Option "Device" "/dev/input/event5"
[    61.534] (II) event5  - Wireless hotkeys: is tagged by udev as: Keyboard
[    61.534] (II) event5  - Wireless hotkeys: device is a keyboard
[    61.534] (II) event5  - Wireless hotkeys: device removed
[    61.534] (**) Option "config_info" "udev:/sys/devices/virtual/input/input6/event5"
[    61.534] (II) XINPUT: Adding extended input device "Wireless hotkeys" (type: KEYBOARD, id 11)
[    61.534] (**) Option "xkb_model" "pc105+inet"
[    61.534] (**) Option "xkb_layout" "us"
[    61.534] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[    61.536] (II) event5  - Wireless hotkeys: is tagged by udev as: Keyboard
[    61.536] (II) event5  - Wireless hotkeys: device is a keyboard
[    61.538] (II) config/udev: Adding input device HP WMI hotkeys (/dev/input/event9)
[    61.538] (**) HP WMI hotkeys: Applying InputClass "libinput keyboard catchall"
[    61.538] (**) HP WMI hotkeys: Applying InputClass "system-keyboard"
[    61.538] (II) Using input driver 'libinput' for 'HP WMI hotkeys'
[    61.539] (II) systemd-logind: got fd for /dev/input/event9 13:73 fd 35 paused 0
[    61.539] (**) HP WMI hotkeys: always reports core events
[    61.539] (**) Option "Device" "/dev/input/event9"
[    61.540] (II) event9  - HP WMI hotkeys: is tagged by udev as: Keyboard Switch
[    61.540] (II) event9  - HP WMI hotkeys: device is a keyboard
[    61.541] (II) event9  - HP WMI hotkeys: device removed
[    61.541] (**) Option "config_info" "udev:/sys/devices/virtual/input/input9/event9"
[    61.541] (II) XINPUT: Adding extended input device "HP WMI hotkeys" (type: KEYBOARD, id 12)
[    61.541] (**) Option "xkb_model" "pc105+inet"
[    61.541] (**) Option "xkb_layout" "us"
[    61.541] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[    61.542] (II) event9  - HP WMI hotkeys: is tagged by udev as: Keyboard Switch
[    61.542] (II) event9  - HP WMI hotkeys: device is a keyboard

Offline

#4 2023-12-26 09:25:42

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,048

Re: [SOLVED] Xorg crashes on keyboard/touchpad input

If by "still running kernel", you meant to refer to Xorg

Yup, sorry.

The server doesn't register a sigabrt/segv, so chances are it actually gets killed from the outside (or there's a massive stack corruption)
a) your system is fully updated ("pacman -Syu", you didn't run any partial updates)?
b) you'll have to attach gdb to the Xorg process, "continue" and trigger the crash
On a second TTY or via ssh

echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope
gdb --pid=$(pidof Xorg) 2>&1 | tee /tmp/xorg.gdb
(gdb) continue
# switch back to X11, cause some input
(gdb) bt

Did you do anything "special" to get sway running and did X11 work before?

Offline

#5 2023-12-26 12:34:51

realkc
Member
Registered: 2020-11-18
Posts: 10

Re: [SOLVED] Xorg crashes on keyboard/touchpad input

a) your system is fully updated ("pacman -Syu", you didn't run any partial updates)?

Yes, I made sure to fully update before making this post (except visual-studio-code-bin from the AUR, but I seriously doubt that'd be related)

Did you do anything "special" to get sway running and did X11 work before?

I didn't do anything to get sway running except install it. X11 used to work yes

b) you'll have to attach gdb to the Xorg process

I'll do this tomorrow when I get back to my PC, so I can ssh from it to my laptop.
However, there's a non-zero chance my drive is actually failing (smartctl reports a number of statistics as pre-fail), so I'm not sure if debugging Xorg will be that relevant, I can still try though (if you think it'd make sense to do so)

Offline

#6 2023-12-26 19:34:11

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,048

Re: [SOLVED] Xorg crashes on keyboard/touchpad input

However, there's a non-zero chance my drive is actually failing

sudo LC_ALL=C pacman -Qkk | grep -v ', 0 altered files'

Offline

#7 2023-12-27 19:09:33

realkc
Member
Registered: 2020-11-18
Posts: 10

Re: [SOLVED] Xorg crashes on keyboard/touchpad input

─>$ sudo LC_ALL=C pacman -Qkk | /usr/bin/grep -v ', 0 altered files'
[sudo] password for kc: 
warning: amd-ucode: /boot/amd-ucode.img (Permissions mismatch)
amd-ucode: 7 total files, 1 altered file
backup file: filesystem: /etc/fstab (Modification time mismatch)
backup file: filesystem: /etc/fstab (Size mismatch)
backup file: filesystem: /etc/fstab (MD5 checksum mismatch)
backup file: filesystem: /etc/fstab (SHA256 checksum mismatch)
backup file: filesystem: /etc/group (Modification time mismatch)
backup file: filesystem: /etc/group (Size mismatch)
backup file: filesystem: /etc/group (MD5 checksum mismatch)
backup file: filesystem: /etc/group (SHA256 checksum mismatch)
backup file: filesystem: /etc/gshadow (Modification time mismatch)
backup file: filesystem: /etc/gshadow (Size mismatch)
warning: filesystem: /root (Permissions mismatch)
warning: gitea: /etc/gitea (GID mismatch)
warning: gitea: /etc/gitea/app.ini (GID mismatch)
warning: gitea: /etc/gitea/app.ini (Permissions mismatch)
backup file: filesystem: /etc/gshadow (MD5 checksum mismatch)
backup file: filesystem: /etc/gshadow (SHA256 checksum mismatch)
backup file: filesystem: /etc/passwd (Modification time mismatch)
backup file: filesystem: /etc/passwd (Size mismatch)
backup file: filesystem: /etc/passwd (MD5 checksum mismatch)
backup file: filesystem: /etc/passwd (SHA256 checksum mismatch)
backup file: filesystem: /etc/resolv.conf (Modification time mismatch)
backup file: filesystem: /etc/resolv.conf (Size mismatch)
backup file: filesystem: /etc/resolv.conf (MD5 checksum mismatch)
backup file: filesystem: /etc/resolv.conf (SHA256 checksum mismatch)
backup file: filesystem: /etc/shadow (Modification time mismatch)
backup file: filesystem: /etc/shadow (Size mismatch)
backup file: filesystem: /etc/shadow (MD5 checksum mismatch)
backup file: filesystem: /etc/shadow (SHA256 checksum mismatch)
backup file: filesystem: /etc/shells (Modification time mismatch)
backup file: filesystem: /etc/shells (Size mismatch)
backup file: filesystem: /etc/shells (MD5 checksum mismatch)
backup file: filesystem: /etc/shells (SHA256 checksum mismatch)
backup file: filesystem: /etc/subgid (Modification time mismatch)
backup file: filesystem: /etc/subgid (Size mismatch)
backup file: filesystem: /etc/subgid (MD5 checksum mismatch)
backup file: filesystem: /etc/subgid (SHA256 checksum mismatch)
backup file: filesystem: /etc/subuid (Modification time mismatch)
backup file: filesystem: /etc/subuid (Size mismatch)
backup file: filesystem: /etc/subuid (MD5 checksum mismatch)
backup file: filesystem: /etc/subuid (SHA256 checksum mismatch)
filesystem: 120 total files, 1 altered file
backup file: gitea: /etc/gitea/app.ini (Modification time mismatch)
backup file: gitea: /etc/gitea/app.ini (Size mismatch)
backup file: gitea: /etc/gitea/app.ini (MD5 checksum mismatch)
backup file: gitea: /etc/gitea/app.ini (SHA256 checksum mismatch)
gitea: 18 total files, 2 altered files
backup file: glibc: /etc/locale.gen (Modification time mismatch)
backup file: glibc: /etc/locale.gen (Size mismatch)
backup file: glibc: /etc/locale.gen (MD5 checksum mismatch)
backup file: glibc: /etc/locale.gen (SHA256 checksum mismatch)
warning: libutempter: /usr/lib/utempter/utempter (GID mismatch)
warning: libutempter: /usr/lib/utempter/utempter (Permissions mismatch)
libutempter: 20 total files, 1 altered file
backup file: libvirt: /etc/libvirt/nwfilter/allow-arp.xml (Modification time mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/allow-arp.xml (Size mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/allow-arp.xml (MD5 checksum mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/allow-arp.xml (SHA256 checksum mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/allow-dhcp-server.xml (Modification time mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/allow-dhcp-server.xml (Size mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/allow-dhcp-server.xml (MD5 checksum mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/allow-dhcp-server.xml (SHA256 checksum mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/allow-dhcp.xml (Modification time mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/allow-dhcp.xml (Size mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/allow-dhcp.xml (MD5 checksum mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/allow-dhcp.xml (SHA256 checksum mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/allow-dhcpv6-server.xml (Modification time mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/allow-dhcpv6-server.xml (Size mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/allow-dhcpv6-server.xml (MD5 checksum mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/allow-dhcpv6-server.xml (SHA256 checksum mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/allow-dhcpv6.xml (Modification time mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/allow-dhcpv6.xml (Size mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/allow-dhcpv6.xml (MD5 checksum mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/allow-dhcpv6.xml (SHA256 checksum mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/allow-incoming-ipv4.xml (Modification time mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/allow-incoming-ipv4.xml (Size mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/allow-incoming-ipv4.xml (MD5 checksum mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/allow-incoming-ipv4.xml (SHA256 checksum mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/allow-incoming-ipv6.xml (Modification time mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/allow-incoming-ipv6.xml (Size mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/allow-incoming-ipv6.xml (MD5 checksum mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/allow-incoming-ipv6.xml (SHA256 checksum mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/allow-ipv4.xml (Modification time mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/allow-ipv4.xml (Size mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/allow-ipv4.xml (MD5 checksum mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/allow-ipv4.xml (SHA256 checksum mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/allow-ipv6.xml (Modification time mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/allow-ipv6.xml (Size mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/allow-ipv6.xml (MD5 checksum mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/allow-ipv6.xml (SHA256 checksum mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/clean-traffic-gateway.xml (Modification time mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/clean-traffic-gateway.xml (Size mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/clean-traffic-gateway.xml (MD5 checksum mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/clean-traffic-gateway.xml (SHA256 checksum mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/clean-traffic.xml (Modification time mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/clean-traffic.xml (Size mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/clean-traffic.xml (MD5 checksum mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/clean-traffic.xml (SHA256 checksum mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/no-arp-ip-spoofing.xml (Modification time mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/no-arp-ip-spoofing.xml (Size mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/no-arp-ip-spoofing.xml (MD5 checksum mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/no-arp-ip-spoofing.xml (SHA256 checksum mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/no-arp-mac-spoofing.xml (Modification time mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/no-arp-mac-spoofing.xml (Size mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/no-arp-mac-spoofing.xml (MD5 checksum mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/no-arp-mac-spoofing.xml (SHA256 checksum mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/no-arp-spoofing.xml (Modification time mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/no-arp-spoofing.xml (Size mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/no-arp-spoofing.xml (MD5 checksum mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/no-arp-spoofing.xml (SHA256 checksum mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/no-ip-multicast.xml (Modification time mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/no-ip-multicast.xml (Size mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/no-ip-multicast.xml (MD5 checksum mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/no-ip-multicast.xml (SHA256 checksum mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/no-ip-spoofing.xml (Modification time mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/no-ip-spoofing.xml (Size mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/no-ip-spoofing.xml (MD5 checksum mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/no-ip-spoofing.xml (SHA256 checksum mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/no-ipv6-multicast.xml (Modification time mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/no-ipv6-multicast.xml (Size mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/no-ipv6-multicast.xml (MD5 checksum mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/no-ipv6-multicast.xml (SHA256 checksum mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/no-ipv6-spoofing.xml (Modification time mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/no-ipv6-spoofing.xml (Size mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/no-ipv6-spoofing.xml (MD5 checksum mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/no-ipv6-spoofing.xml (SHA256 checksum mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/no-mac-broadcast.xml (Modification time mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/no-mac-broadcast.xml (Size mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/no-mac-broadcast.xml (MD5 checksum mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/no-mac-broadcast.xml (SHA256 checksum mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/no-mac-spoofing.xml (Modification time mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/no-mac-spoofing.xml (Size mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/no-mac-spoofing.xml (MD5 checksum mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/no-mac-spoofing.xml (SHA256 checksum mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/no-other-l2-traffic.xml (Modification time mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/no-other-l2-traffic.xml (Size mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/no-other-l2-traffic.xml (MD5 checksum mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/no-other-l2-traffic.xml (SHA256 checksum mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/no-other-rarp-traffic.xml (Modification time mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/no-other-rarp-traffic.xml (Size mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/no-other-rarp-traffic.xml (MD5 checksum mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/no-other-rarp-traffic.xml (SHA256 checksum mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/qemu-announce-self-rarp.xml (Modification time mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/qemu-announce-self-rarp.xml (Size mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/qemu-announce-self-rarp.xml (MD5 checksum mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/qemu-announce-self-rarp.xml (SHA256 checksum mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/qemu-announce-self.xml (Modification time mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/qemu-announce-self.xml (Size mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/qemu-announce-self.xml (MD5 checksum mismatch)
backup file: libvirt: /etc/libvirt/nwfilter/qemu-announce-self.xml (SHA256 checksum mismatch)
backup file: libvirt: /etc/libvirt/qemu/networks/default.xml (Modification time mismatch)
backup file: libvirt: /etc/libvirt/qemu/networks/default.xml (Size mismatch)
backup file: libvirt: /etc/libvirt/qemu/networks/default.xml (MD5 checksum mismatch)
backup file: libvirt: /etc/libvirt/qemu/networks/default.xml (SHA256 checksum mismatch)
warning: memtest86+-efi: /boot/memtest86+/memtest.efi (Permissions mismatch)
memtest86+-efi: 6 total files, 1 altered file
backup file: mkinitcpio: /etc/mkinitcpio.conf (Modification time mismatch)
backup file: mkinitcpio: /etc/mkinitcpio.conf (Size mismatch)
backup file: mkinitcpio: /etc/mkinitcpio.conf (MD5 checksum mismatch)
backup file: mkinitcpio: /etc/mkinitcpio.conf (SHA256 checksum mismatch)
backup file: pacman: /etc/pacman.conf (Modification time mismatch)
backup file: pacman: /etc/pacman.conf (Size mismatch)
backup file: pacman: /etc/pacman.conf (MD5 checksum mismatch)
backup file: pacman: /etc/pacman.conf (SHA256 checksum mismatch)
backup file: pacman-mirrorlist: /etc/pacman.d/mirrorlist (Modification time mismatch)
backup file: pacman-mirrorlist: /etc/pacman.d/mirrorlist (Size mismatch)
backup file: pacman-mirrorlist: /etc/pacman.d/mirrorlist (MD5 checksum mismatch)
backup file: pacman-mirrorlist: /etc/pacman.d/mirrorlist (SHA256 checksum mismatch)
warning: shadow: /usr/bin/groupmems (GID mismatch)
warning: shadow: /usr/bin/groupmems (Permissions mismatch)
warning: systemd: /var/log/journal (GID mismatch)
shadow: 588 total files, 1 altered file
backup file: sudo: /etc/sudoers (Modification time mismatch)
backup file: sudo: /etc/sudoers (Size mismatch)
backup file: sudo: /etc/sudoers (MD5 checksum mismatch)
backup file: sudo: /etc/sudoers (SHA256 checksum mismatch)
systemd: 1455 total files, 1 altered file
backup file: texlive-basic: /etc/texmf/web2c/fmtutil.cnf (Modification time mismatch)
backup file: texlive-basic: /etc/texmf/web2c/fmtutil.cnf (Size mismatch)
backup file: texlive-basic: /etc/texmf/web2c/fmtutil.cnf (MD5 checksum mismatch)
backup file: texlive-basic: /etc/texmf/web2c/fmtutil.cnf (SHA256 checksum mismatch)

Given that these are mostly configs, I guess stuff didn't get corrupted? So I'll attach gdb to the Xorg process

This is what I see in gdb

(gdb) continue
Continuing.

Thread 12 "InputThread" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f2c75c7f6c0 (LWP 583)]
0x0000000000000000 in ?? ()
(gdb) bt
#0  0x0000000000000000 in  ()
#1  0x00007f2ca6205352 in libinput_get_event () at /usr/lib/libinput-config.so
#2  0x00007f2ca4e8c8e6 in xf86libinput_read_input (pInfo=<optimized out>) at /usr/src/debug/xf86-input-libinput/xf86-input-libinput-1.4.0/src/xf86libinput.c:2668
#3  0x000055ec1cdf0e06 in InputReady (fd=26, xevents=1, data=0x55ec1f7e8630) at ../xorg-server-21.1.10/os/inputthread.c:180
#4  0x000055ec1cdf1852 in ospoll_wait (ospoll=0x55ec1f518ee0, timeout=timeout@entry=-1) at ../xorg-server-21.1.10/os/ospoll.c:657
#5  0x000055ec1cdf5659 in InputThreadDoWork (arg=<optimized out>) at ../xorg-server-21.1.10/os/inputthread.c:369
#6  0x00007f2ca5c669eb in start_thread (arg=<optimized out>) at pthread_create.c:444
#7  0x00007f2ca5cea7cc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

(gdb ran with DEBUGINFOD_URLS="https://debuginfod.archlinux.org/" explicitly)

Offline

#8 2023-12-27 21:19:02

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,048

Re: [SOLVED] Xorg crashes on keyboard/touchpad input

pacman -Qo /usr/lib/libinput-config.so

Offline

#9 2023-12-27 23:04:18

realkc
Member
Registered: 2020-11-18
Posts: 10

Re: [SOLVED] Xorg crashes on keyboard/touchpad input

Seems like it comes from this AUR package: https://aur.archlinux.org/packages/libinput-config, I don't actually remember why I installed it and uninstalling the package fixes the segfault.
It also appears someone else encountered the same issue and has reported it: https://gitlab.com/warningnonpotablewat … /issues/26. I guess this can be marked as solved then?

Last edited by realkc (2023-12-27 23:04:34)

Offline

#10 2023-12-28 00:07:29

inc0der
Member
Registered: 2023-12-27
Posts: 1

Re: [SOLVED] Xorg crashes on keyboard/touchpad input

I've been having the same issue for a little while now but it never bothered me much since I only use xfce for testing/debugging apps. I was actually just about to come here and create a post of my own when I found yours in a quick search. Glad you found out the issue and it works great for me, I remember using libinput-config for adjusting the scroll speed for touchpad.

Thanks for the solution!

Offline

#11 2023-12-28 06:50:38

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,048

Re: [SOLVED] Xorg crashes on keyboard/touchpad input

Please mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB