Bug#800658: Please consider shipping my /etc/X11/Xsession.d/99-select-vdpau-driver script in libvdpau1

Andreas Beckmann anbe at debian.org
Mon Oct 5 21:19:51 UTC 2015


Hi,

On 2015-10-03 17:34, Alexander Kurtz wrote:
> On Sat, 2015-10-03 at 15:39 +0100, Luca Boccassi wrote:
>> But libvdpau itself already has code to look for the available 
>> drivers and pick one, and the env var is left so that the user can 

>> better trying to fix it in the library itself, if possible, before

I agree that this should be fixed in the autodetection code in the library.

> Without my 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

So this is more or less a duplicate of #786655 (and probably #617940 as
well).


One issue I see with the script (or any filesystem enumeration approach)
is if there are two drivers supporting a device, the wrong one will be
chosen :-)


I don't have time to dig into libvdpau (nor do I have interesting
hardware for testing), so any help is welcome!


Andreas



More information about the pkg-nvidia-devel mailing list