Xserver errors

Bill Spitzak spitzak at gmail.com
Wed Feb 5 23:18:29 PST 2014


Not having any luck getting the new xserver compiled.

It seems to require a newer mesa (due to missing symbols like 
__DRI_ATTRIB_FLOAT) but I can't get that to compile. Mesa configure 
fails with this:

./autogen.sh --prefix=$WLD --enable-gles2 --disable-gallium-egl 
--with-egl-platforms=wayland,x11,drm --enable-gbm --enable-shared-glapi 
--with-gallium-drivers=r300,r600,swrast,nouveau
...
configure: error: Package requirements (x11 xext xdamage xfixes x11-xcb 
xcb-glx >= 1.8.1 xcb-dri2 >= 1.8 xcb-dri3 xcb-present xcb-sync xshmfence 
 >= 1.1) were not met:

No package 'xcb-dri3' found
No package 'xcb-present' found
No package 'xcb-sync' found
No package 'xshmfence' found

I have no idea where those packages are found. Also not sure if maybe I 
am off course and don't need to compile mesa this way.


On 02/05/2014 10:00 AM, Jasper St. Pierre wrote:
> You want to be using the "xwayland" branch of Xorg, not "xwayland-1.12".
> That explains why everything was showing up black: xwayland-1.12 is
> almost a year old, and Weston doesn't work with it anymore.
>
> Make sure to build xf86-video-wayland, and uninstall xf86-video-wlshm.
> wlshm is old. You should just be able to just install xf86-video-wayland
> and have everything work.
>
>
> On Wed, Feb 5, 2014 at 12:46 PM, Bill Spitzak <spitzak at gmail.com
> <mailto:spitzak at gmail.com>> wrote:
>
>     On 02/05/2014 09:21 AM, Jasper St. Pierre wrote:
>
>         What compositor are you using
>
>
>     The X11 compositor you get when you run wayland under X.
>
>     My X system is stock Ubuntu running Unity, though I suspect that has
>     little to do with it.
>
>
>         and how did you build Xwayland?
>
>
>     There is "xwayland" inside weston. Weston I am using the main
>     branch, and I configure and compile and install it with:
>
>     ./autogen.sh --prefix=$HOME/install --disable-setuid-install
>     --disable-colord
>     make
>     make install
>
>     xserver: I am using the xwayland-1.12 branch from
>     git://anongit.freedesktop.org/__xorg/xserver
>     <http://anongit.freedesktop.org/xorg/xserver>.
>     Configure/make/install is:
>
>     ./autogen.sh --prefix=$HOME/install
>     make
>     make install
>
>     Also I am compiling/installing xserver after xwayland, not sure if
>     this is the correct order.
>
>     I am rather mystified as to why there is both an xserver and
>     xwayland code in weston, any quick explanation would be appreciated.
>
>
>         Did you
>         build xf86-video-wayland as well?
>
>
>     No, only xf86-video-ati, xf86-video-intel, xf86-video-wlshm. I had
>     to compile tons of stuff in order to get xserver to compile, which
>     is really annoying. Most of it I suspect is never used.
>
>     If I add this, how do I tell the Xserver that it exists? Do I just
>     have to install it, or do I have to recomfigure and recompile Xserver?
>
>     I am also dubious that this has anything to do with it, as my test
>     applications are not using xv.
>
>
>
>
>
> --
>    Jasper



More information about the wayland-devel mailing list