elFarto / nvidia-vaapi-driver

A VA-API implemention using NVIDIA's NVDEC
Other
1.18k stars 53 forks source link

Multi gpus #185

Closed Latrolage closed 1 year ago

Latrolage commented 1 year ago

The env variable LIBVA_DRIVER_NAME needs to be set to nvidia.

Does this mean it's not possible for firefox to use a certain GPU for a specific set of codecs and then use the nvidia gpu as fallback if the first gpu doesn't support a codec?

elFarto commented 1 year ago

Firefox is only capable of using a single GPU for rendering and video decode. Even if it did support it, we can't yet export a DMA-BUF that other GPUs can import (this should be possible to implement, I'm just not sure how yet).

Also, the LIBVA_DRIVER_NAME environment variable isn't required with the latest version of libva installed.