Scroll lag with Logitech MX mouse on Wayland (Hyprland)

When using Looking Glass under Wayland (specifically with the Hyprland compositor), I’m experiencing scroll lag and inconsistency with my Logitech MX Master 3 mouse. The scroll wheel, which features high res scroll, is not behaving as expected: scrolling is either slightly delayed or doesn’t register at all. However, when I switch to an X11 (i3) session, the problem disappears entirely. Additionally, using a different mouse with a conventional scroll wheel (no smart scroll features) works flawlessly under Wayland. Mouse Model: Logitech MX Master 3

A short video demonstrating the issue is available here:

logitech-mx-mouse

Thanks @choffmann for posting this here.

Hyprland is well documented to not follow standards when it comes to applications like Looking Glass, can you please test this under Sway?

Yes, I tested it in Sway and it worked fine. Is this an issue specific to Hyperland, or is it perhaps a missing option in my configuration? What is your opinion on this?

EDIT: I wiped my entire Hyperland configuration and tested it with a ‘fresh’ configuration, but the issue persisted.

I have found the cause of the issue. In the Hyprland configuration, there is a setting called ‘emulate_discrete_scroll’. Setting this to 0 disables Hyprland’s emulation of non-standard (high-resolution) scroll events.

After applying this change, scrolling in Looking Glass works again. The scroll speed is now very high in LG, but I think I can adjust that elsewhere.

Overall, I can now scroll properly in Hyprland.

1 Like