Nvidia, Firefox: hw video decode nem megy

Fórumok

Sziasztok!

Akar mit csinalok, nem tudom a Firefoxot ravenni, hogy a hw video gyorsitas mukodjon.

VGA: NVIDIA Corporation GP108 [GeForce GT 1030] (rev a1)
 

vainfo:

htmm@fecos:~$ vainfo 
Trying display: wayland
Trying display: x11
libva info: VA-API version 1.22.0
libva error: vaGetDriverNames() failed with unknown libva error
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 info: va_openDriver() returns 0
vainfo: VA-API version: 1.22 (libva 2.22.0)
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
      VAProfileVP9Profile0            : VAEntrypointVLD
      VAProfileHEVCMain10             : VAEntrypointVLD
      VAProfileHEVCMain12             : VAEntrypointVLD
      VAProfileVP9Profile2            : VAEntrypointVLD

Amikor elinditom a Firefoxot akkor meg minden jo:

htmm@fecos:~$ MOZ_GFX_DEBUG=1 firefox
GLX_TEST: childgltest start
GLX_TEST: get_pci_status start
GLX_TEST: get_pci_status finished
GLX_TEST: x11_egltest start
GLX_TEST: get_egl_status start
GLX_TEST: get_egl_status eglGetDisplay()
GLX_TEST: get_egl_status eglInitialize()
GLX_TEST: get_egl_status eglInitialize() OK
GLX_TEST: get_egl_status eglGetDisplayDriverName()
GLX_TEST: get_egl_gl_status start
GLX_TEST: get_egl_gl_status finished
GLX_TEST: get_egl_status finished with return: 1
GLX_TEST: get_xrandr_info start
GLX_TEST: get_xrandr_info finished
GLX_TEST: x11_egltest finished
PCI_VENDOR_ID
0x10de
PCI_DEVICE_ID
0x1d01
VENDOR
NVIDIA Corporation
RENDERER
NVIDIA GeForce GT 1030/PCIe/SSE2
VERSION
4.6.0 NVIDIA 550.163.01
TFP
TRUE
DRM_RENDERDEVICE
/dev/dri/renderD128
MESA_VENDOR_ID
0x10de
MESA_DEVICE_ID
0x1d01
DDX_DRIVER
NVIDIA-0;
TEST_TYPE
EGL
GLX_TEST: childgltest finished
vaapitest start, device /dev/dri/renderD128
libva info: VA-API version 1.22.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 info: va_openDriver() returns 0
vaInitialize finished
Profile: H264Main
Profile: H264High
Profile: H264ConstrainedBaseline
Profile: HEVCMain
Profile: VP9Profile0
Profile: HEVCMain10
Profile: HEVCMain12
Profile: VP9Profile2
vaapitest finished
VAAPI_SUPPORTED
TRUE
VAAPI_HWCODECS
4368

Viszont ahogy megprobalok valamit lejatszani visszavalt sw modba:

libva info: VA-API version 1.22.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

A Firefoxban ezt mar minde true-ra allitottam:

media.hardware-video-decoding.force-enabled
media.rdd-ffmpeg.enabled
gfx.x11-egl.force-enabled
widget.dmabuf.force-enabled

Firefox 146, ha ez szamit.

A drm.modeset is jonak tunik:

root@fecos:~# cat /sys/module/nvidia_drm/parameters/modeset
Y

A HW gyorsitott lejatszas mplayer-ben es vlc alatt is megy.

Mit rontok el?