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

Edson Contreras Cárdenas edrecon at gmail.com
Wed Jun 29 12:01:16 UTC 2016


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-users/attachments/20160629/7b6f563e/attachment.html>


More information about the mesa-users mailing list