Build problems on Ubuntu Natty (11.04)

Bill Spitzak spitzak at gmail.com
Tue Mar 13 02:06:29 PDT 2012


I am attempting to build the development version of Wayland, but have 
not gotten a working version. I hope perhaps the problem is easy to 
figure out.

The system is Ubuntu Natty: Linux lulu 2.6.38-13-generic #56-Ubuntu SMP 
Tue Feb 14 12:40:40 UTC 2012 i686 i686 i386 GNU/Linux

It is a really old box, /proc/cpuinfo says it has 2 Intel(R) Pentium(R) 
4 CPU 2.60GHz

Card is also a really old Nvidia card: a Quadro FX1100 AGP 8X. The 
Nvidia driver it needs is 173.14.30.

I built wayland from git using the following script:

http://www.chaosreigns.com/wayland/buildscript/wayland-build-ubuntu-oneric.sh

This worked without errors, leaving everything in ~/install. I had 
previously tried several variations but this is the first that worked, I 
was pretty careful to delete all remnants of the old versions.

During building the nouveau driver was active, if that makes any difference.

I enabled the nouveau driver by the following steps:

  aptitude install xserver-xorg-video-nouveau
  aptitude install libgl1-mesa-dri-experimental
  edit /etc/X11/xorg.conf and change "nvidia" to "nouveau"
  reboot the machine, not just restart X

(note that the suggestion of using System/Administration/Additional 
Drivers did not work, it failed to update xorg.conf, possibly because it 
mistakenly thought the nvidia driver was "activated but not in use". It 
is also a lot faster to just edit xorg.conf back-and-forth)

Trying to run weston from an X terminal produces the following crash:

% export LD_LIBRARY_PATH=~/install/lib
% ~/install/bin/weston
nvfx_screen_get_param:103 -  Warning: unknown PIPE_CAP 57
Mesa 8.1-devel implementation error: Incomplete OpenGL ES 2.0 support.
Please report at bugs.freedesktop.org
unlinking stale lock file /tmp/.X1-lock
xserver listening on display :1
couldn't open /home/spitzak/.config/weston-desktop-shell.ini
XDG_RUNTIME_DIR not set, falling back to .
using socket ./wayland-0
weston: nvfx_state_fb.c:42: nvfx_framebuffer_validate: Assertion 
`util_format_get_blocksize(fb->cbufs[0]->format) == 
util_format_get_blocksize(fb->zsbuf->format)' failed.
Aborted

It left a wayland-0 and wayland-0.lock in the current directory, which I 
had to remove.

LDD produces this:
ldd ~/install/bin/weston
	linux-gate.so.1 =>  (0x00bf0000)
	libwayland-server.so.0 => 
/home/spitzak/install/lib/libwayland-server.so.0 (0x0062d000)
	libEGL.so.1 => /home/spitzak/install/lib/libEGL.so.1 (0x00517000)
	libGLESv2.so.2 => /home/spitzak/install/lib/libGLESv2.so.2 (0x001dd000)
	libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0x00a0b000)
	libxcb-xfixes.so.0 => /usr/lib/i386-linux-gnu/libxcb-xfixes.so.0 
(0x00804000)
	libxcb-render.so.0 => /usr/lib/i386-linux-gnu/libxcb-render.so.0 
(0x006ab000)
	libxcb-shape.so.0 => /usr/lib/i386-linux-gnu/libxcb-shape.so.0 (0x00971000)
	libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0x00110000)
	libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0x00129000)
	libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0x008f2000)
	libpng12.so.0 => /lib/i386-linux-gnu/libpng12.so.0 (0x00f58000)
	libjpeg.so.62 => /usr/lib/i386-linux-gnu/libjpeg.so.62 (0x00569000)
	libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0x00291000)
	libffi.so.5 => /usr/lib/libffi.so.5 (0x001e5000)
	librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0x00f86000)
	libX11-xcb.so.1 => /home/spitzak/install/lib/libX11-xcb.so.1 (0x00e18000)
	libxcb-dri2.so.0 => /usr/lib/i386-linux-gnu/libxcb-dri2.so.0 (0x0014f000)
	libwayland-client.so.0 => 
/home/spitzak/install/lib/libwayland-client.so.0 (0x00a2c000)
	libgbm.so.1 => /home/spitzak/install/lib/libgbm.so.1 (0x0077d000)
	libX11.so.6 => /home/spitzak/install/lib/libX11.so.6 (0x00a76000)
	libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0x00c6a000)
	libudev.so.0 => /lib/i386-linux-gnu/libudev.so.0 (0x009d2000)
	libdrm.so.2 => /home/spitzak/install/lib/libdrm.so.2 (0x004b4000)
	libglapi.so.0 => /home/spitzak/install/lib/libglapi.so.0 (0x00153000)
	/lib/ld-linux.so.2 (0x00273000)
	libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0x00867000)
	libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0x00544000)
	libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0x0016f000)

help ?



More information about the wayland-devel mailing list