From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id oNLiCQESVGQ1/gAASxT56A (envelope-from ) for ; Thu, 04 May 2023 22:13:53 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id GAMxCQESVGR1uwAAG6o9tA (envelope-from ) for ; Thu, 04 May 2023 22:13:53 +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 E6A01B8F8 for ; Thu, 4 May 2023 22:13:52 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pufK4-0007NG-Bn; Thu, 04 May 2023 16:13:04 -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 1pufK2-0007M2-Uw for guix-patches@gnu.org; Thu, 04 May 2023 16:13:02 -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 1pufK2-0006qU-MB for guix-patches@gnu.org; Thu, 04 May 2023 16:13:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pufK2-00089E-Gm for guix-patches@gnu.org; Thu, 04 May 2023 16:13:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63219] [PATCH mesa-branch v3 3/4] gnu: mesa: Fix hardware video decoding. Resent-From: Kaelyn Takata Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 04 May 2023 20:13:02 +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 Received: via spool by 63219-submit@debbugs.gnu.org id=B63219.168323117731279 (code B ref 63219); Thu, 04 May 2023 20:13:02 +0000 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== 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-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-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1683231232; a=rsa-sha256; cv=none; b=O0/vbLRgvNxnOtEywSzAUYXtZg9NsaCRWVdQ5kzn3AFr94YstIbgCksPBKZVTaiYCQn0g7 ImqvBSkc8IXNNZxbLPkg87eOVQk2j2MwKo58T3zAfGIB06q4RvaPjRI0xaR3y41r2bPwHF uM1UeQqOR83Abbt4+nJ+CtbvEAVasoqZDFFo2sxvIj96hQ+7lXMzeJH+obhuDN8CUKmLxx 5Gvmy0qIoie5wUxbaEd19DM5zzjdRNdRSx1Q+6ESq/QOuSWe0mFF32i+M7IHaG54m+cBzL 34+qLnNxLOA9w6lFFEZ2jfsmrIOIccPEXLbPR6je+JKGCgYpxHPXQFSFJVlkrg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b=eJ0vRlk2; 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=1683231232; 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=w0LCqe1QyYnr34DxQea7riOgQ8saTByCBXgHCuY+Ht0=; b=KdqF4EjAOFixPGKZMlb/nnr4g9lkfOscZSbwTZ2Nr2cr43SWqVEasLKNPVU/xA2/8ysxL2 epGSIkQlJVw4SIirox6nEM1dIIgDx0xrwCt3coNgu2K3ZI6pUtI/n1ZDi4GN0ieuO34brU G5Cnp+UstCeNzK5lHkrXhZuiKtXbfVycQ/fs2ahqbg2nlivI9ACNxsv2148t1ToBYTIUjx XQoUAVdhYpnlzSLz/t9qpNZZjqB56oUmiFSMHmiuRXC+eat6BoCBZWyoFIlKahhSMcqC72 qiGWH7WNnhZvzxmBC/SrTrgEybyxdYL5h7zC0xdyW5U+/sWESBK9RY/yvCjddg== X-Migadu-Spam-Score: -2.50 X-Spam-Score: -2.50 X-Migadu-Queue-Id: E6A01B8F8 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b=eJ0vRlk2; 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-TUID: FpVJv664BBIw * 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