1 Firefox crashes very early in start if using nVidia hardware and
2 driver 470.x or higher. The problem appears that Xorg and/or Mesa doesn't
3 have working EGL support on OI, even though the nVidia driver claims support.
4 Make sure EGL is not used for now. Revisit patch when xorg and mesa are
7 --- firefox-114.0/toolkit/xre/glxtest/glxtest.cpp.old 2023-01-25 16:57:32.381884245 +0000
8 +++ firefox-114.0/toolkit/xre/glxtest/glxtest.cpp 2023-01-25 17:01:49.335385472 +0000
11 static bool get_egl_gl_status(EGLDisplay dpy,
12 PFNEGLGETPROCADDRESS eglGetProcAddress) {
16 typedef EGLBoolean (*PFNEGLCHOOSECONFIGPROC)(
17 EGLDisplay dpy, EGLint const* attrib_list, EGLConfig* configs,
18 EGLint config_size, EGLint* num_config);
22 static bool get_egl_status(EGLNativeDisplayType native_dpy) {
26 log("GLX_TEST: get_egl_status start\n");
28 EGLDisplay dpy = nullptr;
36 log("GLX_TEST: x11_egltest start\n");
38 Display* dpy = XOpenDisplay(nullptr);
42 // TODO: --display command line argument is not properly handled
43 - if (!x11_egltest()) {
48 // Finally write buffered data to the pipe.