<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Clurado cl</b> <span dir="ltr"><<a href="mailto:clurado1980@gmail.com">clurado1980@gmail.com</a>></span><br>
Date: Sun, Oct 31, 2010 at 2:13 AM<br>Subject: Re: Wayland Compilation,<br>To: Benjamin Franzke <<a href="mailto:benjaminfranzke@googlemail.com">benjaminfranzke@googlemail.com</a>><br><br><br>Ok , i build mesa 7.9 with commands : --disable-gallium --with-dri-drivers=i915,i965,i810 --enable-gles2 --enable-gles-overlay --with-egl-platforms=drm,x11<br>
<br>compiled and installed . <br><br>--<br><br>latest version of cairo with following commands : --enable-gl=yes<br>
<br>latest libdrm with no command .<br><br>set EGL_DRIVER=/usr/local/lib/egl/egl_dri2.so<br>set LD_LIBRARY_PATH=/ust/local/lib<br><br>copy udev rules<br>udevadm trigger --subsystem-match=drm --subsystem-match=input<br><br>
stopped x with : /etc/init.d/xdm stop<br><br>run on tty2 : <br><br>./compositor <br><br>failed to create context<br>failed to initialize egl<br>failed to create compositor<br><br>!!?!! i am confused !<br>i am running on opensuse 11.3 , Pentium M 1.44 Ghz , intelGM855<div>
<div></div><div class="h5"><br>
<br><div class="gmail_quote">On Sun, Oct 31, 2010 at 1:22 AM, Benjamin Franzke <span dir="ltr"><<a href="mailto:benjaminfranzke@googlemail.com" target="_blank">benjaminfranzke@googlemail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
If you write --with-egl-platforms=auto configure should fail..<br>
either use x11,drm or dont pass the with-egl-platforms option, both is equal<br>
<br>
If you write auto, the configure script searches for a egl-dir named<br>
auto, which is not found..<br>
<div><div></div><div><br>
2010/10/30 Clurado cl <<a href="mailto:clurado1980@gmail.com" target="_blank">clurado1980@gmail.com</a>>:<br>
> so , you suggest me to use master branch of mesa ?! its at ver Mesa-7.9 .<br>
><br>
> i compiled this version with --enable-gles2 --with-egl-platforms=auto , so i<br>
> able to configure and compile wayland . but the compositor starts under x<br>
> and shows the blank window and say failed to create contaxt ,<br>
><br>
> without x it say failed to create contax , failed to initialize egl ,<br>
> segmention fault .<br>
><br>
> i also set the Env Vars EGL_DRIVER=/usr/local/lib/egl/egl_dri2.so and<br>
> LD_LIBRARY_PATH<br>
><br>
><br>
><br>
> On Sat, Oct 30, 2010 at 10:23 PM, Benjamin Franzke<br>
> <<a href="mailto:benjaminfranzke@googlemail.com" target="_blank">benjaminfranzke@googlemail.com</a>> wrote:<br>
>><br>
>> ah, and i forgot: you dont need krh`s private git repos for mesa,<br>
>> libdrm and cairo..<br>
>><br>
>> furthermore is kms in egl-platforms obsolete, its called drm now..<br>
>><br>
>> 2010/10/30 Benjamin Franzke <<a href="mailto:benjaminfranzke@googlemail.com" target="_blank">benjaminfranzke@googlemail.com</a>>:<br>
>> > You may need gles support for mesa. enable gles2 via mesa configure:<br>
>> > --enable-gles-overlay --enable-gles2<br>
>> > and for egl platforms I would use:<br>
>> > --width-egl-platforms=x11,drm,kms<br>
>> ><br>
>> > If you did that and you installed those packages in a special<br>
>> > location, you may need to set an appropriate PKG_CONFIG_PATH:<br>
>> ><br>
>> > export PKG_CONFIG_PATH="/your/special/install/location/lib/pkgconfig"<br>
>> ><br>
>> > ..so waylands configure is able to find these packages<br>
>> ><br>
>> > 2010/10/30 Clurado cl <<a href="mailto:clurado1980@gmail.com" target="_blank">clurado1980@gmail.com</a>>:<br>
>> >> Hi , i think its time to someone write a complete article about wayland<br>
>> >> Compiling & Running . the exististing article is very old and not<br>
>> >> usable now<br>
>> >> .<br>
>> >><br>
>> >> --<br>
>> >><br>
>> >> I compiled old versions of wayland years age but it didnt work for me ,<br>
>> >> now<br>
>> >> i think it has more fixes and more stable than old versions.<br>
>> >><br>
>> >> i downloaded latest versions of these package and compiled and<br>
>> >> installed :<br>
>> >><br>
>> >> libdrm from /~krh/libdrm<br>
>> >> mesa-kms-6 /~krh/mesa<br>
>> >> libxkbcommon /~krh/libxkbcommon<br>
>> >> cairo-wayland /~krh/cario<br>
>> >><br>
>> >> .<br>
>> >> mesa with : --with-egl-platforms=kms --disable-gallium --disable-demos<br>
>> >> cair with : --enable-gl<br>
>> >><br>
>> >> i compiled them without errors and installed them , but when i was<br>
>> >> compling<br>
>> >> wayland i got some errors :<br>
>> >><br>
>> >> compositor-drm.c : in function create_output_for_connector :<br>
>> >> EGL_DRM_BUFFER_FORMAT_MESA undeclared first use in this functions<br>
>> >><br>
>> >> and lots more : EGL_DRM_BUFFER_FORMAT_ARGB32_MESA ,<br>
>> >> EGL_DRM_BUFFER_USE_SCANOUT_MESA ...<br>
>> >><br>
>> >> --<br>
>> >><br>
>> >> its related to header files , whats the problem ?!<br>
>> >> _______________________________________________<br>
>> >> wayland-devel mailing list<br>
>> >> <a href="mailto:wayland-devel@lists.freedesktop.org" target="_blank">wayland-devel@lists.freedesktop.org</a><br>
>> >> <a href="http://lists.freedesktop.org/mailman/listinfo/wayland-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/wayland-devel</a><br>
>> >><br>
>> >><br>
>> ><br>
><br>
><br>
</div></div></blockquote></div><br>
</div></div></div><br>