• kugmo@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 hour ago

    Last time I tried pure wayland on Counter Strike 2 (a game where you can’t use the Windows version online because it’s blocked) this matters a lot because CS2’s wayland native was glitchy with alt-tabbing and mouse grabbing with multiple monitors. Older source engine games you’re also fucked because again proton is blocked and the Linux versions are (probably) stuck with XWayland for eternity.

  • [object Object]@lemmy.ca
    link
    fedilink
    English
    arrow-up
    25
    ·
    edit-2
    9 hours ago

    On the topic of why people still say Wayland is slow, it probably was much much slower and only years of successive improvement in both the DE and base library got it up there in speed.

    Personally I joined Linux recently and don’t understand all the beef with Wayland, but it does seem to work very well for me, so I’m happy enough with it.

    • FauxLiving@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      5 hours ago

      A lot of people are holding legacy grudges about issues that have long since been fixed.

      NVIDIA drivers used to be absolute hell on Linux, now they work decently well outside of some specific, older, hardware. But, if you listen to social media commentors (the source of all wisdom), you’d think that trying to boot a Linux machine with an NVIDIA card is literally(-figuratively) suicide.

  • ExperiencedWinter@lemmy.world
    link
    fedilink
    English
    arrow-up
    15
    ·
    11 hours ago

    I understand unplugging a second monitor to try and get the cleanest data possible, but Id be super interested in the data with the other monitor plugged in and even playing a video in the background.

  • Björn@swg-empire.de
    link
    fedilink
    English
    arrow-up
    12
    ·
    11 hours ago

    Avoid XWayland

    It added 3.13 ms of latency, more than all other effects combined. Wayland is close, but X11 still wins

    Though only by 0.14 to 0.22 ms. Given there are efforts to optimize KWin, this gap will likely close sooner rather than later. And who knows, other Wayland compositors might already be better. VRR has the biggest effect

    VRR was faster in every pairing (0.26 to 0.45 ms) and also flattened the latency distribution. dxvk-low-latency is a win across the board

    0.10 to 0.29 ms in capped scenarios is a nice boost, but the real strength of the fork shows in the uncapped test case, where it gained 0.84 ms over default dxvk.

    Additionally, in scenarios where XWayland can’t be avoided, it recovered a full 2.1 ms. Conclusion

    Not factoring in XWayland, applying every optimization (X11, VRR, low-latency) compared to a default setup (which, on a modern Linux system, I assume is plain Wayland) moved the median down by 0.72 ms.

    That does not sound like a lot, but the raw latency does not tell the whole story as VRR additionally reduces latency jitter, and dxvk-low-latency’s pacer is great at smoothing out real-world scenarios where frame time dips and GPU-bound situations occur.

    • sp3ctr4l@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      2
      ·
      5 hours ago

      So I skimmed the actual article, not sure if the author said this, but my guess as to why Wayland has a … worse reputation generally in the latency department, than seems to be deserved?

      At least for myself, there was a significant period of time where … XWayland was the only way to actually run whatever game, on my system, with/via Wayland.

      If this kind of thing was not just myself, and was generally common… well then XWayland = Wayland -> Wayland sucks.

  • tuxiqae@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    7
    ·
    edit-2
    11 hours ago

    Interesting read!

    It would’ve been interesting too see how it compares to recent Windows versions as well.

  • AlteredEgo@lemmy.ml
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    1
    ·
    9 hours ago

    Without dxvk-low-latency, XWayland adds 3.13 ms of latency to the measurement.

    Can 3ms actually be noticed? Like if you randomly select one mode and did a “blind” test to see if you can tell the difference which mode is on? This honestly sounds impossible to me.

    • Chais@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      4
      ·
      8 hours ago

      If you’re familiar with the setup and play something where latency matters (competitive FPS and rhythm games cone top mind) I guess it might be enough to their you off your game.
      But on an unknown system, where you have no comparison, I’m not so sure.

      • FauxLiving@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        5 hours ago

        The 3ms is the full end-to-end latency. From the click to the monitor updating with the result.

        3ms isn’t noticeable, even the worst performer (xwayland) only hit 8ms which wouldn’t be noticed outside of very specific games.

        Fighting games’ frames are around 17ms and moves that require hitting a single frame are nearly impossible to perform consistently.

    • brucethemoose@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      7 hours ago

      VRR on every monitor/TV I’ve tried is flickery, outside of games.

      And even with games its best to be mindful of the VRR range.