Skip to content

Occasionally, nvidia-vaapi-driver doesn't initialize in Firefox #395

@Lastique

Description

@Lastique

Sometimes, the driver simply doesn't initialize when I start playing a Youtube video in Firefox. The only output in logs I get is repetition of these lines:

libva info: VA-API version 1.20.0
libva info: User environment variable requested driver 'nvidia'
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_1_0
libva error: /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so init failed
libva info: va_openDriver() returns 1

After I restart Firefox and no further changes the driver starts working. I don't know what causes it to fail as I'm not doing anything specifically.

Firefox 143.0, but I also have noticed this with 142 series.
Nvidia driver 580.82.09, but I also noticed this with older 580 and 575 series.
Environment variables: NVD_BACKEND=direct LIBVA_DRIVER_NAME=nvidia MOZ_DISABLE_RDD_SANDBOX=1 NVD_LOG=1
nvidia-vaapi-driver 0.0.14.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions