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

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to