gtk+3: fix dependencies for new gnome/accessibility/at-spi2-core
[oi-userland.git] / components / web / firefox / patches / 16-egl-crashes-on-nvidia-470-and-higher.patch
blobf3b889959692f51f4a176f2b3f122b531e97888e
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
5 updated on OI.
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
9 @@ -478,6 +478,9 @@
11 static bool get_egl_gl_status(EGLDisplay dpy,
12 PFNEGLGETPROCADDRESS eglGetProcAddress) {
14 + return false;
16 typedef EGLBoolean (*PFNEGLCHOOSECONFIGPROC)(
17 EGLDisplay dpy, EGLint const* attrib_list, EGLConfig* configs,
18 EGLint config_size, EGLint* num_config);
19 @@ -637,6 +640,9 @@
22 static bool get_egl_status(EGLNativeDisplayType native_dpy) {
24 + return false;
26 log("GLX_TEST: get_egl_status start\n");
28 EGLDisplay dpy = nullptr;
29 @@ -917,6 +923,9 @@
32 bool x11_egltest() {
34 + return false;
36 log("GLX_TEST: x11_egltest start\n");
38 Display* dpy = XOpenDisplay(nullptr);
39 @@ -1223,9 +1232,7 @@
40 #ifdef MOZ_X11
41 if (!aWayland) {
42 // TODO: --display command line argument is not properly handled
43 - if (!x11_egltest()) {
44 glxtest();
45 - }
47 #endif
48 // Finally write buffered data to the pipe.