Story Details

  • Hard numbers in the Wayland vs. X11 input latency discussion

    Posted: 2025-01-26 16:57:52

    The blog post presents benchmark results comparing input latency between Wayland and X11 using a custom-built input latency measurement tool. It concludes that Wayland exhibits consistently lower input latency than X11 across various desktop environments and configurations, even when accounting for composition latency. The author attributes Wayland's superior performance to its simplified architecture, which bypasses X11's legacy layers and allows for more direct communication between applications and the display server, leading to reduced overhead and quicker processing of input events. While acknowledging potential confounding factors and the limitations of the testing methodology, the results strongly suggest that Wayland delivers a more responsive user experience due to its inherent design advantages in input handling.

    Summary of Comments ( 161 )
    https://news.ycombinator.com/item?id=42831509

    Hacker News users discussed the methodology and conclusions of the linked article comparing Wayland and X11 input latency. Several commenters questioned the fairness of the comparison, pointing out potential confounding factors like different compositor implementations (Sway vs. GNOME) and varying hardware configurations. Some suggested the benchmark wasn't representative of real-world usage, focusing on synthetic tests rather than common desktop tasks. Others highlighted the difficulty of accurately measuring input latency and the potential for subtle system variations to skew results. A few commenters shared their personal experiences, with some reporting noticeable improvements in latency under Wayland while others experienced no discernible difference. Overall, there was skepticism about the article's definitive claim of Wayland's superiority, with many calling for more rigorous and comprehensive testing.