From unknown Sat Aug 09 09:37:39 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#36814] [PATCH 0/2] Add VA-API Intel back-end and utilities Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 26 Jul 2019 03:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 36814 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 36814@debbugs.gnu.org X-Debbugs-Original-To: Guix-patches Received: via spool by submit@debbugs.gnu.org id=B.156411166816432 (code B ref -1); Fri, 26 Jul 2019 03:28:01 +0000 Received: (at submit) by debbugs.gnu.org; 26 Jul 2019 03:27:48 +0000 Received: from localhost ([127.0.0.1]:40649 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hqqtX-0004Gy-S4 for submit@debbugs.gnu.org; Thu, 25 Jul 2019 23:27:48 -0400 Received: from lists.gnu.org ([209.51.188.17]:42488) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hqqtV-0004Gq-E9 for submit@debbugs.gnu.org; Thu, 25 Jul 2019 23:27:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47306) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hqqtU-0000qB-GI for guix-patches@gnu.org; Thu, 25 Jul 2019 23:27:45 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hqqtS-0000Fb-7g for guix-patches@gnu.org; Thu, 25 Jul 2019 23:27:44 -0400 Received: from tobias.gr ([2001:470:7405::1]:53444) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hqqtR-00008K-Jv for guix-patches@gnu.org; Thu, 25 Jul 2019 23:27:42 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id 746824a2 for ; Fri, 26 Jul 2019 03:27:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to :subject:date:message-id:mime-version:content-type; s=2018; i= me@tobias.gr; bh=euy5yhkR1bGOOU/NS9XasXh1qIpcX/3fWioyczmN9fE=; b= ChtfiYu7ZnduH1tX0+jhY0KN3FcO1mXslhoL+xSemvJni7NSLxxn1ByIyldm4iBQ DKxZlcnqFvT4LlHmoFdT2udoimYMyQnF9n7S8clg43IygM7dP6YTYV2AqHf9H8ly O1aZWiUC6LJD8DbDNslb+MYtuHXh0ZBFZBHRALnnF3Y7gt+/nQHOTU4cX1fPKAIA 00MnoD9LqMqPY7Oc0KEbMiXna1elYh8owNMA1oEkFKUgDaon0X4TZaIIinLekP+i 9g4qNNiBJWG25YP2TNxflnZt53YFCrfF8SstGsIzUCLjbPwOgmY5cF6+2agn7Xds +dmQcbHz9/Shy3v7bFILFA== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 67175a94 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Fri, 26 Jul 2019 03:27:36 +0000 (UTC) From: Tobias Geerinckx-Rice Date: Fri, 26 Jul 2019 05:27:36 +0200 Message-ID: <871rydiifr.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2001:470:7405::1 X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) --=-=-= Content-Type: text/plain; format=flowed Guix, The following patches add the VA-API back end for Intel GEN chips as well as libva-utils (which provides vainfo amongst many other things). I've tested them on my Ivy Bridge laptop and they work wonderfully. However. libva (I guess) searches for the back end in mesa's store output by default: --8<---------------cut here---------------start------------->8--- vainfo libva info: VA-API version 1.4.1 libva info: va_getDriverName() returns 0 libva info: Trying to open /gnu/store/clhrbkacyrclwzkzdj2ql8y572whwjzi-mesa-19.1.1/lib/dri/i965_drv_video.so libva info: va_openDriver() returns -1 vaInitialize failed with error code -1 (unknown libva error),exit --8<---------------cut here---------------end--------------->8--- I don't know enough about libva or mesa to know how all this can be made to compose nicely. I just tested and enjoyed VA-API acceleration by (icky icky boo boo) copying intel-vaapi-driver's library to the mesa store directory, so I need help in more ways than one. Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQT12iAyS4c9C3o4dnINsP+IT1VteQUCXTpzKAAKCRANsP+IT1Vt ecGxAQCURuX1w92YfN34ezsD0nQ4J3p89ewitBSLX23xNfhh/wD+If9izM8ht3bO Dpy+9FwFf0hpU4/9b0vS0yM8pnIzxQA= =kdiw -----END PGP SIGNATURE----- --=-=-=-- From unknown Sat Aug 09 09:37:39 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#36814] [PATCH 1/2] gnu: Add intel-vaapi-driver. References: <871rydiifr.fsf@nckx> In-Reply-To: <871rydiifr.fsf@nckx> Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 26 Jul 2019 03:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36814 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 36814@debbugs.gnu.org Received: via spool by 36814-submit@debbugs.gnu.org id=B36814.156411185016799 (code B ref 36814); Fri, 26 Jul 2019 03:31:01 +0000 Received: (at 36814) by debbugs.gnu.org; 26 Jul 2019 03:30:50 +0000 Received: from localhost ([127.0.0.1]:40656 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hqqwU-0004Ms-BZ for submit@debbugs.gnu.org; Thu, 25 Jul 2019 23:30:50 -0400 Received: from tobias.gr ([80.241.217.52]:55316) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hqqwS-0004Md-Bu for 36814@debbugs.gnu.org; Thu, 25 Jul 2019 23:30:48 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id 6d9a1704 for <36814@debbugs.gnu.org>; Fri, 26 Jul 2019 03:30:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to :subject:date:message-id:mime-version:content-transfer-encoding; s=2018; i=me@tobias.gr; bh=AjY7C1y/WSOsm5H/FjZ0hGIpDDGZje57cmLo aoMDFbM=; b=ILKCRohWHNKGN0Wi4dea+JNZ9oKQkg5Z2WN+vIRR6tKXH+v32nJy AzF9KI1iS+kkrG30XABHvk7wKYpscdVlfL9z2LKZOqP3FUEBEomQ9MeaqtooaLHB I0dCJmnogVxV1gtLC6U1mLBX+hV4fgP/Gr6kaR8CRIPKFDGOH1bY8XG3YGz3Qatd eLVAsJ3eLsIhGMZ5ff2im4J9OVvT6bn2geCC1kKnckEJ5s3soKEcBQjUsOM6SKCQ 27A+/FHJCySZ2AVoj9gFKEyV5OvQrvGu9I9r8dP0Qgfw781WPMgBVYphPUrCuAKV 78nO8BoMB5UDvcPpLg1jE6928Z3rohzVKg== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id fad6d8f3 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <36814@debbugs.gnu.org>; Fri, 26 Jul 2019 03:30:47 +0000 (UTC) From: Tobias Geerinckx-Rice Date: Fri, 26 Jul 2019 05:30:36 +0200 Message-Id: <20190726033037.1203-1-me@tobias.gr> X-Mailer: git-send-email 2.22.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * gnu/packages/video.scm (intel-vaapi-driver): New public variable. --- gnu/packages/video.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 4b9e05edfe..f068c5df65 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -2695,6 +2695,44 @@ of modern, widely supported codecs.") ;; Combination under GPLv2. See LICENSE. (license license:gpl2))) +(define-public intel-vaapi-driver + (package + (name "intel-vaapi-driver") + (version "2.3.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/intel/intel-vaapi-driver/" + "releases/download/" version "/intel-vaapi-driver-" + version ".tar.bz2")) + (sha256 + (base32 "1qyzxh3p8cw4fv8bz9zd4kc8hajlaps7xryzh6pad814n3m5sbjw")))) + (build-system gnu-build-system) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("libdrm" ,libdrm) + ("libva" ,libva) + ("libx11" ,libx11))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'configure 'set-up-directories + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (setenv "LIBVA_DRIVERS_PATH" (string-append out "/lib/dri")) + #t)))))) + (home-page "https://01.org/linuxmedia/vaapi") + (synopsis "VA-API video acceleration driver for Intel GEN Graphics devices") + (description + "This is the @acronym{VA-API, Video Acceleration API} back end required for +for hardware-accelerated video processing on Intel GEN Graphics devices +supported by the i915 driver, such as integrated Intel HD Graphics. It provides +access to both hardware and shader functionality for faster encoding, decoding, +and post-processing video formats like MPEG2, H.264/AVC, and VC-1.") + (license (list license:bsd-2 ; src/gen9_vp9_const_def.c + license:expat)))) ; the rest, excluding the test suite + (define-public openh264 (package (name "openh264") -- 2.22.0 From unknown Sat Aug 09 09:37:39 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#36814] [PATCH 2/2] gnu: Add libva-utils. Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 26 Jul 2019 03:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36814 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 36814@debbugs.gnu.org Received: via spool by 36814-submit@debbugs.gnu.org id=B36814.156411185116805 (code B ref 36814); Fri, 26 Jul 2019 03:31:02 +0000 Received: (at 36814) by debbugs.gnu.org; 26 Jul 2019 03:30:51 +0000 Received: from localhost ([127.0.0.1]:40658 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hqqwU-0004Mu-Kz for submit@debbugs.gnu.org; Thu, 25 Jul 2019 23:30:50 -0400 Received: from tobias.gr ([80.241.217.52]:55316) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hqqwT-0004Md-BA for 36814@debbugs.gnu.org; Thu, 25 Jul 2019 23:30:49 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id c2eb8cc9 for <36814@debbugs.gnu.org>; Fri, 26 Jul 2019 03:30:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=2018; i=me@tobias.gr; bh=ziJxH0HMS cW+lI3fwwWdZDgBnSk7mwv+83lJRxuDl3E=; b=hwT+rA6SDZeB9nxUhcmFUSKIn K468q/18p+kql6HnwfSxcPMEZIxSNt1d1xUjV17kSQkMeSytvvHFKrGxmczM/x/Z DmqQHYqUINl4jNC2PX2veXbowlp6kfTW3eY8j4sWlXGEDv6U+yT5i5QX/H+MEqSv RaqSgsKAuaeAGDBYFFFjFemGYwklv0WCm3ojRA5Y7yHYgLZNyAVHd+BJ7QBsUYsE GwugF+U97cOc+MYBq1X6j/EtutLgEL9FtrCSNgAnyML4Gdc4oycR0XEGQnU9t5Wq oDGgGSmTv5F2qddwrgwIu8pW+K+YaCk21QJUPrIELQvOaHfMMrOWQsaY7K/lg== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id a9cece90 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <36814@debbugs.gnu.org>; Fri, 26 Jul 2019 03:30:47 +0000 (UTC) From: Tobias Geerinckx-Rice Date: Fri, 26 Jul 2019 05:30:37 +0200 Message-Id: <20190726033037.1203-2-me@tobias.gr> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190726033037.1203-1-me@tobias.gr> References: <20190726033037.1203-1-me@tobias.gr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * gnu/packages/video.scm (libva-utils): New public variable. --- gnu/packages/video.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index f068c5df65..e16dd13765 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -753,6 +753,40 @@ entry-points (VLD, IDCT, Motion Compensation etc.) for prevailing coding standards (MPEG-2, MPEG-4 ASP/H.263, MPEG-4 AVC/H.264, and VC-1/VMW3).") (license license:expat))) +(define-public libva-utils + (package + (name "libva-utils") + (version "2.5.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/intel/libva-utils/releases/download/" + version "/libva-utils-" version ".tar.bz2")) + (sha256 + (base32 "05rasyqnsg522zqxak1q8rrm1hys7wwbi41kd0szjq0d27awjf4j")))) + (build-system gnu-build-system) + (arguments + `(#:configure-flags + (list "--enable-wayland" + "--enable-x11"))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("libdrm" ,libdrm) + ("libva" ,libva) + ("libx11" ,libx11) + ("mesa" ,mesa) + ("wayland" ,wayland))) + (home-page "https://01.org/linuxmedia/vaapi") + (synopsis "Collection of testing utilities for VA-API") + (description + "This is a collection of utilities and examples to query and test the +@acronym{VA-API, Video Acceleration API} implemented by the libva library. + +These tools require a supported graphics chip, driver, and VA-API back end to +operate properly.") + (license license:expat))) + (define-public ffmpeg (package (name "ffmpeg") -- 2.22.0 From unknown Sat Aug 09 09:37:39 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#36814] [PATCH 0/2] Add VA-API Intel back-end and utilities Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 26 Jul 2019 08:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36814 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 36814@debbugs.gnu.org Received: via spool by 36814-submit@debbugs.gnu.org id=B36814.15641290393826 (code B ref 36814); Fri, 26 Jul 2019 08:18:02 +0000 Received: (at 36814) by debbugs.gnu.org; 26 Jul 2019 08:17:19 +0000 Received: from localhost ([127.0.0.1]:40788 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hqvPj-0000zd-HG for submit@debbugs.gnu.org; Fri, 26 Jul 2019 04:17:19 -0400 Received: from tobias.gr ([80.241.217.52]:36030) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hqvPf-0000zS-V9 for 36814@debbugs.gnu.org; Fri, 26 Jul 2019 04:17:16 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id c728f4c0 for <36814@debbugs.gnu.org>; Fri, 26 Jul 2019 08:17:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to :subject:references:in-reply-to:date:message-id:mime-version :content-type; s=2018; i=me@tobias.gr; bh=Q7oMU27+D9Ic3kANrYbMhA kQxA6QXbH6J3pyiRjG1AQ=; b=dvLc9+vVyovDIZ3jrE7uF8noNb97NuS/fJSe/f 77ojiDaZemjUd9BoSCWB4W8LTjm66ItQODaohM83nKNU3Z/ZbOIm9UNO8521rJKU KyY5v19k7YF+fmaARnTTgm45IEX63o8h5MIpLczJ2NHZ/DXzv3wIjagpb7SVvvoF 7P1On/IInBEJGCWFZQo94Ip99we8GT7jgQk5//qNfk507rKYen1QV45ZGubmzl61 PTI3e64k7jAqbiWxCgRTdFdGf0+HfNr4oHvRX/y1fDylij/GV6GaWsX2325Hzx6E ficUm+EUupMCFFOyeK13Y7fPFaXUJg/NUzyrDn13BE3aFcUQ== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id a080dfb9 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <36814@debbugs.gnu.org>; Fri, 26 Jul 2019 08:17:12 +0000 (UTC) From: Tobias Geerinckx-Rice References: <871rydiifr.fsf@nckx> In-reply-to: <871rydiifr.fsf@nckx> Date: Fri, 26 Jul 2019 10:17:11 +0200 Message-ID: <87y30lgqgo.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Tobias Geerinckx-Rice via Guix-patches =E5=86=99=E9=81=93=EF=BC=9A > I don't know enough about libva or mesa to know how all this can=20 > be > made to compose nicely. It's actually as simple as exporting=20 LIBVA_DRIVERS_PATH=3D"/lib/dri". I guess making that a search-path for libva should work? Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQT12iAyS4c9C3o4dnINsP+IT1VteQUCXTq3BwAKCRANsP+IT1Vt eVmzAQDkUzHAV4bCmlwxTInlnoN2TyuENw8AQ+7jEitCf0fDugEAyoEvgUg1vBV6 nsQzo/juf66P9HJCeKHeY6EgFUY2xQU= =JwwR -----END PGP SIGNATURE----- --=-=-=-- From unknown Sat Aug 09 09:37:39 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#36814] [PATCH 0/2] Add VA-API Intel back-end and utilities Resent-From: Jelle Licht Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 26 Jul 2019 08:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36814 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Tobias Geerinckx-Rice , 36814@debbugs.gnu.org Received: via spool by 36814-submit@debbugs.gnu.org id=B36814.156413139516099 (code B ref 36814); Fri, 26 Jul 2019 08:57:02 +0000 Received: (at 36814) by debbugs.gnu.org; 26 Jul 2019 08:56:35 +0000 Received: from localhost ([127.0.0.1]:40814 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hqw1j-0004BV-B6 for submit@debbugs.gnu.org; Fri, 26 Jul 2019 04:56:35 -0400 Received: from mail1.fsfe.org ([217.69.89.151]:51594) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hqw1c-0004B2-JH for 36814@debbugs.gnu.org; Fri, 26 Jul 2019 04:56:29 -0400 From: Jelle Licht In-Reply-To: <87y30lgqgo.fsf@nckx> References: <871rydiifr.fsf@nckx> <87y30lgqgo.fsf@nckx> Date: Fri, 26 Jul 2019 10:56:24 +0200 Message-ID: <87muh1xjgn.fsf@jlicht.xyz> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) Hey Tobias, Tobias Geerinckx-Rice via Guix-patches writes: > Tobias Geerinckx-Rice via Guix-patches =E5=86=99=E9=81=93=EF=BC=9A >> I don't know enough about libva or mesa to know how all this can=20 >> be >> made to compose nicely. > > It's actually as simple as exporting=20 > LIBVA_DRIVERS_PATH=3D"/lib/dri". A cursory check using the LIBVA_DRIVERS_PATH workaround on a youtube video using mpv seems to indicate that your packages work wonderfully (~16% cpu load normally -> ~5% cpu load with vaapi flags). Thanks for working on this! > > I guess making that a search-path for libva should work? I do not see why not. > > Kind regards, > > T G-R From unknown Sat Aug 09 09:37:39 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#36814] [PATCH 0/2] Add VA-API Intel back-end and utilities Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 26 Jul 2019 18:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36814 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Jelle Licht Cc: 36814@debbugs.gnu.org Received: via spool by 36814-submit@debbugs.gnu.org id=B36814.15641639435165 (code B ref 36814); Fri, 26 Jul 2019 18:00:02 +0000 Received: (at 36814) by debbugs.gnu.org; 26 Jul 2019 17:59:03 +0000 Received: from localhost ([127.0.0.1]:43331 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hr4Ug-0001LF-Oz for submit@debbugs.gnu.org; Fri, 26 Jul 2019 13:59:02 -0400 Received: from tobias.gr ([80.241.217.52]:46884) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hr4Ud-0001Kl-3g for 36814@debbugs.gnu.org; Fri, 26 Jul 2019 13:59:00 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id 4a03ff63; Fri, 26 Jul 2019 17:58:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to:cc :subject:references:in-reply-to:date:message-id:mime-version :content-type; s=2018; i=me@tobias.gr; bh=OTUOXhtwpM1qfMvnaBbQ1q MecuQmwYbB81Z+dCOTi+0=; b=KBmy8WcJVkYnpSPFq5oLvL5W7smJ/H7tWgN04X XQI2qU8Hdh2lxPovFJY8izVm5KW0cRn3EwzO742tWZDnqDoSyDb4ZQBOPT+0yBnn FZTnQjM03278fHuMZhCZLJjTK7NuEXzdipJ0Qacd3TCD1VYbjca4J2FC64yxM2uC pTf9shSB/LAfjwQ6fwZK0KpdIJ43PrNmae0BqVmLDyWTBihbGCdlTbgzP23fimby 8Lkr+c0olngMoUDqew7hQx9EjrRA5Cqf5RZgDauDvIKGutZjnIe+aaLJWfJhWgEy ut416mxlCelyTkLptcaSlsfZw0lYuX38DmknJ0C40S7Clp9A== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 42687b37 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Fri, 26 Jul 2019 17:58:55 +0000 (UTC) From: Tobias Geerinckx-Rice References: <871rydiifr.fsf@nckx> <87y30lgqgo.fsf@nckx> <87muh1xjgn.fsf@jlicht.xyz> In-reply-to: <87muh1xjgn.fsf@jlicht.xyz> Date: Fri, 26 Jul 2019 19:58:53 +0200 Message-ID: <87lfwkhe3m.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Jelle, Thank you for testing! Jelle Licht =E5=86=99=E9=81=93=EF=BC=9A > A cursory check using the LIBVA_DRIVERS_PATH workaround on a=20 > youtube > video using mpv seems to indicate that your packages work=20 > wonderfully > (~16% cpu load normally -> ~5% cpu load with vaapi flags). On my Intel Corporation 3rd Gen Core processor Graphics=20 Controller, the results were even more exciting: from ~35% to ~7%=20 CPU load while playing a 720p H.264 film. That's a factor of 5. Sadly, my hardware's too old to accelerate H.265 (HEVC) stream=20 (they play just fine on the CPU), but even so: a significant=20 majority of my media collection just got significantly=20 accelerated=E2=80=A6 for free! \o/ I love this business, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQT12iAyS4c9C3o4dnINsP+IT1VteQUCXTs/XQAKCRANsP+IT1Vt eWReAQC+Rgh+KssHZd4su267lQJHttlhXEKTa1VK+JsJahebnQD9EuQFzXlnoy0t 3NU6LSsYqRGrYhYW6zIG1EgZqfoZawE= =FNmo -----END PGP SIGNATURE----- --=-=-=-- From unknown Sat Aug 09 09:37:39 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#36814] [BONUS PATCH 3/2] gnu: intel-vaapi-driver: Provide LIBVA_DRIVERS_PATH. References: <871rydiifr.fsf@nckx> In-Reply-To: <871rydiifr.fsf@nckx> Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 26 Jul 2019 18:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36814 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 36814@debbugs.gnu.org Received: via spool by 36814-submit@debbugs.gnu.org id=B36814.15641664549252 (code B ref 36814); Fri, 26 Jul 2019 18:41:02 +0000 Received: (at 36814) by debbugs.gnu.org; 26 Jul 2019 18:40:54 +0000 Received: from localhost ([127.0.0.1]:43367 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hr59C-0002PA-Fj for submit@debbugs.gnu.org; Fri, 26 Jul 2019 14:40:54 -0400 Received: from tobias.gr ([80.241.217.52]:55660) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hr599-0002Oz-BI for 36814@debbugs.gnu.org; Fri, 26 Jul 2019 14:40:53 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id 0a6cb44a for <36814@debbugs.gnu.org>; Fri, 26 Jul 2019 18:40:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to :subject:date:message-id:mime-version:content-transfer-encoding; s=2018; i=me@tobias.gr; bh=flD5P2cDDz0gaqvzaX/Avn3WlvcVliVBTKqR 1fdsd1s=; b=dWnD/FR3KqE4gvKDCFdQULV73SMhndfHmVd9xM1bmpRKLaw34pTI /j/aXage6PYzB0Gwu+MAiM7yhQtzLRutTgYV+++GhFE3Y6XzojAB0dWo4w0NFuAy I0y5ls3h+HiOEXF1H7gUJ0tRBHKjCu6T73LT4RvJ+4579GkPXVlLTWVuVg5jUjZl BGCV80Zs26TKxS4mU1kKEK1S55L/PwRCMpoV1eZ7Nvw0PR/Dc3VEN7DfzxPYZXFu 7oMN73BbvLhuC0ae5fPESi82vXM8GxynbQws5AbqC4PpORtywek5EvPtTPQbde8e Iu1jsj3dvnpHt9cFFAonydjOxXPSQFtYwg== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id a37772be (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <36814@debbugs.gnu.org>; Fri, 26 Jul 2019 18:40:49 +0000 (UTC) From: Tobias Geerinckx-Rice Date: Fri, 26 Jul 2019 20:40:40 +0200 Message-Id: <20190726184040.31236-1-me@tobias.gr> X-Mailer: git-send-email 2.22.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * gnu/packages/video.scm (intel-vaapi-driver)[native-search-paths]: Export LIBVA_DRIVERS_PATH when installed. (libva-without-mesa)[native-search-paths]: Don't inherit any. --- Guix, This ties the two together. I'm leaving the enormocomment in so I don't have to repeat it here, but I'm less sure about it now than when I wrote it. I thought this was a filthy hack, but maybe it's just mildly unconventional ;-) The documentation is very sparse indeed. I don't see any acceptable alternative. Stormy regards, T G-R gnu/packages/gl.scm | 3 ++- gnu/packages/video.scm | 13 +++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm index 9ed043c7ae..9495e8ee24 100644 --- a/gnu/packages/gl.scm +++ b/gnu/packages/gl.scm @@ -219,7 +219,8 @@ also known as DXTn or DXTC) for Mesa.") '(#:make-flags) (substitute-keyword-arguments (package-arguments libva) ((#:configure-flags flags) - '(list "--disable-glx" "--disable-egl")))))))) + '(list "--disable-glx" "--disable-egl"))))) + (native-search-paths '())))) (define-public mesa (package diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index b441c5e311..5e26b4c2dc 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -2756,6 +2756,19 @@ of modern, widely supported codecs.") (let ((out (assoc-ref outputs "out"))) (setenv "LIBVA_DRIVERS_PATH" (string-append out "/lib/dri")) #t)))))) + ;; XXX This variable is actually respected by libva, and in a perfect world + ;; would be found there instead. Unfortunately, native-search-paths are set + ;; up only if the package using them is installed directly into the profile. + ;; This means that users would need to install libva into their profile for + ;; no good reason other than convincing Guix to export the right paths, or + ;; that every single one of libva's many dependents would would need to be + ;; modified instead (and would still be semantically dubious). Moving it + ;; here is logically (almost) equivalent, and keeps this hack confined to a + ;; tiny handful of back-end packages. + (native-search-paths + (list (search-path-specification + (variable "LIBVA_DRIVERS_PATH") + (files '("lib/dri"))))) (home-page "https://01.org/linuxmedia/vaapi") (synopsis "VA-API video acceleration driver for Intel GEN Graphics devices") (description -- 2.22.0 From unknown Sat Aug 09 09:37:39 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#36814] [BONUS PATCH 3/2] gnu: intel-vaapi-driver: Provide LIBVA_DRIVERS_PATH. Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 27 Jul 2019 18:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36814 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Tobias Geerinckx-Rice , 36814@debbugs.gnu.org Received: via spool by 36814-submit@debbugs.gnu.org id=B36814.15642519908210 (code B ref 36814); Sat, 27 Jul 2019 18:27:01 +0000 Received: (at 36814) by debbugs.gnu.org; 27 Jul 2019 18:26:30 +0000 Received: from localhost ([127.0.0.1]:45407 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrROo-00028M-Eh for submit@debbugs.gnu.org; Sat, 27 Jul 2019 14:26:30 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:50877) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrROm-000286-SN for 36814@debbugs.gnu.org; Sat, 27 Jul 2019 14:26:29 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id BB63121B7C; Sat, 27 Jul 2019 14:26:22 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Sat, 27 Jul 2019 14:26:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm3; bh=RzjyUEZ1Zj+zVQnzG8jHPZ61AO JZMQHtmFONkowzBOQ=; b=IyScZLweV0gSoIHaGXlG3+vR2oAqtvgNLnxh7AsYwV 5naZ4RmxPQv/1l8PQYqPRfNXZGek7Ed8LOBKng9WqPtck/jwXH2LirY4yWvvvef7 Wt5q0VTra91hvbxiAWD4XF6j31iKC6MbZ+R3ohXVFZpBKyXMJnitLBFzZhayxU1C MqjH0EBB6rPjRj3BqPnOolYDD1TQUv4vU/LQor1WYLFpDVWdvOdLWlmJ4NNoKNZw ylv1yTy1PNIgt0S/R80XalFqsCsPjaBJrWyBVF3EpLlbtmG+zUIYexPYs/235BUP jRIBXf1bu6o9e0rJJbG/YpkoeisG+Bxq8w9OTgH3xLTw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=RzjyUE Z1Zj+zVQnzG8jHPZ61AOJZMQHtmFONkowzBOQ=; b=IglPwioT8NZpeFLEJVrg8p Xx6ml3wVLRRMhU0Mv42+9S54hU8NYWmmKhoHsOL1DNpxCdW9QSUCkKtxnMtJ60SD IdqwJkX9ASK9SBFe9S6QxBGDuAOE93BEHFN/nR9CS0W4lva5jGxEffy1sz0I9ddu T3XyopF6+w0cPI5Bey2gOe+2+Zbvk0AfnGKrN5Fr7NmSbioBv2DILbtONFPqkG8x MtwOdOZN6tmC1YTGIqEAbvZ3BLLzUgAUOsbyDGHZRet2ODVg/5tcaVVUNVooJGWY xKRkGhW45KZNXvxys+9lCdDSs17wXxxT8Lig4vGnf97BM/fejVzoCMMSwPq9dztQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrkeeigdduvdejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffujghffgffkfggtgesghdtre ertdertdenucfhrhhomhepofgrrhhiuhhsuceurghkkhgvuceomhgsrghkkhgvsehfrghs thhmrghilhdrtghomheqnecuffhomhgrihhnpehgnhhurdhorhhgnecukfhppeeivddrud eirddvvdeirddugedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmsggrkhhkvgesfhgr shhtmhgrihhlrdgtohhmnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from localhost (140.226.16.62.customer.cdi.no [62.16.226.140]) by mail.messagingengine.com (Postfix) with ESMTPA id 05EFC8005A; Sat, 27 Jul 2019 14:26:21 -0400 (EDT) From: Marius Bakke In-Reply-To: <20190726184040.31236-1-me@tobias.gr> References: <871rydiifr.fsf@nckx> <20190726184040.31236-1-me@tobias.gr> User-Agent: Notmuch/0.29.1 (https://notmuchmail.org) Emacs/26.2 (x86_64-pc-linux-gnu) Date: Sat, 27 Jul 2019 20:26:16 +0200 Message-ID: <87a7cz49mf.fsf@devup.no> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain Tobias Geerinckx-Rice via Guix-patches writes: > * gnu/packages/video.scm (intel-vaapi-driver)[native-search-paths]: > Export LIBVA_DRIVERS_PATH when installed. Can this be squashed into patch 1/2 in this series? > (libva-without-mesa)[native-search-paths]: Don't inherit any. ...and this added in a separate patch, so that the intel-vaapi-driver change does not have to go through 'staging'? > I'm leaving the enormocomment in so I don't have to repeat it here, but I'm less sure about it now than when I wrote it. I thought this was a filthy hack, but maybe it's just mildly unconventional ;-) The documentation is very sparse indeed. The comment could perhaps be shortened by including a link to . --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl08l0gACgkQoqBt8qM6 VPop6Af/Q8Ef3RYNJrcGMExTjCGvp/oMPo+xALTVqpN8gvVXswfUGy6Tyid/bjz4 eSf8CR0jc2LgQQr7YipuQGSxcCKlZ0sLZv8k4MlHq7+OUxyoQjKeB1zFwefEG2u3 tc2O35RHNsRkXm8mMH92KFG6EvkeWqCJ69zSeHeAbSpWyz6BsC9jXlescsR1X908 cZ0KgxzaRXeKQRuBpp/9pf6vwt/XiAm5YDzXDFTaTbfCryECwy1xcqSCIlINVBN0 Ex66oVqxOc0jxVfxBwRqYESZaCOBMSD08dZN4VlK4BngWKlmm6j5TVKR07LKe1pC Jq1Z6lgSFBZILJYyIZ4935wicDX7dg== =Cslr -----END PGP SIGNATURE----- --=-=-=-- From unknown Sat Aug 09 09:37:39 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#36814] [PATCH 1/2] gnu: Add intel-vaapi-driver. Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 27 Jul 2019 18:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36814 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Tobias Geerinckx-Rice , 36814@debbugs.gnu.org Received: via spool by 36814-submit@debbugs.gnu.org id=B36814.15642525499279 (code B ref 36814); Sat, 27 Jul 2019 18:36:02 +0000 Received: (at 36814) by debbugs.gnu.org; 27 Jul 2019 18:35:49 +0000 Received: from localhost ([127.0.0.1]:45414 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrRXp-0002Pb-DA for submit@debbugs.gnu.org; Sat, 27 Jul 2019 14:35:49 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:44267) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrRXm-0002PO-9o for 36814@debbugs.gnu.org; Sat, 27 Jul 2019 14:35:48 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 313F821951; Sat, 27 Jul 2019 14:35:41 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Sat, 27 Jul 2019 14:35:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm3; bh=4nBHV+5JY5T10UeSHH3AbqZeqf vpzJYnx+yOWeEEbXw=; b=lWnz6Maf7xOYuu4SZUPCkFrEb5nHPlFbPHmGwYeFjf 4B42YMLmUwNMrMK332wWzqXLpComU66HMc6YVv/R6dNIJ9DPOH+JZeJuIwyDJRf5 /XjnyS8qEIlFmbZ/WBgeuZ2GVWSoO68bjmOXn488pAJkkrRxjvpNRDSLOr2NYU+W WGAOzulzhmWAtX3DYVsutPZvkjuSRsBpg0kTLe5OU/AOgm3idzsfDDuvh41ytRRo CneR2oq6Pw4SyQRPlYbvIdeFzl9GyD5BkRIQYA6S0b46jHLP5oXqI2twioTumIoB /S3nFwdIl1/VVx6b8j42ScNsFQxZh4VWT++nvHBt3HVw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=4nBHV+ 5JY5T10UeSHH3AbqZeqfvpzJYnx+yOWeEEbXw=; b=VuRblaLz0Rr+rj/+3WCWFN A4l09grVh9zv3HtgcYqKj+KvZ+wqL221wAnFSUei5oUmR/NJbySbcZ8MU3/3emKI u3zI+IgzZrV+CRjGUJCQ2CXV0DZM/0FiYoiF/w0FzADQFQETVZEEhd1qmkTi+/gl kj3msbT2Gwpp8aVR2ZwQEQi3IL4sutwgcSWzCFVrUQZapscy2vUUPL33Z0+IxUFC MpN8UWGgXk+bBo1fj11CUP7HyHdEnOs/5doPIhx2tAM3WihX++P9+nNepMbkAP94 3wFB786Q8hZPrr24riU7T9ibksFjYrq3rCubTq+xBO/6s45p6RGT/L0Y8i/GgUGA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrkeeigdduvdelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffujghffgffkfggtgesghdtre ertdertdenucfhrhhomhepofgrrhhiuhhsuceurghkkhgvuceomhgsrghkkhgvsehfrghs thhmrghilhdrtghomheqnecuffhomhgrihhnpehgihhthhhusgdrtghomhdptddurdhorh hgnecukfhppeeivddrudeirddvvdeirddugedtnecurfgrrhgrmhepmhgrihhlfhhrohhm pehmsggrkhhkvgesfhgrshhtmhgrihhlrdgtohhmnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from localhost (140.226.16.62.customer.cdi.no [62.16.226.140]) by mail.messagingengine.com (Postfix) with ESMTPA id 6BC4A80059; Sat, 27 Jul 2019 14:35:40 -0400 (EDT) From: Marius Bakke In-Reply-To: <20190726033037.1203-1-me@tobias.gr> References: <871rydiifr.fsf@nckx> <20190726033037.1203-1-me@tobias.gr> User-Agent: Notmuch/0.29.1 (https://notmuchmail.org) Emacs/26.2 (x86_64-pc-linux-gnu) Date: Sat, 27 Jul 2019 20:35:38 +0200 Message-ID: <877e83496t.fsf@devup.no> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Tobias Geerinckx-Rice via Guix-patches writes: > * gnu/packages/video.scm (intel-vaapi-driver): New public variable. > --- > gnu/packages/video.scm | 38 ++++++++++++++++++++++++++++++++++++++ > 1 file changed, 38 insertions(+) > > diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm > index 4b9e05edfe..f068c5df65 100644 > --- a/gnu/packages/video.scm > +++ b/gnu/packages/video.scm > @@ -2695,6 +2695,44 @@ of modern, widely supported codecs.") > ;; Combination under GPLv2. See LICENSE. > (license license:gpl2))) >=20=20 > +(define-public intel-vaapi-driver > + (package > + (name "intel-vaapi-driver") > + (version "2.3.0") > + (source > + (origin > + (method url-fetch) > + (uri (string-append "https://github.com/intel/intel-vaapi-driver/" > + "releases/download/" version "/intel-vaapi-dr= iver-" > + version ".tar.bz2")) > + (sha256 > + (base32 "1qyzxh3p8cw4fv8bz9zd4kc8hajlaps7xryzh6pad814n3m5sbjw"))= )) > + (build-system gnu-build-system) > + (native-inputs > + `(("pkg-config" ,pkg-config))) > + (inputs > + `(("libdrm" ,libdrm) > + ("libva" ,libva) > + ("libx11" ,libx11))) > + (arguments > + `(#:phases > + (modify-phases %standard-phases > + (add-before 'configure 'set-up-directories > + (lambda* (#:key outputs #:allow-other-keys) > + (let ((out (assoc-ref outputs "out"))) > + (setenv "LIBVA_DRIVERS_PATH" (string-append out "/lib/dri= ")) > + #t)))))) Can this be passed in #:configure-flags? What does it do, anyway? :-) > + (home-page "https://01.org/linuxmedia/vaapi") > + (synopsis "VA-API video acceleration driver for Intel GEN Graphics d= evices") > + (description > + "This is the @acronym{VA-API, Video Acceleration API} back end requ= ired for > +for hardware-accelerated video processing on Intel GEN Graphics devices > +supported by the i915 driver, such as integrated Intel HD Graphics. It = provides > +access to both hardware and shader functionality for faster encoding, de= coding, > +and post-processing video formats like MPEG2, H.264/AVC, and VC-1.") I suppose we should limit this driver to i686-linux and x86_64-linux only. LGTM, looking forward to try it! --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl08mXoACgkQoqBt8qM6 VPrAEwf7B2cshlcAxl28HRIw6t3CA0Kg9OGOefP2zndJA70/2qMLADeB0blKdkvL Bzevs6Y+lc+h8+woIG5fsDIuOAgMTvX+V/Li55lBMKtppEw53UQ8igvInWeGzZCE eTwMCmFIC4biJydwRj/ft5jRg/v6Ocpy9JA76SOJCCaff0w7cYlNguABKTpQWycT yh5DNsrLiCzh0bRJauWZQKtKxaXQaOU/Z/p307nHSxkyeL8u3gABimYDF5r534iB dabvF8zxLkhhunY/Wo2t//9rRSrg0aq/BrSWzKj7X8JR8B2fQ5U0OgYX0RpKupG2 f+pok+EmN/KxQ2Defu0+AYcdkg/2ow== =hlmC -----END PGP SIGNATURE----- --=-=-=-- From unknown Sat Aug 09 09:37:39 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#36814] [PATCH 2/2] gnu: Add libva-utils. Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 27 Jul 2019 18:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36814 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Tobias Geerinckx-Rice , 36814@debbugs.gnu.org Received: via spool by 36814-submit@debbugs.gnu.org id=B36814.15642526769528 (code B ref 36814); Sat, 27 Jul 2019 18:38:02 +0000 Received: (at 36814) by debbugs.gnu.org; 27 Jul 2019 18:37:56 +0000 Received: from localhost ([127.0.0.1]:45423 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrRZs-0002Tb-HG for submit@debbugs.gnu.org; Sat, 27 Jul 2019 14:37:56 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:37309) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrRZp-0002TO-C0 for 36814@debbugs.gnu.org; Sat, 27 Jul 2019 14:37:53 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 3FDF121B0E; Sat, 27 Jul 2019 14:37:48 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Sat, 27 Jul 2019 14:37:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm3; bh=4V0/Xay9VmoZGt5JDppomLZxnm 90kNsljSqeP0R6r24=; b=KikxQnjhT3bAzbFQZNKrqS5JQuRRqIVVWKylEz6zlZ hCe7w/hHJgQwx8h1O6x9w1sadsrAjD5uU80nM7Y6w0Qvx7QUfCc4B9EJrQivp8Up VYhnmojLhG1pLP2bMd6NCNpIiba1Bw7aOF5f/Rr2BsaVgjyGyDVVqgKdFiu/v/Jw +mojql6kHJous+Yf7jn/p+rgPwBPHcwUzeS2oOzYAhK0CQ+ys1cM5L06BzdO39SB xe4pOpQ0inruT/Qz5mqXJDeOd/iFBfXHMfbqlXOx9+JUw6rKKUw5vpQNNsG08VmM DWu9S3kWgUCwfNVMJgF8kpcvEqn4YJ5HYit9eV0chehQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=4V0/Xa y9VmoZGt5JDppomLZxnm90kNsljSqeP0R6r24=; b=tS6JoYMjAuoHmVIAVACP44 pq02c+HE36Qo2OLhKRkOXWe14NzVVh74Mp71SUq6O/J77TIVSRlrW5/YX6Gm8UEL lUIt9D2OaPnhBvIJ9XK33WCgD6jBbF3clSx9+BVTjeYd/CtErT0jJYocaYlqMFD8 NPKCG4aFAWgVkr+rrqV2bcvQNirXKIxq2Un5OD6JWeSMWJjBkB6vBmD/pF+SiQC/ JXwy4TbYK74v5e01iROksZ3m77wPqJEgj+7Wr2HBr12AMP0+fbpNQ9u7Yu+KqBs3 +/Bi+VLld5DKYO7iBUK+OzlDkD6KXBRvjm4lw/Rt5d2y1XTzKEb/kvVxA1Kv3YfQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrkeeigddufedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffujghffgffkfggtgesghdtre ertdertdenucfhrhhomhepofgrrhhiuhhsuceurghkkhgvuceomhgsrghkkhgvsehfrghs thhmrghilhdrtghomheqnecuffhomhgrihhnpehgihhthhhusgdrtghomhdptddurdhorh hgnecukfhppeeivddrudeirddvvdeirddugedtnecurfgrrhgrmhepmhgrihhlfhhrohhm pehmsggrkhhkvgesfhgrshhtmhgrihhlrdgtohhmnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from localhost (140.226.16.62.customer.cdi.no [62.16.226.140]) by mail.messagingengine.com (Postfix) with ESMTPA id AB3168005B; Sat, 27 Jul 2019 14:37:47 -0400 (EDT) From: Marius Bakke In-Reply-To: <20190726033037.1203-2-me@tobias.gr> References: <20190726033037.1203-1-me@tobias.gr> <20190726033037.1203-2-me@tobias.gr> User-Agent: Notmuch/0.29.1 (https://notmuchmail.org) Emacs/26.2 (x86_64-pc-linux-gnu) Date: Sat, 27 Jul 2019 20:37:46 +0200 Message-ID: <874l374939.fsf@devup.no> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Tobias Geerinckx-Rice via Guix-patches writes: > * gnu/packages/video.scm (libva-utils): New public variable. > --- > gnu/packages/video.scm | 34 ++++++++++++++++++++++++++++++++++ > 1 file changed, 34 insertions(+) > > diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm > index f068c5df65..e16dd13765 100644 > --- a/gnu/packages/video.scm > +++ b/gnu/packages/video.scm > @@ -753,6 +753,40 @@ entry-points (VLD, IDCT, Motion Compensation etc.) f= or prevailing coding > standards (MPEG-2, MPEG-4 ASP/H.263, MPEG-4 AVC/H.264, and VC-1/VMW3).") > (license license:expat))) >=20=20 > +(define-public libva-utils > + (package > + (name "libva-utils") > + (version "2.5.0") > + (source > + (origin > + (method url-fetch) > + (uri (string-append "https://github.com/intel/libva-utils/release= s/download/" > + version "/libva-utils-" version ".tar.bz2")) > + (sha256 > + (base32 "05rasyqnsg522zqxak1q8rrm1hys7wwbi41kd0szjq0d27awjf4j"))= )) > + (build-system gnu-build-system) > + (arguments > + `(#:configure-flags > + (list "--enable-wayland" > + "--enable-x11"))) > + (native-inputs > + `(("pkg-config" ,pkg-config))) > + (inputs > + `(("libdrm" ,libdrm) > + ("libva" ,libva) > + ("libx11" ,libx11) > + ("mesa" ,mesa) > + ("wayland" ,wayland))) > + (home-page "https://01.org/linuxmedia/vaapi") > + (synopsis "Collection of testing utilities for VA-API") > + (description > + "This is a collection of utilities and examples to query and test t= he > +@acronym{VA-API, Video Acceleration API} implemented by the libva librar= y. > + > +These tools require a supported graphics chip, driver, and VA-API back e= nd to > +operate properly.") > + (license license:expat))) LGTM. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl08mfoACgkQoqBt8qM6 VPpmTQf/bABY9WNE5meiOEs4IMaIn5LyUilzkFrFS2X6sCeTKxfKXHiL0dGKIFxp 9RCNsIgL7pcg2FV24a4DvGRjOYo2Qo1YdNWi/mN0ZraBK9wptHeTWDzjyB6lay0f JoqRXTQvX8cxNnVYSD4dJ4NrkYKXp1PacvfAFAD5TV9gSJNAGyIjhWPEucCVdN0Q Y5Fva0WCz2ciqeYvylNLAMOoTdk+6fbny/ntcKqTf2fEUwY/xcawQrrEWW9aKnl8 O7aS45kpOGwK98NFuJqXbNoGCepIPj3tkXaNVG8iKdy1Ui+mIaBmGBY9v38l2spp yHUNurzXC9Wxsb2uf0sS9B68z3k/Dg== =m0zq -----END PGP SIGNATURE----- --=-=-=-- From unknown Sat Aug 09 09:37:39 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#36814] [BONUS PATCH 3/2] gnu: intel-vaapi-driver: Provide LIBVA_DRIVERS_PATH. Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 27 Jul 2019 18:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36814 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Marius Bakke Cc: 36814@debbugs.gnu.org Received: via spool by 36814-submit@debbugs.gnu.org id=B36814.156425344110933 (code B ref 36814); Sat, 27 Jul 2019 18:51:01 +0000 Received: (at 36814) by debbugs.gnu.org; 27 Jul 2019 18:50:41 +0000 Received: from localhost ([127.0.0.1]:45430 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrRmC-0002qH-QX for submit@debbugs.gnu.org; Sat, 27 Jul 2019 14:50:41 -0400 Received: from tobias.gr ([80.241.217.52]:57446) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrRm8-0002q2-HR for 36814@debbugs.gnu.org; Sat, 27 Jul 2019 14:50:38 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id f4306a4d; Sat, 27 Jul 2019 18:50:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to:cc :subject:references:in-reply-to:date:message-id:mime-version :content-type; s=2018; i=me@tobias.gr; bh=2OnHWtDulyRMiDxITKesC7 GGkgw5ZJmj81lpsmXBsc8=; b=WIOupeA7ir/R6VZhQddlEon/qoOdbJrTBOY6FG VsSkzWv/DX6dPLBovjQYFQEJ1Icicn54fe/XxpYesOsrcgVNXuDBvXq5fYsVTcAt ScGYfWGXSXrGO3hGgM8lAXze4ZBW1LLAySE+MnmOSJyuMmXexG12WwEfe/Gmja3D 83ksFX7MZCGozo2Phybeok1WVg40GYJsYQ2gvaSLgGZ3x392aq3nD10VKXOEjjc1 ZIfgJAWoeKiffpmAuAmi/+XReXUDFqPvI6hKpakEPn8P8MkSQYzTAnYOFXxEI+QY c519OFAYH6MRqzMPszoupWPTOFE3Y18wW1xFyxwJnLruzNcA== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 7d70a213 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Sat, 27 Jul 2019 18:50:31 +0000 (UTC) From: Tobias Geerinckx-Rice References: <871rydiifr.fsf@nckx> <20190726184040.31236-1-me@tobias.gr> <87a7cz49mf.fsf@devup.no> In-reply-to: <87a7cz49mf.fsf@devup.no> Date: Sat, 27 Jul 2019 20:50:30 +0200 Message-ID: <87h877gvm1.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Marius Bakke =E5=86=99=E9=81=93=EF=BC=9A > Tobias Geerinckx-Rice via Guix-patches =20 > writes: > >> * gnu/packages/video.scm=20 >> (intel-vaapi-driver)[native-search-paths]: >> Export LIBVA_DRIVERS_PATH when installed. > > Can this be squashed into patch 1/2 in this series? Sure. I wasn't really going to merge this as FREE BONUS PATCH,=20 don't worry. >> (libva-without-mesa)[native-search-paths]: Don't inherit any. > > ..and this added in a separate patch, so that the=20 > intel-vaapi-driver > change does not have to go through 'staging'? Are you sure? This hunk is here to keep the mesa derivation=20 unchanged. Removing (or delaying) it *will* cause all of mesa's=20 1436 dependents to be rebuilt. I don't think we want that. >> I'm leaving the enormocomment in so I don't have to repeat it=20 >> here, but I'm less sure about it now than when I wrote it. I=20 >> thought this was a filthy hack, but maybe it's just mildly=20 >> unconventional ;-) The documentation is very sparse indeed. > > The comment could perhaps be shortened by including a link to > . Oh thank gods yes. I missed that bug. I'm glad this is=20 considered important. For now, this workaround + a link seems=20 acceptable to me. Thanks! T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQT12iAyS4c9C3o4dnINsP+IT1VteQUCXTyc9gAKCRANsP+IT1Vt eXRqAP9cD3cYf1lriZndKL3NuZQSA5aktmpiDOOheP716ALw7gD+K4l4+bewsR+C 9XZzFpJH9TAQSEsr2lbgis99Ha68/ww= =SrLZ -----END PGP SIGNATURE----- --=-=-=-- From unknown Sat Aug 09 09:37:39 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#36814] [PATCH 1/2] gnu: Add intel-vaapi-driver. Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 27 Jul 2019 19:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36814 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Marius Bakke Cc: 36814@debbugs.gnu.org Received: via spool by 36814-submit@debbugs.gnu.org id=B36814.156425406612130 (code B ref 36814); Sat, 27 Jul 2019 19:02:01 +0000 Received: (at 36814) by debbugs.gnu.org; 27 Jul 2019 19:01:06 +0000 Received: from localhost ([127.0.0.1]:45439 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrRwI-00039a-6b for submit@debbugs.gnu.org; Sat, 27 Jul 2019 15:01:06 -0400 Received: from tobias.gr ([80.241.217.52]:57466) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrRwG-00039S-Us for 36814@debbugs.gnu.org; Sat, 27 Jul 2019 15:01:05 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id 12fd9219; Sat, 27 Jul 2019 19:01:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to:cc :subject:references:in-reply-to:date:message-id:mime-version :content-type; s=2018; i=me@tobias.gr; bh=iheoEn1E21X+Qky8xqLBZf p+t4E2Nmfc5XNpwjralsM=; b=cN10XwSPFhkvdeeAotWcYPkwh8DolS+994Sbmu hRqp2rBMRtwsEbSg4ap/HQ3EhkzLQpHk2tsD57/H1ChpjQAwo+g/YeAI3Xl7lydH SVbCiTcxi2GOS5mCFKQBRdxMRS/g1EItuf76H0Qi5nTXwb1C78KvDtZnKjS1WRWL nhGmH5ST6yvYmoQ9zc8DK3d9vrRQPMnRwZ1+1lm1VMiJp+hvCux6T/VHc3R83fwv 3tIlbZt6dzDb19oBrKyFk7PZBXEg/QaXdjQZSv4YivXBO2nEQ6rjcmmWNnnL+omJ Qii8p/vyW1MDaCzWTRoVtXYxeiwDJxJn/rhGHxRVS1Ta+1kQ== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 85866e8f (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Sat, 27 Jul 2019 19:01:03 +0000 (UTC) From: Tobias Geerinckx-Rice References: <871rydiifr.fsf@nckx> <20190726033037.1203-1-me@tobias.gr> <877e83496t.fsf@devup.no> In-reply-to: <877e83496t.fsf@devup.no> Date: Sat, 27 Jul 2019 21:00:56 +0200 Message-ID: <87ftmrgv4n.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Marius, Marius Bakke =E5=86=99=E9=81=93=EF=BC=9A > Tobias Geerinckx-Rice via Guix-patches =20 > writes: > >> * gnu/packages/video.scm (intel-vaapi-driver): New public=20 >> variable. >> --- >> gnu/packages/video.scm | 38=20 >> ++++++++++++++++++++++++++++++++++++++ >> 1 file changed, 38 insertions(+) >> >> diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm >> index 4b9e05edfe..f068c5df65 100644 >> --- a/gnu/packages/video.scm >> +++ b/gnu/packages/video.scm >> @@ -2695,6 +2695,44 @@ of modern, widely supported codecs.") >> ;; Combination under GPLv2. See LICENSE. >> (license license:gpl2))) >>=20=20 >> +(define-public intel-vaapi-driver >> + (package >> + (name "intel-vaapi-driver") >> + (version "2.3.0") >> + (source >> + (origin >> + (method url-fetch) >> + (uri (string-append=20 >> "https://github.com/intel/intel-vaapi-driver/" >> + "releases/download/" version=20 >> "/intel-vaapi-driver-" >> + version ".tar.bz2")) >> + (sha256 >> + (base32=20 >> "1qyzxh3p8cw4fv8bz9zd4kc8hajlaps7xryzh6pad814n3m5sbjw")))) >> + (build-system gnu-build-system) >> + (native-inputs >> + `(("pkg-config" ,pkg-config))) >> + (inputs >> + `(("libdrm" ,libdrm) >> + ("libva" ,libva) >> + ("libx11" ,libx11))) >> + (arguments >> + `(#:phases >> + (modify-phases %standard-phases >> + (add-before 'configure 'set-up-directories >> + (lambda* (#:key outputs #:allow-other-keys) >> + (let ((out (assoc-ref outputs "out"))) >> + (setenv "LIBVA_DRIVERS_PATH" (string-append out=20 >> "/lib/dri")) >> + #t)))))) > > Can this be passed in #:configure-flags? What does it do,=20 > anyway? :-) > >> + (home-page "https://01.org/linuxmedia/vaapi") >> + (synopsis "VA-API video acceleration driver for Intel GEN=20 >> Graphics devices") >> + (description >> + "This is the @acronym{VA-API, Video Acceleration API}=20 >> back end required for >> +for hardware-accelerated video processing on Intel GEN=20 >> Graphics devices >> +supported by the i915 driver, such as integrated Intel HD=20 >> Graphics. It provides >> +access to both hardware and shader functionality for faster=20 >> encoding, decoding, >> +and post-processing video formats like MPEG2, H.264/AVC, and=20 >> VC-1.") > > I suppose we should limit this driver to i686-linux and=20 > x86_64-linux only. That is a very good point. > LGTM, looking forward to try it! Thanks! T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQT12iAyS4c9C3o4dnINsP+IT1VteQUCXTyfaAAKCRANsP+IT1Vt eQWQAQDrd1C306KxkinYM5BOk53cuwp7ubiO9wCb+7HJYBTyfQEAqAxHkoC9jwZ0 N8BUJiPY3wqSlUvmm/iOFb/D7CdxRQk= =a1LJ -----END PGP SIGNATURE----- --=-=-=-- From unknown Sat Aug 09 09:37:39 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#36814] [BONUS PATCH 3/2] gnu: intel-vaapi-driver: Provide LIBVA_DRIVERS_PATH. Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 27 Jul 2019 19:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36814 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Marius Bakke , 36814@debbugs.gnu.org Received: via spool by 36814-submit@debbugs.gnu.org id=B36814.156425448612856 (code B ref 36814); Sat, 27 Jul 2019 19:09:02 +0000 Received: (at 36814) by debbugs.gnu.org; 27 Jul 2019 19:08:06 +0000 Received: from localhost ([127.0.0.1]:45445 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrS34-0003LI-1O for submit@debbugs.gnu.org; Sat, 27 Jul 2019 15:08:06 -0400 Received: from tobias.gr ([80.241.217.52]:57484) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrS32-0003LA-Sw for 36814@debbugs.gnu.org; Sat, 27 Jul 2019 15:08:05 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id d1d22ebd; Sat, 27 Jul 2019 19:08:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to :subject:references:in-reply-to:date:message-id:mime-version :content-type; s=2018; i=me@tobias.gr; bh=do/HEJyENvPo1vrI6TwQGm 36ELVOimFXwku64i4/jaw=; b=BZkI2HaBOL303VdRGAO5NvhGaXvkH7e0IOTiwp VGQACNyxZ8VcdJ8XsC1stN0OBgnvipCVsH64eTKbn8RljXLWfs54JHv9+mlJJu3o o0kw/it1DSSR92dzTVchqVMCcIsst+qZVOAtjNghTw5PcVGyE+obZV9CrXHvhls9 IHUF0VLzE6PAfSYmF7gbDldxH3d9/V/ktyA45ZVFNpAuXmW5dDvCXXTWELRvt2qb dNAm5VZlqoHuumgu4C5MUBKwTm7QiWXiXeRZlEKGChvi8XXWoIavlDDy81HO1qnP 9vx5nsBRn/PQFe8jKUaT6UpDQefG8tFOy85uR30JtPa4C0+A== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id bd496211 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Sat, 27 Jul 2019 19:08:02 +0000 (UTC) From: Tobias Geerinckx-Rice References: <871rydiifr.fsf@nckx> <20190726184040.31236-1-me@tobias.gr> <87a7cz49mf.fsf@devup.no> <87h877gvm1.fsf@nckx> In-reply-to: <87h877gvm1.fsf@nckx> Date: Sat, 27 Jul 2019 21:08:01 +0200 Message-ID: <87ef2bgusu.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Tobias Geerinckx-Rice via Guix-patches =E5=86=99=E9=81=93=EF=BC=9A > Marius Bakke =E5=86=99=E9=81=93=EF=BC=9A >> Tobias Geerinckx-Rice via Guix-patches >> writes: >>> (libva-without-mesa)[native-search-paths]: Don't inherit any. >> >> ..and this added in a separate patch, so that the=20 >> intel-vaapi-driver >> change does not have to go through 'staging'? > > Are you sure? This hunk is here to keep the mesa derivation > unchanged. Removing (or delaying) it *will* cause all of mesa's=20 > 1436 > dependents to be rebuilt. I don't think we want that. Actually, we're both wrong. Yay! This is a forgotten left-over from when the native-search-paths=20 were in libva. Now that they're not, it's useless & should just=20 be dropped. Right. Right? T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQT12iAyS4c9C3o4dnINsP+IT1VteQUCXTyhEQAKCRANsP+IT1Vt eRgHAQCi9BrN2i94hVtcRSiSQ/LEdmMUTlHRhXHLVsYOJOrsxAD+KjSxDSgH6qcQ hDvnIbjPQNctlTeQs0+Zx3LJpxQo8Aw= =txpF -----END PGP SIGNATURE----- --=-=-=-- From unknown Sat Aug 09 09:37:39 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#36814] [BONUS PATCH 3/2] gnu: intel-vaapi-driver: Provide LIBVA_DRIVERS_PATH. Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 27 Jul 2019 19:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36814 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Tobias Geerinckx-Rice Cc: 36814@debbugs.gnu.org Received: via spool by 36814-submit@debbugs.gnu.org id=B36814.156425482213454 (code B ref 36814); Sat, 27 Jul 2019 19:14:01 +0000 Received: (at 36814) by debbugs.gnu.org; 27 Jul 2019 19:13:42 +0000 Received: from localhost ([127.0.0.1]:45452 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrS8T-0003Us-SD for submit@debbugs.gnu.org; Sat, 27 Jul 2019 15:13:42 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:37269) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrS8S-0003UZ-5A for 36814@debbugs.gnu.org; Sat, 27 Jul 2019 15:13:40 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id BC14B21C39; Sat, 27 Jul 2019 15:13:34 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Sat, 27 Jul 2019 15:13:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm3; bh=KS1B0ZEyJ6pTIsnYzQu8mfMdad Ln/pwoGZhGtQZXzMo=; b=s15x9L5Et9WhitJKl5PSC9v465HYgLgbEJKQxlpd96 L75jvKjtsxvQLARZZzXLCPLYvFoHq9O4WogBpm8BEGGSJ7ZGwF7baJCKfO+0j5a6 nm5OtaD9BpXK4u297ai5EgtHUw+O3j7LiopHbB9QBZffCfshgdI1huhuNiSnWiwS +c0avvflLDp8BnQcfYsEFQVpwHXwWps1El/k3akYQsoJ8TivinkYyG4hrj3MSCS+ +Tx5mLUHQiRHmpHBa3vGaN7Ew/3/UpUEsoyOpfmQuPpiZoVVxe5h9n4fO/mJD+mc 5tc0RUeHkSvaeao0N+dzVi+ISzFL4XaDj2M9hkRotJsw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=KS1B0Z EyJ6pTIsnYzQu8mfMdadLn/pwoGZhGtQZXzMo=; b=1cYfT3PxhWKoCYh3J32pi6 LTqMFlfdW7QuFjXo8QPJigoVlx0Ubn4hN5rXyo2+76W/zO0EFwnc0lRLRCX70JMT vRlFO78hZU4fbr7mS/u+sMjQ8FlQOuHUs2qFXOJa66iNgTft9IkZoOTufMio/Rij orZcrNn4cNnUMei8tZiEgH152lPUIqLvVgHHPX3kd5Ly6HabEGlfTrIlYOd1wZO2 ew7VHzuPrz49F+lb3Gu7t57CO6bDyEI9t223ZwmRSmCbguKX4y3g7BrO+k9JCGRe 8obyEppleopiaUux3iQVU5P2AHBUvIuo4Rr67oGQQCJNdcEKoXl0WlJpNlOou25w == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrkeeigddufeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffujghffgffkfggtgesghdtre ertderjeenucfhrhhomhepofgrrhhiuhhsuceurghkkhgvuceomhgsrghkkhgvsehfrghs thhmrghilhdrtghomheqnecukfhppeeivddrudeirddvvdeirddugedtnecurfgrrhgrmh epmhgrihhlfhhrohhmpehmsggrkhhkvgesfhgrshhtmhgrihhlrdgtohhmnecuvehluhhs thgvrhfuihiivgeptd X-ME-Proxy: Received: from localhost (140.226.16.62.customer.cdi.no [62.16.226.140]) by mail.messagingengine.com (Postfix) with ESMTPA id 013F980059; Sat, 27 Jul 2019 15:13:32 -0400 (EDT) From: Marius Bakke In-Reply-To: <87h877gvm1.fsf@nckx> References: <871rydiifr.fsf@nckx> <20190726184040.31236-1-me@tobias.gr> <87a7cz49mf.fsf@devup.no> <87h877gvm1.fsf@nckx> User-Agent: Notmuch/0.29.1 (https://notmuchmail.org) Emacs/26.2 (x86_64-pc-linux-gnu) Date: Sat, 27 Jul 2019 21:13:31 +0200 Message-ID: <871ryb47fo.fsf@devup.no> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Tobias Geerinckx-Rice writes: > Marius Bakke =E5=86=99=E9=81=93=EF=BC=9A >> Tobias Geerinckx-Rice via Guix-patches =20 >> writes: >> >>> * gnu/packages/video.scm=20 >>> (intel-vaapi-driver)[native-search-paths]: >>> Export LIBVA_DRIVERS_PATH when installed. >> >> Can this be squashed into patch 1/2 in this series? > > Sure. I wasn't really going to merge this as FREE BONUS PATCH,=20 > don't worry. > >>> (libva-without-mesa)[native-search-paths]: Don't inherit any. >> >> ..and this added in a separate patch, so that the=20 >> intel-vaapi-driver >> change does not have to go through 'staging'? > > Are you sure? This hunk is here to keep the mesa derivation=20 > unchanged. Removing (or delaying) it *will* cause all of mesa's=20 > 1436 dependents to be rebuilt. I don't think we want that. I don't see 'libva' being changed anywhere in this series? The search path is added for intel-vaapi-driver only, no? But then, it's 32 degrees here in Trondheim and I just returned from a hike, so I have probably missed something. Leaving libva-without-mesa unchanged was my intent too, so I think we are all good. :-) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl08olsACgkQoqBt8qM6 VPqFvgf/QlnZz0EFhe4FNsK2BK8/tJZ4wnpkKirWrtyhEAPznG1ARSdF2hPauzra qHgHrK9LYvADh+j75SWj5nB8kC1uTM8AI1276uZ8sgdu+9gO+QffIwj3TeJHF1Pf lym7ly1BFuGyH6x46HnSwzCoo2pboa334Qw7m7apsGQrCmkECcOBoM/hRfRGsI+Y P9PlVx9yWAvTgw/2Gz4O5BwU4Dncc67/BU+WYwiLLlPdaoVas5d4IlVnYYaxHrVi 4PZ2+HRjImQ5uro/IP3ZtNIwY4tcAyPwX2KROlOBRv2buakVlEqPMfyWtCzkbF9s uZGBzPG7QI3IZKxJKMvcqOHKeoZozQ== =8vd6 -----END PGP SIGNATURE----- --=-=-=-- From unknown Sat Aug 09 09:37:39 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#36814] [BONUS PATCH 3/2] gnu: intel-vaapi-driver: Provide LIBVA_DRIVERS_PATH. Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 27 Jul 2019 19:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36814 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Tobias Geerinckx-Rice , 36814@debbugs.gnu.org Received: via spool by 36814-submit@debbugs.gnu.org id=B36814.156425502913848 (code B ref 36814); Sat, 27 Jul 2019 19:18:01 +0000 Received: (at 36814) by debbugs.gnu.org; 27 Jul 2019 19:17:09 +0000 Received: from localhost ([127.0.0.1]:45458 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrSBo-0003bH-Lw for submit@debbugs.gnu.org; Sat, 27 Jul 2019 15:17:08 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:58599) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrSBn-0003b4-5r for 36814@debbugs.gnu.org; Sat, 27 Jul 2019 15:17:07 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 1C57021B1B; Sat, 27 Jul 2019 15:17:02 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Sat, 27 Jul 2019 15:17:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm3; bh=zgQ+G8KbZrYpC6MXYelbgdnCBV g2gCvKLGY2nynZ220=; b=MKJgk/N9dMo357TSZbuh1ot0yhJhyV9kaNjys4KpRh RiosKJeG+pOT0l6a68g4OAGMv1YSamBVHmjjjDMCZt1//he++o4TqidMNKccGae0 R3F5adU+4RtPDP2YyVJxCJxaBCTLg6B75a0EOKWcoABJx56ssRuFIJom2lYkaeYG tZ3MwwJIqcny9tYgkLm01m+9ZNxBbJl6RhbO6AVuBtgLIwI9bkpbubjyZuC2gZLy zqbx6il9mb9zWksTJJ9rypYGVoqeoN7eKMHCJl4BS6KME8ajFQR0ywXf1K6T16wt oesO/xTl+T2kpECrxv3ksblmHO2hB24A2D6yz//CKH2A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=zgQ+G8 KbZrYpC6MXYelbgdnCBVg2gCvKLGY2nynZ220=; b=M4Xy9kUyhxb9V8BIoeOC/p MuiwNNaH07N1lSq0gCNhINC87o4ILYBQ9XcaG9O/6tGvWJKK43UW3SrSSOeFM4OB U6MNXd0H2OEjt5wRLwD8n3//rCGNTTzrbH0ZDt5pydMJSM0meHvh8ypr6eUgP5iA JW+aWpm+miwhYgkdaE3hYqWQzfUuEM0h/CpERvQW/cm7GEMvLIev6s3Dx6L6Wbn4 NGElvK+JVex5LfmtjraE948vxUpHzHOo3o6bG9KrdJeZ9oQIut2tIv1QgBzKjljw gi8pD6gcR/b+JN1dQPbachjFXu/nas51LHTwERirUNc9mQWaP3aM6cnAypox3png == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrkeeigddufeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffujghffgffkfggtgesghdtre ertderjeenucfhrhhomhepofgrrhhiuhhsuceurghkkhgvuceomhgsrghkkhgvsehfrghs thhmrghilhdrtghomheqnecukfhppeeivddrudeirddvvdeirddugedtnecurfgrrhgrmh epmhgrihhlfhhrohhmpehmsggrkhhkvgesfhgrshhtmhgrihhlrdgtohhmnecuvehluhhs thgvrhfuihiivgepud X-ME-Proxy: Received: from localhost (140.226.16.62.customer.cdi.no [62.16.226.140]) by mail.messagingengine.com (Postfix) with ESMTPA id 58192380083; Sat, 27 Jul 2019 15:17:00 -0400 (EDT) From: Marius Bakke In-Reply-To: <87ef2bgusu.fsf@nckx> References: <871rydiifr.fsf@nckx> <20190726184040.31236-1-me@tobias.gr> <87a7cz49mf.fsf@devup.no> <87h877gvm1.fsf@nckx> <87ef2bgusu.fsf@nckx> User-Agent: Notmuch/0.29.1 (https://notmuchmail.org) Emacs/26.2 (x86_64-pc-linux-gnu) Date: Sat, 27 Jul 2019 21:16:58 +0200 Message-ID: <87y30j2sph.fsf@devup.no> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Tobias Geerinckx-Rice writes: > Tobias Geerinckx-Rice via Guix-patches =E5=86=99=E9=81=93=EF=BC=9A >> Marius Bakke =E5=86=99=E9=81=93=EF=BC=9A >>> Tobias Geerinckx-Rice via Guix-patches >>> writes: >>>> (libva-without-mesa)[native-search-paths]: Don't inherit any. >>> >>> ..and this added in a separate patch, so that the=20 >>> intel-vaapi-driver >>> change does not have to go through 'staging'? >> >> Are you sure? This hunk is here to keep the mesa derivation >> unchanged. Removing (or delaying) it *will* cause all of mesa's=20 >> 1436 >> dependents to be rebuilt. I don't think we want that. > > Actually, we're both wrong. Yay! > > This is a forgotten left-over from when the native-search-paths=20 > were in libva. Now that they're not, it's useless & should just=20 > be dropped. > > Right. Right? Right! LGTM, thanks! (...please disregard the other message...) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl08oyoACgkQoqBt8qM6 VPrYWAf/bUwHMbYn5SvRforrtf+6t/A/ylbxhWF6lCiaRaujLDGlZBZOfRJrsZiU 6gOyXaVGlNbrcFa9df5C6xSVqqMXTt5vSekIB8f9TVrqXLmZ9quZzr7BldGZN0li d6O+TqokBFNoezktwKokt+jRW4IH97weezIAxnBiRy5gwZwrlS1TOH6G6+RVaMZ5 9ZIMRbJs/yl6cv12rrSy+PFiWGtPzcXoFPNKhXwwBLbaxAxo9hD4t9HC15DfAmfb 00GdAxuDQ/veqOEXbIB0dgHUDVvHQ2qHopowhxLG5xPkQfNlqv4I+1ygq21FR/Xq s8mbG1jym53uozlLyj4FoxEPbjUSYA== =s1LU -----END PGP SIGNATURE----- --=-=-=-- From unknown Sat Aug 09 09:37:39 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Tobias Geerinckx-Rice Subject: bug#36814: closed (Re: [bug#36814] [PATCH 0/2] Add VA-API Intel back-end and utilities) Message-ID: References: <87d0hvgo8w.fsf@nckx> <871rydiifr.fsf@nckx> X-Gnu-PR-Message: they-closed 36814 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 36814@debbugs.gnu.org Date: Sat, 27 Jul 2019 21:30:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1564263003-29806-1" This is a multi-part message in MIME format... ------------=_1564263003-29806-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #36814: [PATCH 0/2] Add VA-API Intel back-end and utilities which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 36814@debbugs.gnu.org. --=20 36814: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D36814 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1564263003-29806-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 36814-done) by debbugs.gnu.org; 27 Jul 2019 21:29:41 +0000 Received: from localhost ([127.0.0.1]:45490 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrUG5-0007jx-8G for submit@debbugs.gnu.org; Sat, 27 Jul 2019 17:29:41 -0400 Received: from tobias.gr ([80.241.217.52]:57600) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrUG2-0007jo-DG for 36814-done@debbugs.gnu.org; Sat, 27 Jul 2019 17:29:39 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id 7ae3c2b1 for <36814-done@debbugs.gnu.org>; Sat, 27 Jul 2019 21:29:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to :subject:references:in-reply-to:date:message-id:mime-version :content-type; s=2018; i=me@tobias.gr; bh=YeQjxbVD3gKyyvs2WS4NwY 10uJYnVR4WaYVaaD5zEw4=; b=RZPn3IZI6j7qvJbyxsFvbXiZiFRlwVfAqueJY2 42PNPqqKpujYAf1JH/iph3UvfiMvLTdgenxxEfhaxeLidj+PjExymq4gKuQAt5tT gHj0u9VbcVF3YWBmQdevuHfmiPbxo0cxlyLOSoBp+awFmg4TCQE5Hwk1Nboed3ef RTeLiTr1sYxopn1oS+IVCW9KM+lsstyOseTaH/ZKcRv7xCVGTyFkrHXEQMgJAcSY DLJ6yxRXgmAxgZNkjbAbBL0i5Gzx0hWLzydwkXyua3d6qIMHW4Lam9VRJW+eNAQe jqZ8R8a+vcCMGtSMuqkICccsYVeUVZccMqfQuF5HBTKiiNiA== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 7b23b60c (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <36814-done@debbugs.gnu.org>; Sat, 27 Jul 2019 21:29:36 +0000 (UTC) From: Tobias Geerinckx-Rice To: 36814-done@debbugs.gnu.org Subject: Re: [bug#36814] [PATCH 0/2] Add VA-API Intel back-end and utilities References: <871rydiifr.fsf@nckx> In-reply-to: <871rydiifr.fsf@nckx> Date: Sat, 27 Jul 2019 23:29:35 +0200 Message-ID: <87d0hvgo8w.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 36814-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Tobias Geerinckx-Rice via Guix-patches =E5=86=99=E9=81=93=EF=BC=9A > Guix, > > The following patches add the VA-API back end for Intel GEN=20 > chips as > well as libva-utils (which provides vainfo amongst many other=20 > things). Pushed atop master as 3563220e1e46b8a1b9af1e3a4c6cb3f9560c2460 &c. Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQT12iAyS4c9C3o4dnINsP+IT1VteQUCXTzCQAAKCRANsP+IT1Vt eXUYAP9s3aIlTMmSVJN7iqaUsdQfvJNOIJ5hDGUNtTA6qBd/EAD+PzVNj9l4pJu8 g+ldBwFLkLcNlukGPXz1deDzBjEdqQs= =uR3x -----END PGP SIGNATURE----- --=-=-=-- ------------=_1564263003-29806-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 26 Jul 2019 03:27:48 +0000 Received: from localhost ([127.0.0.1]:40649 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hqqtX-0004Gy-S4 for submit@debbugs.gnu.org; Thu, 25 Jul 2019 23:27:48 -0400 Received: from lists.gnu.org ([209.51.188.17]:42488) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hqqtV-0004Gq-E9 for submit@debbugs.gnu.org; Thu, 25 Jul 2019 23:27:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47306) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hqqtU-0000qB-GI for guix-patches@gnu.org; Thu, 25 Jul 2019 23:27:45 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hqqtS-0000Fb-7g for guix-patches@gnu.org; Thu, 25 Jul 2019 23:27:44 -0400 Received: from tobias.gr ([2001:470:7405::1]:53444) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hqqtR-00008K-Jv for guix-patches@gnu.org; Thu, 25 Jul 2019 23:27:42 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id 746824a2 for ; Fri, 26 Jul 2019 03:27:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to :subject:date:message-id:mime-version:content-type; s=2018; i= me@tobias.gr; bh=euy5yhkR1bGOOU/NS9XasXh1qIpcX/3fWioyczmN9fE=; b= ChtfiYu7ZnduH1tX0+jhY0KN3FcO1mXslhoL+xSemvJni7NSLxxn1ByIyldm4iBQ DKxZlcnqFvT4LlHmoFdT2udoimYMyQnF9n7S8clg43IygM7dP6YTYV2AqHf9H8ly O1aZWiUC6LJD8DbDNslb+MYtuHXh0ZBFZBHRALnnF3Y7gt+/nQHOTU4cX1fPKAIA 00MnoD9LqMqPY7Oc0KEbMiXna1elYh8owNMA1oEkFKUgDaon0X4TZaIIinLekP+i 9g4qNNiBJWG25YP2TNxflnZt53YFCrfF8SstGsIzUCLjbPwOgmY5cF6+2agn7Xds +dmQcbHz9/Shy3v7bFILFA== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 67175a94 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Fri, 26 Jul 2019 03:27:36 +0000 (UTC) From: Tobias Geerinckx-Rice To: Guix-patches Subject: [PATCH 0/2] Add VA-API Intel back-end and utilities Date: Fri, 26 Jul 2019 05:27:36 +0200 Message-ID: <871rydiifr.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2001:470:7405::1 X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) --=-=-= Content-Type: text/plain; format=flowed Guix, The following patches add the VA-API back end for Intel GEN chips as well as libva-utils (which provides vainfo amongst many other things). I've tested them on my Ivy Bridge laptop and they work wonderfully. However. libva (I guess) searches for the back end in mesa's store output by default: --8<---------------cut here---------------start------------->8--- vainfo libva info: VA-API version 1.4.1 libva info: va_getDriverName() returns 0 libva info: Trying to open /gnu/store/clhrbkacyrclwzkzdj2ql8y572whwjzi-mesa-19.1.1/lib/dri/i965_drv_video.so libva info: va_openDriver() returns -1 vaInitialize failed with error code -1 (unknown libva error),exit --8<---------------cut here---------------end--------------->8--- I don't know enough about libva or mesa to know how all this can be made to compose nicely. I just tested and enjoyed VA-API acceleration by (icky icky boo boo) copying intel-vaapi-driver's library to the mesa store directory, so I need help in more ways than one. Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQT12iAyS4c9C3o4dnINsP+IT1VteQUCXTpzKAAKCRANsP+IT1Vt ecGxAQCURuX1w92YfN34ezsD0nQ4J3p89ewitBSLX23xNfhh/wD+If9izM8ht3bO Dpy+9FwFf0hpU4/9b0vS0yM8pnIzxQA= =kdiw -----END PGP SIGNATURE----- --=-=-=-- ------------=_1564263003-29806-1--