Package Details: intel-hybrid-codec-driver 2.0.0.r169.edead0c-4

Git Clone URL: https://aur.archlinux.org/intel-hybrid-codec-driver.git (read-only, click to copy)
Package Base: intel-hybrid-codec-driver
Description: Libva support for partially hardware accelerated encode and decode on Haswell and newer
Upstream URL: https://01.org/linuxmedia/vaapi
Licenses: MIT
Submitter: DetMittens
Maintainer: mortzu
Last Packager: mortzu
Votes: 28
Popularity: 1.21
First Submitted: 2017-07-16 18:38
Last Updated: 2021-03-03 18:30

Dependencies (4)

Required by (1)

Sources (3)

Latest Comments

« First ‹ Previous 1 2

Burdeman commented on 2018-01-20 15:18

init error on hybrid_drv_video.so

$ vainfo libva info: VA-API version 1.0.0 libva info: va_getDriverName() returns 0 libva info: Trying to open /usr/lib/dri/i965_drv_video.so libva info: Found init function __vaDriverInit_1_0 failed to open /usr/lib/dri/hybrid_drv_video.so Failed to wrapper hybrid_drv_video.so ...

strace reveals its looking for libva-x11.so.1:

<hr>

openat(AT_FDCWD, "/usr/lib/tls/haswell/x86_64/libva-x11.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/usr/lib/tls/haswell/x86_64", 0x7ffd8640d1e0) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/usr/lib/tls/haswell/libva-x11.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/usr/lib/tls/haswell", 0x7ffd8640d1e0) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/usr/lib/tls/x86_64/libva-x11.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/usr/lib/tls/x86_64", 0x7ffd8640d1e0) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/usr/lib/tls/libva-x11.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/usr/lib/tls", 0x7ffd8640d1e0) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/usr/lib/haswell/x86_64/libva-x11.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/usr/lib/haswell/x86_64", 0x7ffd8640d1e0) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/usr/lib/haswell/libva-x11.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/usr/lib/haswell", 0x7ffd8640d1e0) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/usr/lib/x86_64/libva-x11.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/usr/lib/x86_64", 0x7ffd8640d1e0) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/usr/lib/libva-x11.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) stat("/usr/lib", {st_mode=S_IFDIR|0755, st_size=135168, ...}) = 0

...

argen14 commented on 2018-01-08 04:16

I guess I am having same problem as @Detmittens . I have i5-6200u skylake graphics. After installing this package I've re-compiled libva-intel-driver

$ yaourt -Sb libva-intel-driver I changed the lines of PKGBUILD:

./configure --enable-hybrid-codec \ --prefix=/usr

Seems libva tries to load the driver but fails:

ibva info: VA-API version 1.0.0 libva info: va_getDriverName() returns 0 libva info: Trying to open /usr/lib/dri/i965_drv_video.so libva info: Found init function __vaDriverInit_1_0 /usr/lib/dri/hybrid_drv_video.so init failed Failed to wrapper hybrid_drv_video.so libva info: va_openDriver() returns 0 vainfo: VA-API version: 1.0 (libva 2.0.0) vainfo: Driver version: Intel i965 driver for Intel(R) Skylake - 2.0.0 vainfo: Supported profile and entrypoints VAProfileMPEG2Simple : VAEntrypointVLD VAProfileMPEG2Simple : VAEntrypointEncSlice VAProfileMPEG2Main : VAEntrypointVLD VAProfileMPEG2Main : VAEntrypointEncSlice VAProfileH264ConstrainedBaseline: VAEntrypointVLD VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP VAProfileH264ConstrainedBaseline: VAEntrypointFEI VAProfileH264Main : VAEntrypointVLD VAProfileH264Main : VAEntrypointEncSlice VAProfileH264Main : VAEntrypointEncSliceLP VAProfileH264Main : VAEntrypointFEI VAProfileH264High : VAEntrypointVLD VAProfileH264High : VAEntrypointEncSlice VAProfileH264High : VAEntrypointEncSliceLP VAProfileH264High : VAEntrypointFEI VAProfileH264MultiviewHigh : VAEntrypointVLD VAProfileH264MultiviewHigh : VAEntrypointEncSlice VAProfileH264StereoHigh : VAEntrypointVLD VAProfileH264StereoHigh : VAEntrypointEncSlice VAProfileVC1Simple : VAEntrypointVLD VAProfileVC1Main : VAEntrypointVLD VAProfileVC1Advanced : VAEntrypointVLD VAProfileNone : VAEntrypointVideoProc VAProfileJPEGBaseline : VAEntrypointVLD VAProfileJPEGBaseline : VAEntrypointEncPicture VAProfileVP8Version0_3 : VAEntrypointVLD VAProfileVP8Version0_3 : VAEntrypointEncSlice VAProfileHEVCMain : VAEntrypointVLD VAProfileHEVCMain : VAEntrypointEncSlice

Any ideas to try? Thanks

DetMittens commented on 2017-11-13 19:03

I'm still having problems updating but I guess something must be conflicting. I'm going to update the package with your PKGBUILD modifications since its working on my braswell nuc but not on my skylake system. Guess its time for me to setup a proper chroot to build in.

Thanks for the help

uth commented on 2017-11-13 18:06

Thanks DetMittens,
I updated your PKGBUILD and it works well on Haswell.

//
--- PKGBUILD.old 2017-11-14 02:39:02.221000628 +0900
+++ PKGBUILD 2017-11-14 02:39:29.670453649 +0900
@@ -12,8 +12,10 @@
# the libva-intel-driver-hybrid package from the AUR

pkgname=intel-hybrid-codec-driver
+_gitroot="git+https://github.com/01org/intel-hybrid-driver.git"
_gitname=intel-hybrid-driver
-pkgver=1.0.2
+_pkgver=2.0.0
+pkgver=$_pkgver.r169.edead0c
pkgrel=1
pkgdesc='Libva support for VP9 decode and VP8 encode on Skylake and Braswell'
arch=('i686' 'x86_64')
@@ -21,21 +23,26 @@
license=('MIT')
depends=('libva' 'libcmrt')
optdepends=('libva-intel-driver-hybrid: To be able to use the full hw codecs with hybrid codecs')
-source=("${_gitname}-${pkgver}.tar.gz::https://github.com/01org/${_gitname}/archive/${pkgver}.tar.gz")
-sha256sums=('16cd66872e8043ce6c0e9a016a043c460e8a180fdc520f31c1f97ffef7828d7b')
+source=("$_gitname::$_gitroot")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd ${srcdir}/$_gitname
+ printf $_pkgver".r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}

prepare() {
- cd ${srcdir}/${_gitname}-${pkgver}
+ cd ${srcdir}/${_gitname}
autoreconf -v --install
}

build() {
- cd ${srcdir}/${_gitname}-${pkgver}
+ cd ${srcdir}/${_gitname}
./configure --prefix=/usr
make
}

package() {
- cd ${srcdir}/${_gitname}-${pkgver}
+ cd ${srcdir}/${_gitname}
make install DESTDIR=${pkgdir}
}
//

$ yaourt -Sb libva-intel-driver
I changed the lines of PKGBUILD:
> ./configure --enable-hybrid-codec \
> --prefix=/usr

$ vainfo | grep VP9
libva info: VA-API version 1.0.0
VAProfileVP9Profile0 : VAEntrypointVLD

DetMittens commented on 2017-11-13 16:58

There is currently a bug in this package or libcmrt which causes the resulting driver to reference __vaDriverInit_0_34 instead of __vaDriverInit_1_0. I think the problem is in libcmrt as it hasn't been updated to libva 2.0.0 I'm trying to find a fix and will update as soon as possible.