New issue by jsumners on void-packages repository https://github.com/void-linux/void-packages/issues/37255 Description: Yesterday I updated a system to use a Pentium G7400: + https://www.intel.com/content/www/us/en/products/sku/219435/intel-pentium-gold-g7400-processor-6m-cache-3-70-ghz/specifications.html + https://www.chipguider.com/?proc=intel-pentium-gold-g7400 I spent many hours trying to figure out why no video player (Kodi, VLC, etc.) could properly play any videos using hardware acceleration. With hardware acceleration enabled, all videos would show either a solid green or black image. This morning I determined that Void is distributing an old version of the `intel-media-driver`: 21.3.5. It looks like there was a revert of this driver from 22.1.1 in mid February https://github.com/void-linux/void-packages/pull/35433 I built a local version of the package for the current 22.3.1 release, installed it, and tested the same videos. With the new driver installed the videos play correctly using hardware acceleration.
Diff showing working versions ```diff diff --git a/common/shlibs b/common/shlibs index 0581096646..1a9d791d3f 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3885,9 +3885,9 @@ libnvpair.so.3 zfs-2.0.3_2 libgmio.so gmio-0.4.1_1 libjsonnet.so.0 jsonnet-0.14.0_2 libjsonnet++.so.0 jsonnet-0.14.0_2 -libigdgmm.so.11 intel-gmmlib-21.3.1_1 -libigfxcmrt.so.7 intel-media-driver-21.3.5_1 -libigdgmm.so.11 intel-gmmlib-19.4.1_1 +libigdgmm.so.12 intel-gmmlib-22.1.2_1 +libigfxcmrt.so.7 intel-media-driver-22.3.1_1 +libigdgmm.so.12 intel-gmmlib-12.1.2_1 libigraph.so.0 igraph-0.9.4_1 libgtk-layer-shell.so.0 gtk-layer-shell-0.1.0_1 librdkafka.so.1 librdkafka-1.4.4_3 diff --git a/srcpkgs/intel-gmmlib/template b/srcpkgs/intel-gmmlib/template index bd3b7f397c..6ffe9e9f68 100644 --- a/srcpkgs/intel-gmmlib/template +++ b/srcpkgs/intel-gmmlib/template @@ -1,8 +1,8 @@ # Template file for 'intel-gmmlib' pkgname=intel-gmmlib reverts="22.0.1_1" -version=21.3.2 -revision=2 +version=22.1.2 +revision=1 archs="i686* x86_64*" wrksrc=gmmlib-intel-gmmlib-${version} build_style=cmake @@ -20,7 +20,7 @@ maintainer="Stefano Ragni " license="MIT" homepage="https://github.com/intel/gmmlib" distfiles="https://github.com/intel/gmmlib/archive/intel-gmmlib-${version}.tar.gz" -checksum=a6a61ff7e66cb710be1593f2afbda3b21c679fe953bf5e80a5b3f047c1cbdb6c +checksum=3b9a6d5e7e3f5748b3d0a2fb0e980ae943907fece0980bd9c0508e71c838e334 lib32disabled=yes diff --git a/srcpkgs/intel-media-driver/template b/srcpkgs/intel-media-driver/template index 1613bcfc00..06ec792965 100644 --- a/srcpkgs/intel-media-driver/template +++ b/srcpkgs/intel-media-driver/template @@ -1,8 +1,7 @@ # Template file for 'intel-media-driver' pkgname=intel-media-driver -reverts="22.1.1_1" -version=21.3.5 -revision=2 +version=22.3.1 +revision=1 archs="x86_64*" wrksrc=media-driver-intel-media-${version} build_style=cmake @@ -14,7 +13,7 @@ maintainer="Stefano Ragni " license="MIT, BSD-3-Clause" homepage="https://github.com/intel/media-driver" distfiles="https://github.com/intel/media-driver/archive/intel-media-${version}.tar.gz" -checksum=182925ed21c0a9843a63865e34dc35bf713294260d14ceb29e8de0de2e34733f +checksum=0fdccad95a561178bd19fba69ab94be23bd4a3072e68aa18c3304c990d87d7d8 build_options="nonfree" desc_option_nonfree="Enable nonfree kernels" ```