summaryrefslogtreecommitdiff
path: root/multimedia/libva-nvidia-driver
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/libva-nvidia-driver')
-rw-r--r--multimedia/libva-nvidia-driver/Makefile6
-rw-r--r--multimedia/libva-nvidia-driver/distinfo8
-rw-r--r--multimedia/libva-nvidia-driver/pkg-descr5
-rw-r--r--multimedia/libva-nvidia-driver/pkg-message20
4 files changed, 30 insertions, 9 deletions
diff --git a/multimedia/libva-nvidia-driver/Makefile b/multimedia/libva-nvidia-driver/Makefile
index 05d35dc72dd8..70c88522f136 100644
--- a/multimedia/libva-nvidia-driver/Makefile
+++ b/multimedia/libva-nvidia-driver/Makefile
@@ -1,8 +1,12 @@
PORTNAME= libva-nvidia-driver
DISTVERSIONPREFIX= v
-DISTVERSION= 0.0.13
+DISTVERSION= 0.0.14
+PORTREVISION= 2
CATEGORIES= multimedia
+PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES+= 0832dfaccc77.patch:-p1 # https://github.com/elFarto/nvidia-vaapi-driver/pull/381
+
MAINTAINER= jbeich@FreeBSD.org
COMMENT= NVDEC-based backend for VAAPI
WWW= https://github.com/elFarto/nvidia-vaapi-driver
diff --git a/multimedia/libva-nvidia-driver/distinfo b/multimedia/libva-nvidia-driver/distinfo
index c1fe64e4fab6..82faeb960b10 100644
--- a/multimedia/libva-nvidia-driver/distinfo
+++ b/multimedia/libva-nvidia-driver/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1725882500
-SHA256 (elFarto-nvidia-vaapi-driver-v0.0.13_GH0.tar.gz) = 0bd10013b183eeef1676f99213f449482b86cbb9cd8883e7fb3801f6f59de231
-SIZE (elFarto-nvidia-vaapi-driver-v0.0.13_GH0.tar.gz) = 184099
+TIMESTAMP = 1747986147
+SHA256 (elFarto-nvidia-vaapi-driver-v0.0.14_GH0.tar.gz) = 4ded132ec4164f3e05656061675dffce677327e4af0d8da33da5f8527609ad2a
+SIZE (elFarto-nvidia-vaapi-driver-v0.0.14_GH0.tar.gz) = 184593
+SHA256 (0832dfaccc77.patch) = b4008e7e75f450833401e3dcb38f5fac7bed40ceed70dd7e4b7d6f2b6fa2ddea
+SIZE (0832dfaccc77.patch) = 924
diff --git a/multimedia/libva-nvidia-driver/pkg-descr b/multimedia/libva-nvidia-driver/pkg-descr
index 01d24de66009..8119052fb637 100644
--- a/multimedia/libva-nvidia-driver/pkg-descr
+++ b/multimedia/libva-nvidia-driver/pkg-descr
@@ -2,8 +2,3 @@ This is an VA-API implementation that uses NVDEC as a backend. This
implementation is specifically designed to be used by Firefox for
accelerated decode of web content, and may not operate correctly in
other applications.
-
-System requirements:
-- Non-legacy NVIDIA GPU
-- nvidia-drm-kmod for DMA-BUF
-- libc6-shim (nv-sglrun) for NVDEC
diff --git a/multimedia/libva-nvidia-driver/pkg-message b/multimedia/libva-nvidia-driver/pkg-message
new file mode 100644
index 000000000000..892aab5d7693
--- /dev/null
+++ b/multimedia/libva-nvidia-driver/pkg-message
@@ -0,0 +1,20 @@
+[
+{ type: install
+ message: <<EOM
+To use VA-API in apps like Firefox make sure DRM and CUDA are enabled e.g.,
+
+ # pkg install nvidia-drm-kmod linux-nvidia-libs libc6-shim libva-utils
+ # sysrc kld_list+=nvidia-drm
+ # service kld restart
+ $ test -e /dev/dri/renderD* || bsddialog --title Error --msgbox "nvidia-drm-kmod failed" 0 0
+ $ test -n "$WAYLAND_DISPLAY" || export LIBVA_DRIVER_NAME=nvidia-drm
+ $ test -n "$WAYLAND_DISPLAY" || setenv LIBVA_DRIVER_NAME nvidia-drm
+ $ nv-sglrun vainfo
+ $ nv-sglrun firefox
+
+Note, legacy nvidia-driver series like 470 or older are not supported
+by nvidia-drm-kmod required by this package. Consider using
+libva-vdpau-driver instead.
+EOM
+}
+]