-
Notifications
You must be signed in to change notification settings - Fork 304
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
An alternative to MOZ_DRM_DEVICE for libva "LIBVA_DRM_DEVICE" #752
Comments
Just stumbled upon this after having issues with
As seen from the log, even though my VAAPI driver is set to my iGPU, I'm running an Arch distro on an Optimus laptop with Intel CPU and NVIDIA GPU. |
I'd really like to see this too. I was hoping to use my Intel iGPU to handle hardware decode tasks since NVIDIA is still largely unsupported for that, but I can't since just about everything defaults to the first render device (the NVIDIA GPU in my case, like OP) with no way to specify another. |
I also have this issue Nouveau does not support the first card - that for some reason is the dGPU, and chromium always selects the first card, regardless of LIBVA_DRIVER_NAME=iHD, so libva fails to initialize and i end up with software decoding. I made a patch that accepts this env var and it works fine for me but i'm not sure if it's acceptable.. first of all it's chromium's fault that it always selects the the first card for video decoding even if it's forced to render on another card. Also |
We have
LIBVA_DRIVER_NAME
, andLIBVA_DRIVERS_PATH
to find libva driver libraries. But there is no replacement forMOZ_DRM_DEVICE
https://bugzilla.mozilla.org/show_bug.cgi?id=1751710 (LIBVA_DRM_DEVICE=/dev/dri/renderD129
orLIBVA_DRM_DEVICE=/dev/dri/card1
) so that we can specify the right default path to drm and not use the automatic search which may fail https://github.com/intel/libva-utils/blob/2.19.0/common/va_display_drm.c#L49-L51 with an undefined error #750.#677
The text was updated successfully, but these errors were encountered: