Announcement

Collapse
No announcement yet.

XWayland Is Still Being Worked On

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

  • XWayland Is Still Being Worked On

    Phoronix: XWayland Is Still Being Worked On

    While released yesterday was X.Org Server 1.14 RC1, there won't be XWayland support for this next X.Org Server release due out in Q2'2013. However, XWayland support continues to be worked on by Wayland developers so X.Org applications/games can be supported...

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

  • #2
    Too bad

    Too bad it didn't get merged.
    I was really looking forward to it...

    Comment


    • #3
      Originally posted by phoronix View Post
      Phoronix: XWayland Is Still Being Worked On

      While released yesterday was X.Org Server 1.14 RC1, there won't be XWayland support for this next X.Org Server release due out in Q2'2013. However, XWayland support continues to be worked on by Wayland developers so X.Org applications/games can be supported...

      http://www.phoronix.com/vr.php?view=MTI1ODA
      I still dont get why wayland and weston are such a mess in the bigger distros.... yes maybe in gentoo or arch or xy its better but in ubuntu and in fedora (latest) its just not usable... in most cases I dont even get a mouse curser... in fedora at least as root user I get a mouse... and can start a console, but no firefox starts or anything... I thought it should work with this Xcompatability.

      or does wayland only work if you start weston in a x-window?

      its now like 2 monts in 1.0 state or longer? I dont get why there is nothing close to usable out there (at least it seems so)...

      Comment


      • #4
        xwayland, wayland and weston are 3 different things. The protocol is at version 1.0. Weston, the reference implementation of the wayland protocol, also a compositor, is also at this version. Xwayland isn't wayland by any means, it's a bride between wayland and X to work nicely together, it was never released as stable and won't be any time soon, hence there's no reason for Firefox etc to work at all.

        Comment


        • #5
          Originally posted by blackiwid View Post
          in most cases I dont even get a mouse curser... in fedora at least as root user I get a mouse... and can start a console,
          Maybe you still encounter https://bugs.freedesktop.org/show_bug.cgi?id=51647

          Originally posted by blackiwid View Post
          but no firefox starts or anything... I thought it should work with this Xcompatability.
          Well. First you need xwayland AND a fitting xwayland ddx like xf86-video-intel working.

          The xwayland "documentation" has been updated: http://wayland.freedesktop.org/xserver.html
          When using
          Code:
          weston-launch -- --modules=xwayland.so
          you should theoretically be able to start an X application. weston/wayland weston would then start X by itself and display the x application in a window in weston. It worked for me fine on radeon a while ago (when you still had to use --xserver) but when I recently tried on intel xwayland wouldn't start. As it's a complete X.org server you can watch for log files in /var/log/Xorg.*

          Comment


          • #6
            Originally posted by ChrisXY View Post
            Maybe you still encounter https://bugs.freedesktop.org/show_bug.cgi?id=51647


            Well. First you need xwayland AND a fitting xwayland ddx like xf86-video-intel working.

            The xwayland "documentation" has been updated: http://wayland.freedesktop.org/xserver.html
            When using
            Code:
            weston-launch -- --modules=xwayland.so
            you should theoretically be able to start an X application. weston/wayland weston would then start X by itself and display the x application in a window in weston. It worked for me fine on radeon a while ago (when you still had to use --xserver) but when I recently tried on intel xwayland wouldn't start. As it's a complete X.org server you can watch for log files in /var/log/Xorg.*
            k thanx for the info... if you not need wayland but just test it in 2-5 mins just for fun... its a bit hard to get something useful running ^^ I have a radeon (zacate) so when I have time I try it that way...

            Comment


            • #7
              Originally posted by ChrisXY View Post
              but when I recently tried on intel xwayland wouldn't start.
              Well, I had a little time today and seeing the guide now recommends another repository for xwayland than when I tried last I tried again.

              Nope. Maybe I need to shut down my X that is running on another tty, I may try that later.
              Code:
              *snip, everything seems fine, at least to me*
              
              [ 14352.196] drmOpenDevice: node name is /dev/dri/card0
              [ 14352.196] drmOpenDevice: open result is 3, (OK)
              [ 14352.196] drmOpenByBusid: Searching for BusID pci:0000:00:02.0
              [ 14352.196] drmOpenDevice: node name is /dev/dri/card0
              [ 14352.196] drmOpenDevice: open result is 3, (OK)
              [ 14352.196] drmOpenByBusid: drmOpenMinor returns 3
              [ 14352.196] drmOpenByBusid: Interface 1.4 failed, trying 1.1
              [ 14352.196] drmOpenByBusid: drmGetBusid reports 
              [ 14352.196] drmOpenDevice: node name is /dev/dri/card1
              [ 14352.196] drmOpenDevice: open result is -1, (Invalid argument)
              [ 14352.196] drmOpenByBusid: drmOpenMinor returns -22
              [ 14352.196] drmOpenDevice: node name is /dev/dri/card2
              [ 14352.200] drmOpenByBusid: drmOpenMinor returns -1
              [ 14352.200] drmOpenDevice: node name is /dev/dri/card3
              [ 14352.204] drmOpenByBusid: drmOpenMinor returns -1
              [ 14352.204] drmOpenDevice: node name is /dev/dri/card4
              [ 14352.208] drmOpenByBusid: drmOpenMinor returns -1
              [ 14352.208] drmOpenDevice: node name is /dev/dri/card5
              [ 14352.212] drmOpenByBusid: drmOpenMinor returns -1
              [ 14352.212] drmOpenDevice: node name is /dev/dri/card6
              [ 14352.216] drmOpenByBusid: drmOpenMinor returns -1
              [ 14352.216] drmOpenDevice: node name is /dev/dri/card7
              [ 14352.220] drmOpenByBusid: drmOpenMinor returns -1
              [ 14352.220] drmOpenDevice: node name is /dev/dri/card8
              [ 14352.223] drmOpenByBusid: drmOpenMinor returns -1
              [ 14352.223] drmOpenDevice: node name is /dev/dri/card9
              [ 14352.227] drmOpenByBusid: drmOpenMinor returns -1
              [ 14352.227] drmOpenDevice: node name is /dev/dri/card10
              [ 14352.231] drmOpenByBusid: drmOpenMinor returns -1
              [ 14352.231] drmOpenDevice: node name is /dev/dri/card11
              [ 14352.235] drmOpenByBusid: drmOpenMinor returns -1
              [ 14352.235] drmOpenDevice: node name is /dev/dri/card12
              [ 14352.239] drmOpenByBusid: drmOpenMinor returns -1
              [ 14352.239] drmOpenDevice: node name is /dev/dri/card13
              [ 14352.243] drmOpenByBusid: drmOpenMinor returns -1
              [ 14352.243] drmOpenDevice: node name is /dev/dri/card14
              [ 14352.247] drmOpenByBusid: drmOpenMinor returns -1
              [ 14352.247] drmOpenDevice: node name is /dev/dri/card15
              [ 14352.251] drmOpenByBusid: drmOpenMinor returns -1
              [ 14352.251] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
              [ 14352.251] (II) intel(0): Creating default Display subsection in Screen section
                      "Default Screen Section" for depth/fbbpp 24/32
              [ 14352.251] (==) intel(0): Depth 24, (--) framebuffer bpp 32
              [ 14352.251] (==) intel(0): RGB weight 888
              [ 14352.251] (==) intel(0): Default visual is TrueColor
              [ 14352.251] (--) intel(0): Integrated Graphics Chipset: Intel(R) Ivybridge Mobile (GT2)
              [ 14352.252] wayland_drm_screen_init, device name /dev/dri/card0
              [ 14352.252] opened drm fd: 3
              [ 14352.252] (II) intel(0): Output XWAYLAND-1 has no monitor section
              [ 14352.252] (II) intel(0): Output XWAYLAND-1 has no monitor section
              [ 14352.252] (II) intel(0): Printing probed modes for output XWAYLAND-1
              [ 14352.253] (II) intel(0): Modeline "1920x1080"x59.9  138.50  1920 1968 2000 2080  1080 1083 1088 1111 +hsync -vsync (66.6 kHz)
              [ 14352.253] (II) intel(0): Printing probed modes for output XWAYLAND-1
              [ 14352.253] (II) intel(0): Modeline "1920x1080"x59.9  138.50  1920 1968 2000 2080  1080 1083 1088 1111 +hsync -vsync (66.6 kHz)
              [ 14352.253] (II) intel(0): Output XWAYLAND-1 connected
              [ 14352.253] (II) intel(0): Output XWAYLAND-1 connected
              [ 14352.253] (II) intel(0): Using fuzzy aspect match for initial modes
              [ 14352.253] (II) intel(0): Output XWAYLAND-1 using initial mode 1920x1080
              [ 14352.253] (II) intel(0): Output XWAYLAND-1 using initial mode 1920x1080
              [ 14352.253] (**) intel(0): Relaxed fencing enabled
              [ 14352.253] (**) intel(0): Wait on SwapBuffers? enabled
              [ 14352.253] (**) intel(0): Triple buffering? enabled
              [ 14352.253] (**) intel(0): Framebuffer tiled
              [ 14352.253] (**) intel(0): Pixmaps tiled
              [ 14352.253] (**) intel(0): 3D buffers tiled
              [ 14352.253] (**) intel(0): SwapBuffers wait enabled
              [ 14352.253] (==) intel(0): video overlay key set to 0x101fe
              [ 14352.253] (==) intel(0): Using gamma correction (1.0, 1.0, 1.0)
              [ 14352.253] (==) intel(0): DPI set to (96, 96)
              [ 14352.253] (II) Loading sub module "fb"
              [ 14352.253] (II) LoadModule: "fb"
              [ 14352.253] (II) Loading /opt/xwayland/lib/xorg/modules/libfb.so
              [ 14352.253] (II) Module fb: vendor="X.Org Foundation"
              [ 14352.253]    compiled for 1.12.2, module version = 1.0.0
              [ 14352.253]    ABI class: X.Org ANSI C Emulation, version 0.4
              [ 14352.253] (II) Loading sub module "dri2"
              [ 14352.253] (II) LoadModule: "dri2"
              [ 14352.254] (II) Loading /opt/xwayland/lib/xorg/modules/extensions/libdri2.so
              [ 14352.254] (II) Module dri2: vendor="X.Org Foundation"
              [ 14352.254]    compiled for 1.12.2, module version = 1.2.0
              [ 14352.254]    ABI class: X.Org Server Extension, version 6.0
              [ 14352.254] (==) Depth 24 pixmap format is 32 bpp
              [ 14352.254] (II) intel(0): [DRI2] Setup complete
              [ 14352.254] (II) intel(0): [DRI2]   DRI driver: i965
              [ 14352.254] (II) intel(0): Allocated new frame buffer 1920x1080 stride 7680, tiled
              [ 14352.255] (II) UXA(0): Driver registered support for the following operations:
              [ 14352.255] (II)         solid
              [ 14352.255] (II)         copy
              [ 14352.255] (II)         composite (RENDER acceleration)
              [ 14352.255] (II)         put_image
              [ 14352.255] (II)         get_image
              [ 14352.255] (==) intel(0): Backing store disabled
              [ 14352.255] (==) intel(0): Silken mouse enabled
              [ 14352.255] (II) intel(0): Initializing HW Cursor
              [ 14352.255] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
              [ 14352.255] (==) intel(0): DPMS enabled
              [ 14352.255] (==) intel(0): Intel XvMC decoder enabled
              [ 14352.255] (II) intel(0): Set up textured video
              [ 14352.256] (II) intel(0): [XvMC] xvmc_vld driver initialized.
              [ 14352.256] (II) intel(0): direct rendering: DRI2 Enabled
              [ 14352.256] (==) intel(0): hotplug detection: "enabled"
              [ 14352.256] (WW) intel(0): drmSetMaster failed: Permission denied
              [ 14352.256]
              [ 14352.256] Backtrace:
              [ 14352.256] 0: /opt/xwayland/bin/Xorg (xorg_backtrace+0x36) [0x55dc06]
              [ 14352.256] 1: /opt/xwayland/bin/Xorg (0x400000+0x161b29) [0x561b29]
              [ 14352.256] 2: /usr/lib/libpthread.so.0 (0x7fc750c19000+0xf1a0) [0x7fc750c281a0]
              [ 14352.256] 3: /opt/xwayland/lib/xorg/modules/drivers/intel_drv.so (0x7fc74d5af000+0x14908) [0x7fc74d5c3908]
              [ 14352.256] 4: /opt/xwayland/lib/xorg/modules/drivers/intel_drv.so (0x7fc74d5af000+0x158ae) [0x7fc74d5c48ae]
              [ 14352.256] 5: /opt/xwayland/lib/xorg/modules/drivers/intel_drv.so (0x7fc74d5af000+0x15e08) [0x7fc74d5c4e08]
              [ 14352.256] 6: /opt/xwayland/bin/Xorg (AddScreen+0x189) [0x434989]
              [ 14352.256] 7: /opt/xwayland/bin/Xorg (InitOutput+0x28e) [0x4726be]
              [ 14352.256] 8: /opt/xwayland/bin/Xorg (0x400000+0x23656) [0x423656]
              [ 14352.256] 9: /usr/lib/libc.so.6 (__libc_start_main+0xf5) [0x7fc74fab3725]
              [ 14352.256] 10: /opt/xwayland/bin/Xorg (0x400000+0x23acd) [0x423acd]
              [ 14352.256] 
              [ 14352.256] Segmentation fault at address (nil)
              [ 14352.257] 
              Fatal server error:
              [ 14352.257] Caught signal 11 (Segmentation fault). Server aborting
              [ 14352.257] 
              [ 14352.257] 
              Please consult the The X.Org Foundation support 
                       at http://wiki.x.org
               for help. 
              [ 14352.257] Please also check the log file at "/opt/xwayland/var/log/Xorg.1.log" for additional information.
              [ 14352.257] 
              [ 14352.257] (WW) intel(0): drmDropMaster failed: Permission denied
              [ 14352.257] Server terminated with error (1). Closing log file.

              Comment

              Working...
              X