6. We will need Cairo stack as Weston clients depend on Cairo for rendering. Please build Cairo as described in http://wayland.freedesktop.org/building.html, but note that, for now, we do not enable gl backend for Cairo, so the '--enable-gl --enable-xcb' flags must not be used when building.

7. Building Weston

Now add the following environment settings in the terminal window. (Note the "`"- backtick - character).

Apply the two patches 0001-DRM-condition.patch and 0002-Enable-weston-for-Vivante-GPU.patch.

Build the Weston.

$cd /opt

$tar xvvf weston-1.1.1.tar.xz

$ cd weston-1.1.1

$ ./configure --prefix=$WLD \

--disable-setuid-install \

--disable-x11-compositor --disable-drm-compositor \

--disable-rpi-compositor --disable-wayland-compositor \

--disable-weston-launch --disable-libunwind \

--disable-xwayland-test \

WESTON_NATIVE_BACKEND="fbdev-backend.so"

$ make

$ make install

RUNNING

Also, Weston must be run as root. copy weston.ini and weston-desktop-shell.ini to /root/.config/ . In terminal window,

export LD_LIBRARY_PATH="/usr/lib"

export XDG_RUNTIME_DIR=/tmp

Execute 'src/weston'. You should see a blue screen fading in. In a different terminal, enter 'clients/simple-shm &'. You should see a scrolling color pattern. You can then enter 'clients/simple-egl &' to see a 3D client action.

I have wayland/weston running on a debian rootfs using the latest (3.10.17_beta) libraries. Build instructions on the blog. Unfortunately there is still a dependency to pull in some X11 libraries due to cairo/pixman dependencies.

You can try with that roofts but you need to install vivante libraries.

Alternative you can try my debian sid with xfce rootfs. Use your uboot + kernel (this is for 3.10.9 alpha kernel and GPU (fb+x11) /VPU libraries), however you need to deploy -wl libraries, they are not on the rootfs.

I have got a iMX6Q board, using rootfs built from LTIB. I am able to run wayland in it without any problem. According to wayland/weston - The Weston Wayland Compositor weston does not call FBIO_WAITFORVSYNC ioctl, from the patch available in this thread it look like weston finishes the frame every ms. How the whole system works without tearing or any rendering issue?