Bug#737838: [vo/vdpau] Error when calling vdp_device_create_x11: 1

Alessandro Ghedini ghedo at debian.org
Sun Feb 9 15:23:43 UTC 2014


Sorry for the delay, I seem to have missed the report.

On gio, feb 06, 2014 at 12:59:25 +0100, Mathieu Malaterre wrote:
> Package: mpv
> Version: 0.3.4-1
> 
> I am trying to use mpv on a wheezy system. It does build nicely
> however I cannot get the vdpau from amy AMD/ATI card to work.
> 
> [...]
> 
> $ mpv The\ Simpsons\ Movie\ -\ Trailer.mp4
> Playing: The Simpsons Movie - Trailer.mp4
> Detected file format: QuickTime / MOV (libavformat)
> Clip info:
>  major_brand: isom
>  minor_version: 1
>  compatible_brands: isomavc1
>  creation_time: 2007-02-19 05:03:04
> [stream] Video (+) --vid=1 (h264)
> [stream] Audio (+) --aid=1 --alang=und (aac)
> Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared
> object file: No such file or directory

If the video card has been misdetected, it would be a bug in libvdpau1... I
think. Can you please run "glxinfo | grep OpenGL"?

> However:
> 
> $ dpkg -S /usr/lib/x86_64-linux-gnu/dri/xvba_drv_video.so
> xvba-va-driver: /usr/lib/x86_64-linux-gnu/dri/xvba_drv_video.so

I think you are confusing VA-API and VDPAU here. They are two different things,
and xvba-va-driver only provides a backend for VA-API.

Incidentally mpv suports VA-API as well, so you may want to try to enable it
using "-vo=opengl" (or "-vo=opengl-hq") and "-hwdec=vaapi", or directly using
the vaapi vo ("-vo=vaapi") and "-hwdec=vaapi" (but the opengl one should be
better).

On gio, feb 06, 2014 at 01:05:44 +0100, Mathieu Malaterre wrote:
> Hum, googl'ing the issue I finally found:
> 
> https://wiki.archlinux.org/index.php/VDPAU#Configuration
> 
> Steps:
> 
> $ VDPAU_DRIVER=va_gl mpv The\ Simpsons\ Movie\ -\ Trailer.mp4

Yeah, but it's kinda convoluted (VDPAU frontend that uses VAAPI frontend that
uses XvBA hardware... assuming thet it actually uses the xvba-va driver instead
of just falling back to opengl). Using VAAPI/XvBA directly should be better (if
anything it's one package less to have installed).

If you do want to use vdpau instead of vaapi/xvba, and it is supported by your
video card, you need a working vdpau driver (which, AFAICT, is not available in
Debian for fglrx).

Cheers

-- 
perl -E '$_=q;$/= @{[@_]};and s;\S+;<inidehG ordnasselA>;eg;say~~reverse'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20140209/6a2707e5/attachment.sig>


More information about the pkg-multimedia-maintainers mailing list