<div>
<div>Hi,</div>
<div> </div>
<div> Can you throw some hints here? Will certianly help.</div>
<div> </div>
<div>thx</div>
<div>K<br><br></div></div>
<div> </div>
<div> </div>
<div class="gmail_quote">On Wed, Apr 13, 2011 at 7:49 AM, kumar vemuri <span dir="ltr"><<a href="mailto:kumar210in@gmail.com">kumar210in@gmail.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>OK. i tried your command i.e. "./configure --enable-debug --enable-gallium-swrast --with-driver=xlib"<br>and did "make".<br>I also ran "scons libgl-xlib" which i guess wasnt necessary. Correct me if i am wrong?<br>
<br>Now i set the LD_LIBRARY_PATH to lib/gallium and run gears. i see around 60fps on my AMD athlon x2. I tried gdb with gears and now it allows me to step into the gl calls also. <br><br><br>Now would like to understand a few things that i did above:<br>
a. is the libGL.so built (using the above commands i.e. configure and make) under mesa/lib/gallium completely self-sufficient? Doesnt it need swrast_dri.so or swrastg_dri.do?<br>b. On your comment <i>"I don't recall if we ever made softpipe work as a DRI driver.". </i>Whats the purpose of swrastg_dri.so then? where and when is this lib used?<br>
<br><br>Btw Thanks Brian for your replies. This is my spare time project; hence the delay in response.<br><br>Thx<br><font color="#888888">K</font>
<div>
<div></div>
<div class="h5"><br><br><br><br>On Tue, 2011-04-12 at 08:14 -0600, Brian Paul wrote:
<blockquote type="CITE"><pre>On 04/11/2011 11:52 PM, kumar vemuri wrote:
> Hi Brian,
>
> I did use --enable-debug with configure. But still i dont see gdb
> stepping into gl calls... it does step into the glu calls though.
>
> This is my configure command: ./configure --enable-debug
> --enable-gallium-i915 --enable-gallium-swrast --with-dri-drivers=swrast
Try this:
./configure --enable-debug --enable-gallium-swrast --with-driver=xlib
> By the way, dont know if its of any importance but ..
> I have an nvidia blob running on my pc. So to get the gallium softpipe
> setup working i am using the libGL.so generated by "scons libgl-xlib"
> under build/linux-<platform>/lib. And i set the LIBGL_DRIVERS_PATH to
> lib/gallium so that the libGL picks up the swrastg_dri.so but i dont
> have the swrast_dri.so under lib/gallium.
>
> Also, another question: Do i have to link the swrast_dri.so to
> swrastg_dri.so in lib/gallium for softpipe setup to work?
I don't recall if we ever made softpipe work as a DRI driver.
-Brian
</pre></blockquote><br></div></div></div></blockquote></div><br>