[Mesa-dev] Help for a beginner

Heath Feather hfeather at tabula.com
Thu Oct 6 09:26:12 PDT 2011


Julian,

Try seeing which libraries you're picking up , here my LD_LIBRARY_PATH
was set to /home/hfeather/work/downloads/Mesa-7.0.1/lib64/

> which glxinfo
/usr/bin/glxinfo
> ldd /usr/bin/glxinfo
        libGL.so.1 =>
/home/hfeather/work/downloads/Mesa-7.0.1/lib64/libGL.so.1
(0x00002af16f371000)
        libGLU.so.1 =>
/home/hfeather/work/downloads/Mesa-7.0.1/lib64/libGLU.so.1
(0x00002af16f84c000)
        libc.so.6 => /lib64/libc.so.6 (0x00000030ffc00000)
        libX11.so.6 => /usr/lib64/libX11.so.6 (0x0000003101000000)
        libXext.so.6 => /usr/lib64/libXext.so.6 (0x0000003101c00000)
        libm.so.6 => /lib64/libm.so.6 (0x0000003100000000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003100800000)
        libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x0000003106000000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x0000003105c00000)
        /lib64/ld-linux-x86-64.so.2 (0x00000030ff800000)
        libXau.so.6 => /usr/lib64/libXau.so.6 (0x0000003101800000)
        libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x0000003101400000)
        libdl.so.2 => /lib64/libdl.so.2 (0x0000003100400000)

At least you'll know what your're picking up

Heath.

-----Original Message-----
From: mesa-dev-bounces+hfeather=tabula.com at lists.freedesktop.org
[mailto:mesa-dev-bounces+hfeather=tabula.com at lists.freedesktop.org] On
Behalf Of Brian Paul
Sent: Thursday, October 06, 2011 6:43 AM
To: Julian Adams
Cc: mesa-dev at lists.freedesktop.org
Subject: Re: [Mesa-dev] Help for a beginner
Importance: Low

On 10/06/2011 06:44 AM, Julian Adams wrote:
> It's possible that the instructions will only switch you over to your 
> locally built version version of Mesa if you are already running a 
> shipped Mesa as your driver. It looks like you're running the Nvidia 
> blob. Perhaps you need to switch to Mesa/Nouveau first?
>
> On 6 October 2011 07:09, Romain Failliot <romain.failliot at foolstep.com

> <mailto:romain.failliot at foolstep.com>> wrote:
>
>     2011/9/27 Romain Failliot <romain.failliot at foolstep.com
>     <mailto:romain.failliot at foolstep.com>>:
>      > I'll get my hand in the code now.
>      > Be right back as soon as I can run my own mesa code :)
>
>     Sorry for the delay, I lost my internet connection for a week...
>     So I started compiling mesa thanks to the site Benjamin Bellec
gave to
>     me http://forums.fedora-fr.org/viewtopic.php?id=51681
>     And with this simple command line:
>
>     $ ./autogen.sh --with-gallium-drivers=nouveau --with-dri-drivers=
>
>     Everything went well. (I'm not sure about the empty parameter for
the
>     dri drivers though)
>
>     But my first problem occured: although I changed my
LD_LIBRARY_PATH,
>     graphic drivers are still those from nvidia. Here is the result of
the
>     glxinfo:
>
>     $ glxinfo | grep "OpenGL version string"
>     OpenGL version string: 2.1.2 NVIDIA 280.13
>
>     Any idea?

It would help to see the rest of glxinfo, but it might be that you're
just not picking up the new dri driver.  Try setting the
LIBGL_DRIVERS_PATH env var to point to the location of the *_dri.so
modules.

Otherwise, set LIBGL_DEBUG=verbose and re-run glxinfo to see if anything
is going wrong.

-Brian

_______________________________________________
mesa-dev mailing list
mesa-dev at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list