Summary: | [mesa] LD paths are missing vdpau libraries directory. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Marcin Kowalski <yoshi3> |
Component: | New packages | Assignee: | Gentoo X packagers <x11> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ansla80, cardoe, denisgolovan, scarabeus |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Marcin Kowalski
2011-11-03 05:59:50 UTC
I have noticed this. How does Nvidia's binary VDPAU implementation handle this? Do they add libvdpau_nvidia.so to the search path? i assume it's installed somewhere else in LD path. i don't really have nvidia card to find out for sure. My nvidia-drivers install is a bit older, but my libvdpau_nvidia.so* is installed directly into /usr/$(get_libdir)/ , so it'd definitely be in the LDPATH I confirm the bug, something should install env file with export of that dir. Maybe mesa or libvdpau should do it. I would go with mesa while thinking of it. 03vdpau with LDPATH set properly... The is actually a bug in x11-libs/libvdpau-0.4.1.ebuild. The libvdpau ebuild currently has this line: --with-module-dir=/usr/$(get_libdir) in src_configure(). That line instead needs to be: --with-module-dir=/usr/$(get_libdir)/vdpau to ensure that libvdpau can find the .so where mesa installs it. Mesa upstream confirms that ${libdir}/vdpau is the correct directory. A look at the default value for module-dir in configure.ac also confirms it: [moduledir="$libdir/vdpau"] (In reply to comment #6) > The is actually a bug in x11-libs/libvdpau-0.4.1.ebuild. > > The libvdpau ebuild currently has this line: > > --with-module-dir=/usr/$(get_libdir) > > in src_configure(). That line instead needs to be: > > --with-module-dir=/usr/$(get_libdir)/vdpau > > to ensure that libvdpau can find the .so where mesa installs it. > > Mesa upstream confirms that ${libdir}/vdpau is the correct directory. > > A look at the default value for module-dir in configure.ac also confirms it: > > [moduledir="$libdir/vdpau"] Thanks for pointing that out James. I was actually working around a previous bug in a specific nvidia-drivers release that Aaron P fixed ages ago and never reverted that in the ebuild. I'll fix this first thing Monday morning when I'm back at my Gentoo dev box. fixed in 0.4.1-r1. *** Bug 410441 has been marked as a duplicate of this bug. *** |