logiops icon indicating copy to clipboard operation
logiops copied to clipboard

MX Master 3 on Ubuntu 20.10 main wheel scrolling is really slow

Open dszmaj opened this issue 4 years ago • 6 comments

Hey,

first of all I'd like to thank you for this marvel of an open source software, I'm able to use all features of my mouse :)

But the problem is that when I have hires disabled, scrolling through pages in chrome or firefox is very slow, so much so that it barely moves the page. When I enable hires it improves a lot, but only so it is acceptable, I'd like it to work faster to match windows experience.

Is there any way to configure it?

Here is my current config with the current master build:


devices: ({
  name: "Wireless Mouse MX Master 3";

  smartshift: { on: true; threshold: 10; };

  hiresscroll: {
    hires: true;
    invert: false;
    target: false;
  };

  thumbwheel: {
    divert: true;
    invert: false;
    left: {
      mode: "OnInterval";
      pixels: 1;
      action: {
        type: "Keypress";
        keys: ["KEY_LEFTCTRL", "KEY_LEFTALT", "KEY_UP"];
      };
    };
    right: {
      mode: "OnInterval";
      pixels: 1;
      action: {
        type: "Keypress";
        keys: ["KEY_LEFTCTRL", "KEY_LEFTALT", "KEY_DOWN"];
      };
    };
  };

  // 4000 max for MX Master 3.
  dpi: 1800;

  buttons: (

    // Thumb button.
    { cid: 0xc3; action = { type: "Keypress"; keys: ["KEY_LEFTCTRL", "KEY_W"]; }; },
    // Top button.
    { cid: 0xc4; action = { type: "ToggleSmartshift"; }; },
    // Forward button.
    { cid: 0x54; action = { type: "Keypress"; keys: ["BTN_BACK"]; }; },
    // Back button.
    { cid: 0x57; action = { type: "Keypress"; keys: ["BTN_FORWARD"]; }; }

  );
});

dszmaj avatar Dec 26 '20 18:12 dszmaj

Had a similar problem with Firefox on Manjaro and solved it by manually setting an axis_multiplier (and also tweaking a bit with FF's internal scrolling config).

See my config below:

   hiresscroll: {
        hires: true;
        invert: false;
        target: true;
        up: {
            mode: "Axis";
            axis: "REL_WHEEL_HI_RES";
            axis_multiplier: 3;
        },
        down: {
            mode: "Axis";
            axis: "REL_WHEEL_HI_RES";
            axis_multiplier: -3;
        },
    };

dial25sd avatar Jan 02 '21 22:01 dial25sd

Same problem on Ubuntu 20.04 after upgrade kernel 5.04 --> 5.08. Fix pls !!!

thaidh avatar Jan 12 '21 08:01 thaidh

Hey there,

Solved the same issue on Ubuntu 20.04! It ended up setting the hires field to true in the hiresscroll setting. Further I restart the logid.service on boot sudo systemctl restart logid (try logid.service in place of logid if that doesn't work). See https://askubuntu.com/questions/889632/startup-script-with-sudo-in-ubuntu-16-10 for help with running the command on boot.

Below is my config, I hope this helps!

devices: (
{
    name: "Wireless Mouse MX Master 3";
    smartshift:
    {
        on: false;
        threshold: 100;
    };
    hiresscroll:
    {
        hires: true;
        invert: false;
        target: false;
    };    

    dpi: 2000;
    buttons: (
            {
                cid: 0xc3;
                action =
                {
                    type: "Gestures";
                    gestures: (
                        {
                            direction: "Left";
                            mode: "OnRelease";
                            action =
                            {
                                type: "Keypress";
                                keys: ["KEY_F1"];
                            };
                        }
                    );
                };
            },
        {
                cid: 0x53;
                action =
                {
                    type: "Keypress";
                    keys: ["KEY_LEFTCTRL", "KEY_LEFTALT", "KEY_T"];
                };
            },
        {
                cid: 0x54;
                action =
                {
                    type: "Keypress";
                    keys: ["KEY_LEFTCTRL", "KEY_LEFTALT", "KEY_T"];
                };
            },
        {
                cid: 0x56;
                action =
                {
                    type: "Keypress";
                    keys: ["KEY_COPY"];
                };
            },
            {
                cid: 0x57;
                action =
                {
                    type: "Keypress";
                    keys: ["KEY_COPY"];
                };
            }

    );
        
    }
);

marcom48 avatar Feb 08 '21 23:02 marcom48

Same here (MX3 under Ubuntu 22.04). Very slow scrolling from times to times. I fix this by turning the mouse off and on again (using the physical power button on the lower side).

image

bflorat avatar Oct 29 '22 19:10 bflorat

Same problem, restarting with sudo systemctl restart logid and turning off/on mouse fixes it. I have to do this after every reboot which is annoying. I have this in my logid.cfg:

// A lower threshold number makes the wheel switch to free-spin mode
// quicker when scrolling fast. A high threshold like 1000 makes wheel never free-spin.
// smartshift: { on: true; threshold: 20; };
smartshift: { on: true; threshold: 1000; };

// Set scroll wheel speed
// https://github.com/PixlOne/logiops/issues/116#issuecomment-680307475
hiresscroll:
{
    hires: false;
    invert: false;
    target: false;
    up: {
        mode: "Axis";
        axis: "REL_WHEEL";
        axis_multiplier: 3;
    },
    down: {
        mode: "Axis";
        axis: "REL_WHEEL";
        axis_multiplier: -3;
    }
};

aimfeld avatar Apr 06 '24 07:04 aimfeld