|
|
Log in / Subscribe / Register

I guess it's time?

I guess it's time?

Posted Jun 11, 2025 14:31 UTC (Wed) by cortana (subscriber, #24596)
In reply to: I guess it's time? by yodermk
Parent article: Ubuntu 25.10 to drop support for GNOME on Xorg

After I've been logged into (Wayland) GNOME for a few days, my mouse pointer is noticeably jerky as it moves across the screen. Logging out and in again fixes it, for a time. This doesn't happen with Xorg (which has other problems, I really wish I could switch to Wayland permanently, but it's just not there yet). This is with an RTX 3070 Ti and a GTX 1080.


to post comments

I guess it's time?

Posted Jun 11, 2025 18:10 UTC (Wed) by mathstuf (subscriber, #69389) [Link]

Wild idea: floating point precision loss in some accumulator? The test would be: is it actually time-correlated, or is it actually correlated with total "distance" traveled by the cursor over that time? Is it compositor-specific?

I guess it's time?

Posted Jun 13, 2025 13:08 UTC (Fri) by mgedmin (guest, #34497) [Link] (1 responses)

Xorg had a special server thread to watch for mouse events and update the hardware cursor position to make mouse movements feel smooth (at some cost of accuracy: the cursor shape could lag a little bit after moving to a new location if the system was heavily loaded).

I don't believe any of the Wayland compositors have anything like that implemented, although I recall hearing about plans of doing something similar at some point.

I guess it's time?

Posted Jun 20, 2025 13:36 UTC (Fri) by daenzer (subscriber, #7050) [Link]

Mutter has an input thread. It currently can’t update the cursor position as directly as Xorg‘s input thread though, largely due to limitations of the current atomic KMS UAPI. Mutter‘s cursor movement is quite snappy anyway though, the difference in terms of input –> output latency is at most a few milliseconds.

AFAIK the situation is similar with other Wayland compositors.

None of this has anything to do with the Wayland or X protocol, how cursor movement is handled is purely between the display server and the kernel. (As a side note, Xorg‘s asynchronous mouse cursor movement was first introduced as „Silken Mouse“ in XFree86 4.0, when X was of similar age as Wayland is now)


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds