Open raphaelventura opened 9 months ago
Exact same issue here
GPU: Nvidia GTX 1060 Driver: 550 Kernel: 6.7.6
It looks like you are still using the EGL backend. Maybe the environment variable for the backend isn't working?
What is the output of env NVD_BACKEND=direct vainfo
Hello, I think I'm on the same boat.
This is the output of VDPAU_DRIVER=nvidia LIBVA_DRIVER_NAME=nvidia NVD_BACKEND=direct DISPLAY=:0 vainfo --display drm --device /dev/dri/renderD128
:
libva info: VA-API version 1.20.0
libva info: User environment variable requested driver 'nvidia'
libva info: Trying to open /run/opengl-driver/lib/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_1_0
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.20 (libva 2.20.1)
vainfo: Driver version: VA-API NVDEC driver [direct backend]
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileH264Main : VAEntrypointVLD
VAProfileH264High : VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileHEVCMain : VAEntrypointVLD
VAProfileVP8Version0_3 : VAEntrypointVLD
VAProfileVP9Profile0 : VAEntrypointVLD
VAProfileAV1Profile0 : VAEntrypointVLD
VAProfileHEVCMain10 : VAEntrypointVLD
VAProfileHEVCMain12 : VAEntrypointVLD
VAProfileVP9Profile2 : VAEntrypointVLD
VAProfileHEVCMain444 : VAEntrypointVLD
VAProfileHEVCMain444_10 : VAEntrypointVLD
VAProfileHEVCMain444_12 : VAEntrypointVLD
NVIDIA driver: 545.29.02
I guess we are missing VAEntrypointEncSlice
and VAEntrypointEncSliceLP
?
The environment variable for the backend seems to be working properly
~$ env NVD_BACKEND=direct vainfo
Trying display: wayland
Trying display: x11
libva error: vaGetDriverNames() failed with unknown libva error
vainfo: VA-API version: 1.20 (libva 2.20.1)
vainfo: Driver version: VA-API NVDEC driver [direct backend]
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileH264Main : VAEntrypointVLD
VAProfileH264High : VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
Hello, I think I'm on the same boat.
This is the output of
VDPAU_DRIVER=nvidia LIBVA_DRIVER_NAME=nvidia NVD_BACKEND=direct DISPLAY=:0 vainfo --display drm --device /dev/dri/renderD128
:libva info: VA-API version 1.20.0 libva info: User environment variable requested driver 'nvidia' libva info: Trying to open /run/opengl-driver/lib/dri/nvidia_drv_video.so libva info: Found init function __vaDriverInit_1_0 libva info: va_openDriver() returns 0 vainfo: VA-API version: 1.20 (libva 2.20.1) vainfo: Driver version: VA-API NVDEC driver [direct backend] vainfo: Supported profile and entrypoints VAProfileMPEG2Simple : VAEntrypointVLD VAProfileMPEG2Main : VAEntrypointVLD VAProfileVC1Simple : VAEntrypointVLD VAProfileVC1Main : VAEntrypointVLD VAProfileVC1Advanced : VAEntrypointVLD VAProfileH264Main : VAEntrypointVLD VAProfileH264High : VAEntrypointVLD VAProfileH264ConstrainedBaseline: VAEntrypointVLD VAProfileHEVCMain : VAEntrypointVLD VAProfileVP8Version0_3 : VAEntrypointVLD VAProfileVP9Profile0 : VAEntrypointVLD VAProfileAV1Profile0 : VAEntrypointVLD VAProfileHEVCMain10 : VAEntrypointVLD VAProfileHEVCMain12 : VAEntrypointVLD VAProfileVP9Profile2 : VAEntrypointVLD VAProfileHEVCMain444 : VAEntrypointVLD VAProfileHEVCMain444_10 : VAEntrypointVLD VAProfileHEVCMain444_12 : VAEntrypointVLD
NVIDIA driver:
545.29.02
I guess we are missing
VAEntrypointEncSlice
andVAEntrypointEncSliceLP
?
VAEntrypointEnc is for NVENC to encode video, this driver does not support NVENC yet.
See #116
The environment variable for the backend seems to be working properly
~$ env NVD_BACKEND=direct vainfo Trying display: wayland Trying display: x11 libva error: vaGetDriverNames() failed with unknown libva error vainfo: VA-API version: 1.20 (libva 2.20.1) vainfo: Driver version: VA-API NVDEC driver [direct backend] vainfo: Supported profile and entrypoints VAProfileMPEG2Simple : VAEntrypointVLD VAProfileMPEG2Main : VAEntrypointVLD VAProfileVC1Simple : VAEntrypointVLD VAProfileVC1Main : VAEntrypointVLD VAProfileVC1Advanced : VAEntrypointVLD VAProfileH264Main : VAEntrypointVLD VAProfileH264High : VAEntrypointVLD VAProfileH264ConstrainedBaseline: VAEntrypointVLD
Please set NVD_BACKEND=direct in your etc/environment file and reboot, as the egl backend does not work on your driver version.
Also please set gfx.x11-egl.force-enabled=false in your Firefox settings
The environment variable for the backend seems to be working properly
~$ env NVD_BACKEND=direct vainfo Trying display: wayland Trying display: x11 libva error: vaGetDriverNames() failed with unknown libva error vainfo: VA-API version: 1.20 (libva 2.20.1) vainfo: Driver version: VA-API NVDEC driver [direct backend] vainfo: Supported profile and entrypoints VAProfileMPEG2Simple : VAEntrypointVLD VAProfileMPEG2Main : VAEntrypointVLD VAProfileVC1Simple : VAEntrypointVLD VAProfileVC1Main : VAEntrypointVLD VAProfileVC1Advanced : VAEntrypointVLD VAProfileH264Main : VAEntrypointVLD VAProfileH264High : VAEntrypointVLD VAProfileH264ConstrainedBaseline: VAEntrypointVLD
Please set NVD_BACKEND=direct in your etc/environment file and reboot, as the egl backend does not work on your driver version.
Also please set gfx.x11-egl.force-enabled=false in your Firefox settings
Oh now I see that in my first message, vainfo
showed the egl backend was active, which is weird since the env variable was already set in my /etc/environment
. Maybe I'd unset it by mistake after boot and before printing the output. I've edited this first message.
As for the gfx.x11-egl.force-enabled=false
, I'd understood from this reply that I should set it to true anyway.
Yeah my bad on the Firefox, keep that set to true.
Do you still have issues even with the direct backend?
Yes, still the same error messages in the about:support
tab:
Hi,
It happens quite often that my firefox is unable to initialize hw video acceleration properly.
Here are two sequences of error messages I get inside the
about:config
tab.My HW config:
Environment variables:
vainfo
output:The following variables are set as stated in the README
Any clues on what may go wrong ? Thanks