wayland-compositor fails to start with nouveau driver

Pekka Paalanen ppaalanen at gmail.com
Wed Oct 19 06:17:46 PDT 2011


On Wed, 19 Oct 2011 14:59:19 +0200
Bernard Kolobara <b3no.gamedev at googlemail.com> wrote:

> Hi,
> 
> I compiled wayland according to the instructions at
> http://wayland.freedesktop.org/building.html
> And I built a kernel from the Nouveau kernel git repository.
> Everything went well.
> 
> After trying to run the wayland-compositor I get this error:
> libEGL warning: DRI2: failed to open nouveau (search paths
> /home/bkolobara/wayland/lib/dri)
> XDG_RUNTIME_DIR not set, falling back to .
> using socket ./wayland-0
> 
> I looked in the lib/dri/ folder and found a file named
> nouveau_vieux_dri.so I tried to rename it to nouveau_dri.so, then I
> got this error: wayland-compositor: nouveau_screen.c:124:
> nouveau_init_screen2: Assertion `0' failed.

Sounds like you didn't build Nouveau the Gallium3D driver, but only
Nouveau the classic driver (for the difference, see
http://nouveau.freedesktop.org/wiki/MesaDrivers )

To build the Nouveau Gallium3D driver, you would say
--with-gallium-drivers=nouveau to Mesa's ./configure.


HTH,
pq


More information about the wayland-devel mailing list