|
|
|
|
|
by ttarr
1552 days ago
|
|
I should've been more clear, Firefox is just an example, my problem is the mouse pointer being affected by heavy load of any kind on the GPU/UI thread. As coldblues said, it's probably Mutter not having an independent thread for the mouse pointer, X11's pointer handling is independent from Mutter/KWin it seems. See the demo here to know exactly what I'm talking about: https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1241 |
|
It's because of stuff like this that we should treat UIs more like real time systems. There's really no good reason at all that a modern machine can't render every frame perfectly every time regardless of system load --- it's due to inadequate attention paid to isolating real-time-ish paths like mouse cursor movement, composition, input event dispatch, and so on from app-induced loads that we get weird responsiveness issues. X actually did a better job in this particular respect than your typical Wayland compositor --- it used interrupt driven mouse cursor rendering, for example.