<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Clurado cl</b> <span dir="ltr">&lt;<a href="mailto:clurado1980@gmail.com">clurado1980@gmail.com</a>&gt;</span><br>
Date: Sun, Oct 31, 2010 at 2:13 AM<br>Subject: Re: Wayland Compilation,<br>To: Benjamin Franzke &lt;<a href="mailto:benjaminfranzke@googlemail.com">benjaminfranzke@googlemail.com</a>&gt;<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">&lt;<a href="mailto:benjaminfranzke@googlemail.com" target="_blank">benjaminfranzke@googlemail.com</a>&gt;</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 &lt;<a href="mailto:clurado1980@gmail.com" target="_blank">clurado1980@gmail.com</a>&gt;:<br>
&gt; so , you suggest me to use master branch of mesa ?! its at ver Mesa-7.9 .<br>
&gt;<br>
&gt; i compiled this version with --enable-gles2 --with-egl-platforms=auto , so i<br>
&gt; able to configure and compile wayland . but the compositor starts under x<br>
&gt; and shows the blank window and say failed to create contaxt ,<br>
&gt;<br>
&gt; without x it say failed to create contax , failed to initialize egl ,<br>
&gt; segmention fault .<br>
&gt;<br>
&gt; i also set the Env Vars EGL_DRIVER=/usr/local/lib/egl/egl_dri2.so and<br>
&gt; LD_LIBRARY_PATH<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Sat, Oct 30, 2010 at 10:23 PM, Benjamin Franzke<br>
&gt; &lt;<a href="mailto:benjaminfranzke@googlemail.com" target="_blank">benjaminfranzke@googlemail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; ah, and i forgot: you dont need krh`s private git repos for mesa,<br>
&gt;&gt; libdrm and cairo..<br>
&gt;&gt;<br>
&gt;&gt; furthermore is kms in egl-platforms obsolete, its called drm now..<br>
&gt;&gt;<br>
&gt;&gt; 2010/10/30 Benjamin Franzke &lt;<a href="mailto:benjaminfranzke@googlemail.com" target="_blank">benjaminfranzke@googlemail.com</a>&gt;:<br>
&gt;&gt; &gt; You may need gles support for mesa. enable gles2 via mesa configure:<br>
&gt;&gt; &gt;   --enable-gles-overlay --enable-gles2<br>
&gt;&gt; &gt; and for egl platforms I would use:<br>
&gt;&gt; &gt;   --width-egl-platforms=x11,drm,kms<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; If you did that and you installed those packages in a special<br>
&gt;&gt; &gt; location, you may need to set an appropriate PKG_CONFIG_PATH:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; export PKG_CONFIG_PATH=&quot;/your/special/install/location/lib/pkgconfig&quot;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; ..so waylands configure is able to find these packages<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; 2010/10/30 Clurado cl &lt;<a href="mailto:clurado1980@gmail.com" target="_blank">clurado1980@gmail.com</a>&gt;:<br>
&gt;&gt; &gt;&gt; Hi , i think its time to someone write a complete article about wayland<br>
&gt;&gt; &gt;&gt; Compiling &amp; Running . the exististing article is very old and not<br>
&gt;&gt; &gt;&gt; usable now<br>
&gt;&gt; &gt;&gt; .<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; --<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; I compiled old versions of wayland years age but it didnt work for me ,<br>
&gt;&gt; &gt;&gt; now<br>
&gt;&gt; &gt;&gt; i think it has more fixes and more stable than old versions.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; i downloaded latest versions of these package and compiled and<br>
&gt;&gt; &gt;&gt; installed :<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; libdrm from /~krh/libdrm<br>
&gt;&gt; &gt;&gt; mesa-kms-6  /~krh/mesa<br>
&gt;&gt; &gt;&gt; libxkbcommon /~krh/libxkbcommon<br>
&gt;&gt; &gt;&gt; cairo-wayland /~krh/cario<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; .<br>
&gt;&gt; &gt;&gt; mesa with : --with-egl-platforms=kms --disable-gallium --disable-demos<br>
&gt;&gt; &gt;&gt; cair with : --enable-gl<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; i compiled them without errors and installed them , but when i was<br>
&gt;&gt; &gt;&gt; compling<br>
&gt;&gt; &gt;&gt; wayland i got some errors :<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; compositor-drm.c : in function create_output_for_connector :<br>
&gt;&gt; &gt;&gt; EGL_DRM_BUFFER_FORMAT_MESA undeclared first use in this functions<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; and lots more : EGL_DRM_BUFFER_FORMAT_ARGB32_MESA ,<br>
&gt;&gt; &gt;&gt; EGL_DRM_BUFFER_USE_SCANOUT_MESA ...<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; --<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; its related to header files , whats the problem ?!<br>
&gt;&gt; &gt;&gt; _______________________________________________<br>
&gt;&gt; &gt;&gt; wayland-devel mailing list<br>
&gt;&gt; &gt;&gt; <a href="mailto:wayland-devel@lists.freedesktop.org" target="_blank">wayland-devel@lists.freedesktop.org</a><br>
&gt;&gt; &gt;&gt; <a href="http://lists.freedesktop.org/mailman/listinfo/wayland-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/wayland-devel</a><br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;<br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br>
</div></div></div><br>