[Mesa-dev] Gallium softpipe driver build instructions
kumar vemuri
kumar210in at gmail.com
Thu Mar 31 10:09:43 PDT 2011
Sure. I will try with Mesa 7.10.
But are these hints that you are giving for
a) DRI driver with swrast?
OR
b) gallium based softpipe driver?
Although i would like to build both :-).
Thx
K
On Thu, Mar 31, 2011 at 7:38 AM, Marek Olšák <maraeo at gmail.com> wrote:
> I guess Mesa 7.8.2 is too old, try 7.10 instead.
>
> Marek
>
>
> On Thu, Mar 31, 2011 at 4:29 PM, kumar vemuri <kumar210in at gmail.com>wrote:
>
>> Hi Marek,
>>
>> Ran "./configure --enable-gallium-swrast --with-dri-drivers=swrast" and
>> did make. I couldnt see swrastg_dri.so file created under
>> Mesa-7.8.2/lib. Infact there is no gallium directory under the lib.
>> These are the files i see generated in the lib directory.
>>
>> egl_glx.so libGLEW.a libGLU.so.1 libGLw.so
>> egl_x11_swrast.so libGL.so libGLU.so.1.3.070802 libGLw.so.1
>> libEGL.so libGL.so.1 libglut.so libGLw.so.1.0.0
>> libEGL.so.1 libGL.so.1.2 libglut.so.3 swrast_dri.so
>> libEGL.so.1.0 libGLU.so libglut.so.3.7.1
>>
>>
>>
>> Could you please throw some more hints? I guess your previous hints
>> have been useful.
>>
>>
>>
>> thanks
>> K
>>
>> On Thu, 2011-03-31 at 15:01 +0200, Marek Olšák wrote:
>> > Either use:
>> >
>> > --with-dri-drivers=
>> >
>> > Or build libdrm from git:
>> >
>> > http://cgit.freedesktop.org/mesa/drm/
>> >
>> > Marek
>> >
>> > On Thu, Mar 31, 2011 at 6:51 AM, kumar vemuri <kumar210in at gmail.com>
>> > wrote:
>> > OK. I tried doing ./configure with --enable-gallium-swrast and
>> > i get this error:
>> >
>> > checking for INTEL... configure: error: Package requirements
>> > (libdrm_intel >= 2.4.19) were not met:
>> >
>> > Requested 'libdrm_intel >= 2.4.19' but version of libdrm is
>> > 2.4.18
>> >
>> > Consider adjusting the PKG_CONFIG_PATH environment variable if
>> > you
>> > installed software in a non-standard prefix.
>> >
>> > Alternatively, you may set the environment variables
>> > INTEL_CFLAGS
>> > and INTEL_LIBS to avoid the need to call pkg-config.
>> > See the pkg-config man page for more details.
>> >
>> > Now i downloaded the src for libdrm version 2.4.19 and
>> > compiled and installed it. Even then i see this prob. I may be
>> > doing something wrong.
>> >
>> > Now i see two ways to solve this.
>> > a. Fix the above error. I use ubuntu 10.04. I couldnt find
>> > libdrm-intel 2.4.19 or above in the synaptic manager. Any
>> > suggestions on fixing the error would help.
>> > b. i am thinking aloud here. i may be wrong. Pls correct me if
>> > so. I dont want to use intel driver so i dont think i need
>> > libdrm-intel (correct me if i am wrong) and hence i can ask
>> > the configure script to skip this step. How do make the
>> > configure script to skip this step?
>> >
>> >
>> > Thx
>> > K
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> > On Wed, 2011-03-30 at 15:42 +0200, Marek Olšák wrote:
>> > > Try to add this configure parameter:
>> > >
>> > > --enable-gallium-swrast
>> > >
>> > > Marek
>> > >
>> > > On Wed, Mar 30, 2011 at 3:39 PM, kumar vemuri
>> > > <kumar210in at gmail.com> wrote:
>> > > Thanks Marek for the reply.
>> > >
>> > > I compiled Mesa with default params and i dont see
>> > > swrastg_dri.so built
>> > > in the lib/gallium directory. I am doing this on
>> > > Mesa 7.8.2.
>> > >
>> > > am i missing something. Please let me know.
>> > >
>> > > thx
>> > > K
>> > >
>> > >
>> > >
>> > >
>> > > On Wed, 2011-03-30 at 13:41 +0200, Marek Olšák
>> > > wrote:
>> > > > Build Mesa with the default configure parameters
>> > > and copy
>> > > > lib/gallium/swrastg_dri.so
>> > > to /usr/lib/dri/swrast_dri.so
>> > > >
>> > > > Marek
>> > > >
>> > > > On Wed, Mar 30, 2011 at 7:42 AM, kumar vemuri
>> > > <kumar210in at gmail.com>
>> > > > wrote:
>> > > > Can someone please help out with the
>> > > instructions.
>> > > >
>> > > > thx
>> > > > K
>> > > >
>> > > >
>> > > > On Tue, 2011-03-29 at 10:33 -0700, kumar
>> > > vemuri wrote:
>> > > > > Hi All,
>> > > > >
>> > > > > Am using Mesa 7.8.2. Can anyone
>> > > please send out the
>> > > > instructions
>> > > > > to building a gallium based softpipe
>> > > driver?
>> > > > >
>> > > > > thanks
>> > > > > K
>> > > > >
>> > > > >
>> > > > >
>> > > >
>> > > >
>> > > >
>> > > _______________________________________________
>> > > > mesa-dev mailing list
>> > > > mesa-dev at lists.freedesktop.org
>> > > >
>> > >
>> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
>> > > >
>> > > >
>> > >
>> > >
>> > >
>> > >
>> >
>> >
>> >
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20110331/fb4106e6/attachment.html>
More information about the mesa-dev
mailing list