On Wed, Nov 22, 2023 at 08:34:22PM +0000, Mike Pumford wrote: > > > On 18/11/2023 11:34, tlaro...@kergis.com wrote: > > On Sat, Nov 18, 2023 at 11:14:12AM +0000, Mike Pumford wrote: > > Yes, there has been a major refactoring in the Linux code regarding > > headers for example. The whole Linux drm-kms is a (fast) moving > > target... > I found a better source for patch inspiration :). The FreeBSD drm_kmod > repositories. I've had some success by looking at the 5.6 branch there which > is a nice close match to what NetBSD 10 has. > > Found this change: > > https://github.com/freebsd/drm-kmod/commit/1e9cdf6cddb369f7f5ad14203c4bb487520369f7 > > And translated it into the patch attached to this message. A kernel with > this patch boots and runs X successfully Still see a little bit of cache > tearing but its better than it was on 9.x (and there are some other patches > I've found that might address those). > > So this fixes kern/57268 (which I raised). I'll send the patch to that later > but I thought I'd share as I know a couple of you are also suffering with > similar issues that this might fix > > > > Snippet from Xorg.0.log > [ 30.585] ABI class: X.Org ANSI C Emulation, version 0.4 > [ 30.623] (II) modeset(0): glamor X acceleration enabled on Mesa DRI > Intel(R) Haswell Desktop > [ 30.623] (II) modeset(0): glamor initialized > > Tested both firefox and thunderbird including video playback in firefox with > no issues. > > Mike
> ? sys/external/bsd/drm2/dist/drm/i915/gt/intel_workarounds-mp.c > ? sys/external/bsd/drm2/dist/drm/i915/gt/intel_workarounds_linux.c > Index: sys/external/bsd/drm2/dist/drm/i915/i915_pci.c > =================================================================== > RCS file: /cvsroot/src/sys/external/bsd/drm2/dist/drm/i915/i915_pci.c,v > retrieving revision 1.4 > diff -u -r1.4 i915_pci.c > --- sys/external/bsd/drm2/dist/drm/i915/i915_pci.c 19 Dec 2021 01:44:49 > -0000 1.4 > +++ sys/external/bsd/drm2/dist/drm/i915/i915_pci.c 22 Nov 2023 20:32:34 > -0000 > @@ -442,7 +442,7 @@ > .has_rc6 = 1, \ > .has_rc6p = 1, \ > .has_rps = true, \ > - .ppgtt_type = INTEL_PPGTT_FULL, \ > + .ppgtt_type = INTEL_PPGTT_ALIASING, \ > .ppgtt_size = 31, \ > IVB_PIPE_OFFSETS, \ > IVB_CURSOR_OFFSETS, \ > @@ -499,7 +499,7 @@ > .has_rps = true, > .display.has_gmch = 1, > .display.has_hotplug = 1, > - .ppgtt_type = INTEL_PPGTT_FULL, > + .ppgtt_type = INTEL_PPGTT_ALIASING, > .ppgtt_size = 31, > .has_snoop = true, > .has_coherent_ggtt = false, I have also an i915, but of a different model/generation. My node has both an integrated i915 and a discrete Radeon "ATI Radeon HD 5450". My kernel is 10.99.10 (amd64) with some modifications (userconf and dev/videomode) but that should not make a difference. Your patch is not applied. I have enabled the i915 from the BIOS and enabled both GPU cards. After having connected the monitor to the i915, I booted. Xorg was unable to automatically configure (apparently, at least, it needs to have monitors connected to each card---or so does it spit out). Having redone my /etc/X11/xorg.conf by hand (but I didn't manage to have a config with both cards enabled), with "intel" selected, startx worked but some parts where "hashed" for example when selecting text. When trying the config as root with Xorg -config /etc/X11/xorg.conf, there was the classical grey houndstooth but tearing. The clipboard didn't work right and there was tearing when I selected text for example. After having completed the xorg.conf specifying "GPUDevice" in the ServerLayout: - Xorg wasn't beating around the bush anymore; - The rendering is quite correct. GL works (glxinfo announces so; webgl is working in Firefox). Another very suspicious thing: before (including under NetBSD 9.), I haven't the EDID in Xorg.log. Now, it is there... (but it was before I dictated the GPUDevice). I think the crux is that we can not rely on "automagic" X configuration and the more precise the xorg.conf is, the better the result. But once more, I have not exactly the same i915 as you. I have attached my Xorg.0.log for reference. -- Thierry Laronde <tlaronde +AT+ kergis +dot+ com> http://www.kergis.com/ http://kertex.kergis.com/ Key fingerprint = 0FF7 E906 FBAF FE95 FD89 250D 52B1 AE95 6006 F40C
[ 4365.591] X.Org X Server 1.21.1.8 X Protocol Version 11, Revision 0 [ 4365.591] Current Operating System: NetBSD cauchy.polynum.local 10.99.10 NetBSD 10.99.10 (CAUCHY) #2: Tue Nov 28 08:51:31 CET 2023 tlaronde@cauchy.polynum.local:/data/m/netbsd-10.99/sys/arch/amd64/compile/CAUCHY amd64 [ 4365.591] [ 4365.591] Current version of pixman: 0.38.4 [ 4365.591] Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [ 4365.591] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 4365.591] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Nov 30 13:41:48 2023 [ 4365.591] (==) Using config file: "/etc/X11/xorg.conf" [ 4365.592] (==) ServerLayout "Customized" [ 4365.592] (**) |-->Screen "Screen1" (1) [ 4365.592] (**) | |-->Monitor "E2008HDS" [ 4365.592] (**) | |-->Device "Card1" [ 4365.592] (**) | |-->GPUDevice "Card1" [ 4365.592] (**) |-->Input Device "Mouse0" [ 4365.592] (**) |-->Input Device "Keyboard0" [ 4365.592] (==) Automatically adding devices [ 4365.592] (==) Automatically enabling devices [ 4365.592] (==) Not automatically adding GPU devices [ 4365.592] (==) Automatically binding GPU devices [ 4365.592] (==) Max clients allowed: 256, resource mask: 0x1fffff [ 4365.592] (==) FontPath set to: /usr/X11R7/lib/X11/fonts/misc/, /usr/X11R7/lib/X11/fonts/TTF/, /usr/X11R7/lib/X11/fonts/Type1/, /usr/X11R7/lib/X11/fonts/75dpi/, /usr/X11R7/lib/X11/fonts/100dpi/, /usr/pkg/share/fonts/X11/misc/, /usr/pkg/share/fonts/X11/TTF/, /usr/pkg/share/fonts/X11/Type1/, /usr/pkg/share/fonts/X11/75dpi/, /usr/pkg/share/fonts/X11/100dpi/ [ 4365.592] (**) ModulePath set to "/usr/X11R7/lib/modules" [ 4365.592] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled. [ 4365.592] (WW) Disabling Mouse0 [ 4365.592] (WW) Disabling Keyboard0 [ 4365.592] (II) Loader magic: 0x12fe687a0 [ 4365.592] (II) Module ABI versions: [ 4365.592] X.Org ANSI C Emulation: 0.4 [ 4365.592] X.Org Video Driver: 25.2 [ 4365.592] X.Org XInput driver : 24.4 [ 4365.592] X.Org Server Extension : 10.0 [ 4365.597] (--) PCI:*(0@0:2:0) 8086:0402:1462:7823 rev 6, Mem @ 0xf7400000/4194304, 0xd0000000/268435456, I/O @ 0x0000f000/64 [ 4365.597] (--) PCI: (1@1:0:0) 1002:68f9:174b:e164 rev 0, Mem @ 0xe0000000/268435456, 0xf7b20000/131072, I/O @ 0x0000e000/256, BIOS @ 0x????????/131072 [ 4365.597] (II) "glx" will be loaded. This was enabled by default and also specified in the config file. [ 4365.597] (II) LoadModule: "dbe" [ 4365.597] (II) Module "dbe" already built-in [ 4365.597] (II) LoadModule: "dri" [ 4365.597] (II) Module "dri" already built-in [ 4365.597] (II) LoadModule: "dri2" [ 4365.597] (II) Module "dri2" already built-in [ 4365.597] (II) LoadModule: "extmod" [ 4365.597] (II) Module "extmod" already built-in [ 4365.597] (II) LoadModule: "glx" [ 4365.598] (II) Loading /usr/X11R7/lib/modules/extensions/libglx.so [ 4365.598] (II) Module glx: vendor="X.Org Foundation" [ 4365.598] compiled for 1.21.1.8, module version = 1.0.0 [ 4365.598] ABI class: X.Org Server Extension, version 10.0 [ 4365.598] (II) LoadModule: "record" [ 4365.598] (II) Module "record" already built-in [ 4365.598] (II) LoadModule: "intel" [ 4365.598] (II) Loading /usr/X11R7/lib/modules/drivers/intel_drv.so [ 4365.598] (II) Module intel: vendor="X.Org Foundation" [ 4365.598] compiled for 1.21.1.8, module version = 2.99.917 [ 4365.598] Module class: X.Org Video Driver [ 4365.598] ABI class: X.Org Video Driver, version 25.2 [ 4365.599] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets: i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, 915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45, 4 Series, G45/G43, Q45/Q43, G41, B43 [ 4365.599] (II) intel: Driver for Intel(R) HD Graphics [ 4365.599] (II) intel: Driver for Intel(R) Iris(TM) Graphics [ 4365.599] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics [ 4365.599] (--) Using wscons driver on /dev/ttyE4 in pcvt compatibility mode (version 3.32) [ 4365.599] (--) using VT number 5 [ 4365.618] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20200114 [ 4365.618] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support [ 4365.618] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics [ 4365.618] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2; using a maximum of 1 threads [ 4365.618] (**) intel(0): Depth 16, (--) framebuffer bpp 16 [ 4365.618] (==) intel(0): RGB weight 565 [ 4365.618] (==) intel(0): Default visual is TrueColor [ 4365.619] (II) intel(0): Output VGA1 using monitor section E2008HDS [ 4365.619] (**) intel(0): Option "PreferredMode" "1600x900_60.00" [ 4365.619] (II) intel(0): Enabled output VGA1 [ 4365.619] (II) intel(0): Output HDMI1 has no monitor section [ 4365.619] (II) intel(0): Enabled output HDMI1 [ 4365.619] (II) intel(0): Output HDMI2 has no monitor section [ 4365.619] (II) intel(0): Enabled output HDMI2 [ 4365.619] (II) intel(0): Output DP1 has no monitor section [ 4365.619] (II) intel(0): Enabled output DP1 [ 4365.619] (II) intel(0): Output HDMI3 has no monitor section [ 4365.619] (II) intel(0): Enabled output HDMI3 [ 4365.619] (--) intel(0): Using a maximum size of 256x256 for hardware cursors [ 4365.619] (II) intel(0): Output VIRTUAL1 has no monitor section [ 4365.619] (II) intel(0): Enabled output VIRTUAL1 [ 4365.619] (II) intel(0): EDID for output DP1 [ 4365.622] (II) intel(0): EDID for output HDMI1 [ 4365.625] (II) intel(0): EDID for output HDMI2 [ 4365.628] (II) intel(0): EDID for output HDMI3 [ 4365.641] (II) intel(0): EDID for output VGA1 [ 4365.641] (II) intel(0): Manufacturer: IVM Model: 539c Serial#: 10036 [ 4365.641] (II) intel(0): Year: 2012 Week: 9 [ 4365.641] (II) intel(0): EDID Version: 1.3 [ 4365.641] (II) intel(0): Analog Display Input, Input Voltage Level: 0.700/0.300 V [ 4365.641] (II) intel(0): Sync: Separate Composite [ 4365.641] (II) intel(0): Max Image Size [cm]: horiz.: 45 vert.: 25 [ 4365.641] (II) intel(0): Gamma: 2.20 [ 4365.641] (II) intel(0): DPMS capabilities: Off; RGB/Color Display [ 4365.641] (II) intel(0): Default color space is primary color space [ 4365.641] (II) intel(0): First detailed timing is preferred mode [ 4365.641] (II) intel(0): redX: 0.650 redY: 0.335 greenX: 0.295 greenY: 0.605 [ 4365.641] (II) intel(0): blueX: 0.145 blueY: 0.075 whiteX: 0.313 whiteY: 0.329 [ 4365.641] (II) intel(0): Supported established timings: [ 4365.641] (II) intel(0): 720x400@70Hz [ 4365.641] (II) intel(0): 640x480@60Hz [ 4365.641] (II) intel(0): 640x480@67Hz [ 4365.641] (II) intel(0): 640x480@72Hz [ 4365.641] (II) intel(0): 640x480@75Hz [ 4365.641] (II) intel(0): 800x600@56Hz [ 4365.641] (II) intel(0): 800x600@60Hz [ 4365.641] (II) intel(0): 800x600@72Hz [ 4365.641] (II) intel(0): 800x600@75Hz [ 4365.641] (II) intel(0): 832x624@75Hz [ 4365.641] (II) intel(0): 1024x768@60Hz [ 4365.641] (II) intel(0): 1024x768@70Hz [ 4365.641] (II) intel(0): 1024x768@75Hz [ 4365.641] (II) intel(0): 1280x1024@75Hz [ 4365.641] (II) intel(0): 1152x864@75Hz [ 4365.641] (II) intel(0): Manufacturer's mask: 0 [ 4365.641] (II) intel(0): Supported standard timings: [ 4365.641] (II) intel(0): #0: hsize: 1280 vsize 720 refresh: 60 vid: 49281 [ 4365.641] (II) intel(0): #1: hsize: 1280 vsize 1024 refresh: 60 vid: 32897 [ 4365.641] (II) intel(0): #2: hsize: 1280 vsize 1024 refresh: 75 vid: 36737 [ 4365.641] (II) intel(0): Supported detailed timing: [ 4365.641] (II) intel(0): clock: 97.8 MHz Image Size: 443 x 249 mm [ 4365.641] (II) intel(0): h_active: 1600 h_sync: 1648 h_sync_end 1680 h_blank_end 1760 h_border: 0 [ 4365.641] (II) intel(0): v_active: 900 v_sync: 903 v_sync_end 908 v_blanking: 926 v_border: 0 [ 4365.641] (II) intel(0): Serial No: 1103020910036 [ 4365.641] (II) intel(0): Ranges: V min: 55 V max: 76 Hz, H min: 30 H max: 84 kHz, PixClock max 175 MHz [ 4365.641] (II) intel(0): Monitor name: PLE2008HDS [ 4365.641] (II) intel(0): EDID (in hex): [ 4365.641] (II) intel(0): 00ffffffffffff0026cd9c5334270000 [ 4365.641] (II) intel(0): 091601030c2d19782eb815a6554b9b25 [ 4365.641] (II) intel(0): 135054bfef8081c08180818f01010101 [ 4365.641] (II) intel(0): 0101010101012f2640a060841a303020 [ 4365.641] (II) intel(0): 3500bbf91000001a000000ff00313130 [ 4365.641] (II) intel(0): 33303230393130303336000000fd0037 [ 4365.641] (II) intel(0): 4c1e5411000a202020202020000000fc [ 4365.641] (II) intel(0): 00504c45323030384844530a202000ae [ 4365.641] (II) intel(0): Printing probed modes for output VGA1 [ 4365.641] (II) intel(0): Modeline "1600x900"x60.0 97.75 1600 1648 1680 1760 900 903 908 926 +hsync -vsync (55.5 kHz eP) [ 4365.641] (II) intel(0): Modeline "1280x1024"x75.0 135.00 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync (80.0 kHz e) [ 4365.641] (II) intel(0): Modeline "1280x1024"x60.0 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync (64.0 kHz e) [ 4365.641] (II) intel(0): Modeline "1152x864"x75.0 108.00 1152 1216 1344 1600 864 865 868 900 +hsync +vsync (67.5 kHz e) [ 4365.641] (II) intel(0): Modeline "1280x720"x60.0 74.25 1280 1390 1430 1650 720 725 730 750 +hsync +vsync (45.0 kHz e) [ 4365.641] (II) intel(0): Modeline "1024x768"x75.0 78.75 1024 1040 1136 1312 768 769 772 800 +hsync +vsync (60.0 kHz e) [ 4365.641] (II) intel(0): Modeline "1024x768"x70.0 75.00 1024 1048 1184 1328 768 771 777 806 -hsync -vsync (56.5 kHz e) [ 4365.641] (II) intel(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz e) [ 4365.641] (II) intel(0): Modeline "832x624"x75.0 57.28 832 864 928 1152 624 625 628 667 -hsync -vsync (49.7 kHz e) [ 4365.641] (II) intel(0): Modeline "800x600"x72.0 50.00 800 856 976 1040 600 637 643 666 +hsync +vsync (48.1 kHz e) [ 4365.641] (II) intel(0): Modeline "800x600"x75.0 49.50 800 816 896 1056 600 601 604 625 +hsync +vsync (46.9 kHz e) [ 4365.641] (II) intel(0): Modeline "800x600"x60.0 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz e) [ 4365.641] (II) intel(0): Modeline "800x600"x56.0 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz e) [ 4365.641] (II) intel(0): Modeline "640x480"x75.0 31.50 640 656 720 840 480 481 484 500 -hsync -vsync (37.5 kHz e) [ 4365.641] (II) intel(0): Modeline "640x480"x73.0 31.50 640 664 704 832 480 489 492 520 -hsync -vsync (37.9 kHz e) [ 4365.641] (II) intel(0): Modeline "640x480"x67.0 30.24 640 704 768 864 480 483 486 525 -hsync -vsync (35.0 kHz e) [ 4365.641] (II) intel(0): Modeline "640x480"x60.0 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz e) [ 4365.641] (II) intel(0): Modeline "720x400"x70.0 28.32 720 738 846 900 400 412 414 449 -hsync +vsync (31.5 kHz e) [ 4365.641] (II) intel(0): EDID for output VIRTUAL1 [ 4365.641] (II) intel(0): Output DP1 disconnected [ 4365.641] (II) intel(0): Output HDMI1 disconnected [ 4365.641] (II) intel(0): Output HDMI2 disconnected [ 4365.641] (II) intel(0): Output HDMI3 disconnected [ 4365.641] (II) intel(0): Output VGA1 connected [ 4365.641] (II) intel(0): Output VIRTUAL1 disconnected [ 4365.641] (II) intel(0): Using exact sizes for initial modes [ 4365.641] (II) intel(0): Output VGA1 using initial mode 1600x900 +0+0 [ 4365.641] (==) intel(0): TearFree enabled [ 4365.641] (==) intel(0): Using gamma correction (1.0, 1.0, 1.0) [ 4365.641] (==) intel(0): DPI set to (96, 96) [ 4365.642] (II) Loading sub module "dri2" [ 4365.642] (II) LoadModule: "dri2" [ 4365.642] (II) Module "dri2" already built-in [ 4365.642] (II) intel(0): SNA initialized with Haswell (gen7.5, gt1) backend [ 4365.642] (==) intel(0): Backing store enabled [ 4365.642] (==) intel(0): Silken mouse enabled [ 4365.642] (II) intel(0): HW Cursor enabled [ 4365.642] (**) intel(0): DPMS enabled [ 4365.642] (II) intel(0): [DRI2] Setup complete [ 4365.642] (II) intel(0): [DRI2] DRI driver: i965 [ 4365.642] (II) intel(0): [DRI2] VDPAU driver: va_gl [ 4365.642] (II) intel(0): direct rendering: DRI2 enabled [ 4365.642] (WW) intel(0): Option "PreferredMode" is not used [ 4365.642] (II) Initializing extension Generic Event Extension [ 4365.642] (II) Initializing extension SHAPE [ 4365.642] (II) Initializing extension MIT-SHM [ 4365.643] (II) Initializing extension XInputExtension [ 4365.643] (II) Initializing extension XTEST [ 4365.643] (II) Initializing extension BIG-REQUESTS [ 4365.643] (II) Initializing extension SYNC [ 4365.644] (II) Initializing extension XKEYBOARD [ 4365.644] (II) Initializing extension XC-MISC [ 4365.644] (II) Initializing extension SECURITY [ 4365.644] (II) Initializing extension XFIXES [ 4365.644] (II) Initializing extension XFree86-Bigfont [ 4365.645] (II) Initializing extension RENDER [ 4365.645] (II) Initializing extension RANDR [ 4365.645] (II) Initializing extension COMPOSITE [ 4365.645] (II) Initializing extension DAMAGE [ 4365.646] (II) Initializing extension MIT-SCREEN-SAVER [ 4365.646] (II) Initializing extension DOUBLE-BUFFER [ 4365.646] (II) Initializing extension RECORD [ 4365.646] (II) Initializing extension DPMS [ 4365.646] (II) Initializing extension Present [ 4365.647] (II) Initializing extension DRI3 [ 4365.647] (II) Initializing extension X-Resource [ 4365.647] (II) Initializing extension XVideo [ 4365.647] (II) Initializing extension XVideo-MotionCompensation [ 4365.647] (II) Initializing extension GLX [ 4365.654] (II) AIGLX: Loaded and initialized i965 [ 4365.654] (II) GLX: Initialized DRI2 GL provider for screen 0 [ 4365.654] (II) Initializing extension XFree86-VidModeExtension [ 4365.654] (II) Initializing extension XFree86-DGA [ 4365.654] (II) Initializing extension XFree86-DRI [ 4365.654] (II) Initializing extension DRI2 [ 4365.657] (II) intel(0): switch to mode 1600x900@60.0 on VGA1 using pipe 0, position (0, 0), rotation normal, reflection none [ 4365.668] (II) intel(0): Setting screen physical size to 423 x 238 [ 4365.759] (II) config/wscons: checking input device /dev/wskbd [ 4365.759] (II) wskbd: using layout fr [ 4365.759] (II) LoadModule: "kbd" [ 4365.759] (II) Loading /usr/X11R7/lib/modules/drivers/kbd_drv.so [ 4365.759] (II) Module kbd: vendor="X.Org Foundation" [ 4365.759] compiled for 1.21.1.8, module version = 2.0.0 [ 4365.759] Module class: X.Org XInput Driver [ 4365.759] ABI class: X.Org XInput driver, version 24.4 [ 4365.759] (II) Using input driver 'kbd' for '/dev/wskbd' [ 4365.759] (**) /dev/wskbd: always reports core events [ 4365.759] (**) /dev/wskbd: always reports core events [ 4365.759] (**) Option "Protocol" "standard" [ 4365.759] (**) Option "XkbRules" "base" [ 4365.759] (**) Option "XkbModel" "pc105" [ 4365.759] (**) Option "XkbLayout" "fr" [ 4365.759] (II) XINPUT: Adding extended input device "/dev/wskbd" (type: KEYBOARD, id 6) [ 4365.794] (II) config/wscons: checking input device /dev/wsmouse [ 4365.794] (II) LoadModule: "ws" [ 4365.794] (II) Loading /usr/X11R7/lib/modules/drivers/ws_drv.so [ 4365.795] (II) Module ws: vendor="X.Org Foundation" [ 4365.795] compiled for 1.21.1.8, module version = 1.3.0 [ 4365.795] Module class: X.Org XInput Driver [ 4365.795] ABI class: X.Org XInput driver, version 24.4 [ 4365.795] (II) Using input driver 'ws' for '/dev/wsmouse' [ 4365.795] (**) /dev/wsmouse: always reports core events [ 4365.795] (II) /dev/wsmouse: debuglevel 0 [ 4365.795] (**) /dev/wsmouse: ZAxisMapping: buttons 4 and 5 [ 4365.795] (**) /dev/wsmouse associated screen: 0 [ 4365.795] (**) Option "Device" "/dev/wsmouse" [ 4365.795] (II) /dev/wsmouse minimum x position: 0 [ 4365.795] (II) /dev/wsmouse maximum x position: 1599 [ 4365.795] (II) /dev/wsmouse minimum y position: 0 [ 4365.795] (II) /dev/wsmouse maximum y position: 899 [ 4365.795] (**) /dev/wsmouse: Buttons: 5 [ 4365.796] (II) XINPUT: Adding extended input device "/dev/wsmouse" (type: MOUSE, id 7) [ 4365.796] (**) /dev/wsmouse: (accel) keeping acceleration scheme 1 [ 4365.796] (**) /dev/wsmouse: (accel) acceleration profile 0 [ 4365.796] (**) /dev/wsmouse: (accel) acceleration factor: 2.000 [ 4365.796] (**) /dev/wsmouse: (accel) acceleration threshold: 4