Wayland and R600?

twied twied at gmx.net
Tue Jan 25 06:37:59 PST 2011


Hi,

this is not meant as an "official build guide", it's rather "what configuration is working for me":

$ lspci | grep VGA
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon HD 3870

$ uname -r
2.6.37-trunk-amd64

$ cat /etc/apt/sources.list
deb http://ftp.de.debian.org/debian/ testing	     main contrib non-free
deb http://ftp.de.debian.org/debian/ experimental main contrib non-free

export XDG_RUNTIME_DIR=/tmp/
export PKG_CONFIG_PATH=$HOME/install/lib/pkgconfig
export LDFLAGS=-L$HOME/install/lib
export CPPFLAGS=-I$HOME/install/include
export LIBGL_DRIVERS_PATH=$HOME/install/lib/dri
export LD_PRELOAD=$HOME/install/lib/libGL.so.1

cairo:
git://anongit.freedesktop.org/cairo
commit: 062e78b620cd6161f0a2fd2644866fb5d957a9db
./autogen.sh --prefix=$HOME/install --enable-gl

kbproto:
git://anongit.freedesktop.org/xorg/proto/kbproto
commit: 4adfcde42846d19ad49557880978247dc4ea2f0f
./autogen.sh --prefix=$HOME/install

libxkbcommon:
git://people.freedesktop.org/xorg/lib/libxkbcommon.git
commit: b9b0011994c2887625cdb23633d67a8fefd6b7cb
./autogen.sh --prefix=$HOME/install --with-xkb-config-root=/usr/share/X11/xkb

mesa:
git://anongit.freedesktop.org/mesa/mesa
commit: b0669837808dee576dd05c8c335ca78264dd8e80
./autogen.sh --prefix=$HOME/install \
         --with-dri-drivers="" \
         --enable-gles1 \
         --enable-gles2 \
         --disable-gallium-egl \
         --enable-gallium-r600 \
         --with-egl-platforms="x11,drm"

wayland:
git://anongit.freedesktop.org/wayland
commit: 238515d3d7e0d824d660b3da4f1ac98eeff4a4b8
./autogen.sh --prefix=$HOME/install --sysconfdir=/etc


compositor-x11: everything works fine
compositor-drm: broken, maybe dual-head issue:
	"failed to open active tty: Permission denied"
	monitor #1: "out of range"
	monitor #2: "no signal"
	terminating compositor:
	monitor #1: still "out of range"
	monitor #2: back to normal after vt-switch


> So before potentially wasting my time any further: does Wayland work with R600 cards

Yes

> ... by using the newest the 2.6.38 kernel

2.6.37: Yes
2.6.38: Don't know

> ... and the newest Mesa?

Yes

Cheers,
Tim


More information about the wayland-devel mailing list