Bluetooth Mouse Lag

Solution from reddit from @ashughes in an above comment -https://www.reddit.com/r/linuxquestions/comments/bc15f8/bluetooth_mouse_is_laggy_very_limited_pollrate/ez3ufhs/

sudo nano /var/lib/bluetooth/xx\:xx\:xx\:xx\:xx\:xx/yy\:yy\:yy\:yy\:yy\:yy/info

where xx:xx.... is pc bluetooth address and yy:yy... is the mouse bluetooth address.

In the file, I added the section at the end:

[ConnectionParameters]
MinInterval=6
MaxInterval=7
Latency=0
Timeout=216

You may also need to reconnect the mouse.

I also tracked this proposal on ubuntu bug here:

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1824559?comments=all


I'm using Ubuntu 18.04 on a Dell Precision 7740 laptop and a Logitech MX Master 3 and had a pretty bad lag over Bluetooth. Setting the parameters as noted in @alenz316's answer did not make a difference for me.

However, @Eraph's settings in that thread DID work. I originally found the answer on https://forum.manjaro.org/t/logitech-mx-master-pointer-too-slow-and-laggy/105468.

To summarize,

  1. I edited /var/lib/bluetooth/XX:XX:XX:XXX:XX:XX/YY:YY:YY:YY:YY:YY/info as root, where XX:XX:XX:XX:XX:XX is the Bluetooth address of my computer's bluetooth interface, and YY:YY:YY:YY:YY:YY is the Bluetooth address of my Mouse's interface.

  2. added @Eraph's parameters to the bottom of that file as follows:

[ConnectionParameters]
MinInterval=6
MaxInterval=9
Latency=44
Timeout=216
  1. I restarted Bluetooth with sudo service bluetooth restart

Now the mouse works as well over Bluetooth as it does over the Logitech Unifying hub.

I'm not sure what will happen if I reboot or if I re-pair the mouse, but I assume I can just re-apply these steps.