Mouse input latency in GNOME 44.1 Wayland sessions is one frame higher than it was in 44.0 and earlier
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mutter (Ubuntu) |
Invalid
|
Medium
|
Daniel van Vugt | ||
Lunar |
Won't Fix
|
Medium
|
Daniel van Vugt | ||
Mantic |
Invalid
|
Medium
|
Daniel van Vugt |
Bug Description
[ Impact ]
Mouse input latency in Wayland sessions is slightly higher in 23.10 than 22.04 at the moment.
I might be imagining things and it does feel like only one frame higher latency. But experimenting with MUTTER_
BAD: MUTTER_
BAD: MUTTER_
GOOD: MUTTER_
[ Workaround ]
Add MUTTER_
[ Test Plan ]
0. Find a machine with an Intel GPU.
1. Add this to /etc/environment: CLUTTER_
2. Reboot.
3. Log in to a Wayland session and wait for the desktop to become idle.
4. Also log in via ssh from a remote machine and run:
journalctl -f /usr/bin/
5. Over your idle desktop just wiggle the mouse continuously for at least 5 seconds.
6. In your ssh login, verify that the resulting log messages from gnome-shell say "[FRAME_TIMINGS]: Double buffering:" and not "[FRAME_TIMINGS]: Triple buffering:" when only the mouse pointer is moving.
[ Where problems could occur ]
In the frame rate and latency of the Ubuntu desktop experience.
summary: |
- Mouse input latency in Wayland sessions is slightly higher in 23.10 than - 22.04 at the moment + Mouse input latency in GNOME 44 Wayland sessions is one frame higher + than it should be |
description: | updated |
Changed in mutter (Ubuntu Lunar): | |
assignee: | nobody → Daniel van Vugt (vanvugt) |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in mutter (Ubuntu Mantic): | |
status: | In Progress → Fix Committed |
description: | updated |
description: | updated |
It's a regression in 44.1 caused by the fix for bug 2017137 / bug 2017097. Nobody noticed because one frame of latency is so hard to notice.