You are not logged in.

#1 2024-02-06 10:03:42

halimbo
Member
From: Krefeld, Germany
Registered: 2013-10-23
Posts: 67

Can't seem to disable mouse acceleration with libinput [SOLVED]

I followed the wiki instructions using this in /etc/X11/xorg.conf.d/50-mouse.conf

Section "InputClass"
	Identifier "My Mouse"
	Driver "libinput"
	MatchIsPointer "yes"
	Option "AccelProfile" "flat"
	Option "AccelSpeed" "0"
EndSection

xinput ->

...
Razer Razer Basilisk V3 Pro        id=12	[slave  pointer  (2)]
Razer Razer Basilisk V3 Pro Keyboard    	id=13	[slave  pointer  (2)]
Razer Razer Basilisk V3 Pro Mouse       	id=14	[slave  pointer  (2)]
...

xinput list-props ->

Device 'Razer Razer Basilisk V3 Pro Mouse':
...
	libinput Accel Speed (298):	0.000000
	libinput Accel Speed Default (299):	0.000000
	libinput Accel Profiles Available (300):	1, 1, 1
	libinput Accel Profile Enabled (301):	0, 1, 0
	libinput Accel Profile Enabled Default (302):	1, 0, 0
	libinput Accel Custom Fallback Points (303):	<no items>
	libinput Accel Custom Fallback Step (304):	0.000000
	libinput Accel Custom Motion Points (305):	<no items>
	libinput Accel Custom Motion Step (306):	0.000000
	libinput Accel Custom Scroll Points (307):	<no items>
	libinput Accel Custom Scroll Step (308):	0.000000
...

here is the long confusing part in xorg.log

[    14.432] (II) config/udev: Adding input device Razer Razer Huntsman (/dev/input/event3)
[    14.432] (**) Razer Razer Huntsman: Applying InputClass "libinput keyboard catchall"
[    14.432] (**) Razer Razer Huntsman: Applying InputClass "keyboard"
[    14.432] (II) Using input driver 'libinput' for 'Razer Razer Huntsman'
[    14.433] (II) systemd-logind: got fd for /dev/input/event3 13:67 fd 42 paused 0
[    14.433] (**) Razer Razer Huntsman: always reports core events
[    14.433] (**) Option "Device" "/dev/input/event3"
[    14.435] (II) event3  - Razer Razer Huntsman: is tagged by udev as: Keyboard
[    14.435] (II) event3  - Razer Razer Huntsman: device is a keyboard
[    14.435] (II) event3  - Razer Razer Huntsman: device removed
[    14.435] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/0003:1532:0227.0002/input/input3/event3"
[    14.435] (II) XINPUT: Adding extended input device "Razer Razer Huntsman" (type: KEYBOARD, id 9)
[    14.435] (**) Option "xkb_layout" "de"
[    14.436] (II) event3  - Razer Razer Huntsman: is tagged by udev as: Keyboard
[    14.436] (II) event3  - Razer Razer Huntsman: device is a keyboard
[    14.437] (II) config/udev: Adding input device Razer Razer Huntsman Keyboard (/dev/input/event4)
[    14.437] (**) Razer Razer Huntsman Keyboard: Applying InputClass "libinput keyboard catchall"
[    14.437] (**) Razer Razer Huntsman Keyboard: Applying InputClass "keyboard"
[    14.437] (II) Using input driver 'libinput' for 'Razer Razer Huntsman Keyboard'
[    14.438] (II) systemd-logind: got fd for /dev/input/event4 13:68 fd 43 paused 0
[    14.438] (**) Razer Razer Huntsman Keyboard: always reports core events
[    14.438] (**) Option "Device" "/dev/input/event4"
[    14.439] (II) event4  - Razer Razer Huntsman Keyboard: is tagged by udev as: Keyboard
[    14.439] (II) event4  - Razer Razer Huntsman Keyboard: device is a keyboard
[    14.439] (II) event4  - Razer Razer Huntsman Keyboard: device removed
[    14.439] (II) libinput: Razer Razer Huntsman Keyboard: needs a virtual subdevice
[    14.439] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.1/0003:1532:0227.0003/input/input4/event4"
[    14.439] (II) XINPUT: Adding extended input device "Razer Razer Huntsman Keyboard" (type: MOUSE, id 10)
[    14.440] (**) Option "AccelerationScheme" "none"
[    14.440] (**) Razer Razer Huntsman Keyboard: (accel) selected scheme none/0
[    14.440] (**) Razer Razer Huntsman Keyboard: (accel) acceleration factor: 2.000
[    14.440] (**) Razer Razer Huntsman Keyboard: (accel) acceleration threshold: 4
[    14.440] (II) event4  - Razer Razer Huntsman Keyboard: is tagged by udev as: Keyboard
[    14.440] (II) event4  - Razer Razer Huntsman Keyboard: device is a keyboard
[    14.441] (II) config/udev: Adding input device Razer Razer Huntsman (/dev/input/event5)
[    14.441] (II) No input driver specified, ignoring this device.
[    14.441] (II) This device may have been added with another device file.
[    14.441] (II) config/udev: Adding input device Razer Razer Huntsman (/dev/input/event6)
[    14.441] (**) Razer Razer Huntsman: Applying InputClass "libinput pointer catchall"
[    14.441] (**) Razer Razer Huntsman: Applying InputClass "My Mouse"
[    14.441] (II) Using input driver 'libinput' for 'Razer Razer Huntsman'
[    14.494] (II) systemd-logind: got fd for /dev/input/event6 13:70 fd 44 paused 0
[    14.494] (**) Razer Razer Huntsman: always reports core events
[    14.494] (**) Option "Device" "/dev/input/event6"
[    14.497] (II) event6  - Razer Razer Huntsman: is tagged by udev as: Mouse
[    14.497] (II) event6  - Razer Razer Huntsman: device is a pointer
[    14.497] (II) event6  - Razer Razer Huntsman: device removed
[    14.498] (**) Option "AccelSpeed" "0"
[    14.498] (**) Option "AccelProfile" "flat"
[    14.498] (II) libinput: Razer Razer Huntsman: Step value 0 was provided, libinput Fallback acceleration function is used.
[    14.498] (II) libinput: Razer Razer Huntsman: Step value 0 was provided, libinput Fallback acceleration function is used.
[    14.498] (II) libinput: Razer Razer Huntsman: Step value 0 was provided, libinput Fallback acceleration function is used.
[    14.498] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.2/0003:1532:0227.0004/input/input6/event6"
[    14.498] (II) XINPUT: Adding extended input device "Razer Razer Huntsman" (type: MOUSE, id 11)
[    14.498] (**) Option "AccelerationScheme" "none"
[    14.498] (**) Razer Razer Huntsman: (accel) selected scheme none/0
[    14.498] (**) Razer Razer Huntsman: (accel) acceleration factor: 2.000
[    14.498] (**) Razer Razer Huntsman: (accel) acceleration threshold: 4
[    14.500] (II) event6  - Razer Razer Huntsman: is tagged by udev as: Mouse
[    14.501] (II) event6  - Razer Razer Huntsman: device is a pointer
[    14.502] (II) config/udev: Adding input device Razer Razer Huntsman (/dev/input/mouse0)
[    14.502] (**) Razer Razer Huntsman: Applying InputClass "My Mouse"
[    14.502] (II) Using input driver 'libinput' for 'Razer Razer Huntsman'
[    14.502] (**) Razer Razer Huntsman: always reports core events
[    14.502] (**) Option "Device" "/dev/input/mouse0"
[    14.503] (EE) xf86OpenSerial: Cannot open device /dev/input/mouse0
	Permission denied.
[    14.503] (II) mouse0: opening input device '/dev/input/mouse0' failed (Permission denied).
[    14.503] (II) mouse0  - failed to create input device '/dev/input/mouse0'.
[    14.503] (EE) libinput: Razer Razer Huntsman: Failed to create a device for /dev/input/mouse0
[    14.503] (EE) PreInit returned 2 for "Razer Razer Huntsman"
[    14.503] (II) UnloadModule: "libinput"
[    14.504] (II) config/udev: Adding input device Razer Razer Basilisk V3 Pro (/dev/input/event7)
[    14.504] (**) Razer Razer Basilisk V3 Pro: Applying InputClass "libinput pointer catchall"
[    14.504] (**) Razer Razer Basilisk V3 Pro: Applying InputClass "My Mouse"
[    14.504] (II) Using input driver 'libinput' for 'Razer Razer Basilisk V3 Pro'
[    14.557] (II) systemd-logind: got fd for /dev/input/event7 13:71 fd 45 paused 0
[    14.557] (**) Razer Razer Basilisk V3 Pro: always reports core events
[    14.557] (**) Option "Device" "/dev/input/event7"
[    14.560] (II) event7  - Razer Razer Basilisk V3 Pro: is tagged by udev as: Mouse
[    14.560] (II) event7  - Razer Razer Basilisk V3 Pro: device is a pointer
[    14.561] (II) event7  - Razer Razer Basilisk V3 Pro: device removed
[    14.561] (**) Option "AccelSpeed" "0"
[    14.561] (**) Option "AccelProfile" "flat"
[    14.561] (II) libinput: Razer Razer Basilisk V3 Pro: Step value 0 was provided, libinput Fallback acceleration function is used.
[    14.561] (II) libinput: Razer Razer Basilisk V3 Pro: Step value 0 was provided, libinput Fallback acceleration function is used.
[    14.561] (II) libinput: Razer Razer Basilisk V3 Pro: Step value 0 was provided, libinput Fallback acceleration function is used.
[    14.561] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/0003:1532:00AB.0005/input/input7/event7"
[    14.561] (II) XINPUT: Adding extended input device "Razer Razer Basilisk V3 Pro" (type: MOUSE, id 12)
[    14.561] (**) Option "AccelerationScheme" "none"
[    14.561] (**) Razer Razer Basilisk V3 Pro: (accel) selected scheme none/0
[    14.561] (**) Razer Razer Basilisk V3 Pro: (accel) acceleration factor: 2.000
[    14.561] (**) Razer Razer Basilisk V3 Pro: (accel) acceleration threshold: 4
[    14.562] (II) event7  - Razer Razer Basilisk V3 Pro: is tagged by udev as: Mouse
[    14.562] (II) event7  - Razer Razer Basilisk V3 Pro: device is a pointer
[    14.562] (II) config/udev: Adding input device Razer Razer Basilisk V3 Pro (/dev/input/mouse1)
[    14.562] (**) Razer Razer Basilisk V3 Pro: Applying InputClass "My Mouse"
[    14.562] (II) Using input driver 'libinput' for 'Razer Razer Basilisk V3 Pro'
[    14.562] (**) Razer Razer Basilisk V3 Pro: always reports core events
[    14.562] (**) Option "Device" "/dev/input/mouse1"
[    14.562] (EE) xf86OpenSerial: Cannot open device /dev/input/mouse1
	Permission denied.
[    14.562] (II) mouse1: opening input device '/dev/input/mouse1' failed (Permission denied).
[    14.562] (II) mouse1  - failed to create input device '/dev/input/mouse1'.
[    14.562] (EE) libinput: Razer Razer Basilisk V3 Pro: Failed to create a device for /dev/input/mouse1
[    14.562] (EE) PreInit returned 2 for "Razer Razer Basilisk V3 Pro"
[    14.562] (II) UnloadModule: "libinput"
[    14.563] (II) config/udev: Adding input device Razer Razer Basilisk V3 Pro (/dev/input/event10)
[    14.563] (II) No input driver specified, ignoring this device.
[    14.563] (II) This device may have been added with another device file.
[    14.563] (II) config/udev: Adding input device Razer Razer Basilisk V3 Pro Keyboard (/dev/input/event8)
[    14.563] (**) Razer Razer Basilisk V3 Pro Keyboard: Applying InputClass "libinput keyboard catchall"
[    14.563] (**) Razer Razer Basilisk V3 Pro Keyboard: Applying InputClass "keyboard"
[    14.563] (II) Using input driver 'libinput' for 'Razer Razer Basilisk V3 Pro Keyboard'
[    14.564] (II) systemd-logind: got fd for /dev/input/event8 13:72 fd 46 paused 0
[    14.564] (**) Razer Razer Basilisk V3 Pro Keyboard: always reports core events
[    14.564] (**) Option "Device" "/dev/input/event8"
[    14.564] (II) event8  - Razer Razer Basilisk V3 Pro Keyboard: is tagged by udev as: Keyboard
[    14.564] (II) event8  - Razer Razer Basilisk V3 Pro Keyboard: device is a keyboard
[    14.564] (II) event8  - Razer Razer Basilisk V3 Pro Keyboard: device removed
[    14.564] (II) libinput: Razer Razer Basilisk V3 Pro Keyboard: needs a virtual subdevice
[    14.564] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.1/0003:1532:00AB.0006/input/input8/event8"
[    14.564] (II) XINPUT: Adding extended input device "Razer Razer Basilisk V3 Pro Keyboard" (type: MOUSE, id 13)
[    14.564] (**) Option "AccelerationScheme" "none"
[    14.564] (**) Razer Razer Basilisk V3 Pro Keyboard: (accel) selected scheme none/0
[    14.564] (**) Razer Razer Basilisk V3 Pro Keyboard: (accel) acceleration factor: 2.000
[    14.564] (**) Razer Razer Basilisk V3 Pro Keyboard: (accel) acceleration threshold: 4
[    14.565] (II) event8  - Razer Razer Basilisk V3 Pro Keyboard: is tagged by udev as: Keyboard
[    14.565] (II) event8  - Razer Razer Basilisk V3 Pro Keyboard: device is a keyboard
[    14.565] (II) config/udev: Adding input device Razer Razer Basilisk V3 Pro Mouse (/dev/input/event9)
[    14.565] (**) Razer Razer Basilisk V3 Pro Mouse: Applying InputClass "libinput pointer catchall"
[    14.565] (**) Razer Razer Basilisk V3 Pro Mouse: Applying InputClass "My Mouse"
[    14.565] (II) Using input driver 'libinput' for 'Razer Razer Basilisk V3 Pro Mouse'
[    14.566] (II) systemd-logind: got fd for /dev/input/event9 13:73 fd 47 paused 0
[    14.566] (**) Razer Razer Basilisk V3 Pro Mouse: always reports core events
[    14.566] (**) Option "Device" "/dev/input/event9"
[    14.568] (II) event9  - Razer Razer Basilisk V3 Pro Mouse: is tagged by udev as: Mouse
[    14.568] (II) event9  - Razer Razer Basilisk V3 Pro Mouse: device is a pointer
[    14.569] (II) event9  - Razer Razer Basilisk V3 Pro Mouse: device removed
[    14.569] (**) Option "AccelSpeed" "0"
[    14.569] (**) Option "AccelProfile" "flat"
[    14.569] (II) libinput: Razer Razer Basilisk V3 Pro Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[    14.569] (II) libinput: Razer Razer Basilisk V3 Pro Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[    14.569] (II) libinput: Razer Razer Basilisk V3 Pro Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[    14.569] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.1/0003:1532:00AB.0006/input/input9/event9"
[    14.569] (II) XINPUT: Adding extended input device "Razer Razer Basilisk V3 Pro Mouse" (type: MOUSE, id 14)
[    14.569] (**) Option "AccelerationScheme" "none"
[    14.569] (**) Razer Razer Basilisk V3 Pro Mouse: (accel) selected scheme none/0
[    14.569] (**) Razer Razer Basilisk V3 Pro Mouse: (accel) acceleration factor: 2.000
[    14.569] (**) Razer Razer Basilisk V3 Pro Mouse: (accel) acceleration threshold: 4
[    14.570] (II) event9  - Razer Razer Basilisk V3 Pro Mouse: is tagged by udev as: Mouse
[    14.570] (II) event9  - Razer Razer Basilisk V3 Pro Mouse: device is a pointer
[    14.571] (II) config/udev: Adding input device Razer Razer Basilisk V3 Pro Mouse (/dev/input/mouse2)
[    14.571] (**) Razer Razer Basilisk V3 Pro Mouse: Applying InputClass "My Mouse"
[    14.571] (II) Using input driver 'libinput' for 'Razer Razer Basilisk V3 Pro Mouse'
[    14.571] (**) Razer Razer Basilisk V3 Pro Mouse: always reports core events
[    14.571] (**) Option "Device" "/dev/input/mouse2"
[    14.571] (EE) xf86OpenSerial: Cannot open device /dev/input/mouse2
	Permission denied.
[    14.571] (II) mouse2: opening input device '/dev/input/mouse2' failed (Permission denied).
[    14.571] (II) mouse2  - failed to create input device '/dev/input/mouse2'.
[    14.571] (EE) libinput: Razer Razer Basilisk V3 Pro Mouse: Failed to create a device for /dev/input/mouse2
[    14.571] (EE) PreInit returned 2 for "Razer Razer Basilisk V3 Pro Mouse"
[    14.571] (II) UnloadModule: "libinput"
[    14.572] (II) config/udev: Adding input device Razer Razer Basilisk V3 Pro (/dev/input/event11)
[    14.572] (**) Razer Razer Basilisk V3 Pro: Applying InputClass "libinput keyboard catchall"
[    14.572] (**) Razer Razer Basilisk V3 Pro: Applying InputClass "keyboard"
[    14.572] (II) Using input driver 'libinput' for 'Razer Razer Basilisk V3 Pro'
[    14.573] (II) systemd-logind: got fd for /dev/input/event11 13:75 fd 48 paused 0
[    14.573] (**) Razer Razer Basilisk V3 Pro: always reports core events
[    14.573] (**) Option "Device" "/dev/input/event11"
[    14.574] (II) event11 - Razer Razer Basilisk V3 Pro: is tagged by udev as: Keyboard
[    14.574] (II) event11 - Razer Razer Basilisk V3 Pro: device is a keyboard
[    14.574] (II) event11 - Razer Razer Basilisk V3 Pro: device removed
[    14.574] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.2/0003:1532:00AB.0007/input/input11/event11"
[    14.574] (II) XINPUT: Adding extended input device "Razer Razer Basilisk V3 Pro" (type: KEYBOARD, id 15)
[    14.574] (**) Option "xkb_layout" "de"
[    14.575] (II) event11 - Razer Razer Basilisk V3 Pro: is tagged by udev as: Keyboard
[    14.575] (II) event11 - Razer Razer Basilisk V3 Pro: device is a keyboard
[    14.576] (II) config/udev: Adding input device HDA Intel PCH Front Mic (/dev/input/event18)
[    14.576] (II) No input driver specified, ignoring this device.
[    14.576] (II) This device may have been added with another device file.
[    14.576] (II) config/udev: Adding input device HDA Intel PCH Rear Mic (/dev/input/event19)
[    14.576] (II) No input driver specified, ignoring this device.
[    14.576] (II) This device may have been added with another device file.
[    14.576] (II) config/udev: Adding input device HDA Intel PCH Line (/dev/input/event20)
[    14.576] (II) No input driver specified, ignoring this device.
[    14.576] (II) This device may have been added with another device file.
[    14.576] (II) config/udev: Adding input device HDA Intel PCH Line Out (/dev/input/event21)
[    14.576] (II) No input driver specified, ignoring this device.
[    14.576] (II) This device may have been added with another device file.
[    14.577] (II) config/udev: Adding input device HDA Intel PCH Front Headphone (/dev/input/event22)
[    14.577] (II) No input driver specified, ignoring this device.
[    14.577] (II) This device may have been added with another device file.
[    14.577] (II) config/udev: Adding input device Eee PC WMI hotkeys (/dev/input/event13)
[    14.577] (**) Eee PC WMI hotkeys: Applying InputClass "libinput keyboard catchall"
[    14.577] (**) Eee PC WMI hotkeys: Applying InputClass "keyboard"
[    14.577] (II) Using input driver 'libinput' for 'Eee PC WMI hotkeys'
[    14.577] (II) systemd-logind: got fd for /dev/input/event13 13:77 fd 49 paused 0
[    14.577] (**) Eee PC WMI hotkeys: always reports core events
[    14.577] (**) Option "Device" "/dev/input/event13"
[    14.578] (II) event13 - Eee PC WMI hotkeys: is tagged by udev as: Keyboard
[    14.578] (II) event13 - Eee PC WMI hotkeys: device is a keyboard
[    14.578] (II) event13 - Eee PC WMI hotkeys: device removed
[    14.578] (**) Option "config_info" "udev:/sys/devices/platform/eeepc-wmi/input/input14/event13"
[    14.578] (II) XINPUT: Adding extended input device "Eee PC WMI hotkeys" (type: KEYBOARD, id 16)
[    14.578] (**) Option "xkb_layout" "de"
[    14.578] (II) event13 - Eee PC WMI hotkeys: is tagged by udev as: Keyboard
[    14.578] (II) event13 - Eee PC WMI hotkeys: device is a keyboard
[    14.579] (II) config/udev: Adding input device PC Speaker (/dev/input/event12)
[    14.579] (II) No input driver specified, ignoring this device.
[    14.579] (II) This device may have been added with another device file.
[    14.581] (**) Razer Razer Huntsman Keyboard: Applying InputClass "libinput keyboard catchall"
[    14.581] (**) Razer Razer Huntsman Keyboard: Applying InputClass "keyboard"
[    14.581] (II) Using input driver 'libinput' for 'Razer Razer Huntsman Keyboard'
[    14.581] (II) systemd-logind: returning pre-existing fd for /dev/input/event4 13:68
[    14.581] (**) Razer Razer Huntsman Keyboard: always reports core events
[    14.581] (**) Option "Device" "/dev/input/event4"
[    14.581] (II) libinput: Razer Razer Huntsman Keyboard: is a virtual subdevice
[    14.581] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.1/0003:1532:0227.0003/input/input4/event4"
[    14.581] (II) XINPUT: Adding extended input device "Razer Razer Huntsman Keyboard" (type: KEYBOARD, id 17)
[    14.581] (**) Option "xkb_layout" "de"
[    14.581] (**) Razer Razer Basilisk V3 Pro Keyboard: Applying InputClass "libinput keyboard catchall"
[    14.581] (**) Razer Razer Basilisk V3 Pro Keyboard: Applying InputClass "keyboard"
[    14.581] (II) Using input driver 'libinput' for 'Razer Razer Basilisk V3 Pro Keyboard'
[    14.581] (II) systemd-logind: returning pre-existing fd for /dev/input/event8 13:72
[    14.581] (**) Razer Razer Basilisk V3 Pro Keyboard: always reports core events
[    14.581] (**) Option "Device" "/dev/input/event8"
[    14.581] (II) libinput: Razer Razer Basilisk V3 Pro Keyboard: is a virtual subdevice
[    14.581] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.1/0003:1532:00AB.0006/input/input8/event8"
[    14.581] (II) XINPUT: Adding extended input device "Razer Razer Basilisk V3 Pro Keyboard" (type: KEYBOARD, id 18)
[    14.581] (**) Option "xkb_layout" "de"

of course it could be that im experiencing a huge placebo effect but when i boot up windows the mouse feels slower and more stable.
The logging is super confusing. The output of xinput properties gives me three numbers (0,1,0). i think i read somewhere online that the second number indicates the "off" status. so in theory mouse accel should be off but im unsure to be honest. additionally the part in xorg.log that states a fallback profile will be used because "step value 0 is provided" (no idea).
The instructions on this page https://www.x.org/wiki/Development/Docu … eleration/ correspond with the alternative method in the wiki that "does not use libinput" (?) but the Option "AccelSpeed" is nowhere mentioned in the whole article.

...I just realized that the wiki article is borked.

I'll try to follow the instructions in the Talk/Discussion
If someone knows how to have the same settings on Linux like when you turn OFF "Enhance Pointer Precision" in Windows, so presumably no deviation whatsoever, please share.
Im not a noob but if someone wants to move this post to Newbie Corner i can understand ofc.

SOLUTION:
firstly my user wasnt added to the "input" group...

gpasswd -a username input

then i could see what the numbers showing for the "libinput Accel Profile Enabled" from xinput actually mean with running

libinput list-devices
Device:           Razer Razer Basilisk V3 Pro
Kernel:           /dev/input/event7
Group:            5
Seat:             seat0, default
Capabilities:     pointer 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: disabled
Calibration:      n/a
Scroll methods:   button
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   flat *adaptive custom
Rotation:         0.0

Device:           Razer Razer Basilisk V3 Pro Keyboard
Kernel:           /dev/input/event8
Group:            5
Seat:             seat0, default
Capabilities:     keyboard pointer 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    disabled
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         0.0

Device:           Razer Razer Basilisk V3 Pro Mouse
Kernel:           /dev/input/event9
Group:            5
Seat:             seat0, default
Capabilities:     pointer 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: disabled
Calibration:      n/a
Scroll methods:   button
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   flat *adaptive custom
Rotation:         0.0

Device:           Razer Razer Basilisk V3 Pro
Kernel:           /dev/input/event11
Group:            5
Seat:             seat0, default
Capabilities:     keyboard 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         0.0

so the first number means FLAT, the second means ADAPTIVE and the third means CUSTOM.
and the star "*" in front of "adaptive" seems to indicate that is the default option (at first i thought this indicates the currently active profile but that is not the case).
there are countless tutorials online (like on youtube for ubuntu), where the correlation of the numbers and profiles are different. okay this might be hardware related or people just experience another kind of reverse placebo, thinking accel is off when it isnt. which is likely because they also use libinput im sure.
then i issued this command

xinput --set-prop 14 "libinput Accel Profile Enabled" 1 0 0

and now to check if the profile has changed:

# xinput list-props 14
Device 'Razer Razer Basilisk V3 Pro Mouse':
	Device Enabled (153):	1
	Coordinate Transformation Matrix (155):	1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
	libinput Natural Scrolling Enabled (284):	0
	libinput Natural Scrolling Enabled Default (285):	0
	libinput Scroll Methods Available (289):	0, 0, 1
	libinput Scroll Method Enabled (290):	0, 0, 0
	libinput Scroll Method Enabled Default (291):	0, 0, 0
	libinput Button Scrolling Button (292):	2
	libinput Button Scrolling Button Default (293):	2
	libinput Button Scrolling Button Lock Enabled (294):	0
	libinput Button Scrolling Button Lock Enabled Default (295):	0
	libinput Middle Emulation Enabled (296):	0
	libinput Middle Emulation Enabled Default (297):	0
	libinput Rotation Angle (267):	0.000000
	libinput Rotation Angle Default (268):	0.000000
	libinput Accel Speed (298):	0.000000
	libinput Accel Speed Default (299):	0.000000
	libinput Accel Profiles Available (300):	1, 1, 1
	libinput Accel Profile Enabled (301):	1, 0, 0
	libinput Accel Profile Enabled Default (302):	1, 0, 0
	libinput Accel Custom Fallback Points (303):	<no items>
	libinput Accel Custom Fallback Step (304):	0.000000
	libinput Accel Custom Motion Points (305):	<no items>
	libinput Accel Custom Motion Step (306):	0.000000
	libinput Accel Custom Scroll Points (307):	<no items>
	libinput Accel Custom Scroll Step (308):	0.000000
	libinput Left Handed Enabled (309):	0
	libinput Left Handed Enabled Default (310):	0
	libinput Send Events Modes Available (269):	1, 0
	libinput Send Events Mode Enabled (270):	0, 0
	libinput Send Events Mode Enabled Default (271):	0, 0
	Device Node (272):	"/dev/input/event9"
	Device Product ID (273):	5426, 171
	libinput Drag Lock Buttons (286):	<no items>
	libinput Horizontal Scroll Enabled (287):	1
	libinput Scrolling Pixel Distance (311):	15
	libinput Scrolling Pixel Distance Default (312):	15
	libinput High Resolution Wheel Scroll Enabled (288):	1

now it feels like its just 1 to 1.
Alternatively i can also make this setting permament by editing "/usr/share/X11/xorg.conf.de/40-libinput.conf", changing this section:

Section "InputClass"
        Identifier "libinput pointer catchall"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
EndSection

to ->

Section "InputClass"
        Identifier "libinput pointer catchall"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
	Option "Accel Profile Enabled" "1 0 0"
EndSection

again the order of numbers may vary for other devices.
i chose to put this in /usr/share/X11/xorg.conf.d and NOT! /etc/X11/xorg.conf.d because it was mentioned in the Talk/Discussion. i dont know why but it makes sense because there is already a working entry there catching every mouse.
Whats also important to note is that when using the xinput one liner the three numbers are separate arguments to the command but when putting it in the xorg configuration file you merge it together into one string.

imo the only way to really make sure accel is off is to run some analyzer program (for windows there is this monitoring tool packaged with "mark c mousefix" that shows acceleration in real time). i dont know if something like this exists for linux (evhz only gives you polling rat).
i would like to delete the wiki article. at least the code snippets that supposedly disable accel. only saying "the factual accuracy of this article is disputed" mislead me to believing i could still find some useful help there but all the useful stuff is in the Talk/Discussion.
how about replacing the section for disabling mouse acceleration with these 3 simple steps:
1. make sure you are part of the input group
2. check the corresponding profiles for your device with libinput list-props
3. run the xinput one liner at startup (from .xinit should work for example [if you use automatic startx] or other autostart procedures)
or
3. make settings permament in /usr/share/X11/xorg.conf.d
with some nice formatting (this is a rant) that would surely help the other people trying to figure out how to disable accel for real.
Final Note: When i used (like the false wiki section supposes)

"Option" "AccelProfile" "flat"

in 40-libinput.conf i still had the second profile (adaptive) enabled. DONT USE THIS. USE THIS FORMAT INSTEAD

 Option "Accel Profile Enabled" "1 0 0"

(with your corresponding profile). id not be surprised if the order of profiles is always FLAT,ADAPTIVE,CUSTOM for everyone because libinput seems to be well structured unlike this post and the mouse accel wiki.

To give an example of how deep this goes, check the bug report on the bottom of the wiki https://bugs.kde.org/show_bug.cgi?id=468217#c3
There are recent posts from 2023 where people follow the wiki and use/suggest

Option "AccelProfile" "flat"
Option "AccelSpeed" "0"

As I understand it these options are either deprecated or just plain wrong, and everyone looks up issues like this on the archwiki, so misinformation spreads.
I cannot imagine that this would work when it clearly did not do anything for me, which can be confirmed with xinput list-props. Its just hard to figure out if a slight bit of acceleration is active or not. please correct me if im wrong.

EDIT: I was wrong. The order of profiles given by "libinput list-devices" does not correlate to the configuration with xinput. the first number is the default acceleration profile, the second number is the flat profile and the third number must be the custom profile. still, the "old" method of assigning the values in the xorg configuration file was wrong/deprecated. I corrected the entry in the wiki.
i checked the acceleration values with an online measuring tool and using "1 0 0" i got significantly higher acceleration values compared to "0 1 0". i wonder if there is some documentation for the number system with xinput because the meaning of the values is not provided in any place i looked up.

Last edited by halimbo (2024-02-22 14:54:27)

Offline

Board footer

Powered by FluxBB