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

Mathieu Malaterre malat at debian.org
Thu Feb 6 11:59:25 UTC 2014


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.

Steps:
Go to : http://www.h264info.com/clips.html
I picked the simpson one:

$ wget http://downloads.dvdloc8.com/trailers/divxdigest/simpsons_movie_trailer.zip
$ unzip simpsons_movie_trailer.zip
$ 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
[vo/vdpau] Error when calling vdp_device_create_x11: 1
Selected video codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 [lavc:h264]
Selected audio codec: AAC (Advanced Audio Coding) [lavc:aac]
AO: [pulse] 48000Hz stereo 2ch float
VO: [opengl] 1280x544 => 1280x544 420p
AV: 00:00:04 / 00:02:17 (3%) A-V: -0.004

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

And

$ vainfo
libva: VA-API version 0.32.0
Xlib:  extension "XFree86-DRI" missing on display ":0".
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/x86_64-linux-gnu/dri/fglrx_drv_video.so
libva: va_openDriver() returns 0
vainfo: VA-API version: 0.32 (libva 1.0.15)
vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA-API - 0.8.0
vainfo: Supported profile and entrypoints
      VAProfileH264High               : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD

Building seems to be fine (it is not picking the new VDPAU API):

$ grep vdpau mpv-0.3.4/build/config.log
['/usr/bin/pkg-config', 'vdpau >= 0.2', '--libs', '--cflags', 'vdpau']
out:  -lvdpau
Checking for libavcodec new vdpau API
avcodec-new-vdpau-api not found

Even using mpv --msglevel=all=trace does not reveals what is going on
wrong (why is it searching for nvidia anyway!).



More information about the pkg-multimedia-maintainers mailing list