"wayland vs x11 which is faster" topic
Jux [GD] - "memory of you" OUT NOW @JuxGD@plasmatrap.com
Content warning: "wayland vs x11 which is faster" topic
it was proven that wayland does indeed have higher latency than x11 but it's like less than 1 milliseconds difference without using xwayland on wayland. i am referring to Marco Nett's independent research thing https://marco-nett.de/blog/measuring-input-latency-on-linux-x11-vs-wayland-vrr-dxvk/
but this was on kde plasma/kwin, which as far as i know doesn't use wlroots or another library like smithay. we're comparing xorg kwin to kwin with whatever lowlevel backend kde decided to use with plasma, not x11 to wayland. i imagine input lag depends on the actual wayland protocol implementation rather than the protocol itself, that would be weird. i mean, it's logical to think that a bad x11 protocol implementation would lead to higher latency than wayland
if that's the case, the question becomes: what was xorg doing that kwin's wayland implementation doesn't do (or what the former isn't doing that the latter is) that made latency better?
i mean of course it has to do with the wayland protocol's focus on security, i imagine the lack of direct access to certain parts of the flow would naturally prevent it from being fast enough but like it's still just a protocol we can't ignore the huge importance of the actual implementation
someone should test an x11 thing that uses phoenix as a server instead of xorg, though it's true that there might be incompatibilities since no x11 desktops or wms up to now were made with phoenix in mind