EMGD-Community / intel-binaries-linux

Binaries and source code published by Intel®
https://thopiekar.eu:5443/EMGD
Other
37 stars 11 forks source link

libva.so.1: no version information available #47

Open James-E-A opened 6 years ago

James-E-A commented 6 years ago

I hope that I have provided enough information here

$ mpv --version
mpv: /usr/lib/i386-linux-gnu/vaapi-1.0.16/libva.so.1: no version information available (required by mpv)
mpv: symbol lookup error: mpv: undefined symbol: vaQueryVideoProcPipelineCaps
dpkg-query -S /usr/lib/i386-linux-gnu/vaapi-1.0.16/libva.so.1 
libva1-1.0.16:i386: /usr/lib/i386-linux-gnu/vaapi-1.0.16/libva.so.1
$ apt-cache show libva1-1.0.16:i386 
Package: libva1-1.0.16
Source: libva-1.0.16
Priority: optional
Section: libs
Installed-Size: 103
Maintainer: Thomas-Karl Pietrowski <thopiekar@googlemail.com>
Architecture: i386
Version: 1:1.0.16-201704301034+emgd~rev418~ubuntu16.04.1
Replaces: libva1
Provides: libva1, libva1-1.0
Filename: pool/main/libv/libva-1.0.16/libva1-1.0.16_1.0.16-201704301034+emgd~rev418~ubuntu16.04.1_i386.deb
Size: 29852
MD5sum: bd6ea12f69275d952b4ad0711d6dae57
SHA1: 7eb9be5765e19c263d954b3214e1383e39072bb7
SHA256: 66755aab1ed0639deb0109a381de4045666f3f9c1524cd2b52812dbf49dfba26
Description-en: Video Acceleration (VA) API for Linux -- runtime
 Video Acceleration API (VA API) is a library ("libVA") and API specification
 which enables and provides access to graphics hardware (GPU) acceleration for
 video processing on Linux and UNIX based operating systems. Accelerated
 processing includes video decoding, video encoding, subpicture blending and
 rendering. The specification was originally designed by Intel for its GMA
 (Graphics Media Accelerator) series of GPU hardware, the API is however not
 limited to GPUs or Intel specific hardware, as other hardware and manufacturers
 can also freely use this API for hardware accelerated video decoding.
 .
 This package provides the main libva library.
Description-md5: 20074d33b9248804eb2fa6108a8c34c8
Multi-Arch: same

$ apt-cache show mpv
Package: mpv
Priority: optional
Section: universe/video
Installed-Size: 2080
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Debian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>
Architecture: i386
Version: 0.14.0-1build1
Depends: libasound2 (>= 1.0.27), libass5 (>= 0.13.0), libavcodec-ffmpeg56 (>= 7:2.6) | libavcodec-ffmpeg-extra56 (>= 7:2.6), libavdevice-ffmpeg56 (>= 7:2.4), libavfilter-ffmpeg5 (>= 7:2.4), libavformat-ffmpeg56 (>= 7:2.4), libavutil-ffmpeg54 (>= 7:2.8), libbluray1 (>= 1:0.2.2), libc6 (>= 2.16), libcdio-cdda1 (>= 0.83), libcdio-paranoia1 (>= 0.83), libcdio13 (>= 0.83), libdrm2 (>= 2.4.25), libdvdnav4 (>= 4.1.3), libdvdread4 (>= 4.1.3), libegl1-mesa (>= 7.8.1) | libegl1-x11, libenca0 (>= 1.9), libgl1-mesa-glx | libgl1, libguess1, libjack-jackd2-0 (>= 1.9.5~dfsg-14) | libjack-0.116, libjpeg8 (>= 8c), liblcms2-2 (>= 2.6), liblua5.2-0, libpulse0 (>= 0.99.4), librubberband2v5, libsdl2-2.0-0 (>= 2.0.4), libsndio6.1 (>= 1.1.0), libswresample-ffmpeg1 (>= 7:2.7), libswscale-ffmpeg3 (>= 7:2.4), libva-wayland1 (>= 1.3.0), libva-x11-1 (>= 1.0.3), libva1 (>= 1.4.0), libvdpau1 (>= 0.2), libwayland-client0 (>= 1.3.92), libwayland-cursor0 (>= 1.0.2), libwayland-egl1-mesa (>= 10.0.2) | libwayland-egl1, libx11-6, libxext6, libxinerama1, libxkbcommon0 (>= 0.5.0), libxrandr2 (>= 2:1.2.0), libxss1, libxv1, zlib1g (>= 1:1.1.4)
Recommends: xdg-utils, youtube-dl (>= 2014.11.26)
Filename: pool/universe/m/mpv/mpv_0.14.0-1build1_i386.deb
Size: 857406
MD5sum: 73f62113851a89f3da6b621676a88a27
SHA1: c98eb9849746a5b309e16e2a1e975006a62b90c4
SHA256: ae780768a806828c702d7a98d87564814deb156a31d487aa65db805bd8ab3887
Description-en: video player based on MPlayer/mplayer2
 mpv is a movie player based on MPlayer and mplayer2. It supports a wide
 variety of video file formats, audio and video codecs, and subtitle types.
 .
 Changes from mplayer2 to mpv include:
  * Removal of lots of unneeded code to encourage developer activity
  * Better OSD rendering
  * Cleaned up terminal output
  * Improved OpenGL output
  * Encoding functionality (replacement for mencoder)
  * Wayland support
  * Support for playing URLs of popular streaming sites
  * Screenshot improvements
  * ...
 See mpv(1) for more info regarding changes between MPlayer, mplayer2 and mpv.
Description-md5: 42d61bf874a5fe751d6c1a8601d1276d
Multi-Arch: foreign
Homepage: http://mpv.io/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 5y
Task: ubuntukylin-desktop

$
thopiekar commented 6 years ago

The reason is already in this line: mpv: symbol lookup error: mpv: undefined symbol: vaQueryVideoProcPipelineCaps

mpv has been compiled against a more recent version of Ubuntu and it seems like mpv strictly requires functions and/or attributes, which are not available in 1.0.16.

What you can do is taking the sources of mpv and try to recompile it. If a more recent version is need, take a older version of mpv, too, and see whether it works 😉

James-E-A commented 6 years ago

How odd 🤔

https://github.com/EMGD-Community/libva/blob/master/va/va_vpp.h#L734

Why doesn't the above-linked file seem to provide this? (I actually found it on Google while wondering whether it would be possible to backport this function from the future version of the library it's expected from—but it seems I've found it's from at least this version!)

thopiekar commented 6 years ago

You need to switch to the correct branch: https://github.com/EMGD-Community/libva/blob/master-1.0.16/va/va_vpp.h :wink:

mirh commented 4 years ago

Where did it go?

James-E-A commented 4 years ago

@mirh it looks like the entire repo got nuked