Package: xserver-xorg-core Version: 2:21.1.7-3+deb12u7 Severity: important Tags: patch upstream X-Debbugs-Cc: lemonsque...@gmx.com
There is a race condition in current Xorg server releases which leads to crashes when using easytroke for mouse gestures. While testing Debian 12 on an old Acer laptop with easystroke running I noticed frequent Xorg crashes while browsing in chromium. The crashes, when they happen, appear to be triggered by a page scroll with the mouse wheel (black screen, return to lightdm login screen). There is nothing specific about chromium actually: it happens with firefox too, and sometimes even while scrolling text in mate-terminal. Although they look random at first (scrolling works for a number of minutes before crashing), i found it's pretty easy to reproduce by stressing the system: - open 5-6 tabs in chromium. - make system busy (reload tabs / run some other cpu-intensive task ...) - quickly switch between tabs and scroll pages as much as you can with the mouse wheel (switch tab, move mouse back to center, wheel scroll) Best way to produce a crash seems to be when chromium is lagging so much behind that it hasn't processed the tab switch yet, but you're already scrolling the page, flooding it with scroll events. I can usually make it crash within 30s when doing this (this is probably a lot easier to do on an old laptop with slow cpu). The queueing of events seems to cause Xorg some trouble as a number of warnings pile up in /var/log/Xorg.0.log before a crash: [ 45850.500] [Xi] Too many valuators reported for device 'Virtual core pointer'. Ignoring event. [ 45851.548] [Xi] Too many valuators reported for device 'Virtual core pointer'. Ignoring event. [ 45861.492] [Xi] Too many valuators reported for device 'Virtual core pointer'. Ignoring event. [ 45861.868] [Xi] Too many valuators reported for device 'Virtual core pointer'. Ignoring event. [ 45866.189] [Xi] Too many valuators reported for device 'Virtual core pointer'. Ignoring event. [ 45870.750] [Xi] Too many valuators reported for device 'Virtual core pointer'. Ignoring event. [ 45870.780] [Xi] Too many valuators reported for device 'Virtual core pointer'. Ignoring event. [ 45871.092] [Xi] Too many valuators reported for device 'Virtual core pointer'. Ignoring event. I believe upstream is aware of the issue as there is a fix for it in the master branch (dc7cb45 2022-01-04 dix: Hold input lock for AttachDevice()), however it is missing in the release branch so even latest upstream release xorg-server-21.1.13 is affected. Debian bullseye, bookworm, testing and unstable packages are all affected (haven't checked earlier versions). Adding commit on top of debian bookworm xserver-xorg-core_21.1.7-3+deb12u7 package fixed the issue. Notes: - Reproducing crash: These tabs work reasonably well for me: (for switching back and forth) https://news.ycombinator.com/item?id=37280878 https://popey.com/blog/2023/08/i386-in-ubuntu-wont-die/ https://packages.ubuntu.com/search?keywords=xserver-xorg-core&searchon=names&suite=jammy§ion=all Plus a few heavy ones like these to keep cpu busy: https://gitlab.freedesktop.org/xorg https://gitlab.freedesktop.org/xorg/xserver - Stack trace: It typically crashes in miPointerSetPosition(), either directly or in point_on_screen() which it calls. Thread 4 "InputThread" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x9e9ffb40 (LWP 12934)] 0x00ba3834 in miPointerSetPosition (pDev=0xb2c2f800, mode=0, screenx=0x9e9fd5d0, screeny=0x9e9fd5f0, nevents=0x9e9fd5c0, events=0xb67bf260) at ../../../../mi/mipointer.c:623 warning: Source file is more recent than executable. 623 pScreen = pPointer->pScreen; (gdb) where #0 0x00ba3834 in miPointerSetPosition (pDev=0xb2c2f800, mode=0, screenx=0x9e9fd5d0, screeny=0x9e9fd5f0, nevents=0x9e9fd5c0, events=0xb67bf260) at ../../../../mi/mipointer.c:623 #1 0x005635fc in positionSprite (dev=0xb2c2f800, mode=0, mask=0x9e9fd650, devx=0x9e9fd610, devy=0x9e9fd630, screenx=0x9e9fd5d0, screeny=0x9e9fd5f0, nevents=0x9e9fd5c0, events=0xb67bf260) at ../../../../dix/getevents.c:961 #2 0x005661c8 in fill_pointer_events (events=0xb67bf260, pDev=0xb2c2f800, type=6, buttons=0, ms=9672229, flags=10, mask_in=0x9e9fda10) at ../../../../dix/getevents.c:1438 #3 0x005673fe in GetPointerEvents (events=0xb67be800, pDev=0xb2c2f800, type=6, buttons=0, flags=10, mask_in=0xb304b080) at ../../../../dix/getevents.c:1696 #4 0x0056592b in QueuePointerEvents (device=0xb2c2f800, type=6, buttons=0, flags=10, mask=0xb304b080) at ../../../../dix/getevents.c:1291 #5 0x0066c102 in xf86PostMotionEventM (device=0xb2c2f800, is_absolute=0, mask=0xb304b080) at ../../../../../../hw/xfree86/common/xf86Xinput.c:1309 #6 0xb5736f17 in () at /usr/lib/xorg/modules/input/libinput_drv.so #7 0xb5737967 in () at /usr/lib/xorg/modules/input/libinput_drv.so #8 0x0063042a in xf86ReadInput (fd=26, ready=1, closure=0xb5c9b1a0) at ../../../../../../hw/xfree86/common/xf86Events.c:236 #9 0x00bf78b6 in InputReady (fd=26, xevents=1, data=0xa0e7fb70) at ../../../../os/inputthread.c:180 #10 0x00c028d3 in ospoll_wait (ospoll=0xa0e5a550, timeout=-1) at ../../../../os/ospoll.c:657 #11 0x00bf8592 in InputThreadDoWork (arg=0x0) at ../../../../os/inputthread.c:369 #12 0xb784166a in asan_thread_start(void*) (arg=0xb5f0a000) at ../../../../src/libsanitizer/asan/asan_interceptors.cpp:198 #13 0xb708836d in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442 #14 0xb7123698 in clone3 () at ../sysdeps/unix/sysv/linux/i386/clone3.S:111 (gdb) print pPointer NULL chromium package version: 121.0.6167.139-1~deb12u1 easystroke package version: 0.6.0-0ubuntu15 (from ubuntu jammy) -- Package-specific info: Kernel version (/proc/version): ------------------------------- Linux version 6.1.0-22-686-pae (debian-ker...@lists.debian.org) (gcc-12 (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT_DYNAMIC Debian 6.1.94-1 (2024-06-21) Contents of most recent Xorg X server log file (/var/log/Xorg.0.log): --------------------------------------------------------------------- [ 45774.999] X.Org X Server 1.21.1.7 X Protocol Version 11, Revision 0 [ 45774.999] Current Operating System: Linux debian 6.1.0-22-686-pae #1 SMP PREEMPT_DYNAMIC Debian 6.1.94-1 (2024-06-21) i686 [ 45774.999] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.1.0-22-686-pae root=UUID=440b71b5-a11c-4eae-bdad-ccbf31da16bb ro quiet splash [ 45774.999] xorg-server 2:21.1.7-3+deb12u7 (https://www.debian.org/support) [ 45774.999] Current version of pixman: 0.42.2 [ 45774.999] Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [ 45774.999] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 45775.000] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Sep 3 20:43:56 2024 [ 45775.001] (==) Using system config directory "/usr/share/X11/xorg.conf.d" [ 45775.002] (==) No Layout section. Using the first Screen section. [ 45775.002] (==) No screen section available. Using defaults. [ 45775.002] (**) |-->Screen "Default Screen Section" (0) [ 45775.002] (**) | |-->Monitor "<default monitor>" [ 45775.003] (==) No monitor specified for screen "Default Screen Section". Using a default monitor configuration. [ 45775.004] (==) Automatically adding devices [ 45775.004] (==) Automatically enabling devices [ 45775.004] (==) Automatically adding GPU devices [ 45775.004] (==) Automatically binding GPU devices [ 45775.004] (==) Max clients allowed: 256, resource mask: 0x1fffff [ 45775.004] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist. [ 45775.004] Entry deleted from font path. [ 45775.004] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist. [ 45775.004] Entry deleted from font path. [ 45775.004] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist. [ 45775.004] Entry deleted from font path. [ 45775.004] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist. [ 45775.004] Entry deleted from font path. [ 45775.004] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist. [ 45775.004] Entry deleted from font path. [ 45775.004] (==) FontPath set to: /usr/share/fonts/X11/misc, /usr/share/fonts/X11/Type1, built-ins [ 45775.004] (==) ModulePath set to "/usr/lib/xorg/modules" [ 45775.004] (II) The server relies on udev to provide the list of input devices. If no devices become available, reconfigure udev or disable AutoAddDevices. [ 45775.004] (II) Loader magic: 0x7157a0 [ 45775.004] (II) Module ABI versions: [ 45775.004] X.Org ANSI C Emulation: 0.4 [ 45775.004] X.Org Video Driver: 25.2 [ 45775.004] X.Org XInput driver : 24.4 [ 45775.005] X.Org Server Extension : 10.0 [ 45775.009] (++) using VT number 7 [ 45775.009] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration [ 45775.013] (II) xfree86: Adding drm device (/dev/dri/card0) [ 45775.013] (II) Platform probe for /sys/devices/pci0000:00/0000:00:01.0/drm/card0 [ 45775.031] (--) PCI:*(0@0:1:0) 1002:9807:1025:0598 rev 0, Mem @ 0xe0000000/268435456, 0xf0400000/262144, I/O @ 0x00004000/256, BIOS @ 0x????????/131072 [ 45775.031] (II) LoadModule: "glx" [ 45775.033] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so [ 45775.037] (II) Module glx: vendor="X.Org Foundation" [ 45775.037] compiled for 1.21.1.7, module version = 1.0.0 [ 45775.037] ABI class: X.Org Server Extension, version 10.0 [ 45775.037] (II) Applying OutputClass "Radeon" to /dev/dri/card0 [ 45775.037] loading driver: radeon [ 45775.037] (==) Matched radeon as autoconfigured driver 0 [ 45775.037] (==) Matched ati as autoconfigured driver 1 [ 45775.037] (==) Matched modesetting as autoconfigured driver 2 [ 45775.037] (==) Matched fbdev as autoconfigured driver 3 [ 45775.037] (==) Matched vesa as autoconfigured driver 4 [ 45775.037] (==) Assigned the driver to the xf86ConfigLayout [ 45775.037] (II) LoadModule: "radeon" [ 45775.038] (II) Loading /usr/lib/xorg/modules/drivers/radeon_drv.so [ 45775.041] (II) Module radeon: vendor="X.Org Foundation" [ 45775.041] compiled for 1.21.1.3, module version = 19.1.0 [ 45775.041] Module class: X.Org Video Driver [ 45775.041] ABI class: X.Org Video Driver, version 25.2 [ 45775.041] (II) LoadModule: "ati" [ 45775.041] (II) Loading /usr/lib/xorg/modules/drivers/ati_drv.so [ 45775.042] (II) Module ati: vendor="X.Org Foundation" [ 45775.042] compiled for 1.21.1.3, module version = 19.1.0 [ 45775.042] Module class: X.Org Video Driver [ 45775.042] ABI class: X.Org Video Driver, version 25.2 [ 45775.042] (II) LoadModule: "modesetting" [ 45775.043] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so [ 45775.043] (II) Module modesetting: vendor="X.Org Foundation" [ 45775.043] compiled for 1.21.1.7, module version = 1.21.1 [ 45775.043] Module class: X.Org Video Driver [ 45775.044] ABI class: X.Org Video Driver, version 25.2 [ 45775.044] (II) LoadModule: "fbdev" [ 45775.044] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so [ 45775.044] (II) Module fbdev: vendor="X.Org Foundation" [ 45775.044] compiled for 1.21.1.3, module version = 0.5.0 [ 45775.044] Module class: X.Org Video Driver [ 45775.045] ABI class: X.Org Video Driver, version 25.2 [ 45775.045] (II) LoadModule: "vesa" [ 45775.045] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so [ 45775.045] (II) Module vesa: vendor="X.Org Foundation" [ 45775.045] compiled for 1.21.1.3, module version = 2.5.0 [ 45775.045] Module class: X.Org Video Driver [ 45775.045] ABI class: X.Org Video Driver, version 25.2 [ 45775.046] (II) RADEON: Driver for ATI/AMD Radeon chipsets: ATI Radeon Mobility X600 (M24), ATI FireMV 2400, ATI Radeon Mobility X300 (M24), ATI FireGL M24 GL, ATI Radeon X600 (RV380), ATI FireGL V3200 (RV380), ATI Radeon IGP320 (A3), ATI Radeon IGP330/340/350 (A4), ATI Radeon 9500, ATI Radeon 9600TX, ATI FireGL Z1, ATI Radeon 9800SE, ATI Radeon 9800, ATI FireGL X2, ATI Radeon 9600, ATI Radeon 9600SE, ATI Radeon 9600XT, ATI FireGL T2, ATI Radeon 9650, ATI FireGL RV360, ATI Radeon 7000 IGP (A4+), ATI Radeon 8500 AIW, ATI Radeon IGP320M (U1), ATI Radeon IGP330M/340M/350M (U2), ATI Radeon Mobility 7000 IGP, ATI Radeon 9000/PRO, ATI Radeon 9000, ATI Radeon X800 (R420), ATI Radeon X800PRO (R420), ATI Radeon X800SE (R420), ATI FireGL X3 (R420), ATI Radeon Mobility 9800 (M18), ATI Radeon X800 SE (R420), ATI Radeon X800XT (R420), ATI Radeon X800 VE (R420), ATI Radeon X850 (R480), ATI Radeon X850 XT (R480), ATI Radeon X850 SE (R480), ATI Radeon X850 PRO (R480), ATI Radeon X850 XT PE (R480), ATI Radeon Mobility M7, ATI Mobility FireGL 7800 M7, ATI Radeon Mobility M6, ATI FireGL Mobility 9000 (M9), ATI Radeon Mobility 9000 (M9), ATI Radeon 9700 Pro, ATI Radeon 9700/9500Pro, ATI FireGL X1, ATI Radeon 9800PRO, ATI Radeon 9800XT, ATI Radeon Mobility 9600/9700 (M10/M11), ATI Radeon Mobility 9600 (M10), ATI Radeon Mobility 9600 (M11), ATI FireGL Mobility T2 (M10), ATI FireGL Mobility T2e (M11), ATI Radeon, ATI FireGL 8700/8800, ATI Radeon 8500, ATI Radeon 9100, ATI Radeon 7500, ATI Radeon VE/7000, ATI ES1000, ATI Radeon Mobility X300 (M22), ATI Radeon Mobility X600 SE (M24C), ATI FireGL M22 GL, ATI Radeon X800 (R423), ATI Radeon X800PRO (R423), ATI Radeon X800LE (R423), ATI Radeon X800SE (R423), ATI Radeon X800 XTP (R430), ATI Radeon X800 XL (R430), ATI Radeon X800 SE (R430), ATI Radeon X800 (R430), ATI FireGL V7100 (R423), ATI FireGL V5100 (R423), ATI FireGL unknown (R423), ATI Mobility FireGL V5000 (M26), ATI Mobility Radeon X700 XL (M26), ATI Mobility Radeon X700 (M26), ATI Radeon X550XTX, ATI Radeon 9100 IGP (A5), ATI Radeon Mobility 9100 IGP (U3), ATI Radeon XPRESS 200, ATI Radeon XPRESS 200M, ATI Radeon 9250, ATI Radeon 9200, ATI Radeon 9200SE, ATI FireMV 2200, ATI Radeon X300 (RV370), ATI Radeon X600 (RV370), ATI Radeon X550 (RV370), ATI FireGL V3100 (RV370), ATI FireMV 2200 PCIE (RV370), ATI Radeon Mobility 9200 (M9+), ATI Mobility Radeon X800 XT (M28), ATI Mobility FireGL V5100 (M28), ATI Mobility Radeon X800 (M28), ATI Radeon X850, ATI unknown Radeon / FireGL (R480), ATI Radeon X800XT (R423), ATI FireGL V5000 (RV410), ATI Radeon X700 XT (RV410), ATI Radeon X700 PRO (RV410), ATI Radeon X700 SE (RV410), ATI Radeon X700 (RV410), ATI Radeon X1800, ATI Mobility Radeon X1800 XT, ATI Mobility Radeon X1800, ATI Mobility FireGL V7200, ATI FireGL V7200, ATI FireGL V5300, ATI Mobility FireGL V7100, ATI FireGL V7300, ATI FireGL V7350, ATI Radeon X1600, ATI RV505, ATI Radeon X1300/X1550, ATI Radeon X1550, ATI M54-GL, ATI Mobility Radeon X1400, ATI Radeon X1550 64-bit, ATI Mobility Radeon X1300, ATI Radeon X1300, ATI FireGL V3300, ATI FireGL V3350, ATI Mobility Radeon X1450, ATI Mobility Radeon X2300, ATI Mobility Radeon X1350, ATI FireMV 2250, ATI Radeon X1650, ATI Mobility FireGL V5200, ATI Mobility Radeon X1600, ATI Radeon X1300 XT/X1600 Pro, ATI FireGL V3400, ATI Mobility FireGL V5250, ATI Mobility Radeon X1700, ATI Mobility Radeon X1700 XT, ATI FireGL V5200, ATI Radeon X2300HD, ATI Mobility Radeon HD 2300, ATI Radeon X1950, ATI Radeon X1900, ATI AMD Stream Processor, ATI RV560, ATI Mobility Radeon X1900, ATI Radeon X1950 GT, ATI RV570, ATI FireGL V7400, ATI Radeon 9100 PRO IGP, ATI Radeon Mobility 9200 IGP, ATI Radeon X1200, ATI RS740, ATI RS740M, ATI Radeon HD 2900 XT, ATI Radeon HD 2900 Pro, ATI Radeon HD 2900 GT, ATI FireGL V8650, ATI FireGL V8600, ATI FireGL V7600, ATI Radeon 4800 Series, ATI Radeon HD 4870 x2, ATI Radeon HD 4850 x2, ATI FirePro V8750 (FireGL), ATI FirePro V7760 (FireGL), ATI Mobility RADEON HD 4850, ATI Mobility RADEON HD 4850 X2, ATI FirePro RV770, AMD FireStream 9270, AMD FireStream 9250, ATI FirePro V8700 (FireGL), ATI Mobility RADEON HD 4870, ATI Mobility RADEON M98, ATI FirePro M7750, ATI M98, ATI Mobility Radeon HD 4650, ATI Radeon RV730 (AGP), ATI Mobility Radeon HD 4670, ATI FirePro M5750, ATI RV730XT [Radeon HD 4670], ATI RADEON E4600, ATI Radeon HD 4600 Series, ATI RV730 PRO [Radeon HD 4650], ATI FirePro V7750 (FireGL), ATI FirePro V5700 (FireGL), ATI FirePro V3750 (FireGL), ATI Mobility Radeon HD 4830, ATI Mobility Radeon HD 4850, ATI FirePro M7740, ATI RV740, ATI Radeon HD 4770, ATI Radeon HD 4700 Series, ATI RV610, ATI Radeon HD 2400 XT, ATI Radeon HD 2400 Pro, ATI Radeon HD 2400 PRO AGP, ATI FireGL V4000, ATI Radeon HD 2350, ATI Mobility Radeon HD 2400 XT, ATI Mobility Radeon HD 2400, ATI RADEON E2400, ATI FireMV 2260, ATI RV670, ATI Radeon HD3870, ATI Mobility Radeon HD 3850, ATI Radeon HD3850, ATI Mobility Radeon HD 3850 X2, ATI Mobility Radeon HD 3870, ATI Mobility Radeon HD 3870 X2, ATI Radeon HD3870 X2, ATI FireGL V7700, ATI Radeon HD3690, AMD Firestream 9170, ATI Radeon HD 4550, ATI Radeon RV710, ATI Radeon HD 4350, ATI Mobility Radeon 4300 Series, ATI Mobility Radeon 4500 Series, ATI FirePro RG220, ATI Mobility Radeon 4330, ATI RV630, ATI Mobility Radeon HD 2600, ATI Mobility Radeon HD 2600 XT, ATI Radeon HD 2600 XT AGP, ATI Radeon HD 2600 Pro AGP, ATI Radeon HD 2600 XT, ATI Radeon HD 2600 Pro, ATI Gemini RV630, ATI Gemini Mobility Radeon HD 2600 XT, ATI FireGL V5600, ATI FireGL V3600, ATI Radeon HD 2600 LE, ATI Mobility FireGL Graphics Processor, ATI Radeon HD 3470, ATI Mobility Radeon HD 3430, ATI Mobility Radeon HD 3400 Series, ATI Radeon HD 3450, ATI Radeon HD 3430, ATI FirePro V3700, ATI FireMV 2450, ATI Radeon HD 3600 Series, ATI Radeon HD 3650 AGP, ATI Radeon HD 3600 PRO, ATI Radeon HD 3600 XT, ATI Mobility Radeon HD 3650, ATI Mobility Radeon HD 3670, ATI Mobility FireGL V5700, ATI Mobility FireGL V5725, ATI Radeon HD 3200 Graphics, ATI Radeon 3100 Graphics, ATI Radeon HD 3300 Graphics, ATI Radeon 3000 Graphics, SUMO, SUMO2, ATI Radeon HD 4200, ATI Radeon 4100, ATI Mobility Radeon HD 4200, ATI Mobility Radeon 4100, ATI Radeon HD 4290, ATI Radeon HD 4250, AMD Radeon HD 6310 Graphics, AMD Radeon HD 6250 Graphics, AMD Radeon HD 6300 Series Graphics, AMD Radeon HD 6200 Series Graphics, PALM, CYPRESS, ATI FirePro (FireGL) Graphics Adapter, AMD Firestream 9370, AMD Firestream 9350, ATI Radeon HD 5800 Series, ATI Radeon HD 5900 Series, ATI Mobility Radeon HD 5800 Series, ATI Radeon HD 5700 Series, ATI Radeon HD 6700 Series, ATI Mobility Radeon HD 5000 Series, ATI Mobility Radeon HD 5570, ATI Radeon HD 5670, ATI Radeon HD 5570, ATI Radeon HD 5500 Series, REDWOOD, ATI Mobility Radeon Graphics, CEDAR, ATI FirePro 2270, ATI Radeon HD 5450, CAYMAN, AMD Radeon HD 6900 Series, AMD Radeon HD 6900M Series, Mobility Radeon HD 6000 Series, BARTS, AMD Radeon HD 6800 Series, AMD Radeon HD 6700 Series, TURKS, CAICOS, ARUBA, TAHITI, PITCAIRN, VERDE, OLAND, HAINAN, BONAIRE, KABINI, MULLINS, KAVERI, HAWAII [ 45775.061] (II) modesetting: Driver for Modesetting Kernel Drivers: kms [ 45775.061] (II) FBDEV: driver for framebuffer: fbdev [ 45775.062] (II) VESA: driver for VESA chipsets: vesa [ 45775.063] (II) [KMS] Kernel modesetting enabled. [ 45775.063] (WW) Falling back to old probe method for modesetting [ 45775.063] (WW) Falling back to old probe method for fbdev [ 45775.063] (II) Loading sub module "fbdevhw" [ 45775.063] (II) LoadModule: "fbdevhw" [ 45775.064] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so [ 45775.064] (II) Module fbdevhw: vendor="X.Org Foundation" [ 45775.064] compiled for 1.21.1.7, module version = 0.0.2 [ 45775.064] ABI class: X.Org Video Driver, version 25.2 [ 45775.065] (II) RADEON(0): Creating default Display subsection in Screen section "Default Screen Section" for depth/fbbpp 24/32 [ 45775.065] (==) RADEON(0): Depth 24, (--) framebuffer bpp 32 [ 45775.065] (II) RADEON(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps) [ 45775.065] (==) RADEON(0): Default visual is TrueColor [ 45775.065] (==) RADEON(0): RGB weight 888 [ 45775.065] (II) RADEON(0): Using 8 bits per RGB (8 bit DAC) [ 45775.065] (--) RADEON(0): Chipset: "AMD Radeon HD 6200 Series Graphics" (ChipID = 0x9807) [ 45775.065] (II) Loading sub module "fb" [ 45775.065] (II) LoadModule: "fb" [ 45775.066] (II) Module "fb" already built-in [ 45775.066] (II) Loading sub module "dri2" [ 45775.066] (II) LoadModule: "dri2" [ 45775.066] (II) Module "dri2" already built-in [ 45775.237] (II) Loading sub module "glamoregl" [ 45775.237] (II) LoadModule: "glamoregl" [ 45775.238] (II) Loading /usr/lib/xorg/modules/libglamoregl.so [ 45775.264] (II) Module glamoregl: vendor="X.Org Foundation" [ 45775.264] compiled for 1.21.1.7, module version = 1.0.1 [ 45775.264] ABI class: X.Org ANSI C Emulation, version 0.4 [ 45775.320] (II) RADEON(0): glamor X acceleration enabled on AMD PALM (DRM 2.50.0 / 6.1.0-22-686-pae, LLVM 15.0.6) [ 45775.320] (II) RADEON(0): glamor detected, initialising EGL layer. [ 45775.320] (II) RADEON(0): KMS Color Tiling: enabled [ 45775.320] (II) RADEON(0): KMS Color Tiling 2D: enabled [ 45775.320] (==) RADEON(0): TearFree property default: auto [ 45775.320] (II) RADEON(0): KMS Pageflipping: enabled [ 45775.321] (II) RADEON(0): Output LVDS has no monitor section [ 45775.323] (II) RADEON(0): Output HDMI-0 has no monitor section [ 45775.340] (II) RADEON(0): Output VGA-0 has no monitor section [ 45775.341] (WW) RADEON(0): 3 ZaphodHeads crtcs unavailable. Some outputs will stay off. [ 45775.341] (II) RADEON(0): EDID for output LVDS [ 45775.341] (II) RADEON(0): Manufacturer: AUO Model: 325c Serial#: 0 [ 45775.341] (II) RADEON(0): Year: 2011 Week: 0 [ 45775.341] (II) RADEON(0): EDID Version: 1.3 [ 45775.341] (II) RADEON(0): Digital Display Input [ 45775.342] (II) RADEON(0): Max Image Size [cm]: horiz.: 26 vert.: 14 [ 45775.342] (II) RADEON(0): Gamma: 2.20 [ 45775.342] (II) RADEON(0): No DPMS capabilities specified [ 45775.342] (II) RADEON(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 [ 45775.342] (II) RADEON(0): First detailed timing is preferred mode [ 45775.342] (II) RADEON(0): redX: 0.584 redY: 0.333 greenX: 0.338 greenY: 0.571 [ 45775.342] (II) RADEON(0): blueX: 0.158 blueY: 0.133 whiteX: 0.313 whiteY: 0.329 [ 45775.342] (II) RADEON(0): Manufacturer's mask: 0 [ 45775.342] (II) RADEON(0): Supported detailed timing: [ 45775.342] (II) RADEON(0): clock: 69.3 MHz Image Size: 256 x 144 mm [ 45775.342] (II) RADEON(0): h_active: 1366 h_sync: 1414 h_sync_end 1446 h_blank_end 1456 h_border: 0 [ 45775.342] (II) RADEON(0): v_active: 768 v_sync: 771 v_sync_end 777 v_blanking: 793 v_border: 0 [ 45775.342] (II) RADEON(0): Unknown vendor-specific block f [ 45775.342] (II) RADEON(0): AUO [ 45775.342] (II) RADEON(0): B116XW03 V2 [ 45775.342] (II) RADEON(0): EDID (in hex): [ 45775.342] (II) RADEON(0): 00ffffffffffff0006af5c3200000000 [ 45775.342] (II) RADEON(0): 00150103801a0e780a99859555569228 [ 45775.342] (II) RADEON(0): 22505400000001010101010101010101 [ 45775.342] (II) RADEON(0): 010101010101121b565a500019303020 [ 45775.342] (II) RADEON(0): 36000090100000180000000f00000000 [ 45775.342] (II) RADEON(0): 00000000000000000020000000fe0041 [ 45775.343] (II) RADEON(0): 554f0a202020202020202020000000fe [ 45775.343] (II) RADEON(0): 004231313658573033205632200a00e6 [ 45775.343] (II) RADEON(0): Printing probed modes for output LVDS [ 45775.343] (II) RADEON(0): Modeline "1366x768"x60.0 69.30 1366 1414 1446 1456 768 771 777 793 -hsync -vsync (47.6 kHz eP) [ 45775.343] (II) RADEON(0): Modeline "1280x720"x60.0 74.65 1280 1344 1472 1664 720 723 728 748 -hsync +vsync (44.9 kHz) [ 45775.343] (II) RADEON(0): Modeline "1152x768"x59.9 71.95 1152 1216 1328 1504 768 771 781 798 -hsync +vsync (47.8 kHz) [ 45775.343] (II) RADEON(0): Modeline "1024x768"x59.9 63.53 1024 1072 1176 1328 768 771 775 798 -hsync +vsync (47.8 kHz) [ 45775.343] (II) RADEON(0): Modeline "800x600"x60.0 38.31 800 832 912 1024 600 603 607 624 -hsync +vsync (37.4 kHz) [ 45775.343] (II) RADEON(0): Modeline "848x480"x59.9 31.65 848 872 952 1056 480 483 493 500 -hsync +vsync (30.0 kHz) [ 45775.343] (II) RADEON(0): Modeline "720x480"x59.9 26.85 720 744 808 896 480 483 493 500 -hsync +vsync (30.0 kHz) [ 45775.343] (II) RADEON(0): Modeline "640x480"x59.9 23.98 640 664 720 800 480 483 487 500 -hsync +vsync (30.0 kHz) [ 45775.344] (II) RADEON(0): EDID for output HDMI-0 [ 45775.360] (II) RADEON(0): EDID for output VGA-0 [ 45775.360] (II) RADEON(0): Output LVDS connected [ 45775.360] (II) RADEON(0): Output HDMI-0 disconnected [ 45775.360] (II) RADEON(0): Output VGA-0 disconnected [ 45775.360] (II) RADEON(0): Using exact sizes for initial modes [ 45775.360] (II) RADEON(0): Output LVDS using initial mode 1366x768 +0+0 [ 45775.361] (II) RADEON(0): mem size init: gart size :3fdde000 vram size: s:10000000 visible:f87a000 [ 45775.361] (==) RADEON(0): DPI set to (96, 96) [ 45775.361] (==) RADEON(0): Using gamma correction (1.0, 1.0, 1.0) [ 45775.361] (II) Loading sub module "ramdac" [ 45775.361] (II) LoadModule: "ramdac" [ 45775.361] (II) Module "ramdac" already built-in [ 45775.361] (II) UnloadModule: "modesetting" [ 45775.361] (II) Unloading modesetting [ 45775.361] (II) UnloadModule: "fbdev" [ 45775.361] (II) Unloading fbdev [ 45775.361] (II) UnloadSubModule: "fbdevhw" [ 45775.362] (II) Unloading fbdevhw [ 45775.362] (II) UnloadModule: "vesa" [ 45775.362] (II) Unloading vesa [ 45775.362] (II) RADEON(0): [DRI2] Setup complete [ 45775.362] (II) RADEON(0): [DRI2] DRI driver: r600 [ 45775.362] (II) RADEON(0): [DRI2] VDPAU driver: r600 [ 45775.363] (II) RADEON(0): Front buffer size: 4128K [ 45775.363] (II) RADEON(0): VRAM usage limit set to 225252K [ 45775.363] (II) RADEON(0): SYNC extension fences enabled [ 45775.363] (II) RADEON(0): Present extension enabled [ 45775.364] (==) RADEON(0): DRI3 enabled [ 45775.364] (==) RADEON(0): Backing store enabled [ 45775.364] (II) RADEON(0): Direct rendering enabled [ 45775.479] (II) RADEON(0): Use GLAMOR acceleration. [ 45775.479] (II) RADEON(0): Acceleration enabled [ 45775.479] (==) RADEON(0): DPMS enabled [ 45775.479] (==) RADEON(0): Silken mouse enabled [ 45775.480] (II) RADEON(0): Set up textured video (glamor) [ 45775.480] (II) RADEON(0): [XvMC] Associated with GLAMOR Textured Video. [ 45775.480] (II) RADEON(0): [XvMC] Extension initialized. [ 45775.481] (II) Initializing extension Generic Event Extension [ 45775.482] (II) Initializing extension SHAPE [ 45775.483] (II) Initializing extension MIT-SHM [ 45775.483] (II) Initializing extension XInputExtension [ 45775.485] (II) Initializing extension XTEST [ 45775.485] (II) Initializing extension BIG-REQUESTS [ 45775.486] (II) Initializing extension SYNC [ 45775.487] (II) Initializing extension XKEYBOARD [ 45775.488] (II) Initializing extension XC-MISC [ 45775.489] (II) Initializing extension SECURITY [ 45775.490] (II) Initializing extension XFIXES [ 45775.491] (II) Initializing extension RENDER [ 45775.492] (II) Initializing extension RANDR [ 45775.493] (II) Initializing extension COMPOSITE [ 45775.494] (II) Initializing extension DAMAGE [ 45775.495] (II) Initializing extension MIT-SCREEN-SAVER [ 45775.496] (II) Initializing extension DOUBLE-BUFFER [ 45775.497] (II) Initializing extension RECORD [ 45775.497] (II) Initializing extension DPMS [ 45775.498] (II) Initializing extension Present [ 45775.499] (II) Initializing extension DRI3 [ 45775.500] (II) Initializing extension X-Resource [ 45775.501] (II) Initializing extension XVideo [ 45775.502] (II) Initializing extension XVideo-MotionCompensation [ 45775.502] (II) Initializing extension SELinux [ 45775.502] (II) SELinux: Disabled on system [ 45775.502] (II) Initializing extension GLX [ 45775.547] (II) AIGLX: Loaded and initialized r600 [ 45775.547] (II) GLX: Initialized DRI2 GL provider for screen 0 [ 45775.547] (II) Initializing extension XFree86-VidModeExtension [ 45775.548] (II) Initializing extension XFree86-DGA [ 45775.549] (II) Initializing extension XFree86-DRI [ 45775.549] (II) Initializing extension DRI2 [ 45775.551] (II) RADEON(0): Setting screen physical size to 361 x 203 [ 45775.816] (II) config/udev: Adding input device Power Button (/dev/input/event4) [ 45775.816] (**) Power Button: Applying InputClass "libinput keyboard catchall" [ 45775.816] (II) LoadModule: "libinput" [ 45775.817] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so [ 45775.825] (II) Module libinput: vendor="X.Org Foundation" [ 45775.825] compiled for 1.21.1.3, module version = 1.2.1 [ 45775.825] Module class: X.Org XInput Driver [ 45775.825] ABI class: X.Org XInput driver, version 24.4 [ 45775.825] (II) Using input driver 'libinput' for 'Power Button' [ 45775.825] (**) Power Button: always reports core events [ 45775.825] (**) Option "Device" "/dev/input/event4" [ 45775.839] (II) event4 - Power Button: is tagged by udev as: Keyboard [ 45775.840] (II) event4 - Power Button: device is a keyboard [ 45775.840] (II) event4 - Power Button: device removed [ 45775.860] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input5/event4" [ 45775.860] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6) [ 45775.861] (**) Option "xkb_model" "pc105" [ 45775.861] (**) Option "xkb_layout" "us" [ 45775.861] (**) Option "xkb_variant" "dvorak" [ 45775.981] (II) event4 - Power Button: is tagged by udev as: Keyboard [ 45775.982] (II) event4 - Power Button: device is a keyboard [ 45775.986] (II) config/udev: Adding input device Video Bus (/dev/input/event5) [ 45775.986] (**) Video Bus: Applying InputClass "libinput keyboard catchall" [ 45775.986] (II) Using input driver 'libinput' for 'Video Bus' [ 45775.986] (**) Video Bus: always reports core events [ 45775.986] (**) Option "Device" "/dev/input/event5" [ 45775.991] (II) event5 - Video Bus: is tagged by udev as: Keyboard [ 45775.991] (II) event5 - Video Bus: device is a keyboard [ 45775.992] (II) event5 - Video Bus: device removed [ 45776.028] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input6/event5" [ 45776.028] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7) [ 45776.028] (**) Option "xkb_model" "pc105" [ 45776.028] (**) Option "xkb_layout" "us" [ 45776.029] (**) Option "xkb_variant" "dvorak" [ 45776.036] (II) event5 - Video Bus: is tagged by udev as: Keyboard [ 45776.037] (II) event5 - Video Bus: device is a keyboard [ 45776.041] (II) config/udev: Adding input device Power Button (/dev/input/event1) [ 45776.041] (**) Power Button: Applying InputClass "libinput keyboard catchall" [ 45776.041] (II) Using input driver 'libinput' for 'Power Button' [ 45776.041] (**) Power Button: always reports core events [ 45776.041] (**) Option "Device" "/dev/input/event1" [ 45776.064] (II) event1 - Power Button: is tagged by udev as: Keyboard [ 45776.065] (II) event1 - Power Button: device is a keyboard [ 45776.066] (II) event1 - Power Button: device removed [ 45776.084] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input2/event1" [ 45776.084] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 8) [ 45776.084] (**) Option "xkb_model" "pc105" [ 45776.084] (**) Option "xkb_layout" "us" [ 45776.084] (**) Option "xkb_variant" "dvorak" [ 45776.091] (II) event1 - Power Button: is tagged by udev as: Keyboard [ 45776.092] (II) event1 - Power Button: device is a keyboard [ 45776.096] (II) config/udev: Adding input device Lid Switch (/dev/input/event3) [ 45776.096] (II) No input driver specified, ignoring this device. [ 45776.096] (II) This device may have been added with another device file. [ 45776.099] (II) config/udev: Adding input device Sleep Button (/dev/input/event2) [ 45776.100] (**) Sleep Button: Applying InputClass "libinput keyboard catchall" [ 45776.100] (II) Using input driver 'libinput' for 'Sleep Button' [ 45776.100] (**) Sleep Button: always reports core events [ 45776.100] (**) Option "Device" "/dev/input/event2" [ 45776.105] (II) event2 - Sleep Button: is tagged by udev as: Keyboard [ 45776.106] (II) event2 - Sleep Button: device is a keyboard [ 45776.107] (II) event2 - Sleep Button: device removed [ 45776.124] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input3/event2" [ 45776.124] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 9) [ 45776.124] (**) Option "xkb_model" "pc105" [ 45776.124] (**) Option "xkb_layout" "us" [ 45776.124] (**) Option "xkb_variant" "dvorak" [ 45776.131] (II) event2 - Sleep Button: is tagged by udev as: Keyboard [ 45776.132] (II) event2 - Sleep Button: device is a keyboard [ 45776.138] (II) config/udev: Adding input device HD-Audio Generic HDMI/DP,pcm=3 (/dev/input/event10) [ 45776.138] (II) No input driver specified, ignoring this device. [ 45776.138] (II) This device may have been added with another device file. [ 45776.144] (II) config/udev: Adding input device A4Tech USB Mouse (/dev/input/event8) [ 45776.144] (**) A4Tech USB Mouse: Applying InputClass "libinput pointer catchall" [ 45776.144] (II) Using input driver 'libinput' for 'A4Tech USB Mouse' [ 45776.144] (**) A4Tech USB Mouse: always reports core events [ 45776.144] (**) Option "Device" "/dev/input/event8" [ 45776.213] (II) event8 - A4Tech USB Mouse: is tagged by udev as: Mouse [ 45776.214] (II) event8 - A4Tech USB Mouse: device is a pointer [ 45776.215] (II) event8 - A4Tech USB Mouse: device removed [ 45776.252] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:12.0/usb3/3-3/3-3:1.0/0003:09DA:000A.0001/input/input9/event8" [ 45776.253] (II) XINPUT: Adding extended input device "A4Tech USB Mouse" (type: MOUSE, id 10) [ 45776.254] (**) Option "AccelerationScheme" "none" [ 45776.254] (**) A4Tech USB Mouse: (accel) selected scheme none/0 [ 45776.254] (**) A4Tech USB Mouse: (accel) acceleration factor: 2.000 [ 45776.254] (**) A4Tech USB Mouse: (accel) acceleration threshold: 4 [ 45776.325] (II) event8 - A4Tech USB Mouse: is tagged by udev as: Mouse [ 45776.326] (II) event8 - A4Tech USB Mouse: device is a pointer [ 45776.332] (II) config/udev: Adding input device A4Tech USB Mouse (/dev/input/mouse1) [ 45776.333] (II) No input driver specified, ignoring this device. [ 45776.333] (II) This device may have been added with another device file. [ 45776.338] (II) config/udev: Adding input device WebCam: WebCam (/dev/input/event11) [ 45776.338] (**) WebCam: WebCam: Applying InputClass "libinput keyboard catchall" [ 45776.338] (II) Using input driver 'libinput' for 'WebCam: WebCam' [ 45776.338] (**) WebCam: WebCam: always reports core events [ 45776.338] (**) Option "Device" "/dev/input/event11" [ 45776.347] (II) event11 - WebCam: WebCam: is tagged by udev as: Keyboard [ 45776.348] (II) event11 - WebCam: WebCam: device is a keyboard [ 45776.349] (II) event11 - WebCam: WebCam: device removed [ 45776.380] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:13.2/usb2/2-1/2-1:1.0/input/input12/event11" [ 45776.380] (II) XINPUT: Adding extended input device "WebCam: WebCam" (type: KEYBOARD, id 11) [ 45776.380] (**) Option "xkb_model" "pc105" [ 45776.380] (**) Option "xkb_layout" "us" [ 45776.380] (**) Option "xkb_variant" "dvorak" [ 45776.391] (II) event11 - WebCam: WebCam: is tagged by udev as: Keyboard [ 45776.391] (II) event11 - WebCam: WebCam: device is a keyboard [ 45776.395] (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event12) [ 45776.395] (II) No input driver specified, ignoring this device. [ 45776.395] (II) This device may have been added with another device file. [ 45776.398] (II) config/udev: Adding input device HDA ATI SB Mic (/dev/input/event13) [ 45776.398] (II) No input driver specified, ignoring this device. [ 45776.398] (II) This device may have been added with another device file. [ 45776.401] (II) config/udev: Adding input device HDA ATI SB Mic (/dev/input/event14) [ 45776.401] (II) No input driver specified, ignoring this device. [ 45776.401] (II) This device may have been added with another device file. [ 45776.404] (II) config/udev: Adding input device HDA ATI SB Headphone (/dev/input/event15) [ 45776.404] (II) No input driver specified, ignoring this device. [ 45776.404] (II) This device may have been added with another device file. [ 45776.408] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0) [ 45776.408] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall" [ 45776.408] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard' [ 45776.408] (**) AT Translated Set 2 keyboard: always reports core events [ 45776.409] (**) Option "Device" "/dev/input/event0" [ 45776.415] (II) event0 - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard [ 45776.416] (II) event0 - AT Translated Set 2 keyboard: device is a keyboard [ 45776.421] (II) event0 - AT Translated Set 2 keyboard: device removed [ 45776.440] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input0/event0" [ 45776.440] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 12) [ 45776.440] (**) Option "xkb_model" "pc105" [ 45776.440] (**) Option "xkb_layout" "us" [ 45776.440] (**) Option "xkb_variant" "dvorak" [ 45776.448] (II) event0 - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard [ 45776.449] (II) event0 - AT Translated Set 2 keyboard: device is a keyboard [ 45776.458] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event6) [ 45776.458] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "libinput touchpad catchall" [ 45776.458] (II) Using input driver 'libinput' for 'SynPS/2 Synaptics TouchPad' [ 45776.458] (**) SynPS/2 Synaptics TouchPad: always reports core events [ 45776.458] (**) Option "Device" "/dev/input/event6" [ 45776.464] (II) event6 - SynPS/2 Synaptics TouchPad: is tagged by udev as: Touchpad [ 45776.472] (II) event6 - SynPS/2 Synaptics TouchPad: device is a touchpad [ 45776.473] (II) event6 - SynPS/2 Synaptics TouchPad: device removed [ 45776.507] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input7/event6" [ 45776.507] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD, id 13) [ 45776.511] (**) Option "AccelerationScheme" "none" [ 45776.511] (**) SynPS/2 Synaptics TouchPad: (accel) selected scheme none/0 [ 45776.512] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000 [ 45776.512] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4 [ 45776.518] (II) event6 - SynPS/2 Synaptics TouchPad: is tagged by udev as: Touchpad [ 45776.525] (II) event6 - SynPS/2 Synaptics TouchPad: device is a touchpad [ 45776.530] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse0) [ 45776.531] (II) No input driver specified, ignoring this device. [ 45776.531] (II) This device may have been added with another device file. [ 45776.534] (II) config/udev: Adding input device PC Speaker (/dev/input/event7) [ 45776.534] (II) No input driver specified, ignoring this device. [ 45776.534] (II) This device may have been added with another device file. [ 45776.539] (II) config/udev: Adding input device Acer WMI hotkeys (/dev/input/event9) [ 45776.539] (**) Acer WMI hotkeys: Applying InputClass "libinput keyboard catchall" [ 45776.539] (II) Using input driver 'libinput' for 'Acer WMI hotkeys' [ 45776.539] (**) Acer WMI hotkeys: always reports core events [ 45776.539] (**) Option "Device" "/dev/input/event9" [ 45776.543] (II) event9 - Acer WMI hotkeys: is tagged by udev as: Keyboard [ 45776.544] (II) event9 - Acer WMI hotkeys: device is a keyboard [ 45776.545] (II) event9 - Acer WMI hotkeys: device removed [ 45776.564] (**) Option "config_info" "udev:/sys/devices/virtual/input/input10/event9" [ 45776.564] (II) XINPUT: Adding extended input device "Acer WMI hotkeys" (type: KEYBOARD, id 14) [ 45776.564] (**) Option "xkb_model" "pc105" [ 45776.564] (**) Option "xkb_layout" "us" [ 45776.564] (**) Option "xkb_variant" "dvorak" [ 45776.570] (II) event9 - Acer WMI hotkeys: is tagged by udev as: Keyboard [ 45776.570] (II) event9 - Acer WMI hotkeys: device is a keyboard [ 45783.717] (II) Axis 0x1 value 577 is outside expected range [1224, 5269] See https://wayland.freedesktop.org/libinput/doc/1.22.1/absolute_coordinate_ranges.html for details [ 45789.511] (II) RADEON(0): EDID vendor "AUO", prod id 12892 [ 45789.512] (II) RADEON(0): Printing DDC gathered Modelines: [ 45789.512] (II) RADEON(0): Modeline "1366x768"x0.0 69.30 1366 1414 1446 1456 768 771 777 793 -hsync -vsync (47.6 kHz eP) [ 45789.535] (II) RADEON(0): EDID vendor "AUO", prod id 12892 [ 45789.535] (II) RADEON(0): Printing DDC gathered Modelines: [ 45789.535] (II) RADEON(0): Modeline "1366x768"x0.0 69.30 1366 1414 1446 1456 768 771 777 793 -hsync -vsync (47.6 kHz eP) [ 45789.561] (II) RADEON(0): EDID vendor "AUO", prod id 12892 [ 45789.561] (II) RADEON(0): Printing DDC gathered Modelines: [ 45789.561] (II) RADEON(0): Modeline "1366x768"x0.0 69.30 1366 1414 1446 1456 768 771 777 793 -hsync -vsync (47.6 kHz eP) [ 45789.589] (II) RADEON(0): EDID vendor "AUO", prod id 12892 [ 45789.589] (II) RADEON(0): Printing DDC gathered Modelines: [ 45789.589] (II) RADEON(0): Modeline "1366x768"x0.0 69.30 1366 1414 1446 1456 768 771 777 793 -hsync -vsync (47.6 kHz eP) [ 45791.499] (II) RADEON(0): EDID vendor "AUO", prod id 12892 [ 45791.499] (II) RADEON(0): Printing DDC gathered Modelines: [ 45791.499] (II) RADEON(0): Modeline "1366x768"x0.0 69.30 1366 1414 1446 1456 768 771 777 793 -hsync -vsync (47.6 kHz eP) [ 45795.452] (II) RADEON(0): EDID vendor "AUO", prod id 12892 [ 45795.453] (II) RADEON(0): Printing DDC gathered Modelines: [ 45795.453] (II) RADEON(0): Modeline "1366x768"x0.0 69.30 1366 1414 1446 1456 768 771 777 793 -hsync -vsync (47.6 kHz eP) [ 45850.500] [Xi] Too many valuators reported for device 'Virtual core pointer'. Ignoring event. [ 45851.548] [Xi] Too many valuators reported for device 'Virtual core pointer'. Ignoring event. [ 45861.492] [Xi] Too many valuators reported for device 'Virtual core pointer'. Ignoring event. [ 45861.868] [Xi] Too many valuators reported for device 'Virtual core pointer'. Ignoring event. [ 45866.189] [Xi] Too many valuators reported for device 'Virtual core pointer'. Ignoring event. [ 45870.750] [Xi] Too many valuators reported for device 'Virtual core pointer'. Ignoring event. [ 45870.780] [Xi] Too many valuators reported for device 'Virtual core pointer'. Ignoring event. [ 45871.092] [Xi] Too many valuators reported for device 'Virtual core pointer'. Ignoring event. [ 45893.268] [Xi] Too many valuators reported for device 'Virtual core pointer'. Ignoring event. [ 45903.561] [Xi] Too many valuators reported for device 'Virtual core pointer'. Ignoring event. [ 45903.566] [Xi] Too many valuators reported for device 'Virtual core pointer'. Ignoring event. [ 45914.710] [Xi] Too many valuators reported for device 'Virtual core pointer'. Ignoring event. [ 45914.912] [Xi] Too many valuators reported for device 'Virtual core pointer'. Ignoring event. [ 45918.044] [Xi] Too many valuators reported for device 'Virtual core pointer'. Ignoring event. [ 45921.092] [Xi] Too many valuators reported for device 'Virtual core pointer'. Ignoring event. [ 45946.684] [Xi] Too many valuators reported for device 'Virtual core pointer'. Ignoring event. [ 45949.584] [Xi] Too many valuators reported for device 'Virtual core pointer'. Ignoring event. [ 47293.176] [Xi] Too many valuators reported for device 'Virtual core pointer'. Ignoring event. -- System Information: Debian Release: 12.6 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Kernel: Linux 6.1.0-22-686-pae (SMP w/2 CPU threads; PREEMPT) Kernel taint flags: TAINT_WARN Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages xserver-xorg-core depends on: ii keyboard-configuration 1.221 ii libaudit1 1:3.0.9-1 ii libbsd0 0.11.7-2 ii libc6 2.36-9+deb12u8 ii libdbus-1-3 1.14.10-1~deb12u1 ii libdrm2 2.4.114-1+b1 ii libegl1 1.6.0-1 ii libepoxy0 1.5.10-1 ii libgbm1 22.3.6-1+deb12u1 ii libgcrypt20 1.10.1-3 ii libgl1 1.6.0-1 ii libpciaccess0 0.17-2 ii libpixman-1-0 0.42.2-1 ii libselinux1 3.4-1+b6 ii libsystemd0 252.30-1~deb12u2 ii libudev1 252.30-1~deb12u2 ii libunwind8 1.6.2-3 ii libxau6 1:1.0.9-1 ii libxcvt0 0.1.2-1 ii libxdmcp6 1:1.1.2-3 ii libxfont2 1:2.0.6-1 ii libxshmfence1 1.3-1 ii udev 252.30-1~deb12u2 ii xserver-common 2:21.1.7-3+deb12u7 Versions of packages xserver-xorg-core recommends: ii libgl1-mesa-dri 22.3.6-1+deb12u1 ii libpam-systemd [logind] 252.30-1~deb12u2 ii xcvt 0.1.2-1 Versions of packages xserver-xorg-core suggests: pn xfonts-100dpi | xfonts-75dpi <none> pn xfonts-scalable <none> -- no debconf information
commit dc7cb45482cea6ccec22d117ca0b489500b4d0a0 Author: tholin <thomas.lindr...@gmail.com> Date: Tue Jan 4 12:08:11 2022 +0000 dix: Hold input lock for AttachDevice() Fix the following race: Possible data race during read of size 8 at 0xA112510 by thread #6 Locks held: 1, at address 0x366B40 at 0x14C8B9: GetMaster (devices.c:2691) by 0x15CFC5: IsFloating (events.c:346) by 0x2B9554: miPointerGetScreen (mipointer.c:527) by 0x1A5136: xf86PostButtonEventM (xf86Xinput.c:1379) by 0x1A52BD: xf86PostButtonEvent (xf86Xinput.c:1345) by 0x485F45B: EvdevProcessEvent (in /usr/lib64/xorg/modules/input/evdev_drv.so) by 0x485FDAC: EvdevReadInput (in /usr/lib64/xorg/modules/input/evdev_drv.so) by 0x195427: xf86ReadInput (xf86Events.c:247) by 0x2CC113: InputReady (inputthread.c:180) by 0x2CE4EA: ospoll_wait (ospoll.c:657) by 0x2CC077: InputThreadDoWork (inputthread.c:369) by 0x484A336: mythread_wrapper (hg_intercepts.c:406) This conflicts with a previous write of size 8 by thread #1 Locks held: none at 0x14D2C6: AttachDevice (devices.c:2609) by 0x15CF85: ReattachToOldMaster (events.c:1457) by 0x1647DD: DeactivateKeyboardGrab (events.c:1700) by 0x25D7F1: ProcXIUngrabDevice (xigrabdev.c:169) by 0x2552AD: ProcIDispatch (extinit.c:398) by 0x155291: Dispatch (dispatch.c:479) by 0x158CBA: dix_main (main.c:276) by 0x143A3D: main (stubmain.c:34) Address 0xa112510 is 336 bytes inside a block of size 904 alloc'd at 0x4846571: calloc (vg_replace_malloc.c:1328) by 0x14A0B3: AddInputDevice (devices.c:260) by 0x1A31A0: xf86ActivateDevice (xf86Xinput.c:365) by 0x1A4549: xf86NewInputDevice (xf86Xinput.c:948) by 0x1A4B44: NewInputDeviceRequest (xf86Xinput.c:1090) by 0x1B81FE: device_added (udev.c:282) by 0x1B8516: config_udev_init (udev.c:439) by 0x1B7091: config_init (config.c:50) by 0x197970: InitInput (xf86Init.c:814) by 0x158C6B: dix_main (main.c:250) by 0x143A3D: main (stubmain.c:34) Block was alloc'd by thread #1 The steps to trigger the race are: 1. Main thread does cleanup at mipointer.c:360 setting the slave device's miPointerPtr to null. 2. Input thread use MIPOINTER in mipointer.c and get the slave's miPointerPtr = null. 3. Main thread updates dev->master at devices.c:2609. 4. MIPOINTER would now return the master's miPointerPtr but the input thread already got the slave's miPointerPtr in step 2 and segfaults by null ptr deref. Closes: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1260 Signed-off-by: Thomas Lindroth <thomas.lindr...@gmail.com> diff --git a/dix/devices.c b/dix/devices.c index 5bf956ead..e62c34c55 100644 --- a/dix/devices.c +++ b/dix/devices.c @@ -2622,6 +2622,8 @@ AttachDevice(ClientPtr client, DeviceIntPtr dev, DeviceIntPtr master) if (IsFloating(dev) && !master && dev->enabled) return Success; + input_lock(); + /* free the existing sprite. */ if (IsFloating(dev) && dev->spriteInfo->paired == dev) { screen = miPointerGetScreen(dev); @@ -2662,6 +2664,7 @@ AttachDevice(ClientPtr client, DeviceIntPtr dev, DeviceIntPtr master) RecalculateMasterButtons(master); } + input_unlock(); /* XXX: in theory, the MD should change back to its old, original * classes when the last SD is detached. Thanks to the XTEST devices, * we'll always have an SD attached until the MD is removed.