From patchwork Tue May 2 01:02:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kaelyn Takata X-Patchwork-Id: 49740 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 3351A27BBEA; Tue, 2 May 2023 02:03:24 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 2A92027BBE2 for ; Tue, 2 May 2023 02:03:23 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pteQ9-0001Ui-TB; Mon, 01 May 2023 21:03: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 1pteQ4-0001Sg-8A for guix-patches@gnu.org; Mon, 01 May 2023 21:03:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pteQ3-00038A-V8 for guix-patches@gnu.org; Mon, 01 May 2023 21:03:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pteQ3-0005E4-Q2 for guix-patches@gnu.org; Mon, 01 May 2023 21:03:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63219] [PATCH mesa-branch 3/4] gnu: mesa: Fix hardware video decoding. Resent-From: Kaelyn Takata Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 02 May 2023 01:03:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63219 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63219@debbugs.gnu.org Cc: Kaelyn Takata X-Debbugs-Original-To: 63219@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by 63219-submit@debbugs.gnu.org id=B63219.168298934219990 (code B ref 63219); Tue, 02 May 2023 01:03:03 +0000 Received: (at 63219) by debbugs.gnu.org; 2 May 2023 01:02:22 +0000 Received: from localhost ([127.0.0.1]:41314 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ptePN-0005CF-VK for submit@debbugs.gnu.org; Mon, 01 May 2023 21:02:22 -0400 Received: from mail-4316.protonmail.ch ([185.70.43.16]:47907) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ptePK-0005BO-SW for 63219@debbugs.gnu.org; Mon, 01 May 2023 21:02:19 -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== Message-ID: In-Reply-To: References: Feedback-ID: 34709329:user:proton MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Kaelyn Takata X-ACL-Warn: , Kaelyn Takata via Guix-patches X-Patchwork-Original-From: Kaelyn Takata via Guix-patches via From: Kaelyn Takata Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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 drivers. --- gnu/packages/gl.scm | 9 +++++++++ 1 file changed, 9 insertions(+) -- 2.39.2 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=device-select,overlay" + ;; Enable the codecs that were built by default as part of the + ;; 21.3.x releases to avoid functionality regressions. + "-Dvideo-codecs=vc1dec,h264dec,h264enc,h265dec,h265enc" + ;; Also enable the tests. "-Dbuild-tests=true" @@ -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