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

Git Clone URL: https://aur.archlinux.org/intel-hybrid-codec-driver-gcc10.git (read-only, click to copy)
Package Base: intel-hybrid-codec-driver-gcc10
Description: Libva support for partially hardware accelerated encode and decode on Haswell and newer
Upstream URL: https://01.org/linuxmedia/vaapi
Licenses: MIT
Provides: intel-hybrid-codec-driver
Submitter: zezadas
Maintainer: zezadas
Last Packager: zezadas
Votes: 3
Popularity: 0.88
First Submitted: 2020-05-26 22:28
Last Updated: 2020-05-26 22:28

Dependencies (4)

Required by (2)

Sources (2)

Latest Comments

randomgeek78 commented on 2020-09-12 20:42

This is what I had to do manually -

diff --git a/PKGBUILD b/PKGBUILD
index adb20a6..3b764de 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -30,9 +30,11 @@ optdepends=('libva-intel-driver-hybrid: To be able to use the full hw codecs wit
 makedepends=('git')
 provides=('intel-hybrid-codec-driver')
 source=("$_gitname::$_gitroot"
-        'gcc10-fix.patch')
+        'gcc10-fix.patch'
+       'vadriverinit-fix.patch')
 sha256sums=('SKIP'
-            '90c01a1771f90007b001057edd4ada66751e54ccc380b3d87672694ab7ea92cb')
+            '90c01a1771f90007b001057edd4ada66751e54ccc380b3d87672694ab7ea92cb'
+           '5359cfa322403bad1a20dc55de290c5f5c2f8d56afeba9c4a84dfc35cc89ec8b')

 pkgver() {
  cd ${srcdir}/$_gitname
@@ -42,6 +44,7 @@ pkgver() {
 prepare() {
   cd ${srcdir}/${_gitname}
   patch -p1 -i ${srcdir}/gcc10-fix.patch
+  patch -p1 -i ${srcdir}/vadriverinit-fix.patch
   autoreconf -v --install
 }

randomgeek78 commented on 2020-09-12 20:39

zezadas, Please see my comment in intel-hybrid-codec-driver. You need this patch to get LIBVA_DRIVER_NAME=hybrid vainfo to work -

$ 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;

Can you please add it to PKGBUILD? Thanks!

zezadas commented on 2020-06-15 15:15

No idea about that. But there's someone with the same error on the libva-intel-driver-hybrid package. https://aur.archlinux.org/packages/libva-intel-driver-hybrid/

If you manage to fix it, ping me and I will add the patch.

SpineEyE commented on 2020-06-14 15:58

$ LIBVA_DRIVER_NAME=hybrid vainfo
libva error: /usr/lib/dri/hybrid_drv_video.so has no function __vaDriverInit_1_0
vaInitialize failed with error code -1 (unknown libva error),exit

Am I doing something wrong?

Edit: I should mention, I have libva-intel-driver-hybrid-gcc10 installed.

lucasrizzini commented on 2020-06-03 11:52

Thank you!