I guess Mesa 7.8.2 is too old, try 7.10 instead.<br><br>Marek<br><br><div class="gmail_quote">On Thu, Mar 31, 2011 at 4:29 PM, kumar vemuri <span dir="ltr">&lt;<a href="mailto:kumar210in@gmail.com" target="_blank">kumar210in@gmail.com</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi Marek,<br>
<br>
 Ran &quot;./configure --enable-gallium-swrast --with-dri-drivers=swrast&quot; and<br>
did make. I couldnt see swrastg_dri.so file created under<br>
Mesa-7.8.2/lib. Infact there is no gallium directory under the lib.<br>
These are the files i see generated in the lib directory.<br>
<br>
egl_glx.so         libGLEW.a     libGLU.so.1           libGLw.so<br>
egl_x11_swrast.so  libGL.so      libGLU.so.1.3.070802  libGLw.so.1<br>
libEGL.so          libGL.so.1    libglut.so            libGLw.so.1.0.0<br>
libEGL.so.1        libGL.so.1.2  libglut.so.3          swrast_dri.so<br>
libEGL.so.1.0      libGLU.so     libglut.so.3.7.1<br>
<br>
<br>
<br>
 Could you please throw some more hints? I guess your previous hints<br>
have been useful.<br>
<br>
<br>
<br>
thanks<br>
<font color="#888888">K<br>
</font><div><div></div><div><br>
On Thu, 2011-03-31 at 15:01 +0200, Marek Olšák wrote:<br>
&gt; Either use:<br>
&gt;<br>
&gt; --with-dri-drivers=<br>
&gt;<br>
&gt; Or build libdrm from git:<br>
&gt;<br>
&gt; <a href="http://cgit.freedesktop.org/mesa/drm/" target="_blank">http://cgit.freedesktop.org/mesa/drm/</a><br>
&gt;<br>
&gt; Marek<br>
&gt;<br>
&gt; On Thu, Mar 31, 2011 at 6:51 AM, kumar vemuri &lt;<a href="mailto:kumar210in@gmail.com" target="_blank">kumar210in@gmail.com</a>&gt;<br>
&gt; wrote:<br>
&gt;         OK. I tried doing ./configure with --enable-gallium-swrast and<br>
&gt;         i get this error:<br>
&gt;<br>
&gt;         checking for INTEL... configure: error: Package requirements<br>
&gt;         (libdrm_intel &gt;= 2.4.19) were not met:<br>
&gt;<br>
&gt;         Requested &#39;libdrm_intel &gt;= 2.4.19&#39; but version of libdrm is<br>
&gt;         2.4.18<br>
&gt;<br>
&gt;         Consider adjusting the PKG_CONFIG_PATH environment variable if<br>
&gt;         you<br>
&gt;         installed software in a non-standard prefix.<br>
&gt;<br>
&gt;         Alternatively, you may set the environment variables<br>
&gt;         INTEL_CFLAGS<br>
&gt;         and INTEL_LIBS to avoid the need to call pkg-config.<br>
&gt;         See the pkg-config man page for more details.<br>
&gt;<br>
&gt;         Now i downloaded the src for libdrm version 2.4.19 and<br>
&gt;         compiled and installed it. Even then i see this prob. I may be<br>
&gt;         doing something wrong.<br>
&gt;<br>
&gt;         Now i see two ways to solve this.<br>
&gt;         a. Fix the above error. I use ubuntu 10.04. I couldnt find<br>
&gt;         libdrm-intel 2.4.19 or above in the synaptic manager. Any<br>
&gt;         suggestions on fixing the error would help.<br>
&gt;         b. i am thinking aloud here. i may be wrong. Pls correct me if<br>
&gt;         so. I dont want to use intel driver so i dont think i need<br>
&gt;         libdrm-intel (correct me if i am wrong) and hence i can ask<br>
&gt;         the configure script to skip this step. How do make the<br>
&gt;         configure script to skip this step?<br>
&gt;<br>
&gt;<br>
&gt;         Thx<br>
&gt;         K<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;         On Wed, 2011-03-30 at 15:42 +0200, Marek Olšák wrote:<br>
&gt;         &gt; Try to add this configure parameter:<br>
&gt;         &gt;<br>
&gt;         &gt; --enable-gallium-swrast<br>
&gt;         &gt;<br>
&gt;         &gt; Marek<br>
&gt;         &gt;<br>
&gt;         &gt; On Wed, Mar 30, 2011 at 3:39 PM, kumar vemuri<br>
&gt;         &gt; &lt;<a href="mailto:kumar210in@gmail.com" target="_blank">kumar210in@gmail.com</a>&gt; wrote:<br>
&gt;         &gt;         Thanks Marek for the reply.<br>
&gt;         &gt;<br>
&gt;         &gt;         I compiled Mesa with default params and i dont see<br>
&gt;         &gt;         swrastg_dri.so built<br>
&gt;         &gt;         in the lib/gallium directory. I am doing this on<br>
&gt;         &gt;         Mesa 7.8.2.<br>
&gt;         &gt;<br>
&gt;         &gt;         am i missing something. Please let me know.<br>
&gt;         &gt;<br>
&gt;         &gt;         thx<br>
&gt;         &gt;         K<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt;         On Wed, 2011-03-30 at 13:41 +0200, Marek Olšák<br>
&gt;         &gt;         wrote:<br>
&gt;         &gt;         &gt; Build Mesa with the default configure parameters<br>
&gt;         &gt;         and copy<br>
&gt;         &gt;         &gt; lib/gallium/swrastg_dri.so<br>
&gt;         &gt;         to /usr/lib/dri/swrast_dri.so<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt; Marek<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt; On Wed, Mar 30, 2011 at 7:42 AM, kumar vemuri<br>
&gt;         &gt;         &lt;<a href="mailto:kumar210in@gmail.com" target="_blank">kumar210in@gmail.com</a>&gt;<br>
&gt;         &gt;         &gt; wrote:<br>
&gt;         &gt;         &gt;         Can someone please help out with the<br>
&gt;         &gt;         instructions.<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;         thx<br>
&gt;         &gt;         &gt;         K<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;         On Tue, 2011-03-29 at 10:33 -0700, kumar<br>
&gt;         &gt;         vemuri wrote:<br>
&gt;         &gt;         &gt;         &gt; Hi All,<br>
&gt;         &gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;         &gt;       Am using Mesa 7.8.2. Can anyone<br>
&gt;         &gt;         please send out the<br>
&gt;         &gt;         &gt;         instructions<br>
&gt;         &gt;         &gt;         &gt; to building a gallium based softpipe<br>
&gt;         &gt;         driver?<br>
&gt;         &gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;         &gt; thanks<br>
&gt;         &gt;         &gt;         &gt; K<br>
&gt;         &gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         _______________________________________________<br>
&gt;         &gt;         &gt;         mesa-dev mailing list<br>
&gt;         &gt;         &gt;         <a href="mailto:mesa-dev@lists.freedesktop.org" target="_blank">mesa-dev@lists.freedesktop.org</a><br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         <a href="http://lists.freedesktop.org/mailman/listinfo/mesa-dev" target="_blank">http://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;         &gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
<br>
<br>
</div></div></blockquote></div><br>