From ArchWiki
Revision as of 19:45, 9 December 2010 by Bzhb (talk | contribs) (first dump)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Wayland is a new compositor for linux. It is still in development version.

Official website : http://wayland.freedesktop.org/

Forum discussion : https://bbs.archlinux.org/viewtopic.php?id=107499


needed PKGBUILD are here : https://gist.github.com/720093

Two other files are needed to build. For cairo:

wget http://aur.archlinux.org/packages/cairo-git/cairo-git/cairo-1.10.0-buggy_gradients.patch

For mesa:

wget http://aur.archlinux.org/packages/mesa-git/mesa-git/LICENSE

If you get an error "cairo_gl_surface_create" doesn't exist, use this flag for cairo :


If you get an error "cairo_gl_surface_create" doesn't exist.

Also for mesa you may add those flags to ./configure :

--enable-gles2 --with-dri-drivers=(your dri-driver) --enable-driglx-direct --with-egl-displays="x11 drm"

They come from this thread : http://comments.gmane.org/gmane.comp.video.dri.devel/51319

your dri driver is probably in this list : swrast,radeon,r200,r300,r600,i810,i915,i965,unichrome,mach64,mga,r128,savage,sis,tdfx


$ wayland-system-compositor -a /path/to/backgroundimage.jpg

Then in another VT you can run the demos:


'flower' moves a flower around the screen, testing the frame protocol

'gears' glxgears, but for wayland, currently broken

'image' loads the image files passed on the command line and shows them

'view' does the same for pdf files, but needs file URIs (file:///path/to/pdf)

to do

Add instruction to install qt, gtk ...