commit | author | age
|
595d33
|
1 |
Firefox crashes very early in start if using nVidia hardware and |
AW |
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. |
|
6 |
|
a91401
|
7 |
--- firefox-114.0/toolkit/xre/glxtest/glxtest.cpp.old 2023-01-25 16:57:32.381884245 +0000 |
I |
8 |
+++ firefox-114.0/toolkit/xre/glxtest/glxtest.cpp 2023-01-25 17:01:49.335385472 +0000 |
595d33
|
9 |
@@ -478,6 +478,9 @@ |
AW |
10 |
|
|
11 |
static bool get_egl_gl_status(EGLDisplay dpy, |
|
12 |
PFNEGLGETPROCADDRESS eglGetProcAddress) { |
|
13 |
+ |
|
14 |
+ return false; |
|
15 |
+ |
|
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 @@ |
|
20 |
} |
|
21 |
|
|
22 |
static bool get_egl_status(EGLNativeDisplayType native_dpy) { |
|
23 |
+ |
|
24 |
+ return false; |
|
25 |
+ |
72bcd4
|
26 |
log("GLX_TEST: get_egl_status start\n"); |
I |
27 |
|
|
28 |
EGLDisplay dpy = nullptr; |
595d33
|
29 |
@@ -917,6 +923,9 @@ |
AW |
30 |
} |
|
31 |
|
72bcd4
|
32 |
bool x11_egltest() { |
595d33
|
33 |
+ |
AW |
34 |
+ return false; |
|
35 |
+ |
72bcd4
|
36 |
log("GLX_TEST: x11_egltest start\n"); |
I |
37 |
|
595d33
|
38 |
Display* dpy = XOpenDisplay(nullptr); |
AW |
39 |
@@ -1223,9 +1232,7 @@ |
|
40 |
#ifdef MOZ_X11 |
72bcd4
|
41 |
if (!aWayland) { |
595d33
|
42 |
// TODO: --display command line argument is not properly handled |
AW |
43 |
- if (!x11_egltest()) { |
|
44 |
glxtest(); |
|
45 |
- } |
|
46 |
} |
72bcd4
|
47 |
#endif |
I |
48 |
// Finally write buffered data to the pipe. |