From unknown Sat Jun 21 10:18:51 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#63219 <63219@debbugs.gnu.org> To: bug#63219 <63219@debbugs.gnu.org> Subject: Status: [PATCH mesa-branch 0/4] Mesa update plus various fixes and cleanups. Reply-To: bug#63219 <63219@debbugs.gnu.org> Date: Sat, 21 Jun 2025 17:18:51 +0000 retitle 63219 [PATCH mesa-branch 0/4] Mesa update plus various fixes and cl= eanups. reassign 63219 guix-patches submitter 63219 Kaelyn Takata severity 63219 normal tag 63219 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Mon May 01 20:59:34 2023 Received: (at submit) by debbugs.gnu.org; 2 May 2023 00:59:34 +0000 Received: from localhost ([127.0.0.1]:41284 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pteMf-000551-NQ for submit@debbugs.gnu.org; Mon, 01 May 2023 20:59:34 -0400 Received: from lists.gnu.org ([209.51.188.17]:46592) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pteMc-00054r-4c for submit@debbugs.gnu.org; Mon, 01 May 2023 20:59:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pteMb-0000xA-P7 for guix-patches@gnu.org; Mon, 01 May 2023 20:59:29 -0400 Received: from mail-40131.protonmail.ch ([185.70.40.131]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pteMQ-0002D0-7s for guix-patches@gnu.org; Mon, 01 May 2023 20:59:25 -0400 Date: Tue, 02 May 2023 00:59:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1682989153; x=1683248353; bh=LzXrUKR5IQ6+pmc8xsOQYaO4sua0fzaCvOrbq+78kvg=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=t0KAmm1WD8mv1EShkLcMmMxsZuXHdzZgv/vIRU+j/ou6ZWRxuAqob48eINivfGTAz 2HyEgw28xQWpPJsHL/omt4Gv8UlAf+715DCr2IagifV957MjDLNC1RcN+lGsqjkdH6 Z55rXqWipMhcqUXNV/Fm2DF2HfKfdZJZZp8OjvY79w9fYyzoTb1yxrAAoS62MlP/wl XVWbgKNFQNZgReBWYJc80u9rUoDX80/38x01VIVbx1b/R0RoyKB/X9ZhIBL9YomQId dbMMUUEBPuLUA5VdkaUfQBiyJ4eR4Y59iZlCusgcwdn8tql3uEygIdVos6c567Zz+N rTHGWV2yDbC4g== To: guix-patches@gnu.org From: Kaelyn Takata Subject: [PATCH mesa-branch 0/4] Mesa update plus various fixes and cleanups. Message-ID: Feedback-ID: 34709329:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.131; envelope-from=kaelyn.alexi@protonmail.com; helo=mail-40131.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_HELO_TEMPERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.4 (/) X-Debbugs-Envelope-To: submit Cc: Kaelyn Takata 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: -0.6 (/) This is a small collection of fixes and cleanups for mesa, along with updat= ing it to the latest release. Issues that should be resolved by the series include: * https://issues.guix.gnu.org/48868 * https://issues.guix.gnu.org/58251 * https://issues.guix.gnu.org/58887 * https://issues.guix.gnu.org/59453 * https://issues.guix.gnu.org/62313 * https://issues.guix.gnu.org/63128 I've done some cursory testing so far, such as checking glxinfo, vulkaninfo (from vulkan-tools), vainfo (from libva-utils), and vdpauinfo, and playing h264 and h265 videos with hardware acceleration using an mpv built against = the updated mesa. Cheers, Kaelyn Kaelyn Takata (4): gnu: mesa: Fix library paths in Vulkan layer manifests. gnu: mesa: Use gexps instead of quasiquote. gnu: mesa: Fix hardware video decoding. gnu: mesa: Update to 23.0.3. gnu/local.mk | 1 - gnu/packages/gl.scm | 81 +++++++++++++------ .../mesa-fix-sporadic-test-failures.patch | 27 ------- 3 files changed, 55 insertions(+), 54 deletions(-) delete mode 100644 gnu/packages/patches/mesa-fix-sporadic-test-failures.pa= tch base-commit: f21007ce4aceeacf5bbfc7cd45d526073141f194 -- 2.39.2 From debbugs-submit-bounces@debbugs.gnu.org Mon May 01 21:02:12 2023 Received: (at submit) by debbugs.gnu.org; 2 May 2023 01:02:12 +0000 Received: from localhost ([127.0.0.1]:41294 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ptePD-0005B9-OT for submit@debbugs.gnu.org; Mon, 01 May 2023 21:02:12 -0400 Received: from lists.gnu.org ([209.51.188.17]:48420) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pteP8-0005Am-OC for submit@debbugs.gnu.org; Mon, 01 May 2023 21:02:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pteP8-0001Gg-HZ for guix-patches@gnu.org; Mon, 01 May 2023 21:02:06 -0400 Received: from mail-4322.protonmail.ch ([185.70.43.22]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pteP6-0002sw-Lo for guix-patches@gnu.org; Mon, 01 May 2023 21:02:06 -0400 Date: Tue, 02 May 2023 01:01:58 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1682989322; x=1683248522; bh=vixj9XIYRm2gNp2J6c7vSww3fUz3dCObaj2JEM+6ezA=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=RybmREq00a7tDSMvzfgLPjUinOlM0ySsfr5RIjFK8EhjmfqrjzGr4XHcgSUd4W9Ig mgbbHUkuQWKJjneDimLZDcTswcKi0yQoGH9kwLHIOjyhC2Di2aAxs0mSsWHFKqwi/F Gb6q65y9bPjJlOtPdgGGJ/Ys4Oqp7OGb3HBL9hvJmZNByP8dHFfgd/HE6ALoqdZkwI zb3d0wsvZL37e9ung6PWQbNM1vbZoTei3/h+N4n3DDjl+X6J89a2ldY+BNkn3YuSXI mSy+o7sdpnpArBWzt5AlQjQarr9KPEgwPzj2dpWaM3nF3afXRahmCOm/tVmNVnGY87 oFaSZSNvGBZYw== To: 63219@debbugs.gnu.org, guix-patches@gnu.org From: Kaelyn Takata Subject: [PATCH mesa-branch 1/4] gnu: mesa: Fix library paths in Vulkan layer manifests. Message-ID: In-Reply-To: References: Feedback-ID: 34709329:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.22; envelope-from=kaelyn.alexi@protonmail.com; helo=mail-4322.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Kaelyn Takata 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.3 (--) * gnu/packages/gl.scm (mesa): Fix library paths in Vulkan layer manifests. --- gnu/packages/gl.scm | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm index 3a63d70c7a..6521170ebb 100644 --- a/gnu/packages/gl.scm +++ b/gnu/packages/gl.scm @@ -17,6 +17,7 @@ ;;; Copyright =C2=A9 2021 Ivan Gankevich ;;; Copyright =C2=A9 2021, 2022 John Kehayias ;;; Copyright =C2=A9 2022 Petr Hodina +;;; Copyright =C2=A9 2023 Kaelyn Takata ;;; ;;; This file is part of GNU Guix. ;;; @@ -488,7 +489,28 @@ (define-public mesa file) (symlink reference file))) others)))) - (delete-duplicates inodes)))))))) + (delete-duplicates inodes))))) + (add-after 'install 'set-layer-path-in-manifests + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (implicit-path (string-append + out + "/share/vulkan/implicit_layer.d/")) + (explicit-path (string-append + out + "/share/vulkan/explicit_layer.d/")) + (fix-layer-path + (lambda (layer-name) + (let* ((explicit (string-append explicit-path layer= -name ".json")) + (implicit (string-append implicit-path layer= -name ".json")) + (manifest (if (file-exists? explicit) + explicit + implicit))) + (substitute* manifest + (((string-append "\"lib" layer-name ".so\"")) + (string-append "\"" out "/lib/lib" layer-name= ".so\""))))))) + (for-each fix-layer-path '("VkLayer_MESA_device_select" + "VkLayer_MESA_overlay")))))))) (home-page "https://mesa3d.org/") (synopsis "OpenGL and Vulkan implementations") (description "Mesa is a free implementation of the OpenGL and Vulkan -- 2.39.2 From debbugs-submit-bounces@debbugs.gnu.org Mon May 01 21:02:19 2023 Received: (at submit) by debbugs.gnu.org; 2 May 2023 01:02:19 +0000 Received: from localhost ([127.0.0.1]:41308 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ptePL-0005Br-18 for submit@debbugs.gnu.org; Mon, 01 May 2023 21:02:19 -0400 Received: from lists.gnu.org ([209.51.188.17]:55870) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ptePJ-0005Bd-Pg for submit@debbugs.gnu.org; Mon, 01 May 2023 21:02:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ptePJ-0001Hz-I1 for guix-patches@gnu.org; Mon, 01 May 2023 21:02:17 -0400 Received: from mail-4316.protonmail.ch ([185.70.43.16]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ptePH-0002wK-M9 for guix-patches@gnu.org; Mon, 01 May 2023 21:02:17 -0400 Date: Tue, 02 May 2023 01:02:08 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1682989333; x=1683248533; bh=ML0fOkFrCjpx+4yrXHyaU6gheHuQ/3CnefUm71Ehcdc=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=vm/qBRzNnJ3eZUfnQjJIufWp3AGOqjFuk12whjrVGQzTEPtX8W8oJJFQVzB2zcUhf DtOmG89Nm6OjrG/3Jg6/OuFS3d8h116don1qz8zb1dL1CcZYpMDkeCOa/YlDpTxFP5 FHGBiGFaU8S8hwSXjB2xCy7sFtODt7doc7yuUehP8jzTKymyOhs1yt5vJa+mFjLVkg Zz3CtRwD6GL0C6lTMa+/t3JveV3O4v54v4IgnF7tAtbDN7jyA88QsXnmjjwuFHwZQT dn8heJNXQGjVMLy7+GUVrk2mA/RnnuPAfockwVmHQtCXsu4upHJCwQCVUFgnH8eT2D qRrZvm6lTn4EA== To: 63219@debbugs.gnu.org, guix-patches@gnu.org From: Kaelyn Takata Subject: [PATCH mesa-branch 3/4] gnu: mesa: Fix hardware video decoding. Message-ID: In-Reply-To: References: Feedback-ID: 34709329:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.16; envelope-from=kaelyn.alexi@protonmail.com; helo=mail-4316.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Kaelyn Takata 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.3 (--) * gnu/packages/gl.scm (mesa): Fix hardware video decoding. [arguments]: Add -Dvideo-codecs to the #:configure-flags [native-search-paths]: Add VDPAU_DRIVER_PATH so libvdpau can find the drive= rs. --- gnu/packages/gl.scm | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm index 3d6d1e2ab5..09a1df4936 100644 --- a/gnu/packages/gl.scm +++ b/gnu/packages/gl.scm @@ -362,6 +362,10 @@ (define-public mesa ;; Enable the Vulkan overlay layer on all architectures. "-Dvulkan-layers=3Ddevice-select,overlay" + ;; Enable the codecs that were built by default as part of the + ;; 21.3.x releases to avoid functionality regressions. + "-Dvideo-codecs=3Dvc1dec,h264dec,h264enc,h265dec,h265enc" + ;; Also enable the tests. "-Dbuild-tests=3Dtrue" @@ -513,6 +517,11 @@ (define-public mesa (string-append "\"" out "/lib/lib" layer-name= ".so\""))))))) (for-each fix-layer-path '("VkLayer_MESA_device_select" "VkLayer_MESA_overlay")))))))) + (native-search-paths + (list (search-path-specification + ;; Ensure the Mesa VDPAU drivers can be found. + (variable "VDPAU_DRIVER_PATH") + (files '("lib/vdpau"))))) (home-page "https://mesa3d.org/") (synopsis "OpenGL and Vulkan implementations") (description "Mesa is a free implementation of the OpenGL and Vulkan -- 2.39.2 From debbugs-submit-bounces@debbugs.gnu.org Mon May 01 21:02:22 2023 Received: (at submit) by debbugs.gnu.org; 2 May 2023 01:02:22 +0000 Received: from localhost ([127.0.0.1]:41312 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ptePN-0005CC-DS for submit@debbugs.gnu.org; Mon, 01 May 2023 21:02:21 -0400 Received: from lists.gnu.org ([209.51.188.17]:55878) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ptePJ-0005Bf-U4 for submit@debbugs.gnu.org; Mon, 01 May 2023 21:02:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ptePJ-0001Hy-Gi for guix-patches@gnu.org; Mon, 01 May 2023 21:02:17 -0400 Received: from mail-4316.protonmail.ch ([185.70.43.16]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ptePH-0002wS-Lb for guix-patches@gnu.org; Mon, 01 May 2023 21:02:17 -0400 Date: Tue, 02 May 2023 01:02:03 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1682989333; x=1683248533; bh=8r293lVuB8Z3Qwuo5YiIhQ/Se9NqOdPD3vDBVdMH8Ys=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=TdjHxp/LwLA5zSiGBU65cvO+tUzbkk16XTV5SNDPrF7ftTRs2rg3mqZ4IKyQhjjMD a4h3dekDeQcDW7lC75WXx6nPPc4I/R/tJQE6h6S9lKSe9F96c80jL9zdlBj8F0Wv4J qPP6VFMfMKHAOp0T9sJ04keteoprYyXU617UGZqLZ/ewMBSpaEAdDJxiuPjgPOxqpQ J9LLINBeVYLO1/pudqSeXZ+FfRHV7KUxybShZ5vNpvoyknPcqEXF/Wzgf3he6l/M9u Ul87Hzqb6gh177BA+2wfIh42qer3LBbRnqWq7HuZpiTod0yQmkRP72aI5ChU26mxgY X0RixoBMVCSZA== To: 63219@debbugs.gnu.org, guix-patches@gnu.org From: Kaelyn Takata Subject: [PATCH mesa-branch 2/4] gnu: mesa: Use gexps instead of quasiquote. Message-ID: <4742c9c59e960506b3badea201fea6754e7aef8e.1682984719.git.kaelyn.alexi@protonmail.com> In-Reply-To: References: Feedback-ID: 34709329:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.16; envelope-from=kaelyn.alexi@protonmail.com; helo=mail-4316.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Kaelyn Takata 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.3 (--) * gnu/packages/gl.scm (mesa)[arguments]: Use gexps instead of quasiquote. --- gnu/packages/gl.scm | 38 ++++++++++++++++++++------------------ 1 file changed, 20 insertions(+), 18 deletions(-) diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm index 6521170ebb..3d6d1e2ab5 100644 --- a/gnu/packages/gl.scm +++ b/gnu/packages/gl.scm @@ -315,8 +315,10 @@ (define-public mesa (@ (gnu packages base) which))) (outputs '("out" "bin")) (arguments - `(#:configure-flags - '(,@(match (%current-system) + (list + #:configure-flags + #~(list + #$@(match (%current-system) ("aarch64-linux" ;; TODO: Fix svga driver for non-Intel architectures. '("-Dgallium-drivers=3Detnaviv,freedreno,kmsro,lima,nouveau,= \ @@ -345,7 +347,7 @@ (define-public mesa "-Dshared-glapi=3Denabled" ;; Explicitly enable Vulkan on some architectures. - ,@(match (%current-system) + #$@(match (%current-system) ((or "i686-linux" "x86_64-linux") '("-Dvulkan-drivers=3Dintel,amd")) ((or "powerpc64le-linux" "powerpc-linux") @@ -369,12 +371,12 @@ (define-public mesa ;; documentation recommends using 'release' for performance anyway. #:build-type "release" - #:modules ((ice-9 match) - (srfi srfi-1) - (guix build utils) - (guix build meson-build-system)) + #:modules '((ice-9 match) + (srfi srfi-1) + (guix build utils) + (guix build meson-build-system)) #:phases - (modify-phases %standard-phases + #~(modify-phases %standard-phases (add-after 'unpack 'disable-failing-test (lambda _ ;; Disable the intel vulkan (anv_state_pool) tests, as they m= ay @@ -383,7 +385,7 @@ (define-public mesa (substitute* "src/intel/vulkan/meson.build" (("if with_tests") "if false")) - ,@(match (%current-system) + #$@(match (%current-system) ("riscv64-linux" ;; According to the test logs the llvm JIT is not design= ed ;; for this architecture and the llvmpipe tests all segf= ault. @@ -428,8 +430,8 @@ (define-public mesa (_ '((display "No tests to disable on this architecture.\n"= )))))) (add-before 'configure 'fix-dlopen-libnames - (lambda* (#:key inputs outputs #:allow-other-keys) - (let ((out (assoc-ref outputs "out"))) + (lambda _ + (let ((out #$output)) ;; Remain agnostic to .so.X.Y.Z versions while doing ;; the substitutions so we're future-safe. (substitute* "src/glx/meson.build" @@ -446,9 +448,9 @@ (define-public mesa (("\"gbm_dri\\.so") (string-append "\"" out "/lib/dri/gbm_dri.so")))))) (add-after 'install 'split-outputs - (lambda* (#:key outputs #:allow-other-keys) - (let ((out (assoc-ref outputs "out")) - (bin (assoc-ref outputs "bin"))) + (lambda _ + (let ((out #$output) + (bin #$output:bin)) ;; Not all architectures have the Vulkan overlay control sc= ript. (mkdir-p (string-append out "/bin")) (call-with-output-file (string-append out "/bin/.empty") @@ -457,13 +459,13 @@ (define-public mesa (string-append bin "/bin")) (delete-file-recursively (string-append out "/bin"))))) (add-after 'install 'symlinks-instead-of-hard-links - (lambda* (#:key outputs #:allow-other-keys) + (lambda _ ;; All the drivers and gallium targets create hard links upon ;; installation (search for "hardlink each megadriver instanc= e" ;; in the makefiles). This is no good for us since we'd prod= uce ;; nars that contain several copies of these files. Thus, tu= rn ;; them into symlinks, which saves ~124 MiB. - (let* ((out (assoc-ref outputs "out")) + (let* ((out #$output) (lib (string-append out "/lib")) (files (find-files lib (lambda (file stat) @@ -491,8 +493,8 @@ (define-public mesa others)))) (delete-duplicates inodes))))) (add-after 'install 'set-layer-path-in-manifests - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) + (lambda _ + (let* ((out #$output) (implicit-path (string-append out "/share/vulkan/implicit_layer.d/")) -- 2.39.2 From debbugs-submit-bounces@debbugs.gnu.org Mon May 01 21:02:49 2023 Received: (at 63219) by debbugs.gnu.org; 2 May 2023 01:02:49 +0000 Received: from localhost ([127.0.0.1]:41320 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ptePo-0005D7-TE for submit@debbugs.gnu.org; Mon, 01 May 2023 21:02:49 -0400 Received: from mail-4322.protonmail.ch ([185.70.43.22]:25465) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ptePm-0005Cv-OK for 63219@debbugs.gnu.org; Mon, 01 May 2023 21:02:47 -0400 Date: Tue, 02 May 2023 01:02:36 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1682989360; x=1683248560; bh=GxGyB5xJRAxPTulnLXEpk1wjjUdc1sqL+7imJ2O6Edo=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=WfVdYH1i7ELZErwacUP9gxSy4NldlgTmbK1td/hiKp+NGwWNoTHm9WFHmSdxS3kUN PinGIwt6iOQw/KaSXU6J2yKtEjDCdAshp29+oWr4bVFGzAhyXFsvarKn3Z5SFKqfc4 46AfFGICosaFmjp46O71HoRP0QuALYeL8IBjzdcXOw9dD4O61f/PeNlDmRo2bX9CMu TZgXEhulZHmq4jvDuGMR9DBb3OT0r/Cghgiy3pdMusGaS3HJIqos56xYU2Qs1pz60D viGoOG6Zf4bNw2YSsJTxArBJaocBZuoNxxXxr976gQ94BfLknmPJQwHqx79Kb1n4kY TrDa+3q16XFzA== To: 63219@debbugs.gnu.org From: Kaelyn Takata Subject: [PATCH mesa-branch 4/4] gnu: mesa: Update to 23.0.3. Message-ID: In-Reply-To: References: Feedback-ID: 34709329:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.7 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/packages/gl.scm (mesa): Update to 23.0.3. [source]: Remove obsolete patch and update HTTPS url. [arguments]: Enable the crocus gallium driver. * gnu/packages/patches/mesa-fix-sporadic-test-failu [...] Content analysis details: (1.7 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [185.70.43.22 listed in wl.mailspike.net] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (kaelyn.alexi[at]protonmail.com) -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 1.7 URIBL_BLACK Contains an URL listed in the URIBL blacklist [URIs: local.mk] X-Debbugs-Envelope-To: 63219 Cc: Kaelyn Takata 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: 0.7 (/) * gnu/packages/gl.scm (mesa): Update to 23.0.3. [source]: Remove obsolete patch and update HTTPS url. [arguments]: Enable the crocus gallium driver. * gnu/packages/patches/mesa-fix-sporadic-test-failures.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Remove it. --- gnu/local.mk | 1 - gnu/packages/gl.scm | 14 ++++------ .../mesa-fix-sporadic-test-failures.patch | 27 ------------------- 3 files changed, 5 insertions(+), 37 deletions(-) delete mode 100644 gnu/packages/patches/mesa-fix-sporadic-test-failures.pa= tch diff --git a/gnu/local.mk b/gnu/local.mk index 4976b5c740..cb260e4ece 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1558,7 +1558,6 @@ dist_patch_DATA =3D=09=09=09=09=09=09\ %D%/packages/patches/mercurial-hg-extension-path.patch=09\ %D%/packages/patches/mercurial-openssl-compat.patch=09=09\ %D%/packages/patches/mesa-opencl-all-targets.patch=09=09\ - %D%/packages/patches/mesa-fix-sporadic-test-failures.patch=09\ %D%/packages/patches/mhash-keygen-test-segfault.patch=09=09\ %D%/packages/patches/mia-fix-boost-headers.patch=09=09\ %D%/packages/patches/mia-vtk9.patch=09=09=09=09\ diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm index 09a1df4936..e93f21c374 100644 --- a/gnu/packages/gl.scm +++ b/gnu/packages/gl.scm @@ -267,21 +267,17 @@ (define libva-without-mesa (define-public mesa (package (name "mesa") - (version "22.2.4") + (version "23.0.3") (source (origin (method url-fetch) - (uri (list (string-append "https://mesa.freedesktop.org/archive/" + (uri (list (string-append "https://archive.mesa3d.org/" "mesa-" version ".tar.xz") (string-append "ftp://ftp.freedesktop.org/pub/mesa/" - "mesa-" version ".tar.xz") - (string-append "ftp://ftp.freedesktop.org/pub/mesa/" - version "/mesa-" version ".tar.xz"))) + "mesa-" version ".tar.xz"))) (sha256 (base32 - "1azpr68pdg63yq3igmzwsgn2ypg49m0mp3hfkq0lcyswr99npmv5")) - (patches - (list (search-patch "mesa-fix-sporadic-test-failures.patch"))))) + "1mcjf41x2bhxs6yxars7nh2vfryfw50g6rvbcfbb1wqdv2jn4qrq")))) (build-system meson-build-system) (propagated-inputs ;; The following are in the Requires.private field of gl.pc. @@ -330,7 +326,7 @@ (define-public mesa ((or "powerpc64le-linux" "powerpc-linux" "riscv64-linux") '("-Dgallium-drivers=3Dnouveau,r300,r600,radeonsi,swrast,vir= gl")) (_ - '("-Dgallium-drivers=3Diris,nouveau,r300,r600,radeonsi,\ + '("-Dgallium-drivers=3Dcrocus,iris,nouveau,r300,r600,radeons= i,\ svga,swrast,virgl"))) ;; Enable various optional features. TODO: opencl requires libcl= c, ;; omx requires libomxil-bellagio diff --git a/gnu/packages/patches/mesa-fix-sporadic-test-failures.patch b/g= nu/packages/patches/mesa-fix-sporadic-test-failures.patch deleted file mode 100644 index 50ac5530a2..0000000000 --- a/gnu/packages/patches/mesa-fix-sporadic-test-failures.patch +++ /dev/null @@ -1,27 +0,0 @@ -commit 7749599d737d205a88bbb6fa755ba095d9b581fa -Author: Gert Wollny -Date: Mon Aug 15 17:15:43 2022 +0200 - - r600/sfn: Initialize out buffer when printing op - - 79ca456b4837b3bc21cf9ef3c03c505c4b4909f6 - r600/sfn: rewrite NIR backend - - Closes: #7021 - - Signed-off-by: Gert Wollny - Part-of: - -diff --git a/src/gallium/drivers/r600/sfn/sfn_instr_export.cpp b/src/galli= um/drivers/r600/sfn/sfn_instr_export.cpp -index 3d40ea1796a..00826ed6457 100644 ---- a/src/gallium/drivers/r600/sfn/sfn_instr_export.cpp -+++ b/src/gallium/drivers/r600/sfn/sfn_instr_export.cpp -@@ -206,7 +206,7 @@ bool WriteScratchInstr::do_ready() const - - void WriteScratchInstr::do_print(std::ostream& os) const - { -- char buf[6]; -+ char buf[6] =3D {0}; - - os << "WRITE_SCRATCH "; - if (m_address) -- 2.39.2 From debbugs-submit-bounces@debbugs.gnu.org Tue May 02 00:44:27 2023 Received: (at 63219) by debbugs.gnu.org; 2 May 2023 04:44:27 +0000 Received: from localhost ([127.0.0.1]:41443 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pthsJ-0005Ii-0B for submit@debbugs.gnu.org; Tue, 02 May 2023 00:44:27 -0400 Received: from mail-40133.protonmail.ch ([185.70.40.133]:50737) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pthsG-0005IR-22 for 63219@debbugs.gnu.org; Tue, 02 May 2023 00:44:25 -0400 Date: Tue, 02 May 2023 04:44:11 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1683002656; x=1683261856; bh=abL49T01FaUnnuiWiAbanAWJ19wckPkCkExifB/K8t4=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=wnw0yJSNsC5Tv13uivJZoRLwTkl2IKQ+HwxSRlO9J2y2RpR65gDcq8TesXkDos1Xh rjJ0krGvlR+5BoR6P6QHjIwNWqraEeTGSiGaVqfnXbRUwnriVDVT+Re0SLxiArrlIt oR4ouuilagH+Q/sn6nuCpqo/rnawypNxA0ewkbthHFdp8sd4hcELDg65FHr5XGZNjQ OTYwmSI4GNWx7tSg+Zj0GK17VLcq2/Uz16YH3lhuntaxVFG3VuVNMAnuoq1inhCXIM 22BKbOrZucLFJLENUSIftWIkZ7TKy/dLizTGwr8mFAdYRo+JHfhGWnJeh8RLKN3/E/ osLoGIxJlUFVQ== To: 63219@debbugs.gnu.org From: Kaelyn Takata Subject: [PATCH mesa-branch v2 2/4] gnu: mesa: Use gexps instead of quasiquote. Message-ID: <25a13f2aeea918cbee30449f2c216f7f436d568e.1683002606.git.kaelyn.alexi@protonmail.com> Feedback-ID: 34709329:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 63219 Cc: Kaelyn Takata 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.0 (-) * gnu/packages/gl.scm (mesa)[arguments]: Use gexps instead of quasiquote. --- gnu/packages/gl.scm | 48 +++++++++++++++++++++++---------------------- 1 file changed, 25 insertions(+), 23 deletions(-) diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm index 6521170ebb..f705b864f1 100644 --- a/gnu/packages/gl.scm +++ b/gnu/packages/gl.scm @@ -315,8 +315,10 @@ (define-public mesa (@ (gnu packages base) which))) (outputs '("out" "bin")) (arguments - `(#:configure-flags - '(,@(match (%current-system) + (list + #:configure-flags + #~(list + #$@(match (%current-system) ("aarch64-linux" ;; TODO: Fix svga driver for non-Intel architectures. '("-Dgallium-drivers=3Detnaviv,freedreno,kmsro,lima,nouveau,= \ @@ -345,7 +347,7 @@ (define-public mesa "-Dshared-glapi=3Denabled" ;; Explicitly enable Vulkan on some architectures. - ,@(match (%current-system) + #$@(match (%current-system) ((or "i686-linux" "x86_64-linux") '("-Dvulkan-drivers=3Dintel,amd")) ((or "powerpc64le-linux" "powerpc-linux") @@ -369,12 +371,12 @@ (define-public mesa ;; documentation recommends using 'release' for performance anyway. #:build-type "release" - #:modules ((ice-9 match) - (srfi srfi-1) - (guix build utils) - (guix build meson-build-system)) + #:modules '((ice-9 match) + (srfi srfi-1) + (guix build utils) + (guix build meson-build-system)) #:phases - (modify-phases %standard-phases + #~(modify-phases %standard-phases (add-after 'unpack 'disable-failing-test (lambda _ ;; Disable the intel vulkan (anv_state_pool) tests, as they m= ay @@ -383,7 +385,7 @@ (define-public mesa (substitute* "src/intel/vulkan/meson.build" (("if with_tests") "if false")) - ,@(match (%current-system) + #$@(match (%current-system) ("riscv64-linux" ;; According to the test logs the llvm JIT is not design= ed ;; for this architecture and the llvmpipe tests all segf= ault. @@ -428,8 +430,8 @@ (define-public mesa (_ '((display "No tests to disable on this architecture.\n"= )))))) (add-before 'configure 'fix-dlopen-libnames - (lambda* (#:key inputs outputs #:allow-other-keys) - (let ((out (assoc-ref outputs "out"))) + (lambda _ + (let ((out #$output)) ;; Remain agnostic to .so.X.Y.Z versions while doing ;; the substitutions so we're future-safe. (substitute* "src/glx/meson.build" @@ -446,9 +448,9 @@ (define-public mesa (("\"gbm_dri\\.so") (string-append "\"" out "/lib/dri/gbm_dri.so")))))) (add-after 'install 'split-outputs - (lambda* (#:key outputs #:allow-other-keys) - (let ((out (assoc-ref outputs "out")) - (bin (assoc-ref outputs "bin"))) + (lambda _ + (let ((out #$output) + (bin #$output:bin)) ;; Not all architectures have the Vulkan overlay control sc= ript. (mkdir-p (string-append out "/bin")) (call-with-output-file (string-append out "/bin/.empty") @@ -457,13 +459,13 @@ (define-public mesa (string-append bin "/bin")) (delete-file-recursively (string-append out "/bin"))))) (add-after 'install 'symlinks-instead-of-hard-links - (lambda* (#:key outputs #:allow-other-keys) + (lambda _ ;; All the drivers and gallium targets create hard links upon ;; installation (search for "hardlink each megadriver instanc= e" ;; in the makefiles). This is no good for us since we'd prod= uce ;; nars that contain several copies of these files. Thus, tu= rn ;; them into symlinks, which saves ~124 MiB. - (let* ((out (assoc-ref outputs "out")) + (let* ((out #$output) (lib (string-append out "/lib")) (files (find-files lib (lambda (file stat) @@ -491,8 +493,8 @@ (define-public mesa others)))) (delete-duplicates inodes))))) (add-after 'install 'set-layer-path-in-manifests - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) + (lambda _ + (let* ((out #$output) (implicit-path (string-append out "/share/vulkan/implicit_layer.d/")) @@ -529,7 +531,7 @@ (define-public mesa-opencl (arguments (substitute-keyword-arguments (package-arguments mesa) ((#:configure-flags flags) - `(cons "-Dgallium-opencl=3Dstandalone" ,flags)))) + #~(cons "-Dgallium-opencl=3Dstandalone" #$flags)))) (inputs (modify-inputs (package-inputs mesa) (prepend libclc))) @@ -543,10 +545,10 @@ (define-public mesa-opencl-icd (arguments (substitute-keyword-arguments (package-arguments mesa) ((#:configure-flags flags) - `(cons "-Dgallium-opencl=3Dicd" - ,(delete "-Dgallium-opencl=3Dstandalone" flags))) + #~(cons "-Dgallium-opencl=3Dicd" + (delete "-Dgallium-opencl=3Dstandalone" #$flags))) ((#:phases phases) - `(modify-phases ,phases + #~(modify-phases #$phases (add-after 'install 'mesa-icd-absolute-path (lambda _ ;; Use absolute path for OpenCL platform library. @@ -554,7 +556,7 @@ (define-public mesa-opencl-icd ;; for ICD in our applications to find OpenCL platform. (use-modules (guix build utils) (ice-9 textual-ports)) - (let* ((out (assoc-ref %outputs "out")) + (let* ((out #$output) (mesa-icd (string-append out "/etc/OpenCL/vendors/m= esa.icd")) (old-path (call-with-input-file mesa-icd get-string= -all)) (new-path (string-append out "/lib/" (string-trim-b= oth old-path)))) -- 2.39.2 From debbugs-submit-bounces@debbugs.gnu.org Thu May 04 16:12:35 2023 Received: (at 63219) by debbugs.gnu.org; 4 May 2023 20:12:35 +0000 Received: from localhost ([127.0.0.1]:52139 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pufJb-00087Z-7P for submit@debbugs.gnu.org; Thu, 04 May 2023 16:12:35 -0400 Received: from mail-4322.protonmail.ch ([185.70.43.22]:12005) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pufJY-00087G-Iv for 63219@debbugs.gnu.org; Thu, 04 May 2023 16:12:33 -0400 Date: Thu, 04 May 2023 20:12:20 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1683231145; x=1683490345; bh=OsfpeHABrpzU4Jxi4+tur8pfcV9SBHidn8+KVKPB538=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=vBc1kX8PWWnsigE51yurnwgW/YyXxZwUjooXvlsGshKYrkTEj/dcQjwOXP9uKv4ae TDrjwdoS55gR+qr9aaTGOmfufCrE/Nj3h767/v+LpYy4+wm3AnPD0Wkb4M7K46PlSV pXyR2VAxvGo32VZl3y/qPqprw2gBJLJkitRVet89oh8jFaXi1WgHvbyejyVFeLN9Ye 82piirq8Gp0OmGpCE2hIBijUBxi29nrHJ9klI+oJI9uFb+OyMzYZnBqrHgka4v5f+3 cvi+szQtck137EME62P7OgOkiUv2q+GWV1XIz+1C9ikOIPSs0sXE8hgi4XKtPDlCUg VjJCem20coSiQ== To: 63219@debbugs.gnu.org From: Kaelyn Takata Subject: [PATCH mesa-branch v3 0/4] Mesa update plus various fixes and cleanups. Message-ID: Feedback-ID: 34709329:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 63219 Cc: Kaelyn Takata 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.0 (-) v2: * updated gexp patch to also use gexps in the packages inheriting from mesa= . v3: * rebased and properly re-sent. Kaelyn Takata (4): gnu: mesa: Fix library paths in Vulkan layer manifests. gnu: mesa: Use gexps instead of quasiquote. gnu: mesa: Fix hardware video decoding. gnu: mesa: Update to 23.0.3. gnu/local.mk | 1 - gnu/packages/gl.scm | 91 ++++++++++++------- .../mesa-fix-sporadic-test-failures.patch | 27 ------ 3 files changed, 60 insertions(+), 59 deletions(-) delete mode 100644 gnu/packages/patches/mesa-fix-sporadic-test-failures.pa= tch base-commit: 0584f5b48987c058e2dd694c2bc886b7aa40e15d -- 2.39.2 From debbugs-submit-bounces@debbugs.gnu.org Thu May 04 16:12:41 2023 Received: (at 63219) by debbugs.gnu.org; 4 May 2023 20:12:42 +0000 Received: from localhost ([127.0.0.1]:52143 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pufJh-00087v-HB for submit@debbugs.gnu.org; Thu, 04 May 2023 16:12:41 -0400 Received: from mail-4322.protonmail.ch ([185.70.43.22]:56835) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pufJf-00087Y-GS for 63219@debbugs.gnu.org; Thu, 04 May 2023 16:12:40 -0400 Date: Thu, 04 May 2023 20:12:26 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1683231153; x=1683490353; bh=vixj9XIYRm2gNp2J6c7vSww3fUz3dCObaj2JEM+6ezA=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=ZqziUhFXx8BkE3Bs0vyjjvhw5WqnzLPul9RBvED7jgHLNYjrgPoE1nEYXKlxpJ4XD Nj1QpneHvlDXZ40NG8NZdbNRxvC5WFyO7FQmudDjQOdZzGQUu6BmSMVb8HkRsSwQ1B oN+qk2JHQZUrM2eT1+OSNBWksofA8F9D4PzsV/gmcCG21OZh2NESzG5pp+mWZEPoHJ hxK8T+YlO1MtBLzV5X8b6tNzk069XnHQHZhkOKfqBgaIA0KtqBNb5Vx7xCsTqXftk2 INtaNl/kTiKJZhYX+jPqc+mMQGTgFV9gexzxfajjGbFxxLaDVL/5nKgmWsDiYwbldu uRT1s6boxdD8Q== To: 63219@debbugs.gnu.org From: Kaelyn Takata Subject: [PATCH mesa-branch v3 1/4] gnu: mesa: Fix library paths in Vulkan layer manifests. Message-ID: <4b3b466bdacfc3c1196ce0a7198559a52c0a020d.1683230943.git.kaelyn.alexi@protonmail.com> In-Reply-To: References: Feedback-ID: 34709329:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 63219 Cc: Kaelyn Takata 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.0 (-) * gnu/packages/gl.scm (mesa): Fix library paths in Vulkan layer manifests. --- gnu/packages/gl.scm | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm index 3a63d70c7a..6521170ebb 100644 --- a/gnu/packages/gl.scm +++ b/gnu/packages/gl.scm @@ -17,6 +17,7 @@ ;;; Copyright =C2=A9 2021 Ivan Gankevich ;;; Copyright =C2=A9 2021, 2022 John Kehayias ;;; Copyright =C2=A9 2022 Petr Hodina +;;; Copyright =C2=A9 2023 Kaelyn Takata ;;; ;;; This file is part of GNU Guix. ;;; @@ -488,7 +489,28 @@ (define-public mesa file) (symlink reference file))) others)))) - (delete-duplicates inodes)))))))) + (delete-duplicates inodes))))) + (add-after 'install 'set-layer-path-in-manifests + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (implicit-path (string-append + out + "/share/vulkan/implicit_layer.d/")) + (explicit-path (string-append + out + "/share/vulkan/explicit_layer.d/")) + (fix-layer-path + (lambda (layer-name) + (let* ((explicit (string-append explicit-path layer= -name ".json")) + (implicit (string-append implicit-path layer= -name ".json")) + (manifest (if (file-exists? explicit) + explicit + implicit))) + (substitute* manifest + (((string-append "\"lib" layer-name ".so\"")) + (string-append "\"" out "/lib/lib" layer-name= ".so\""))))))) + (for-each fix-layer-path '("VkLayer_MESA_device_select" + "VkLayer_MESA_overlay")))))))) (home-page "https://mesa3d.org/") (synopsis "OpenGL and Vulkan implementations") (description "Mesa is a free implementation of the OpenGL and Vulkan -- 2.39.2 From debbugs-submit-bounces@debbugs.gnu.org Thu May 04 16:12:57 2023 Received: (at 63219) by debbugs.gnu.org; 4 May 2023 20:12:57 +0000 Received: from localhost ([127.0.0.1]:52149 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pufJw-00088R-UW for submit@debbugs.gnu.org; Thu, 04 May 2023 16:12:57 -0400 Received: from mail-4316.protonmail.ch ([185.70.43.16]:37965) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pufJu-000889-2d for 63219@debbugs.gnu.org; Thu, 04 May 2023 16:12:56 -0400 Date: Thu, 04 May 2023 20:12:39 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1683231168; x=1683490368; bh=w0LCqe1QyYnr34DxQea7riOgQ8saTByCBXgHCuY+Ht0=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=eJ0vRlk2TYTCMrP05PuzA7k21YQhDJnvkbi8LMRW3sLiVsM0fT9ATsdEyBPaWIFsg S7pdsz/3RxN9gwLTcOvNHhAhRKIq2vVIiVwnf5Id27TZy+LH0/Pmp53JkCP8pfNa/k KuHrFnb6wpVpyZf/L98dbPrA9jI9hvh6cxdhYkq0BYFQCCkSH7DdZnWFHl6o6/CyNz wFTjbbDRe+YxnExlDvf+9S6xpjBD7NMd3u14L4tf4XCXcMBesSJ2tSvd0/mVeuD5FF Tby7rLiuN3rAydGOPbgiFK9xMy1Qhx2g2S4xmG+rd4i8dpcen26rBSqm+O/VrrH9WI qKuHYoK8wjBiA== To: 63219@debbugs.gnu.org From: Kaelyn Takata Subject: [PATCH mesa-branch v3 3/4] gnu: mesa: Fix hardware video decoding. Message-ID: <50d525c2c364d0a64c92b4f956eab304e370e102.1683230943.git.kaelyn.alexi@protonmail.com> In-Reply-To: References: Feedback-ID: 34709329:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 63219 Cc: Kaelyn Takata 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.0 (-) * gnu/packages/gl.scm (mesa): Fix hardware video decoding. [arguments]: Add -Dvideo-codecs to the #:configure-flags [native-search-paths]: Add VDPAU_DRIVER_PATH so libvdpau can find the drive= rs. --- gnu/packages/gl.scm | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm index f705b864f1..5248151a95 100644 --- a/gnu/packages/gl.scm +++ b/gnu/packages/gl.scm @@ -362,6 +362,10 @@ (define-public mesa ;; Enable the Vulkan overlay layer on all architectures. "-Dvulkan-layers=3Ddevice-select,overlay" + ;; Enable the codecs that were built by default as part of the + ;; 21.3.x releases to avoid functionality regressions. + "-Dvideo-codecs=3Dvc1dec,h264dec,h264enc,h265dec,h265enc" + ;; Also enable the tests. "-Dbuild-tests=3Dtrue" @@ -513,6 +517,11 @@ (define-public mesa (string-append "\"" out "/lib/lib" layer-name= ".so\""))))))) (for-each fix-layer-path '("VkLayer_MESA_device_select" "VkLayer_MESA_overlay")))))))) + (native-search-paths + (list (search-path-specification + ;; Ensure the Mesa VDPAU drivers can be found. + (variable "VDPAU_DRIVER_PATH") + (files '("lib/vdpau"))))) (home-page "https://mesa3d.org/") (synopsis "OpenGL and Vulkan implementations") (description "Mesa is a free implementation of the OpenGL and Vulkan -- 2.39.2 From debbugs-submit-bounces@debbugs.gnu.org Thu May 04 16:12:59 2023 Received: (at 63219) by debbugs.gnu.org; 4 May 2023 20:12:59 +0000 Received: from localhost ([127.0.0.1]:52151 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pufJz-00088g-7c for submit@debbugs.gnu.org; Thu, 04 May 2023 16:12:59 -0400 Received: from mail-4322.protonmail.ch ([185.70.43.22]:41375) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pufJw-00088E-M3 for 63219@debbugs.gnu.org; Thu, 04 May 2023 16:12:58 -0400 Date: Thu, 04 May 2023 20:12:32 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1683231170; x=1683490370; bh=abL49T01FaUnnuiWiAbanAWJ19wckPkCkExifB/K8t4=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=nv4wAdKyDKd9HQiyEs9PRWdPQBIIg+YkWTfkK5dyy/LdNa0gEW5XdzHzFSoslFEtg YueIpquz/DF9e2wFl5xF9OtH+6iBRiXNMmC84sHg8TlApTwZ4eUbSA1SttAeTG4kSW /aFfG668qJpiOIblr/kvW4dwAG36clYmS7Nr3af/F3hdvY4+C8rlZbxANGvPOJTMRk XS+Pw9kYfn7j+DkoulU6maBV//x+9Oq1ZmmEnJQsYaPPZ739B74Nv539Lkl24rnUKJ Nec2wCA8eSK9JtAY14hUf2VzuJ2Dvizd3BkyzaH4zF4wbqi/pyc1qYAaKoxJQ/Vxg0 w+xqsiv6mHsiA== To: 63219@debbugs.gnu.org From: Kaelyn Takata Subject: [PATCH mesa-branch v3 2/4] gnu: mesa: Use gexps instead of quasiquote. Message-ID: <7ff21afd6c6446d9f986ecf6982b41722fed81ac.1683230943.git.kaelyn.alexi@protonmail.com> In-Reply-To: References: Feedback-ID: 34709329:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 63219 Cc: Kaelyn Takata 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.0 (-) * gnu/packages/gl.scm (mesa)[arguments]: Use gexps instead of quasiquote. --- gnu/packages/gl.scm | 48 +++++++++++++++++++++++---------------------- 1 file changed, 25 insertions(+), 23 deletions(-) diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm index 6521170ebb..f705b864f1 100644 --- a/gnu/packages/gl.scm +++ b/gnu/packages/gl.scm @@ -315,8 +315,10 @@ (define-public mesa (@ (gnu packages base) which))) (outputs '("out" "bin")) (arguments - `(#:configure-flags - '(,@(match (%current-system) + (list + #:configure-flags + #~(list + #$@(match (%current-system) ("aarch64-linux" ;; TODO: Fix svga driver for non-Intel architectures. '("-Dgallium-drivers=3Detnaviv,freedreno,kmsro,lima,nouveau,= \ @@ -345,7 +347,7 @@ (define-public mesa "-Dshared-glapi=3Denabled" ;; Explicitly enable Vulkan on some architectures. - ,@(match (%current-system) + #$@(match (%current-system) ((or "i686-linux" "x86_64-linux") '("-Dvulkan-drivers=3Dintel,amd")) ((or "powerpc64le-linux" "powerpc-linux") @@ -369,12 +371,12 @@ (define-public mesa ;; documentation recommends using 'release' for performance anyway. #:build-type "release" - #:modules ((ice-9 match) - (srfi srfi-1) - (guix build utils) - (guix build meson-build-system)) + #:modules '((ice-9 match) + (srfi srfi-1) + (guix build utils) + (guix build meson-build-system)) #:phases - (modify-phases %standard-phases + #~(modify-phases %standard-phases (add-after 'unpack 'disable-failing-test (lambda _ ;; Disable the intel vulkan (anv_state_pool) tests, as they m= ay @@ -383,7 +385,7 @@ (define-public mesa (substitute* "src/intel/vulkan/meson.build" (("if with_tests") "if false")) - ,@(match (%current-system) + #$@(match (%current-system) ("riscv64-linux" ;; According to the test logs the llvm JIT is not design= ed ;; for this architecture and the llvmpipe tests all segf= ault. @@ -428,8 +430,8 @@ (define-public mesa (_ '((display "No tests to disable on this architecture.\n"= )))))) (add-before 'configure 'fix-dlopen-libnames - (lambda* (#:key inputs outputs #:allow-other-keys) - (let ((out (assoc-ref outputs "out"))) + (lambda _ + (let ((out #$output)) ;; Remain agnostic to .so.X.Y.Z versions while doing ;; the substitutions so we're future-safe. (substitute* "src/glx/meson.build" @@ -446,9 +448,9 @@ (define-public mesa (("\"gbm_dri\\.so") (string-append "\"" out "/lib/dri/gbm_dri.so")))))) (add-after 'install 'split-outputs - (lambda* (#:key outputs #:allow-other-keys) - (let ((out (assoc-ref outputs "out")) - (bin (assoc-ref outputs "bin"))) + (lambda _ + (let ((out #$output) + (bin #$output:bin)) ;; Not all architectures have the Vulkan overlay control sc= ript. (mkdir-p (string-append out "/bin")) (call-with-output-file (string-append out "/bin/.empty") @@ -457,13 +459,13 @@ (define-public mesa (string-append bin "/bin")) (delete-file-recursively (string-append out "/bin"))))) (add-after 'install 'symlinks-instead-of-hard-links - (lambda* (#:key outputs #:allow-other-keys) + (lambda _ ;; All the drivers and gallium targets create hard links upon ;; installation (search for "hardlink each megadriver instanc= e" ;; in the makefiles). This is no good for us since we'd prod= uce ;; nars that contain several copies of these files. Thus, tu= rn ;; them into symlinks, which saves ~124 MiB. - (let* ((out (assoc-ref outputs "out")) + (let* ((out #$output) (lib (string-append out "/lib")) (files (find-files lib (lambda (file stat) @@ -491,8 +493,8 @@ (define-public mesa others)))) (delete-duplicates inodes))))) (add-after 'install 'set-layer-path-in-manifests - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) + (lambda _ + (let* ((out #$output) (implicit-path (string-append out "/share/vulkan/implicit_layer.d/")) @@ -529,7 +531,7 @@ (define-public mesa-opencl (arguments (substitute-keyword-arguments (package-arguments mesa) ((#:configure-flags flags) - `(cons "-Dgallium-opencl=3Dstandalone" ,flags)))) + #~(cons "-Dgallium-opencl=3Dstandalone" #$flags)))) (inputs (modify-inputs (package-inputs mesa) (prepend libclc))) @@ -543,10 +545,10 @@ (define-public mesa-opencl-icd (arguments (substitute-keyword-arguments (package-arguments mesa) ((#:configure-flags flags) - `(cons "-Dgallium-opencl=3Dicd" - ,(delete "-Dgallium-opencl=3Dstandalone" flags))) + #~(cons "-Dgallium-opencl=3Dicd" + (delete "-Dgallium-opencl=3Dstandalone" #$flags))) ((#:phases phases) - `(modify-phases ,phases + #~(modify-phases #$phases (add-after 'install 'mesa-icd-absolute-path (lambda _ ;; Use absolute path for OpenCL platform library. @@ -554,7 +556,7 @@ (define-public mesa-opencl-icd ;; for ICD in our applications to find OpenCL platform. (use-modules (guix build utils) (ice-9 textual-ports)) - (let* ((out (assoc-ref %outputs "out")) + (let* ((out #$output) (mesa-icd (string-append out "/etc/OpenCL/vendors/m= esa.icd")) (old-path (call-with-input-file mesa-icd get-string= -all)) (new-path (string-append out "/lib/" (string-trim-b= oth old-path)))) -- 2.39.2 From debbugs-submit-bounces@debbugs.gnu.org Thu May 04 16:13:05 2023 Received: (at 63219) by debbugs.gnu.org; 4 May 2023 20:13:05 +0000 Received: from localhost ([127.0.0.1]:52159 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pufK4-00089k-Ql for submit@debbugs.gnu.org; Thu, 04 May 2023 16:13:05 -0400 Received: from mail-4322.protonmail.ch ([185.70.43.22]:11195) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pufK2-00088Y-IO for 63219@debbugs.gnu.org; Thu, 04 May 2023 16:13:03 -0400 Date: Thu, 04 May 2023 20:12:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1683231176; x=1683490376; bh=Ah9i9X9QyKv5O360atIvzNRcMparYCvvQ2jCkY0eGsk=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=j5yA2SzOPLojadd1srRdM+of3QmoVw7fmDjejH/RMglMMCr12xXvmA7g+8/F0GuzM TSbsGE6ifTWp0DevQqX4IHyD1EF7Wh9bBssus9SH/THFbVdGK7AOqu8wcbHtkkmR5a ST5lzDEd1UWuy8OHRup22PPfurDFhQeJYsvGTRKIZW19cwwIMc9pB8YiZHP1acRYNj 60Qh/oSb/z29qX8umeLidDIW/SMwkTfoUpDaxPD+kRdh+IY5lO1MVpQFBbE2jsy/Kq J5rmoYvFHz97++oonjnWFi95QbC4zrtZmmdur6155E5LqmE7eEUF3MCQOg7zAQTRqN wvhACkdhSDbtw== To: 63219@debbugs.gnu.org From: Kaelyn Takata Subject: [PATCH mesa-branch v3 4/4] gnu: mesa: Update to 23.0.3. Message-ID: In-Reply-To: References: Feedback-ID: 34709329:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 63219 Cc: Kaelyn Takata 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.0 (-) * gnu/packages/gl.scm (mesa): Update to 23.0.3. [source]: Remove obsolete patch and update HTTPS url. [arguments]: Enable the crocus gallium driver. * gnu/packages/patches/mesa-fix-sporadic-test-failures.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Remove it. --- gnu/local.mk | 1 - gnu/packages/gl.scm | 14 ++++------ .../mesa-fix-sporadic-test-failures.patch | 27 ------------------- 3 files changed, 5 insertions(+), 37 deletions(-) delete mode 100644 gnu/packages/patches/mesa-fix-sporadic-test-failures.pa= tch diff --git a/gnu/local.mk b/gnu/local.mk index 5f5de953d7..9a801f3f3e 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1559,7 +1559,6 @@ dist_patch_DATA =3D=09=09=09=09=09=09\ %D%/packages/patches/mercurial-hg-extension-path.patch=09\ %D%/packages/patches/mercurial-openssl-compat.patch=09=09\ %D%/packages/patches/mesa-opencl-all-targets.patch=09=09\ - %D%/packages/patches/mesa-fix-sporadic-test-failures.patch=09\ %D%/packages/patches/mhash-keygen-test-segfault.patch=09=09\ %D%/packages/patches/mia-fix-boost-headers.patch=09=09\ %D%/packages/patches/mia-vtk9.patch=09=09=09=09\ diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm index 5248151a95..235b386dad 100644 --- a/gnu/packages/gl.scm +++ b/gnu/packages/gl.scm @@ -267,21 +267,17 @@ (define libva-without-mesa (define-public mesa (package (name "mesa") - (version "22.2.4") + (version "23.0.3") (source (origin (method url-fetch) - (uri (list (string-append "https://mesa.freedesktop.org/archive/" + (uri (list (string-append "https://archive.mesa3d.org/" "mesa-" version ".tar.xz") (string-append "ftp://ftp.freedesktop.org/pub/mesa/" - "mesa-" version ".tar.xz") - (string-append "ftp://ftp.freedesktop.org/pub/mesa/" - version "/mesa-" version ".tar.xz"))) + "mesa-" version ".tar.xz"))) (sha256 (base32 - "1azpr68pdg63yq3igmzwsgn2ypg49m0mp3hfkq0lcyswr99npmv5")) - (patches - (list (search-patch "mesa-fix-sporadic-test-failures.patch"))))) + "1mcjf41x2bhxs6yxars7nh2vfryfw50g6rvbcfbb1wqdv2jn4qrq")))) (build-system meson-build-system) (propagated-inputs ;; The following are in the Requires.private field of gl.pc. @@ -330,7 +326,7 @@ (define-public mesa ((or "powerpc64le-linux" "powerpc-linux" "riscv64-linux") '("-Dgallium-drivers=3Dnouveau,r300,r600,radeonsi,swrast,vir= gl")) (_ - '("-Dgallium-drivers=3Diris,nouveau,r300,r600,radeonsi,\ + '("-Dgallium-drivers=3Dcrocus,iris,nouveau,r300,r600,radeons= i,\ svga,swrast,virgl"))) ;; Enable various optional features. TODO: opencl requires libcl= c, ;; omx requires libomxil-bellagio diff --git a/gnu/packages/patches/mesa-fix-sporadic-test-failures.patch b/g= nu/packages/patches/mesa-fix-sporadic-test-failures.patch deleted file mode 100644 index 50ac5530a2..0000000000 --- a/gnu/packages/patches/mesa-fix-sporadic-test-failures.patch +++ /dev/null @@ -1,27 +0,0 @@ -commit 7749599d737d205a88bbb6fa755ba095d9b581fa -Author: Gert Wollny -Date: Mon Aug 15 17:15:43 2022 +0200 - - r600/sfn: Initialize out buffer when printing op - - 79ca456b4837b3bc21cf9ef3c03c505c4b4909f6 - r600/sfn: rewrite NIR backend - - Closes: #7021 - - Signed-off-by: Gert Wollny - Part-of: - -diff --git a/src/gallium/drivers/r600/sfn/sfn_instr_export.cpp b/src/galli= um/drivers/r600/sfn/sfn_instr_export.cpp -index 3d40ea1796a..00826ed6457 100644 ---- a/src/gallium/drivers/r600/sfn/sfn_instr_export.cpp -+++ b/src/gallium/drivers/r600/sfn/sfn_instr_export.cpp -@@ -206,7 +206,7 @@ bool WriteScratchInstr::do_ready() const - - void WriteScratchInstr::do_print(std::ostream& os) const - { -- char buf[6]; -+ char buf[6] =3D {0}; - - os << "WRITE_SCRATCH "; - if (m_address) -- 2.39.2 From debbugs-submit-bounces@debbugs.gnu.org Fri May 05 02:34:42 2023 Received: (at 63219) by debbugs.gnu.org; 5 May 2023 06:34:42 +0000 Received: from localhost ([127.0.0.1]:52972 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pup1d-0007wx-V9 for submit@debbugs.gnu.org; Fri, 05 May 2023 02:34:42 -0400 Received: from mout-p-102.mailbox.org ([80.241.56.152]:59066) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pup1a-0007wV-0E for 63219@debbugs.gnu.org; Fri, 05 May 2023 02:34:40 -0400 Received: from smtp202.mailbox.org (smtp202.mailbox.org [10.196.197.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4QCLWT5GMdz9src; Fri, 5 May 2023 08:34:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brendan.scot; s=MBO0001; t=1683268470; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=l6cnX+S8e8oZz+Qy62/3x2eY0aI1HnHTypW9YR+yIRE=; b=FAdluE/jsC6P9mYyCMeev46f5tJAFeonNh3LsLNfvLlOSyB4VszmfG7sjfKYsBxBbH34O4 KG0bl+FTv0gLEcg5ukyJrnf+QgMI2egNMOXXxPcS4+ZedyU0OwTx9lQtwjZL6z5eLypTm5 H9z7OCXNXY6plb8wiyiBfdGfGs+h1fPdrXpfNFNcBlJlQUY1/7IakVenaR7T0IMQy2k1b+ xM3KtQMtwhIrSptiZih6cUMdRJE3r4buRfNrcRhJYH+/FqeL6nyTmyJpM3WzVMmZ8ac5nn HdiDwyGEseje4aHF8EtjRHF73psAqWFwVq+8qcppyApA4PiuAnuo5Y47nFs6Qw== Message-ID: <42655d46-f9a9-8556-df5c-78901bb29129@brendan.scot> Date: Fri, 5 May 2023 06:34:22 +0000 MIME-Version: 1.0 To: 63219@debbugs.gnu.org Subject: [PATCH mesa-branch 0/4] Mesa update plus various fixes and cleanups. Content-Language: en-US From: Brendan Tildesley Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 63219 Cc: Kaelyn Takata 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: , Reply-To: mail@brendan.scot Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) You're a legend! The -Dvideo-codecs= line fixed an important regression for me. I think it would also be desirable to update libva and libva-utils along with this patchset. Also, mesa 23.1.0 will be out soon, although I think it's more important to get this fix/update in master asap to get things working for people. From debbugs-submit-bounces@debbugs.gnu.org Sun May 07 13:07:10 2023 Received: (at 63219) by debbugs.gnu.org; 7 May 2023 17:07:10 +0000 Received: from localhost ([127.0.0.1]:38330 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pvhqo-0005sJ-Bd for submit@debbugs.gnu.org; Sun, 07 May 2023 13:07:10 -0400 Received: from mail-qt1-f174.google.com ([209.85.160.174]:53523) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pvhqm-0005s5-O0 for 63219@debbugs.gnu.org; Sun, 07 May 2023 13:07:09 -0400 Received: by mail-qt1-f174.google.com with SMTP id d75a77b69052e-3ef33f12995so20189061cf.3 for <63219@debbugs.gnu.org>; Sun, 07 May 2023 10:07:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683479223; x=1686071223; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=8fSrFqszemvxQduFle3HBpN4kb/mRC/Jk2PbPTmTnn0=; b=nt/Az5Dd+3iOq8sJGc7Heduvq800KnJiElrxgvEPa3q0v0u/T1WuQfvWR+ANjmDF2x MBZPXdGstZ8W11d1ER1V4BpDOYXW119O1lVR3tLHIB7UgK3CxtZQ3FtSmrzYb5ToGOMK Y+W/cmfEKFjPpPUVllHZzxi2LArJLpMgn8tAuuxML5emUZ1vhu6OuihxRj57YH7k2vzg 4kiQArIkQHV6hb6XXOMMSMHIBeHlEvgSDm8QXWK6EGAh3ObRltarvm2hLuuJnRDtM6ZM UqLM15QGDqKHh9TPqae/eF6Jv5xHCOIr+QfXHo4Mt6UzCWnuSW462CDZmmat7IoTXjsI H6vQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683479223; x=1686071223; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=8fSrFqszemvxQduFle3HBpN4kb/mRC/Jk2PbPTmTnn0=; b=iRYAc91g4WrPEnVuiLJPtV5rjLw6D3Dt7GLQMS1edLZEsAq3n2QXBh5ZBiuvuFkFu2 fxpZB5sjGvLLrEqc99t4CujzS7zaeenpR9F26HVELfPaXhXCAYHfBM/pye/Lt6WKTERi SVMX7p/MT9NXkaaUECm9F4AlhoZN2mvfIuoDWOtZNac4XA0ZWaUESb7TySnhT1vmr+es w/FWpSDXIy2mD+aA3fSEwy1gWAmpm98+tr8q0cNCHbYAQK64UkgibyjX+2spdaspD30J MKmYx3KNvzUsBLQWbhN3jWRvsdW4u6xOaZ8gJ+iFzEZNGE1WkqihuapAVo50ZkrY8OSP ogNA== X-Gm-Message-State: AC+VfDwanpNOd/cxE3Bx4SirZrPoST7s/HhbQfBpo1oeo7Cpz3FwRbeA yW1xpTXUrlUgQcUvoDykQt68nf/z1MfU/w== X-Google-Smtp-Source: ACHHUZ56CmO222RHkCMEh07VdJzIcsGH2G3jPLRFCXG2lAXUU0fs0VfoSfID8ud4Gw2xGLBlzXuk0w== X-Received: by 2002:a05:622a:614:b0:3f2:1c13:b5a8 with SMTP id z20-20020a05622a061400b003f21c13b5a8mr11542077qta.50.1683479223157; Sun, 07 May 2023 10:07:03 -0700 (PDT) Received: from hurd (dsl-10-131-119.b2b2c.ca. [72.10.131.119]) by smtp.gmail.com with ESMTPSA id ca21-20020a05622a1f1500b003e68dfab0b4sm2294605qtb.95.2023.05.07.10.07.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 May 2023 10:07:02 -0700 (PDT) From: Maxim Cournoyer To: Kaelyn Takata Subject: Re: bug#63219: [PATCH mesa-branch 0/4] Mesa update plus various fixes and cleanups. References: <42655d46-f9a9-8556-df5c-78901bb29129@brendan.scot> Date: Sun, 07 May 2023 13:07:01 -0400 In-Reply-To: <42655d46-f9a9-8556-df5c-78901bb29129@brendan.scot> (Brendan Tildesley's message of "Fri, 5 May 2023 06:34:22 +0000") Message-ID: <87cz3cyssq.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 63219 Cc: 63219@debbugs.gnu.org, Brendan Tildesley 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.0 (-) Hi, Brendan Tildesley writes: > You're a legend! The -Dvideo-codecs= line fixed an important > regression for me. > I think it would also be desirable to update libva and libva-utils > along with this patchset. > Also, mesa 23.1.0 will be out soon, although I think it's more > important to get this fix/update in > master asap to get things working for people. Pushed the mesa updates to master, along with the libva info updates; thanks a lot to Kaelyn for working on this important update! -- Thanks, Maxim From debbugs-submit-bounces@debbugs.gnu.org Sun May 07 15:36:17 2023 Received: (at 63219) by debbugs.gnu.org; 7 May 2023 19:36:17 +0000 Received: from localhost ([127.0.0.1]:38550 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pvkB7-0001dk-4F for submit@debbugs.gnu.org; Sun, 07 May 2023 15:36:17 -0400 Received: from mail-4322.protonmail.ch ([185.70.43.22]:31475) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pvkB4-0001dV-SL for 63219@debbugs.gnu.org; Sun, 07 May 2023 15:36:16 -0400 Date: Sun, 07 May 2023 19:35:58 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1683488168; x=1683747368; bh=veMR0bwlqkPGuFVWgGO8L3GF3OKw4ogSPw0jhPL/S0I=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=lCEhnvSJDOOG9ywBsWPuZNcQcUAIXhOeqKuBMwBMR09HW/paTnNCI38tQqFRdlPmD 5OzbM6gOlUJyGn4Qe/7pz8mN1ckm0wPdhUQf8O80SxajhvicN5lgd7P76K4ZwohW9Z /1kIS5huMTFWhPMrt8443kRPtLyPpMiGp7LddjIUkZs4YCdvt5U16EX/NXnSEw/c+b 4XA1mCRkV07VySdo0Rft4TrnX2V01QvUT3z1JRodFv7JEPrg3OKh1faT/iZAp/unux Z2SIQdaRshMkHnTF0wrE52YSEVgZcttwg7Ov3qQIjikb4X0Gk1DtEf80uhX2YRUSKq tfijUmB7by++Q== To: Maxim Cournoyer From: Kaelyn Subject: Re: bug#63219: [PATCH mesa-branch 0/4] Mesa update plus various fixes and cleanups. Message-ID: In-Reply-To: <87cz3cyssq.fsf_-_@gmail.com> References: <42655d46-f9a9-8556-df5c-78901bb29129@brendan.scot> <87cz3cyssq.fsf_-_@gmail.com> Feedback-ID: 34709329:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 63219 Cc: 63219@debbugs.gnu.org, Brendan Tildesley 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.0 (-) ------- Original Message ------- On Sunday, May 7th, 2023 at 5:07 PM, Maxim Cournoyer wrote: >=20 > Hi, >=20 > Brendan Tildesley mail@brendan.scot writes: >=20 > > You're a legend! The -Dvideo-codecs=3D line fixed an important > > regression for me. > > I think it would also be desirable to update libva and libva-utils > > along with this patchset. > > Also, mesa 23.1.0 will be out soon, although I think it's more > > important to get this fix/update in > > master asap to get things working for people. >=20 >=20 > Pushed the mesa updates to master, along with the libva info updates; > thanks a lot to Kaelyn for working on this important update! You're welcome! Thank you for pushing the mesa changes along with the libva= updates! Cheers, Kaelyn >=20 > -- > Thanks, > Maxim From debbugs-submit-bounces@debbugs.gnu.org Sun May 07 20:19:33 2023 Received: (at control) by debbugs.gnu.org; 8 May 2023 00:19:33 +0000 Received: from localhost ([127.0.0.1]:38684 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pvobF-0001aD-8W for submit@debbugs.gnu.org; Sun, 07 May 2023 20:19:33 -0400 Received: from mail-qv1-f44.google.com ([209.85.219.44]:56401) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pvobD-0001Zz-Gf for control@debbugs.gnu.org; Sun, 07 May 2023 20:19:31 -0400 Received: by mail-qv1-f44.google.com with SMTP id 6a1803df08f44-61b6101a166so19478426d6.0 for ; Sun, 07 May 2023 17:19:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683505166; x=1686097166; h=subject:from:to:message-id:date:from:to:cc:subject:date:message-id :reply-to; bh=9mCm8L0+499RI/uB4WBXCrO6e0x9NpKkHmT19F9OoHA=; b=E24spj6wj1Vkdbx1jzRH2I+qMGyccGjzz6iuLJhclVi8/QRmiVFFob8dt13OVzemgy EuwWuyPeNy32usG1MR1GDki1HkWdTx9qBQWRCKWab/iGc/G4CIir+0FdrnZyOmQy95OQ 7fwZdUVDrtMN8rFl0S/XH7Ripy5MWl9CO85erjCw1SRd2oYUOiRImtNMfqiVB1C/wIHy T8NrQZM7JAh9UKLBeZ43EEhoEFr1/jPJ7jr9lRVQrJCRQ9+/UnZ3oKQLEUsXUx9ouIfx NuPqJDmxUR08KAqjlN/eSkfmoc3Dff/kxj827ZLeJMPXC4n7O4sr9brte1ACpXxHO6Pq Ef4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683505166; x=1686097166; h=subject:from:to:message-id:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=9mCm8L0+499RI/uB4WBXCrO6e0x9NpKkHmT19F9OoHA=; b=fWwxCF8gpLup0BWKyuuNIrwrzcXUFRqCd4yJtUnL2JB/CDstQqOr0bJ9UjwrN1l34s e5K9esz7evl/EgfND/l8eLHniAUtnGivlwSxzUgrhsb/qu0JqKeEgMd76v93vV9EP9ES TqE1ssChepXrOPd8OtDpMDndqS6Txbn5s1n/sQW+v6KDFcf9jIa5EBuCk3NlDLKEK631 I1eRETRqr71pbAtcWOB4ZoxKftUB4p76EsQY5bI3E0fHZm9XBRMNmluV4EYH+Oan+z3G ZCb+L3P7Uy11zPU1IDBDEsNLSTOWVGPGaM065w6i129OY7+VUfQwqYCG94fL11RUgJsV kNtQ== X-Gm-Message-State: AC+VfDz6kDE4xJb4Eh1c/grVOs7IKco/MsKOhlMlj4r6b/2a0JgmbeoY koM2MbM0RyzpX45xZ8Blg9JBHQCUCGLaBQ== X-Google-Smtp-Source: ACHHUZ6lI3dVwoV+Qiz/iJUJeSZWtWXkB1ldlembtX6dKL6y5YGzQYMyGS+YJXaJifwOP0i7Tzaobw== X-Received: by 2002:ad4:5b85:0:b0:61a:fe65:4481 with SMTP id 5-20020ad45b85000000b0061afe654481mr9893973qvp.51.1683505165762; Sun, 07 May 2023 17:19:25 -0700 (PDT) Received: from hurd (dsl-10-131-119.b2b2c.ca. [72.10.131.119]) by smtp.gmail.com with ESMTPSA id x26-20020a0cb21a000000b0061b608dc4c1sm2377881qvd.94.2023.05.07.17.19.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 May 2023 17:19:25 -0700 (PDT) Date: Sun, 07 May 2023 20:19:20 -0400 Message-Id: <87ild3y8s7.fsf@gmail.com> To: control@debbugs.gnu.org From: Maxim Cournoyer Subject: control message for bug #63219 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control 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.0 (-) close 63219 quit From unknown Sat Jun 21 10:18:51 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 05 Jun 2023 11:24:08 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator