diff options
author | Hilton Chain <hako@ultrarare.space> | 2024-01-31 22:07:06 +0800 |
---|---|---|
committer | John Kehayias <john.kehayias@protonmail.com> | 2024-03-22 21:08:41 -0400 |
commit | 2d8de496b1209accd52c4d869e2ffda1769dfe99 (patch) | |
tree | 76396e082ebcecb7378091e222be78e6d0635964 /nonguix/multiarch-container.scm | |
parent | 09151acd73b955bc30ec67771b812a0102258adc (diff) |
multiarch-container: make-container-wrapper: Set LIBVA_DRIVERS_PATH.
* nonguix/multiarch-container.scm (make-container-wrapper): Set
LIBVA_DRIVERS_PATH and preserve it.
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
Diffstat (limited to 'nonguix/multiarch-container.scm')
-rw-r--r-- | nonguix/multiarch-container.scm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nonguix/multiarch-container.scm b/nonguix/multiarch-container.scm index a9f1559..a922877 100644 --- a/nonguix/multiarch-container.scm +++ b/nonguix/multiarch-container.scm @@ -277,6 +277,7 @@ in a sandboxed FHS environment." ;; need to be shared with the container as ;; well; this is not needed currently. "^LD_LIBRARY_PATH$" + "^LIBVA_DRIVERS_PATH$" ; For VA-API drivers. "^MANGOHUD" ; For MangoHud configuration. "^PRESSURE_VESSEL_" ; For pressure vessel options. "_PROXY$" @@ -356,6 +357,8 @@ in a sandboxed FHS environment." ;; path, so set this path to where the drivers will actually be ;; located in the container. (setenv "VDPAU_DRIVER_PATH" "/lib64/vdpau") + ;; Likewise, for VA-API drivers. + (setenv "LIBVA_DRIVERS_PATH" "/lib64/dri:/lib/dri") (format #t "\n* Launching ~a in sandbox: ~a.\n\n" #$(package-name (ngc-wrap-package container)) sandbox-home) (when DEBUG |