Closed paolomainardi closed 1 year ago
Just tested with the very same system an mx master 2s and it works smooth as expected, just to exclude problems with libinput and xf86 stack.
I am also watching here: https://rhtenhove.nl/blog/hires-scrolling-logitech/
But cannot reproduce the proposed fix.
From Known Issues in https://github.com/pwr-Solaar/Solaar
The Linux HID++ driver modifies the setting Scroll Wheel Resolution to implement smooth scrolling. If Solaar later changes this setting scrolling can be either very fast or very slow. To fix this problem click on the icon at the right edge of the setting to set it to "Ignore this setting". The mouse has to be reset (e.g., by turning it off and on again) before this fix will take effect.
This happens before libinput.
Thanks for the quick reply @pfps!
I tried this setting, it should be like this right?
Anyway ignoring this setting is like not having smooth scrolling, the scrolling behavior gets back to normal scrolling by 3-pixel when using the free spinning wheel. Just comparing to mx2s where enabling/disabling this setting enables real hires scrolling and it works like a charm.
Am I missing something here?
Different mice may behave differently but all that Solaar can do is to get out of the way - the processing is done by the input driver and other code.
@pfps thanks for your quick replies! I just want to help here, if you can point me to the right direction i can start digging to understand the cause of this difference between mx master 2s and 3s.
What is described here: https://rhtenhove.nl/blog/hires-scrolling-logitech seems that can be related to:
MOUSE_WHEEL_CLICK_ANGLE
MOUSE_WHEEL_CLICK_COUNT
To figure out what is going on you have to see what the driver https://github.com/torvalds/linux/blob/master/drivers/hid/hid-logitech-hidpp.c is doing. The blog post is, I believe, an old way of enabling smooth scrolling.
I cannot see here: https://github.com/torvalds/linux/blob/04bd68171e01843284accbcfaa4cd2c50d1707ed/drivers/hid/hid-logitech-hidpp.c#L3756 any reference to the MX Master 3s, maybe not yet supported.
That is probably the difference. I think there are proposed patches that would support the 3s.
It seems that 6.1 will get rid of this logic: https://github.com/torvalds/linux/commit/908d325e1665b2781085580070554cbbe5fc3c89 in favour of something more generic that theoretically should accomodate also 3s.
Information
solaar --version
orgit describe --tags
if cloned from this repository): 1.1.5uname -srmo
):5.15.74-1-lts
solaar show
:~/.config/solaar/config.yaml
(or~/.config/solaar/config.json
if~/.config/solaar/config.yaml
not present):Describe the bug
When i activate the "scroll wheel resolution" the mouse scrolling is out of control, instead of moving by pixel it jump to more than 15 lines, it seems that libinput is not respecting anymore the hi-res resolution, of course i am running it on Xorg.