Package Details: lib32-intel-media-driver 24.2.5-1

Git Clone URL: https://aur.archlinux.org/lib32-intel-media-driver.git (read-only, click to copy)
Package Base: lib32-intel-media-driver
Description: Intel Media Driver for VAAPI — Broadwell+ iGPUs — 32-bit
Upstream URL: https://github.com/intel/media-driver
Licenses: MIT, BSD-3-Clause
Submitter: Eximius
Maintainer: None
Last Packager: bingbong
Votes: 1
Popularity: 0.000000
First Submitted: 2021-04-20 16:37 (UTC)
Last Updated: 2024-08-23 17:38 (UTC)

Latest Comments

dreieck commented on 2023-06-01 12:15 (UTC) (edited on 2023-06-01 14:58 (UTC) by dreieck)

Fails to build for me:

[...]
[ 38%] Building CXX object media_driver/CMakeFiles/iHD_drv_video_COMMON.dir/agnostic/gen12/hw/mhw_sfc_hwcmd_g12_X.cpp.o
In file included from /tmp/makepkg/build/lib32-intel-media-driver/src/media-driver-intel-media-22.5.4/media_driver/agnostic/gen12/hw/vdbox/mhw_vdbox_avp_generic.h:31,
                 from /tmp/makepkg/build/lib32-intel-media-driver/src/media-driver-intel-media-22.5.4/media_driver/agnostic/gen12/hw/vdbox/mhw_vdbox_avp_g12_X.h:30,
                 from /tmp/makepkg/build/lib32-intel-media-driver/src/media-driver-intel-media-22.5.4/media_driver/agnostic/gen12/hw/vdbox/mhw_vdbox_avp_g12_X.cpp:26:
/tmp/makepkg/build/lib32-intel-media-driver/src/media-driver-intel-media-22.5.4/media_driver/agnostic/gen12/hw/vdbox/mhw_vdbox_avp_generic.h: In instantiation of ‘class MhwVdboxAvpInterfaceGeneric<mhw_vdbox_avp_g12_X>’:
/tmp/makepkg/build/lib32-intel-media-driver/src/media-driver-intel-media-22.5.4/media_driver/agnostic/gen12/hw/vdbox/mhw_vdbox_avp_g12_X.h:39:40:   required from here
/tmp/makepkg/build/lib32-intel-media-driver/src/media-driver-intel-media-22.5.4/media_driver/agnostic/gen12/hw/vdbox/mhw_vdbox_avp_interface.h:779:24: error: ‘virtual MOS_STATUS MhwVdboxAvpInterface::AddAvpBsdObjectCmd(PMOS_COMMAND_BUFFER, PMHW_BATCH_BUFFER, MhwVdboxAvpBsdParams*)’ was hidden [-Werror=overloaded-virtual=]
  779 |     virtual MOS_STATUS AddAvpBsdObjectCmd(
      |                        ^~~~~~~~~~~~~~~~~~
/tmp/makepkg/build/lib32-intel-media-driver/src/media-driver-intel-media-22.5.4/media_driver/agnostic/gen12/hw/vdbox/mhw_vdbox_avp_generic.h:98:16: note:   by ‘MOS_STATUS MhwVdboxAvpInterfaceGeneric<TAvpCmds>::AddAvpBsdObjectCmd(PMOS_COMMAND_BUFFER, MhwVdboxAvpBsdParams*) [with TAvpCmds = mhw_vdbox_avp_g12_X; MOS_STATUS = _MOS_STATUS; PMOS_COMMAND_BUFFER = _MOS_COMMAND_BUFFER*]’
   98 |     MOS_STATUS AddAvpBsdObjectCmd(
      |                ^~~~~~~~~~~~~~~~~~
[ 38%] Building CXX object media_driver/CMakeFiles/iHD_drv_video_COMMON.dir/agnostic/gen12/hw/mhw_vebox_g12_X.cpp.o
[ 38%] Building CXX object media_driver/CMakeFiles/iHD_drv_video_COMMON.dir/agnostic/gen12/hw/mhw_vebox_hwcmd_g12_X.cpp.o
cc1plus: all warnings being treated as errors
make[2]: *** [media_driver/CMakeFiles/iHD_drv_video_COMMON.dir/build.make:2512: media_driver/CMakeFiles/iHD_drv_video_COMMON.dir/agnostic/gen12/hw/vdbox/mhw_vdbox_avp_g12_X.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:225: media_driver/CMakeFiles/iHD_drv_video_COMMON.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
make: Leaving directory '/tmp/makepkg/build/lib32-intel-media-driver/src/build'
==> ERROR: A failure occurred in build().

and other warnings treated as error.

Can be mitigated if I add

  CFLAGS+=' -Wno-error=overloaded-virtual -Wno-error=array-bounds'
  CXXFLAGS+=' -Wno-error=overloaded-virtual -Wno-error=array-bounds'
  export CFLAGS
  export CXXFLAGS

at the beginning of build().

Btw., current version is 23.2.3.

Regards!

z0id commented on 2022-10-08 23:01 (UTC)

Looks like it fails to build.

Eximius commented on 2022-03-14 19:47 (UTC)

Sorry for the neglect.

BennyHill500 commented on 2021-07-29 09:58 (UTC)

needs this patch to build on my system: https://github.com/XinfengZhang/media-driver/commit/1bcb752fb5a4d1246b268b106ddf038d1d7c6d7e