Bug 84711 - [libva] gallium_drv_video.so ignores --with-dri-driverdir setting
Summary: [libva] gallium_drv_video.so ignores --with-dri-driverdir setting
Status: RESOLVED NOTABUG
Alias: None
Product: Mesa
Classification: Unclassified
Component: Other (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-06 11:04 UTC by LoneVVolf
Modified: 2014-10-13 11:45 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description LoneVVolf 2014-10-06 11:04:18 UTC
Archlinux x86_64 , git master rev f358462

  ./autogen.sh \
    --prefix=/usr \
    --sysconfdir=/etc \
    --with-dri-driverdir=/usr/lib/xorg/modules/dri \
    --with-egl-platforms=x11,drm,wayland \
    --with-gallium-drivers=r300,r600,radeonsi,swrast \
    --with-dri-drivers=swrast \
    --enable-llvm-shared-libs \
    --enable-egl \
    --disable-gallium-egl \
    --disable-gallium-gbm \
    --enable-gbm \
    --enable-gallium-llvm \
    --enable-shared-glapi \
    --enable-glx \
    --enable-glx-tls \
    --enable-dri \
    --enable-gles1 \
    --enable-gles2 \
    --enable-texture-float \
    --enable-xa \
    --enable-vdpau \
    --enable-omx \
    --enable-opencl \
    --enable-opencl-icd \
    --with-clang-libdir=/usr/lib \
    --enable-xvmc \
    --enable-r600-llvm-compiler \
    --enable-gallium-osmesa \
    --enable-gallium-tests
make
make DESTDIR=${pkgdir} install

the gallium_drv_video.so file is placed in DESTDIR/usr/lib/dri and not in 
DESTDIR/usr/lib/xorg/modules/dri as i expect with above /.configure settings.

build log : http://pastebin.com/xvg5Mku8
Comment 1 Emil Velikov 2014-10-12 23:56:11 UTC
gallium_drv_video.so is a libva backend. As such one needs to set --with-va-libdir.
Something like the following should work like a charm

./configure --with-va-libdir=`pkg-config libva --variable=driverdir` ...
Comment 2 LoneVVolf 2014-10-13 11:45:50 UTC
You are right, and libva pkgconfig on arch indeed has /usr/lib/dri as default folder.

Thanks for the information.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.