wayland-compositor fails to start with nouveau driver
Bernard Kolobara
b3no.gamedev at googlemail.com
Wed Oct 19 09:53:09 PDT 2011
I recompiled mesa with --with-gallium-drivers=nouveau it works now.
And I noticed a minor error on the build instructions website:
$ git clone git://anongit.freedesktop.org/xorg/proto/glproto
$ cd macros
$ ./autogen.sh --prefix=$WLD
$ make && make install
$ git clone git://anongit.freedesktop.org/xorg/proto/dri2proto
$ cd macros
$ ./autogen.sh --prefix=$WLD
$ make && make install
should be:
$ git clone git://anongit.freedesktop.org/xorg/proto/glproto
$ cd glproto
$ ./autogen.sh --prefix=$WLD
$ make && make install
$ git clone git://anongit.freedesktop.org/xorg/proto/dri2proto
$ cd dri2proto
$ ./autogen.sh --prefix=$WLD
$ make && make install
Regards, Bernard.
On Wed, Oct 19, 2011 at 3:17 PM, Pekka Paalanen <ppaalanen at gmail.com> wrote:
> 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