Bug#800658: Please consider shipping my /etc/X11/Xsession.d/99-select-vdpau-driver script in libvdpau1
Alexander Kurtz
alexander at kurtz.be
Fri Oct 2 08:16:56 UTC 2015
Package: libvdpau1
Version: 1.1.1-1
Severity: wishlist
Hi,
I currently have this in /etc/X11/Xsession.d/99-select-vdpau-driver:
#!/bin/sh -e
prefix="/usr/lib/`arch`-`uname | tr '[:upper:]' '[:lower:]'`-gnu/vdpau/libvdpau_"
suffix=".so"
for driver in "${prefix}"*"${suffix}"; do
driver="${driver#${prefix}}"
driver="${driver%${suffix}}"
if VDPAU_DRIVER="${driver}" vdpauinfo 1>/dev/null 2>/dev/null; then
export VDPAU_DRIVER="${driver}"
break
fi
done
Without this script, I get this:
$ vdpauinfo
display: :0 screen: 0
Failed to open VDPAU backend libvdpau_i965.so: cannot open shared object file: No such file or directory
Error creating VDPAU device: 1
$
With it, everything works fine. You may want to consider shipping the
script above in the libvdpau1 package. If you do, please don't forget
to add a dependency on the vdpauinfo package.
Best regards
Alexander Kurtz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-nvidia-devel/attachments/20151002/88664967/attachment.sig>
More information about the pkg-nvidia-devel
mailing list