summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--multimedia/libva-nvidia-driver/Makefile2
-rw-r--r--multimedia/libva-nvidia-driver/pkg-message2
2 files changed, 3 insertions, 1 deletions
diff --git a/multimedia/libva-nvidia-driver/Makefile b/multimedia/libva-nvidia-driver/Makefile
index e6ee6c08c04f..70c88522f136 100644
--- a/multimedia/libva-nvidia-driver/Makefile
+++ b/multimedia/libva-nvidia-driver/Makefile
@@ -1,7 +1,7 @@
PORTNAME= libva-nvidia-driver
DISTVERSIONPREFIX= v
DISTVERSION= 0.0.14
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= multimedia
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
diff --git a/multimedia/libva-nvidia-driver/pkg-message b/multimedia/libva-nvidia-driver/pkg-message
index 3709e7625098..892aab5d7693 100644
--- a/multimedia/libva-nvidia-driver/pkg-message
+++ b/multimedia/libva-nvidia-driver/pkg-message
@@ -7,6 +7,8 @@ To use VA-API in apps like Firefox make sure DRM and CUDA are enabled e.g.,
# 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