Comment 14 for bug 1300215

Revision history for this message
A. Eibach (andi3) wrote :

This is a horrible bug, and no one wants to seem to fix it.
Here's my "version":

(Precondition: installed libvdpau-va-gl1, as it was not there.)

Thanks for the VDPAU_DRIVER tip, very appreciated.

~$ export VDPAU_DRIVER=va_gl

~$ cd /usr/lib/i386-linux-gnu/dri

~$ ls -l
total 91924
-rw-r--r-- 1 root root 17780 Jan 18 09:03 dummy_drv_video.so
-rw-r--r-- 5 root root 6214508 Jan 29 18:22 i915_dri.so
-rw-r--r-- 5 root root 6214508 Jan 29 18:22 i965_dri.so
-rw-r--r-- 1 root root 1779560 Jan 27 21:57 i965_drv_video.so
-rw-r--r-- 7 root root 8729848 Jan 29 18:22 kms_swrast_dri.so
-rw-r--r-- 7 root root 8729848 Jan 29 18:22 nouveau_dri.so
lrwxrwxrwx 1 root root 18 Aug 8 01:22 nouveau_drv_video.so -> vdpau_drv_video.so
-rw-r--r-- 5 root root 6214508 Jan 29 18:22 nouveau_vieux_dri.so
lrwxrwxrwx 1 root root 18 Aug 8 01:22 nvidia_drv_video.so -> vdpau_drv_video.so

~$ vdpauinfo
display: :0.0 screen: 0
[VS] Software VDPAU backend library initialized
libva info: VA-API version 0.37.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/i386-linux-gnu/dri/nouveau_vieux_drv_video.so
libva info: va_openDriver() returns -1
[VS] error (compile_shaders): compilation of shader #0 failed with ''
[VS] error (vdpDeviceCreateX11): gl error 1280
Error creating VDPAU device: 25

OK, shared object file simply ISN'T THERE.
So why not do this?

~$ sudo ln -s vdpau_drv_video.so nouveau_vieux_drv_video.so
vdpauinfo
display: :0.0 screen: 0
[VS] Software VDPAU backend library initialized
libva info: VA-API version 0.37.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/i386-linux-gnu/dri/nouveau_vieux_drv_video.so
libva info: Found init function __vaDriverInit_0_35

**** STALLED ****

vdpauinfo is stuck after it found the init function

Something is seriously broken here.