[mesa-users] Configuring mesa-11.2.2 llvmpipe with non-standard paths

Edson Contreras Cárdenas <[email protected]>
Newsgroups gmane.comp.video.mesa3d.user
Message-ID <CAPOUx5LDrjY2PRrNN5voq04NdvuLzhD-vkX-T_nudqWB-cAKew@mail.gmail.com>
Hello everyone,

Sorry for bothering you all, but I cannot get the gallium llvmpipe driver
working, and I need some help.

My environment is:
RHEL6.6
gcc-5.2 (system)
libudev < 151 (system, I cannot upgrade kernel)

llvm-3.8 (from source)
libva-1.7.1 (from source)
libxshmfence-latest (from source)
libxcb-latest (from source)
libdrm-latest (from source)

I have all my libs installed in a non-standard path:

MYLIBS_PREFIX=/remote/sharedLibs

And my configure script looks like:

../mesa-11.2.2/configure \

PKG_CONFIG_PATH=${MYLIBS_PREFIX}/libxcb/lib/pkgconfig:${MYLIBS_PREFIX}/libdrm/lib/pkgconfig:${MYLIBS_PREFIX}/libxshmfence/lib/pkgconfig:${MYLIBS_PREFIX}/libva/lib/pkgconfig
\
  —prefix=${MYLIBS_PREFIX}/mesa-11.2-llvmpipe \
  —with-llvm-prefix=${MYLIBS_PREFIX}/llvm-3.8 \
  —with-gnu-ld \
  —enable-gallium-llvm=yes \
  —enable-sysfs \
  —enable-xlib-glx \
  —enable-glx \
  —enable-texture-float \
  —disable-dri \
  —disable-dri3 \
  —disable-egl \
  —disable-llvm-shared-libs \
  —with-gallium-drivers=swrast

The thing is that I have a valid libGL.so after building, but doesn't have
support for OpenGL 3.2. In addition to that, if I run "glxinfo | grep
OpenGL" it does not mention Gallium llvmpipe driver anywhere (however it
does mention mesa 11.2) and glxgears runs smoothly.

Finally, if I try 'scons', it fails due to lack of udev >= 151.

Could you please help me to provide to scons the flag --enable-sysfs, or,
help me to configure 'configure flags' in order to have llvmpipe driver
running?
Thank you very much in advance.

Regards,
Edson

_______________________________________________
mesa-users mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.