Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: Wayland 1.5 Appears To Be In Great Shape

  1. #1
    Join Date
    Jan 2007
    Posts
    14,919

    Default Wayland 1.5 Appears To Be In Great Shape

    Phoronix: Wayland 1.5 Appears To Be In Great Shape

    The 1.5 release of Wayland and the Weston compositor is imminent and this release appears to be particularly good...

    http://www.phoronix.com/vr.php?view=MTY4NTQ

  2. #2
    Join Date
    Feb 2012
    Posts
    184

    Default

    I'm so excited for when adoption is widespread enough that we can use it daily. I mean, I guess I could soon if I were crazy enough.

  3. #3
    Join Date
    Sep 2007
    Posts
    313

    Default

    Quote Originally Posted by scionicspectre View Post
    I'm so excited for when adoption is widespread enough that we can use it daily. I mean, I guess I could soon if I were crazy enough.
    I'm waiting for XWayland to appear in ArchLinux's repositories. Should be there as soon as the next XServer is released...

  4. #4
    Join Date
    Jul 2012
    Posts
    771

    Default

    Quote Originally Posted by oleid View Post
    I'm waiting for XWayland to appear in ArchLinux's repositories. Should be there as soon as the next XServer is released...
    No need to wait xwayland-git is in the AUR. I changed the PKGBUILD so that it only builds the XWayland binary and doesn't replace your stable X Server which is used to launch your default desktop.

    https://gist.github.com/anonymous/1e1eca7b6dc47b53940d

    So you can savely install this without destabilizing your system. The maintainer of the xwayland-git package will merge this so that you can use your AUR wrapper. For now just run makepkg -si in the directory containing my PKGBUILD.

    After that XWayland works just out of the box with compositors that use the new XWayland apporach like the development version of weston so install weston-git or wait for weston 1.15 to be released in the next days. You can use any open source driver.

    The mutter-wayland 3.12 package in Arch Linux doesn't have the XWayland DDX patch, but it would be interesting to try and just backport these patches to the 3.12 version and rebuild the package with it.

    https://mail.gnome.org/archives/comm.../msg00653.html

    If you want to use nouveau to play around with weston and XWayland you need to revert this patch in your kernel package, because it broke weston-launch.
    http://kernel.suse.com/cgit/kernel/c...534ef4561da9e0

    So just add this patch to your prepare() routine in the linux PKGBUILD and rebuild the kernel.
    https://gist.github.com/anonymous/55f0624510e0ddca752f
    Last edited by blackout23; 05-09-2014 at 04:40 AM.

  5. #5
    Join Date
    Sep 2007
    Posts
    313

    Default

    Quote Originally Posted by blackout23 View Post
    No need to wait xwayland-git is in the AUR. I changed the PKGBUILD so that it only builds the XWayland binary and doesn't replace your stable X Server which is used to launch your default desktop.

    https://gist.github.com/anonymous/1e1eca7b6dc47b53940d

    So you can savely install this without destabilizing your system. The maintainer of the xwayland-git package will merge this so that you can use your AUR wrapper. For now just run makepkg -si in the directory containing my PKGBUILD.
    Ah, that's good to read. I tried to build XWayland before, however it failed somehow.

    Quote Originally Posted by blackout23 View Post
    If you want to use nouveau to play around with weston and XWayland you need to revert this patch in your kernel package, because it broke weston-launch.
    http://kernel.suse.com/cgit/kernel/c...534ef4561da9e0

    So just add this patch to your prepare() routine in the linux PKGBUILD and rebuild the kernel.
    https://gist.github.com/anonymous/55f0624510e0ddca752f
    No, but thank's... only AMD hardware here, so I'm safe

  6. #6
    Join Date
    Jul 2008
    Posts
    848

    Default

    What advantage does XWayland have? Its a additional Layer at best its not slower than native X-server or am I wrong here?

    So the question is when does the real thing come, without Xserver?

  7. #7
    Join Date
    Nov 2013
    Posts
    188

    Default

    Quote Originally Posted by blackiwid View Post
    What advantage does XWayland have? Its a additional Layer at best its not slower than native X-server or am I wrong here?

    So the question is when does the real thing come, without Xserver?
    You might be misunderstanding the purpose of XWayland.
    It is a kind of adapter technology, to support programs that support X11 but do not (yet) support Wayland.

    It is similar to running a Windows application in Wine or a X11 application on Windows or OSX with a native XServer of the respective platform.

    Cheers,
    _

  8. #8
    Join Date
    Jul 2012
    Posts
    771

    Default

    Quote Originally Posted by blackiwid View Post
    What advantage does XWayland have? Its a additional Layer at best its not slower than native X-server or am I wrong here?

    So the question is when does the real thing come, without Xserver?
    XWayland is it's own tiny binary server (just 1.8 MB) to provide a fallback for applications that can't speak natively to the Wayland compositor. Most GTK3 apps like Gnome Applications run native on Wayland. Qt4 and apps that make direct calls to X without a toolkit would not work otherwise on a Wayland desktop. It's rootless so the legacy X application is an isolated Window using XWayland while everything else runs on the Wayland compositor like Mutter for Gnome. It works great already. Gnome 3.12 on Wayland is already the real thing.

    I built the mutter-wayland package to use a snapshot after the 3.12 release and after support for the new XWayland DDX was added. After that selecting Gnome on Wayland from GDM launches the Wayland desktop and everything works aslong as you use the open source drivers.

    https://plus.google.com/102728383099...ts/1ZX13EzVRi4

    You basically can't tell the difference visually from running legacy X apps or native Wayland applications.

  9. #9
    Join Date
    Sep 2007
    Posts
    313

    Default

    Quote Originally Posted by blackiwid View Post
    What advantage does XWayland have? Its a additional Layer at best its not slower than native X-server or am I wrong here?

    So the question is when does the real thing come, without Xserver?
    Additionally to what the others said, XWayland is also a dependency of the GnomeShell (resp. it's window manager) - as it has the fallback stuff for legacy applications build-in.

    Quote Originally Posted by blackout23
    You basically can't tell the difference visually from running legacy X apps or native Wayland applications.
    Any other difference? Does it seem smoother than GnomeShell on X11?

  10. #10
    Join Date
    Oct 2007
    Posts
    34

    Default

    Thanks a lot blackout23 for the pkgbuilds, I finally managed to run GNOME on Wayland and I can only say that I'm really stunned by how things are really close to the fully-working state. I was even wondering if it failed and just fell back to traditional X11 as almost every application including KDE ones ran flawlessly and looked integrated :



    There's some issues like no pointer acceleration, very bare touchpad support and windows sometimes refusing to move or resize (but can do it via context menus), and I managed to crash mutter with gwenview, but otherwise most of the stuff surprisingly just works.

    Quote Originally Posted by oleid View Post
    Any other difference? Does it seem smoother than GnomeShell on X11?
    Well on my Mobility HD3650, Gnome Shell isn't smooth on Wayland (nothing unbeareable tho) but it's not even on X11, while Kwin on X11 and Weston are butter smooth.
    So the performance is comparable I would say. I believe Mutter (regardless of X11/Wayland) needs some optimisation yet.
    Last edited by Scias; 05-09-2014 at 10:11 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •