blob: 892aab5d76932e173863ff6ef554bfbb9520a48d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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
}
]
|