Announcement

Collapse
No announcement yet.

SDL Now Supports Relative Mouse Mode On Wayland

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

  • srakitnican
    replied
    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

    Leave a comment:


  • Krejzi
    replied
    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.

    Leave a comment:


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

    Leave a comment:


  • srakitnican
    replied
    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)

    Leave a comment:


  • smitty3268
    replied
    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.

    Leave a comment:


  • microcode
    replied
    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.

    Leave a comment:


  • bkor
    replied
    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.

    Leave a comment:


  • shmerl
    replied
    Mir is still a thing? I thought Ubuntu would switch to Wayland by now.

    Leave a comment:


  • CrystalGamma
    replied
    Originally posted by microcode View Post
    Excellent, this was the last thing preventing me from playing Xonotic under Wayland. Xonotic actually runs faster (!) for me under Wayland.
    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 …

    Leave a comment:


  • DanielG
    replied
    yeah, when icculus wrote that tweet it was still in his own SDL dev fork, now it's in the official repo.
    I hope the 2.0.5 release won't take as long as 2.0.4

    Leave a comment:

Working...
X