Closed valen38 closed 11 months ago
Can you try starting Firefox with this command: MOZ_GFX_DEBUG=1 firefox
. This will enable vaapitest logging which should shed some light onto what's happening. Make sure not to have any instances of Firefox running before you run that command, or it won't work correctly.
here
$ 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_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
0x8086
PCI_DEVICE_ID
0x46a3
PCI_VENDOR_ID
0x10de
PCI_DEVICE_ID
0x25a0
DRI_DRIVER
iris
VENDOR
Intel
RENDERER
Mesa Intel(R) Graphics (ADL GT2)
VERSION
4.6 (Compatibility Profile) Mesa 23.3.1
TFP
TRUE
DRM_RENDERDEVICE
/dev/dri/renderD128
MESA_VENDOR_ID
0x8086
MESA_DEVICE_ID
0x46a3
DDX_DRIVER
modesetting;NVIDIA-G0;
TEST_TYPE
EGL
GLX_TEST: childgltest finished
[Parent 2849, Main Thread] WARNING: Theme parsing error: gtk.css:6691:68: Invalid name of pseudo-class: 'glib warning', file /topsrcdir/toolkit/xre/nsSigHandlers.cpp:187
(Firefox:2849): Gtk-WARNING **: 15:50:11.861: Theme parsing error: gtk.css:6691:68: Invalid name of pseudo-class
[Parent 2849, Main Thread] WARNING: Theme parsing error: gtk.css:6691:68: Invalid name of pseudo-class: 'glib warning', file /topsrcdir/toolkit/xre/nsSigHandlers.cpp:187
(Firefox:2849): Gtk-WARNING **: 15:50:11.996: Theme parsing error: gtk.css:6691:68: Invalid name of pseudo-class
[Parent 2849, Main Thread] WARNING: Theme parsing error: gtk.css:6691:68: Invalid name of pseudo-class: 'glib warning', file /topsrcdir/toolkit/xre/nsSigHandlers.cpp:187
(Firefox:2849): Gtk-WARNING **: 15:50:12.020: Theme parsing error: gtk.css:6691:68: Invalid name of pseudo-class
vaapitest start, 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 /usr/lib64/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_1_0
libva error: /usr/lib64/dri/nvidia_drv_video.so init failed
libva info: va_openDriver() returns 1
vaInitialize failed 1
ERROR
VA-API test failed: failed to initialise VAAPI connection.
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: vaapitest: ERROR (t=2.0091) [GFX1-]: vaapitest: ERROR
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: vaapitest: ERROR (t=2.0091) |[1][GFX1-]: vaapitest: VA-API test failed: failed to initialise VAAPI connection.
(t=2.0091) [GFX1-]: vaapitest: VA-API test failed: failed to initialise VAAPI connection.
console.error: ({})
console.error: (new TypeError("a is null", "resource://gre/modules/components-utils/mozjexl.js", 1))
The error you're getting is caused because you're attempting to run Firefox on the Intel card, but use the NVIDIA card for video decoding. This is not currently a supported setup. You'll need to run Firefox on the NVIDIA card. However trying to convince Firefox to run on the NVIDIA card without switching everything to use it doesn't appear to work (Firefox seems to have some hardcoded places where it uses the default EGL implementation which causes failures).
Running firefox with the nvidia gpu worked
I've done all the steps in the readme but it still won't work with firefox
os: voidlinux kernel: 6.5.13 driver version: 535.129.03 gpu: RTX 3050, intel integrated graphics
output when starting firefox