I only recently found a solution to this. To resolve the issue, you will need to disable high resolution scrolling for the specific mouse in libinput. To do this, first you will need to find the name of your mouse. Run the sudo evtest
command, and after it has listed all devices, you can Ctrl+C and take a look at the options. Find the exact name of your mouse, edit the /etc/libinput/local-overrides.quirks
file, and add the following:
[YOUR MOUSE NAME]
MatchName=YOUR MOUSE NAME
AttrEventCode=-REL_WHEEL_HI_RES;-REL_HWHEEL_HI_RES;
Replace “YOUR MOUSE NAME” with the mouse name from the sudo evtest
command.
Hope this will help somebody.