From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id qE3vM1thUGTdUAEASxT56A (envelope-from ) for ; Tue, 02 May 2023 03:03:23 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id gNz7M1thUGSsOQAA9RJhRA (envelope-from ) for ; Tue, 02 May 2023 03:03:23 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A242E3C927 for ; Tue, 2 May 2023 03:03:23 +0200 (CEST) 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 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 From: Kaelyn Takata via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1682989403; a=rsa-sha256; cv=none; b=eyNIFhIJSVsO+gR90bHqGNSip+oMYbj9oBXu6Db9MmkyoRWbwCTJA+kBd7WSzm3Heysfec 5adKWP6iehZaahNIkB0XQu8Hl8KCRn4p2zklpDqACPBLMIgvtsKfbOKp0AHYWVqhmE0KeZ M1zA4wJR/3OKk/gOj3HNA193wHLHilhN94xk1NuVjGteb5dYTTDknibJp4coxyOHix93nm rpZQedRpK8GHQIywcQuctRnFj6vfpqXjd593LIY6tg3hkw3FDBTf9nphBxT/cCdLTsndkX sijS65d7YR/pUektb9fh3jn7JCuaUJQooBGSI+EmDuTcgAFeL7IL9TQv+h8rbw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b="vm/qBRzN"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1682989403; h=from:from:sender:sender: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:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ML0fOkFrCjpx+4yrXHyaU6gheHuQ/3CnefUm71Ehcdc=; b=YVkMWKJoc669fe6t5V2KLKBASHT+YjBOacUallnf7LASNnVUMH5urVXNihT/q0eXM5+79Q mxkLMJ2OY2dV9mdzvO7vAqltmB3xbVVLGVdDB7RfZN1TKWq99ccJYExRbEqJcWbtk1G8jN RWhO81D7w+3fgMpNNanWC3LXGHMV/75uhmPx4czGl1uVwZCn3ybQF/u1lwykLc2Vzd6Zq0 rZh6lBeb36WY5DTbliwOQK6UJ1dS5GWspl86YIBLyn4NJXSY6Ka7Ld/ReJs3Q6TUqXU6FB ONVYSb3ZULImK+p8JFDxraaM/lH9T6JNnHZOnErgxMIDS9rXkEerJlouvYmtjg== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b="vm/qBRzN"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.21 X-Spam-Score: -2.21 X-Migadu-Queue-Id: A242E3C927 X-TUID: uBBkdQHNGOHH * 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