Package Details: intel-hybrid-codec-driver-git 2.0.0.r6.gb0c7970d-1

Git Clone URL: https://aur.archlinux.org/intel-hybrid-codec-driver-git.git (read-only, click to copy)
Package Base: intel-hybrid-codec-driver-git
Description: Libva support for partially hardware accelerated encode and decode on Haswell and newer
Upstream URL: https://github.com/kcning/intel-hybrid-driver
Licenses: MIT
Conflicts: intel-hybrid-codec-driver
Provides: intel-hybrid-codec-driver
Submitter: dreieck
Maintainer: xiota
Last Packager: xiota
Votes: 35
Popularity: 1.03
First Submitted: 2023-05-04 11:03 (UTC)
Last Updated: 2024-07-08 09:47 (UTC)

Dependencies (6)

Required by (1)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

Swaroop34 commented on 2021-11-28 19:03 (UTC) (edited on 2021-11-28 19:25 (UTC) by Swaroop34)

Hey, i tried installing but got "ERROR: A Failure occured in build()". The problem seems to be libtool. I have this before the ERROR.

libtool: Version mismatch error. This is libtool 2.4.6, but the definition of this LT_INIT comes from libtool 2.4.6.42-b88ce-dirty. You should recreate aclocal.m4 with macros from libtool 2.4.6 and run autoconf again.

Please check this error. Thanks in advance.

lavilao commented on 2021-10-24 14:57 (UTC)

did you installed libva-intel-driver-hybrid? otherwise it wont work

arun321 commented on 2021-10-23 14:19 (UTC)

I don't get vp9 decoding support

LIBVA_DRIVER_NAME=i965 vainfo /usr/lib/dri/hybrid_drv_video.so has no function __vaDriverInit_0_32 Not using hybrid_drv_video.so

lavilao commented on 2021-10-02 00:50 (UTC)

Hi I have an intel celeron n3050 (braswell) and it hangs 2 of every 5 vp9 videos when using vaapi, is there a way to prevent this?

greencopper commented on 2021-01-22 14:36 (UTC)

It doesn't compile:

collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:680: hybrid_drv_video.la] Error 1
make[3]: Leaving directory '/home/foo/.cache/yay/intel-hybrid-codec-driver/src/intel-hybrid-driver/src'
make[2]: *** [Makefile:974: all-recursive] Error 1
make[2]: Leaving directory '/home/foo/.cache/yay/intel-hybrid-codec-driver/src/intel-hybrid-driver/src'
make[1]: *** [Makefile:595: all] Error 2
make[1]: Leaving directory '/home/foo/.cache/yay/intel-hybrid-codec-driver/src/intel-hybrid-driver/src'
make: *** [Makefile:418: all-recursive] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
error making: intel-hybrid-codec-driver

The alternative older package "intel-hybrid-codec-driver-gcc10" compiles fine.

randomgeek78 commented on 2020-09-12 12:34 (UTC) (edited on 2020-09-12 12:36 (UTC) by randomgeek78)

Some clarifications for those finding this package and the other one (libva-intel-driver-hybrid) confusing -

This package provides /usr/lib/dri/hybrid_drv_video.so which can be used like so-

$ LIBVA_DRIVER_NAME=hybrid vainfo
vainfo: VA-API version: 1.8 (libva 2.8.0)
vainfo: Driver version: Intel hybrid driver - 2.0.0
vainfo: Supported profile and entrypoints
      VAProfileVP9Profile0            : VAEntrypointVLD

It can also be used by the i965 (/usr/lib/dri/i965_drv_video.so) driver provided by libva-intel-driver-hybrid like so-

$ LIBVA_DRIVER_NAME=i965 vainfo
vainfo: VA-API version: 1.8 (libva 2.8.0)
vainfo: Driver version: Intel i965 driver for Intel(R) Broadwell - 2.4.1
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Simple            : VAEntrypointEncSlice
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointEncSlice
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointEncSlice
      VAProfileH264High               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointEncSlice
      VAProfileH264MultiviewHigh      : VAEntrypointVLD
      VAProfileH264MultiviewHigh      : VAEntrypointEncSlice
      VAProfileH264StereoHigh         : VAEntrypointVLD
      VAProfileH264StereoHigh         : VAEntrypointEncSlice
      VAProfileVC1Simple              : VAEntrypointVLD
      VAProfileVC1Main                : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD
      VAProfileNone                   : VAEntrypointVideoProc
      VAProfileJPEGBaseline           : VAEntrypointVLD
      VAProfileVP8Version0_3          : VAEntrypointVLD
      VAProfileVP9Profile0            : VAEntrypointVLD

Note that the i965_drv_video.so provided by the vanilla libva-intel-driver will not be able to use this package.

In order to properly get over libva error: /usr/lib/dri/hybrid_drv_video.so has no function __vaDriverInit_1_0 error, I had to put in the following patch -

$ cat vadriverinit-fix.patch
--- intel-hybrid-driver/src/media_drv_init.c
+++ intel-hybrid-driver-new/src/media_drv_init.c
@@ -2764,9 +2764,9 @@ va_driver_init (VADriverContextP ctx)
   return ret;
 }

-VAStatus DLL_EXPORT __vaDriverInit_0_34 (VADriverContextP ctx);
+VAStatus DLL_EXPORT VA_DRIVER_INIT_FUNC (VADriverContextP ctx);
 VAStatus
-__vaDriverInit_0_34 (VADriverContextP ctx)
+VA_DRIVER_INIT_FUNC (VADriverContextP ctx)
 {
   VAStatus ret = VA_STATUS_ERROR_UNKNOWN;

But I don't think it matters since I don't think we should be using the hybrid driver directly but instead through i965 that is supplied by the libva-intel-driver-hybrid.

randomgeek78 commented on 2020-09-12 10:19 (UTC) (edited on 2020-09-12 10:20 (UTC) by randomgeek78)

I continue to have the issue mentioned by DetMittens in the first post to this AUR package. My hybrid_drv_video.so gets compiled with __vaDriverInit_0_34 instead of __vaDriverInit_1_0:

$ strings hybrid_drv_video.so | grep vaDriverInit
__vaDriverInit_0_34

As a result, vainfo cannot successfully load this drv:

$ LIBVA_DRIVER_NAME=hybrid vainfo
libva error: /usr/lib/dri/hybrid_drv_video.so has no function __vaDriverInit_1_0

I could not parse the solution from looking at all the commands in this AUR and also externally.

Any ideas?

dbermond commented on 2020-07-27 01:10 (UTC)

It currently fails to build with gcc10 because gcc10 defaults to use -fno-common.

Can be fixed by applying this patch from upstream PR #28: https://github.com/intel/intel-hybrid-driver/commit/821f871296629ffab451faea5134abf6f2d1166f.patch

dude commented on 2019-07-23 20:51 (UTC)

Can you add 'git' to makedepends please? Otherwise the build fails when git is not installed.

wan109020 commented on 2019-05-20 15:34 (UTC) (edited on 2019-05-22 15:26 (UTC) by wan109020)

This codec seems to work way better under Intel Clear Kernel. On my machine, rendering 1080p Youtube Video with chromium-vaapi only took ~5% under Intel Clear Kernel, just like it gots full hw-acceleration.