Results 1 to 10 of 16

Thread: XWayland being under active development again

Hybrid View

  1. #1

    Default XWayland being under active development again

    I've just noticed that XWayland has got some recent development (last change is less than two days ago) in the "xwayland" branch. Apparently it is no longer based on Xorg 1.12 but the current Xorg 1.14.

    I've been playing with it for some time in weston running on intel GPU (with driver from xwayland branch) and it seems to work quite nicely. I applaud the wayland developers for doing a great job. It still does have some rough edges and it doesn't seem to be ready for general use though. For example, the windows using XWayland are missing minimize/maximize/close buttons and the cursor changes to the "black x" cursor when the mouse is over such windows.

    BTW: does anyone know how to change the mouse/touchpad sensitivity in weston?

  2. #2
    Join Date
    Jul 2013
    Location
    USA
    Posts
    715

    Default

    Quote Originally Posted by stativ View Post
    I've just noticed that XWayland has got some recent development (last change is less than two days ago) in the "xwayland" branch. Apparently it is no longer based on Xorg 1.12 but the current Xorg 1.14.

    I've been playing with it for some time in weston running on intel GPU (with driver from xwayland branch) and it seems to work quite nicely. I applaud the wayland developers for doing a great job. It still does have some rough edges and it doesn't seem to be ready for general use though. For example, the windows using XWayland are missing minimize/maximize/close buttons and the cursor changes to the "black x" cursor when the mouse is over such windows.

    BTW: does anyone know how to change the mouse/touchpad sensitivity in weston?
    theres a patch for that far as i know
    will the new Xwayland run games?

  3. #3

    Default

    Quote Originally Posted by LinuxGamer View Post
    theres a patch for that far as i know
    So far I had no luck finding it.

    Quote Originally Posted by LinuxGamer View Post
    will the new Xwayland run games?
    I haven't tried any, but it run glxgears. And it had higher FPS than on Xorg with compositing enabled (with compositing disabled Xorg was faster by a few FPS).

    Quote Originally Posted by LinuxGamer View Post
    you have a link to the Xwayland updates?
    Yes, it is in the original post. Here it is again: http://cgit.freedesktop.org/xorg/xse...og/?h=xwayland

    BTW: today I noticed that the x cursor is shown only when the cursor is over the window decorations, it is correct when inside the window.

  4. #4
    Join Date
    Jul 2013
    Location
    USA
    Posts
    715

    Default

    Quote Originally Posted by stativ View Post
    So far I had no luck finding it.



    I haven't tried any, but it run glxgears. And it had higher FPS than on Xorg with compositing enabled (with compositing disabled Xorg was faster by a few FPS).


    Yes, it is in the original post. Here it is again: http://cgit.freedesktop.org/xorg/xse...og/?h=xwayland

    BTW: today I noticed that the x cursor is shown only when the cursor is over the window decorations, it is correct when inside the window.
    Nice compositing on and its around the same speed as Xorg no compositing this looks really good what Linux you running it on Btw? i use Arch most of the time as a testbed

  5. #5

    Default

    Quote Originally Posted by LinuxGamer View Post
    Nice compositing on and its around the same speed as Xorg no compositing this looks really good what Linux you running it on Btw? i use Arch most of the time as a testbed
    Arch, too.

  6. #6
    Join Date
    Jul 2013
    Location
    USA
    Posts
    715

    Default

    Quote Originally Posted by stativ View Post
    Arch, too.
    Let me know if any games run well on it will you?

  7. #7
    Join Date
    Jul 2013
    Location
    USA
    Posts
    715

    Default

    Quote Originally Posted by stativ View Post
    I've just noticed that XWayland has got some recent development (last change is less than two days ago) in the "xwayland" branch. Apparently it is no longer based on Xorg 1.12 but the current Xorg 1.14.

    I've been playing with it for some time in weston running on intel GPU (with driver from xwayland branch) and it seems to work quite nicely. I applaud the wayland developers for doing a great job. It still does have some rough edges and it doesn't seem to be ready for general use though. For example, the windows using XWayland are missing minimize/maximize/close buttons and the cursor changes to the "black x" cursor when the mouse is over such windows.

    BTW: does anyone know how to change the mouse/touchpad sensitivity in weston?
    you have a link to the Xwayland updates?

  8. #8
    Join Date
    Jun 2010
    Location
    ฿ 16LDJ6Hrd1oN3nCoFL7BypHSEYL84ca1JR
    Posts
    965

    Default

    Quote Originally Posted by stativ View Post
    I've been playing with it for some time in weston running on intel GPU (with driver from xwayland branch)
    Seriously, how do you guys do this? It hasn't compiled for me in weeks.

    xserver with the xwayland branch compiles normally.
    xf86-video-intel with the xwayland branch:

    Code:
    sna_driver.c:434:2: error: implicit declaration of function ‘hosted’ [-Werror=implicit-function-declaration]
      if (hosted() && (sna->flags & SNA_IS_HOSTED) == 0) {
      ^
    sna_driver.c:434:2: warning: nested extern declaration of ‘hosted’ [-Wnested-externs]
    cc1: some warnings being treated as errors
    With --disable-sna:
    Code:
    intel_dri.c:1641:7: error: ‘xorgWayland’ undeclared (first use in this function)
      if (!xorgWayland) {
           ^
    (note: In ./src/intel_driver.h: there is #define hosted() (xorgWayland))

  9. #9

    Default

    Quote Originally Posted by ChrisXY View Post
    Seriously, how do you guys do this? It hasn't compiled for me in weeks.
    If you are on Arch, you can use these PKGBUILDS:
    http://pastebin.com/qMWuF2Sx
    http://pastebin.com/GNrp14ZA
    They should work fine.

  10. #10
    Join Date
    Jun 2010
    Location
    ฿ 16LDJ6Hrd1oN3nCoFL7BypHSEYL84ca1JR
    Posts
    965

    Default

    Quote Originally Posted by stativ View Post
    If you are on Arch, you can use these PKGBUILDS:
    http://pastebin.com/qMWuF2Sx
    http://pastebin.com/GNrp14ZA
    They should work fine.
    Thanks, I added a few flags to the xserver and it compiled. The previous xwayland-1.12 didn't require that I think.

    I'm trying to install it to /opt/xwayland and got it almost working by creating a xorg.conf that sets the ModulePath "/opt/xwayland/lib/xorg/modules" and adding a few configure flags like --prefix=/opt/xwayland --with-serverconfig-path=/opt/xwayland/etc --with-module-dir=/opt/xwayland/lib/xorg/modules but I haven't been able to get those two correct:
    Using config directory: "/etc/X11/xorg.conf.d"
    Using system config directory "/usr/share/X11/xorg.conf.d"

    There's always this when running weston in X:
    (II) xfree86: Adding drm device (/dev/dri/card0)
    [334133.684] setversion 1.4 failed: Permission denied
    But I don't think it's a problem...

    Then it loads /opt/xwayland/lib/xorg/modules/extensions/libxwayland.so /opt/xwayland/lib/xorg/modules/extensions/libglx.so and /opt/xwayland/lib/xorg/modules/drivers/intel_drv.so nicely.

    And then it's over with:
    (EE) Screen 0 deleted because of no matching config section.
    (II) UnloadModule: "intel"
    (EE) Device(s) detected, but none match those in the config file.


    They really ought to make setting up xwayland easier.

Posting Permissions

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