Github messages for voidlinux
 help / color / mirror / Atom feed
From: abenson <abenson@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [ISSUE] [CLOSED] `intel-media-driver` version does not work correctly with "Alder Lake" CPUs
Date: Fri, 27 May 2022 22:43:56 +0200	[thread overview]
Message-ID: <20220527204356.AsboA2zKuxL_0wHqVJ_TFzDE3itzfQQW2Oek4TRDpEo@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-37255@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 3540 bytes --]

Closed 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.

<details>
<summary>Diff showing working versions</summary>

```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 <st3r4g@protonmail.com>"
 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 <st3r4g@protonmail.com>"
 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"
```

</details>

      reply	other threads:[~2022-05-27 20:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-23 16:13 [ISSUE] " jsumners
2022-05-27 20:43 ` abenson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220527204356.AsboA2zKuxL_0wHqVJ_TFzDE3itzfQQW2Oek4TRDpEo@z \
    --to=abenson@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).