Your message dated Thu, 16 Jun 2016 20:40:37 +0200
with message-id <[email protected]>
and subject line Re: Bug#800658: Please consider shipping my
/etc/X11/Xsession.d/99-select-vdpau-driver script in libvdpau1
has caused the Debian Bug report #800658,
regarding Please consider shipping my
/etc/X11/Xsession.d/99-select-vdpau-driver script in libvdpau1
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
800658: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=800658
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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
signature.asc
Description: This is a digitally signed message part
--- End Message ---
--- Begin Message ---
Version: 1.1.1-3
Hi!
I don't know why, but libvdpau nowadays seems to correctly detect the
va_gl backend automatically without requiring VDPAU_DRIVER to be set:
With VDPAU_DRIVER set:
alexander@shepard:~$ env | grep VDPAU
VDPAU_DRIVER=va_gl
alexander@shepard:~$ vdpauinfo | grep Information
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
Information string: OpenGL/VAAPI/libswscale backend for VDPAU
alexander@shepard:~$
Without VDPAU_DRIVER set:
alexander@shepard:~$ unset VDPAU_DRIVER
alexander@shepard:~$ env | grep VDPAU
alexander@shepard:~$ vdpauinfo | grep Information
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
Information string: OpenGL/VAAPI/libswscale backend for VDPAU
alexander@shepard:~$
I'm not really sure what happened here, but it works now!
Best regards
Alexander Kurtz
signature.asc
Description: This is a digitally signed message part
--- End Message ---