[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/09: gnu: mesa: Fix hardware video decoding.
From: |
guix-commits |
Subject: |
02/09: gnu: mesa: Fix hardware video decoding. |
Date: |
Sun, 7 May 2023 13:05:30 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit 02995444dbe9861c32b6e2cdbfb7a7b2affe2c2b
Author: Kaelyn Takata <kaelyn.alexi@protonmail.com>
AuthorDate: Thu May 4 20:12:39 2023 +0000
gnu: mesa: Fix hardware video decoding.
* 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.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
---
gnu/packages/gl.scm | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
index 6521170ebb..bfe56e9393 100644
--- a/gnu/packages/gl.scm
+++ b/gnu/packages/gl.scm
@@ -360,6 +360,10 @@ svga,swrast,virgl")))
;; 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"
@@ -511,6 +515,11 @@ svga,swrast,virgl")))
(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
- branch master updated (4c3532d7ab -> d1aba42ad4), guix-commits, 2023/05/07
- 01/09: gnu: mesa: Fix library paths in Vulkan layer manifests., guix-commits, 2023/05/07
- 02/09: gnu: mesa: Fix hardware video decoding.,
guix-commits <=
- 03/09: gnu: mesa: Use gexps instead of quasiquote., guix-commits, 2023/05/07
- 04/09: gnu: mesa: Update to 23.0.3., guix-commits, 2023/05/07
- 05/09: gnu: libva: Update to 2.18.0., guix-commits, 2023/05/07
- 07/09: gnu: vdpauinfo: Update to 1.5., guix-commits, 2023/05/07
- 08/09: gnu: libva-utils: Update home page., guix-commits, 2023/05/07
- 09/09: gnu: nss-certs: Update to 3.88.1., guix-commits, 2023/05/07
- 06/09: gnu: libva-utils: Update to 2.18.1., guix-commits, 2023/05/07