Package Details: intel-media-driver-git 2018.3.pre3.r308.g862e9600-1

Git Clone URL: https://aur.archlinux.org/intel-media-driver-git.git (read-only)
Package Base: intel-media-driver-git
Description: Intel Media Driver for VAAPI — Broadwell+ iGPUs (git version)
Upstream URL: https://github.com/intel/media-driver/
Keywords: driver hwaccel ihd intel libva media-sdk mediasdk va-api vaapi video
Licenses: BSD, MIT
Conflicts: intel-media-driver
Provides: intel-media-driver
Submitter: dbermond
Maintainer: dbermond
Last Packager: dbermond
Votes: 3
Popularity: 0.016781
First Submitted: 2017-12-26 23:37
Last Updated: 2018-11-27 15:47

Latest Comments

dbermond commented on 2018-10-05 02:39

Important note:

  • In order to enable the va-api driver provided by this package you need to set the LIBVA_DRIVER_NAME environment variable to iHD.

dbermond commented on 2018-10-05 01:35

@ArchangeGabriel I forgot to update gmmlib dependency here. Thank you for pointing this. I updated intel-gmmlib-git too but to address another issue.

ArchangeGabriel commented on 2018-10-04 20:33

@dbermond: You either have to provides=gmmlib-git in intel-gmmlib-git or to fix the dependency here.

dbermond commented on 2018-09-03 17:19

@MichaelChou Fixed. Upstream was previously requiring gmmlib source (and providing gmmlib in package) in order to build, then it switched to require gmmlib installed on system and now it switched back to require gmmlib sources due to regressions. That's the cost that you pay for using a development (-git) package ;)

More details in this upstream developer comment.

MichaelChou commented on 2018-09-03 03:56

With:

gmmlib-git 18.3.pre1.r0.g99ff764-1
libva-git 2.2.1.pre1.20180831.r0.gb6c50da-1

I got this when compiling (not in chroot though):

-- /tmp/makepkg/intel-media-driver-git/src/intel-media-driver-git/media_driver/agnostic/gen11/os/media_srcs.cmake doesn't exist, macro(media_include_subdirectory) just does nothing
-- /tmp/makepkg/intel-media-driver-git/src/intel-media-driver-git/media_driver/../media_driver_next/media_srcs.cmake doesn't exist, macro(media_include_subdirectory) just does nothing
-- Checking for module 'pciaccess'
--   Found pciaccess, version 0.14
CMake Error at media_driver/media_top_cmake.cmake:92 (add_subdirectory):
  add_subdirectory given source
  "/tmp/makepkg/intel-media-driver-git/src/intel-media-driver-git/../gmmlib/Source/GmmLib"
  which is not an existing directory.
Call Stack (most recent call first):
  media_driver/CMakeLists.txt:111 (include)


-- LIBVA_DRIVERS_PATH = /usr/lib/dri
-- Configuring incomplete, errors occurred!
See also "/tmp/makepkg/intel-media-driver-git/src/build/CMakeFiles/CMakeOutput.log".
==> ERROR: A failure occurred in build().
    Aborting...
Error making: intel-media-driver-git

dbermond commented on 2018-04-19 18:21

@gillecaluim I cannot reproduce your issue. Package is building fine for me.

Please make sure that your build directory is clean (use makepkg --cleanbuild option). If it fails, try to build it on a clean chroot.

gillecaluim commented on 2018-04-19 17:00

unable to compile this package [code] /build/intel-media-driver/src/media-driver-intel-media-600.0130/media_driver/linux/common/ddi/media_libva_caps.cpp: In member function ‘CODECHAL_FUNCTION MediaLibvaCaps::GetEncodeCodecFunction(VAProfile, VAEntrypoint)’: /build/intel-media-driver/src/media-driver-intel-media-600.0130/media_driver/linux/common/ddi/media_libva_caps.cpp:2333:46: error: ‘VAEntrypointStats’ was not declared in this scope else if (entrypoint == (VAEntrypoint)VAEntrypointStats) ^~~~~~~~~~~~~~~~~ /build/intel-media-driver/src/media-driver-intel-media-600.0130/media_driver/linux/common/ddi/media_libva_caps.cpp:2333:46: note: suggested alternative: ‘VAEntrypoint’ else if (entrypoint == (VAEntrypoint)VAEntrypointStats) ^~~~~~~~~~~~~~~~~ VAEntrypoint /build/intel-media-driver/src/media-driver-intel-media-600.0130/media_driver/linux/common/ddi/media_libva_caps.cpp: In member function ‘CODECHAL_MODE MediaLibvaCaps::GetEncodeCodecMode(VAProfile, VAEntrypoint)’: /build/intel-media-driver/src/media-driver-intel-media-600.0130/media_driver/linux/common/ddi/media_libva_caps.cpp:2343:37: error: ‘VAEntrypointStats’ was not declared in this scope if (entrypoint == (VAEntrypoint)VAEntrypointStats) ^~~~~~~~~~~~~~~~~ /build/intel-media-driver/src/media-driver-intel-media-600.0130/media_driver/linux/common/ddi/media_libva_caps.cpp:2343:37: note: suggested alternative: ‘VAEntrypoint’ if (entrypoint == (VAEntrypoint)VAEntrypointStats) ^~~~~~~~~~~~~~~~~ VAEntrypoint /build/intel-media-driver/src/media-driver-intel-media-600.0130/media_driver/linux/common/ddi/media_libva_caps.cpp: In member function ‘bool MediaLibvaCaps::CheckEntrypointCodecType(VAEntrypoint, MediaLibvaCaps::CodecType)’: /build/intel-media-driver/src/media-driver-intel-media-600.0130/media_driver/linux/common/ddi/media_libva_caps.cpp:175:1: error: control reaches end of non-void function [-Werror=return-type] } ^ cc1plus: some warnings being treated as errors make[2]: [media_driver/CMakeFiles/iHD_drv_video.dir/build.make:8175: media_driver/CMakeFiles/iHD_drv_video.dir/linux/common/ddi/media_libva_caps.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:164: media_driver/CMakeFiles/iHD_drv_video.dir/all] Error 2 make: *** [Makefile:152: all] Error 2 [/code] seems to be an issue with libva...I'm using libva-git

dbermond commented on 2018-04-16 18:19

@biosin Thank you for pointing this.

In fact, what is needed here is libva-git, and not libva-intel-driver-git.

I'm already using libva-git and that's why I missed this. Now fixed.

biosin commented on 2018-04-16 10:36

Please add libva-intel-driver-git as dependency, otherwise compilation fails, see https://github.com/intel/media-driver/issues/143