Announcement

Collapse
No announcement yet.

SDL Now Supports Relative Mouse Mode On Wayland

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #11
    Originally posted by CrystalGamma View Post
    Why the exclamation mark? Aside from not having X11's 'unfixable' security issues and general weirdness in the I/O path, higher efficiency was a major goal for Wayland.
    There's quite a difference between a more efficient design and more efficient in practice. X11 has a lot of development effort, optimizations from many years. Currently for Wayland there's still quite a bit of effort into ensuring similar features are available for desktops in Wayland vs X11. As such, not sure how much time was invested into checking if the performance is really ok. Simple mistakes could really impact performance, even if the overall design should've been efficient.

    Comment


    • #12
      Originally posted by CrystalGamma View Post

      Why the exclamation mark? Aside from not having X11's 'unfixable' security issues and general weirdness in the I/O path, higher efficiency was a major goal for Wayland. So assuming that the game runs without Xwayland, anything except speedups would be a disappointment …
      Be that as it may, I find that GTK+3 and EFL are generally slower under Wayland. That said, I don't use a compositor in my X11 at all, so it could be that GTK+ and EFL are just slower with compositing, which would make sense. Whereas Xonotic is just flipping pages right to screen if everything is going right.

      Comment


      • #13
        Originally posted by bkor View Post

        There's quite a difference between a more efficient design and more efficient in practice. X11 has a lot of development effort, optimizations from many years. Currently for Wayland there's still quite a bit of effort into ensuring similar features are available for desktops in Wayland vs X11. As such, not sure how much time was invested into checking if the performance is really ok. Simple mistakes could really impact performance, even if the overall design should've been efficient.
        A lot of the efficiency Wayland was hoping to introduce have also been added to X now through DRI3, and you can see the difference in some benchmarks between DRI2 and 3. Wayland itself will probably still bring a bit more but I'd bet that for the most part DRI 3 is going to be pretty close.

        Comment


        • #14
          Originally posted by Krejzi View Post
          If the game works on wayland, then no, there won't be any changes required. That said, xonotic is now playable under pure wayland!
          Why xonotic on Fedora requires SDL1 is it not supposed to run on SDL2?
          Code:
          $ sudo dnf repoquery -l --requires xonotic | grep SDL
          libSDL-1.2.so.0()(64bit)

          Comment


          • #15
            SDL2-2.0.4-9 package just came out for Fedora with a backported patch from Jonas for relative mouse support.

            Comment


            • #16
              Originally posted by srakitnican View Post

              Why xonotic on Fedora requires SDL1 is it not supposed to run on SDL2?
              Code:
              $ sudo dnf repoquery -l --requires xonotic | grep SDL
              libSDL-1.2.so.0()(64bit)
              It's Fedora's fault. Xonotic supports SDL2.

              Comment


              • #17
                Is it using SDL2 if present or does it have to be compiled with SDL2 support, that is what I would like to know. P.S. I didn't try to run it yet

                Comment

                Working...
                X