libva issue: nvidia-drm_drv_video.so init failed

When I run `vainfo` it fails to initialize.

sh:
$ NVD_LOG=1 vainfo
Trying display: wayland
libva info: VA-API version 1.22.0
libva info: User environment variable requested driver 'nvidia-drm'
libva info: Trying to open /usr/local/lib/dri/nvidia-drm_drv_video.so
      6013.078270945 [20236-105761] ../src/vabackend.c: 141                     init ERROR: Potential Firefox sandbox detected, failing to init!
      6013.078290244 [20236-105761] ../src/vabackend.c: 142                     init If running in Firefox, set env var MOZ_DISABLE_RDD_SANDBOX=1 to disable sandbox.
libva info: Found init function __vaDriverInit_1_0
      6013.078351787 [20236-105761] ../src/vabackend.c:2187       __vaDriverInit_1_0 Initialising NVIDIA VA-API Driver: 40
      6013.078357530 [20236-105761] ../src/vabackend.c:2196       __vaDriverInit_1_0 Now have 0 (0 max) instances
libva error: /usr/local/lib/dri/nvidia-drm_drv_video.so init failed
libva info: va_openDriver() returns 1
vaInitialize failed with error code 1 (operation failed),exit


This is under sway, another thing that concerns me is nothing appears under the Processes section of `nvidia-smi` even though I'm running sway and firefox.

Code:
+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
+-----------------------------------------------------------------------------------------+
 
One issue I ran into last week on Freebsd 15-current was that the different Nvidia ports involved in this solution was not using the
same LINUX variant , some used Centos and some used Rocky-Linux.
so both parts of centos and parts of rockylinux got installed

I backed out and set
DEFAULT_VERSIONS+= linux=rl9

in /etc/make.conf

to force the ports to build to the same linux variant.

I dont know if this is the casue of your issue ,,,,,

//Lars
 
Back
Top