Bug 278461
| Summary: | REGRESSION(282416@main): [GTK] crash loading WebGL with accelerated compositing disabled under X11 | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Carlos Garcia Campos <cgarcia> |
| Component: | WebKitGTK | Assignee: | Carlos Garcia Campos <cgarcia> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bugs-noreply, jmason |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=278380 | ||
Carlos Garcia Campos
This was originally reported in bug #278380
-- Enabled features:
-- ENABLE_BUBBLEWRAP_SANDBOX ..................... OFF
-- ENABLE_DOCUMENTATION OFF
-- ENABLE_DRAG_SUPPORT ........................... ON
-- ENABLE_GAMEPAD OFF
-- ENABLE_INTROSPECTION .......................... ON
-- ENABLE_JOURNALD_LOG OFF
-- ENABLE_MINIBROWSER ............................ ON
-- ENABLE_PDFJS ON
-- ENABLE_QUARTZ_TARGET .......................... OFF
-- ENABLE_SPELLCHECK ON
-- ENABLE_TOUCH_EVENTS ........................... ON
-- ENABLE_VIDEO ON
-- ENABLE_WAYLAND_TARGET ......................... OFF
-- ENABLE_WEBDRIVER ON
-- ENABLE_WEB_AUDIO .............................. ON
-- ENABLE_X11_TARGET ON
-- USE_AVIF ...................................... OFF
-- USE_GBM OFF
-- USE_GSTREAMER_TRANSCODER ...................... ON
-- USE_GSTREAMER_WEBRTC OFF
-- USE_GTK4 ...................................... OFF
-- USE_JPEGXL OFF
-- USE_LCMS ...................................... ON
-- USE_LIBBACKTRACE OFF
-- USE_LIBDRM .................................... ON
-- USE_LIBHYPHEN OFF
-- USE_LIBSECRET ................................. ON
-- USE_SKIA OFF
-- USE_SOUP2 ..................................... ON
-- USE_WOFF2 ON
{
"Version Information": {
"WebKit version": "WebKitGTK 2.45.6 (r282487)",
"Operating system": "SunOS 5.11 11.3 i86pc",
"Desktop": "GNOME",
"Cairo version": "1.17.8 (build) 1.17.8 (runtime)",
"GStreamer version": "1.20.4 (build) GStreamer 1.20.4 (runtime)",
"GTK version": "3.24.38 (build) 3.24.38 (runtime)"
},
"Display Information": {
"Identifier": "1",
"Type": "X11",
"Screen geometry": "0,0 1920x1080",
"Screen work area": "0,28 1920x1024",
"Depth": "24",
"Bits per color component": "8",
"Font Scaling DPI": "96",
"Screen DPI": "93.60940451422194",
"VBlank type": "Timer",
"VBlank refresh rate": "60Hz"
},
"Hardware Acceleration Information": {
"Policy": "never",
"WebGL enabled": "Yes"
}
}
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Carlos Garcia Campos
I think I know what the problem is. Could you also share the output of webkit://gpu with accelerated compositing enabled?
Jim Mason
(In reply to Carlos Garcia Campos from comment #1)
> I think I know what the problem is. Could you also share the output of
> webkit://gpu with accelerated compositing enabled?
I am unable to enable accelerated compositing anymore. The WEBKIT_FORCE_COMPOSITING_MODE and WEBKIT_DISABLE_COMPOSITING_MODE environment variables stopped working on my system sometime in the Spring of this year.
Carlos Garcia Campos
Can you run eglinfo?
Carlos Garcia Campos
Also, do you use WEBKIT_DISABLE_DMABUF_RENDERER=1?
Jim Mason
(In reply to Carlos Garcia Campos from comment #3)
> Can you run eglinfo?
Using default X11 display
EGL information:
API version: 1.4
vendor string: NVIDIA
version string: 1.4
client APIs:
extensions:
EGL_EXT_buffer_age
EGL_EXT_create_context_robustness
EGL_EXT_stream_acquire_mode
EGL_IMG_context_priority
EGL_KHR_config_attribs
EGL_KHR_create_context_no_error
EGL_KHR_context_flush_control
EGL_KHR_create_context
EGL_KHR_display_reference
EGL_KHR_fence_sync
EGL_KHR_get_all_proc_addresses
EGL_KHR_partial_update
EGL_KHR_swap_buffers_with_damage
EGL_KHR_gl_colorspace
EGL_KHR_gl_renderbuffer_image
EGL_KHR_gl_texture_2D_image
EGL_KHR_gl_texture_3D_image
EGL_KHR_gl_texture_cubemap_image
EGL_KHR_image
EGL_KHR_image_base
EGL_KHR_image_pixmap
EGL_KHR_reusable_sync
EGL_KHR_stream
EGL_KHR_stream_consumer_gltexture
EGL_KHR_stream_cross_process_fd
EGL_KHR_stream_fifo
EGL_KHR_stream_producer_eglsurface
EGL_KHR_surfaceless_context
EGL_NV_post_sub_buffer
EGL_NV_stream_metadata
EGL_NV_stream_reset
EGL_NV_stream_sync
EGL_NV_stream_consumer_gltexture_yuv
EGL_NV_stream_attrib
EGL_NV_sync
EGL_NV_system_time
number of configurations: 118
win = window (c) = conformant slow = slow config gl = Desktop OpenGL
pb = pbuffer (n) = non-conformant nonconfmt = non-conformant config es1,es2 = OpenGL ES 1.x/2.x
pix = pixmap vg = OpenVG
# ID LEVEL COLORBUFFER.......... DEPTH STENCIL MULTISAMPLE.... VISUAL....... SURFACES.. RENDERABLES...................... TRANSPARENT.. CAVEAT...
type size r g b a size size samples buffers type id apis native type r g b
0 1 0 rgb 32 8 8 8 8 24 8 0 0 0x8002 0x0024 win,pb,pix gl(c),es1(c),es2(c) no none 0 0 0 none
1 2 0 rgb 32 8 8 8 8 24 8 0 0 0x8003 0x006f win,pb,pix gl(c),es1(c),es2(c) no none 0 0 0 none
2 3 0 rgb 32 8 8 8 8 24 8 0 0 0x8002 0x00ba win,pb,pix gl(c),es1(c),es2(c) no none 0 0 0 none
3 4 0 rgb 32 8 8 8 8 24 0 0 0 0x8002 0x0028 win,pb,pix gl(c),es1(c),es2(c) no none 0 0 0 none
4 5 0 rgb 32 8 8 8 8 24 0 0 0 0x8003 0x0073 win,pb,pix gl(c),es1(c),es2(c) no none 0 0 0 none
5 6 0 rgb 32 8 8 8 8 24 0 0 0 0x8002 0x00be win,pb,pix gl(c),es1(c),es2(c) no none 0 0 0 none
6 7 0 rgb 32 8 8 8 8 0 0 0 0 0x8002 0x002c win,pb,pix gl(c),es1(c),es2(c) no none 0 0 0 none
7 8 0 rgb 32 8 8 8 8 0 0 0 0 0x8003 0x0077 win,pb,pix gl(c),es1(c),es2(c) no none 0 0 0 none
8 9 0 rgb 32 8 8 8 8 0 0 0 0 0x8002 0x00c2 win,pb,pix gl(c),es1(c),es2(c) no none 0 0 0 none
9 10 0 rgb 32 8 8 8 8 24 8 2 1 0x8002 0x0038 win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
10 11 0 rgb 32 8 8 8 8 24 8 2 1 0x8003 0x0083 win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
11 12 0 rgb 32 8 8 8 8 24 8 2 1 0x8002 0x00ce win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
12 13 0 rgb 32 8 8 8 8 24 0 2 1 0x8002 0x0030 win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
13 14 0 rgb 32 8 8 8 8 24 0 2 1 0x8003 0x007b win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
14 15 0 rgb 32 8 8 8 8 24 0 2 1 0x8002 0x00c6 win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
15 16 0 rgb 32 8 8 8 8 24 8 4 1 0x8002 0x003a win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
16 17 0 rgb 32 8 8 8 8 24 8 4 1 0x8003 0x0085 win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
17 18 0 rgb 32 8 8 8 8 24 8 4 1 0x8002 0x00d0 win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
18 19 0 rgb 32 8 8 8 8 24 0 4 1 0x8002 0x0032 win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
19 20 0 rgb 32 8 8 8 8 24 0 4 1 0x8003 0x007d win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
20 21 0 rgb 32 8 8 8 8 24 0 4 1 0x8002 0x00c8 win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
21 22 0 rgb 32 8 8 8 8 24 8 8 1 0x8002 0x0044 win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
22 23 0 rgb 32 8 8 8 8 24 8 8 1 0x8003 0x008f win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
23 24 0 rgb 32 8 8 8 8 24 8 8 1 0x8002 0x005c win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
24 25 0 rgb 32 8 8 8 8 24 8 8 1 0x8003 0x00a7 win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
25 26 0 rgb 32 8 8 8 8 24 8 8 1 0x8002 0x00da win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
26 27 0 rgb 32 8 8 8 8 24 8 8 1 0x8002 0x00f2 win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
27 28 0 rgb 32 8 8 8 8 24 0 8 1 0x8002 0x0040 win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
28 29 0 rgb 32 8 8 8 8 24 0 8 1 0x8003 0x008b win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
29 30 0 rgb 32 8 8 8 8 24 0 8 1 0x8002 0x0050 win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
30 31 0 rgb 32 8 8 8 8 24 0 8 1 0x8003 0x009b win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
31 32 0 rgb 32 8 8 8 8 24 0 8 1 0x8002 0x00d6 win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
32 33 0 rgb 32 8 8 8 8 24 0 8 1 0x8002 0x00e6 win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
33 34 0 rgb 32 8 8 8 8 24 8 16 1 0x8002 0x004c win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
34 35 0 rgb 32 8 8 8 8 24 8 16 1 0x8003 0x0097 win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
35 36 0 rgb 32 8 8 8 8 24 8 16 1 0x8002 0x005f win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
36 37 0 rgb 32 8 8 8 8 24 8 16 1 0x8003 0x00aa win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
37 38 0 rgb 32 8 8 8 8 24 8 16 1 0x8002 0x0060 win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
38 39 0 rgb 32 8 8 8 8 24 8 16 1 0x8003 0x00ab win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
39 40 0 rgb 32 8 8 8 8 24 8 16 1 0x8002 0x00e2 win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
40 41 0 rgb 32 8 8 8 8 24 8 16 1 0x8002 0x00f5 win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
41 42 0 rgb 32 8 8 8 8 24 8 16 1 0x8002 0x00f6 win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
42 43 0 rgb 32 8 8 8 8 24 0 16 1 0x8002 0x0048 win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
43 44 0 rgb 32 8 8 8 8 24 0 16 1 0x8003 0x0093 win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
44 45 0 rgb 32 8 8 8 8 24 0 16 1 0x8002 0x0053 win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
45 46 0 rgb 32 8 8 8 8 24 0 16 1 0x8003 0x009e win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
46 47 0 rgb 32 8 8 8 8 24 0 16 1 0x8002 0x0054 win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
47 48 0 rgb 32 8 8 8 8 24 0 16 1 0x8003 0x009f win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
48 49 0 rgb 32 8 8 8 8 24 0 16 1 0x8002 0x00de win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
49 50 0 rgb 32 8 8 8 8 24 0 16 1 0x8002 0x00e9 win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
50 51 0 rgb 32 8 8 8 8 24 0 16 1 0x8002 0x00ea win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
51 52 0 rgb 32 8 8 8 8 24 8 32 1 0x8002 0x006c win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
52 53 0 rgb 32 8 8 8 8 24 8 32 1 0x8003 0x00b7 win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
53 54 0 rgb 32 8 8 8 8 24 8 32 1 0x8002 0x0102 win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
54 55 0 rgb 32 8 8 8 8 24 0 32 1 0x8002 0x0068 win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
55 56 0 rgb 32 8 8 8 8 24 0 32 1 0x8003 0x00b3 win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
56 57 0 rgb 32 8 8 8 8 24 0 32 1 0x8002 0x00fe win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
57 58 0 rgb 24 8 8 8 0 24 8 0 0 0x8002 0x0021 win,pb,pix gl(c),es1(c),es2(c) no none 0 0 0 none
58 59 0 rgb 24 8 8 8 0 24 8 0 0 0x8003 0x0022 win,pb,pix gl(c),es1(c),es2(c) no none 0 0 0 none
59 60 0 rgb 24 8 8 8 0 24 8 0 0 0x8002 0x0023 win,pb,pix gl(c),es1(c),es2(c) no none 0 0 0 none
60 61 0 rgb 24 8 8 8 0 24 0 0 0 0x8002 0x0027 win,pb,pix gl(c),es1(c),es2(c) no none 0 0 0 none
61 62 0 rgb 24 8 8 8 0 24 0 0 0 0x8003 0x0072 win,pb,pix gl(c),es1(c),es2(c) no none 0 0 0 none
62 63 0 rgb 24 8 8 8 0 24 0 0 0 0x8002 0x00bd win,pb,pix gl(c),es1(c),es2(c) no none 0 0 0 none
63 64 0 rgb 24 8 8 8 0 0 0 0 0 0x8002 0x002b win,pb,pix gl(c),es1(c),es2(c) no none 0 0 0 none
64 65 0 rgb 24 8 8 8 0 0 0 0 0 0x8003 0x0076 win,pb,pix gl(c),es1(c),es2(c) no none 0 0 0 none
65 66 0 rgb 24 8 8 8 0 0 0 0 0 0x8002 0x00c1 win,pb,pix gl(c),es1(c),es2(c) no none 0 0 0 none
66 67 0 rgb 24 8 8 8 0 24 8 2 1 0x8002 0x0037 win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
67 68 0 rgb 24 8 8 8 0 24 8 2 1 0x8003 0x0082 win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
68 69 0 rgb 24 8 8 8 0 24 8 2 1 0x8002 0x00cd win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
69 70 0 rgb 24 8 8 8 0 24 0 2 1 0x8002 0x002f win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
70 71 0 rgb 24 8 8 8 0 24 0 2 1 0x8003 0x007a win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
71 72 0 rgb 24 8 8 8 0 24 0 2 1 0x8002 0x00c5 win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
72 73 0 rgb 24 8 8 8 0 24 8 4 1 0x8002 0x0039 win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
73 74 0 rgb 24 8 8 8 0 24 8 4 1 0x8003 0x0084 win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
74 75 0 rgb 24 8 8 8 0 24 8 4 1 0x8002 0x00cf win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
75 76 0 rgb 24 8 8 8 0 24 0 4 1 0x8002 0x0031 win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
76 77 0 rgb 24 8 8 8 0 24 0 4 1 0x8003 0x007c win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
77 78 0 rgb 24 8 8 8 0 24 0 4 1 0x8002 0x00c7 win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
78 79 0 rgb 24 8 8 8 0 24 8 8 1 0x8002 0x0043 win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
79 80 0 rgb 24 8 8 8 0 24 8 8 1 0x8003 0x008e win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
80 81 0 rgb 24 8 8 8 0 24 8 8 1 0x8002 0x005b win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
81 82 0 rgb 24 8 8 8 0 24 8 8 1 0x8003 0x00a6 win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
82 83 0 rgb 24 8 8 8 0 24 8 8 1 0x8002 0x00d9 win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
83 84 0 rgb 24 8 8 8 0 24 8 8 1 0x8002 0x00f1 win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
84 85 0 rgb 24 8 8 8 0 24 0 8 1 0x8002 0x003f win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
85 86 0 rgb 24 8 8 8 0 24 0 8 1 0x8003 0x008a win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
86 87 0 rgb 24 8 8 8 0 24 0 8 1 0x8002 0x004f win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
87 88 0 rgb 24 8 8 8 0 24 0 8 1 0x8003 0x009a win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
88 89 0 rgb 24 8 8 8 0 24 0 8 1 0x8002 0x00d5 win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
89 90 0 rgb 24 8 8 8 0 24 0 8 1 0x8002 0x00e5 win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
90 91 0 rgb 24 8 8 8 0 24 8 16 1 0x8002 0x004b win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
91 92 0 rgb 24 8 8 8 0 24 8 16 1 0x8003 0x0096 win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
92 93 0 rgb 24 8 8 8 0 24 8 16 1 0x8002 0x005d win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
93 94 0 rgb 24 8 8 8 0 24 8 16 1 0x8003 0x00a8 win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
94 95 0 rgb 24 8 8 8 0 24 8 16 1 0x8002 0x005e win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
95 96 0 rgb 24 8 8 8 0 24 8 16 1 0x8003 0x00a9 win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
96 97 0 rgb 24 8 8 8 0 24 8 16 1 0x8002 0x00e1 win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
97 98 0 rgb 24 8 8 8 0 24 8 16 1 0x8002 0x00f3 win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
98 99 0 rgb 24 8 8 8 0 24 8 16 1 0x8002 0x00f4 win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
99 100 0 rgb 24 8 8 8 0 24 0 16 1 0x8002 0x0047 win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
100 101 0 rgb 24 8 8 8 0 24 0 16 1 0x8003 0x0092 win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
101 102 0 rgb 24 8 8 8 0 24 0 16 1 0x8002 0x0051 win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
102 103 0 rgb 24 8 8 8 0 24 0 16 1 0x8003 0x009c win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
103 104 0 rgb 24 8 8 8 0 24 0 16 1 0x8002 0x0052 win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
104 105 0 rgb 24 8 8 8 0 24 0 16 1 0x8003 0x009d win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
105 106 0 rgb 24 8 8 8 0 24 0 16 1 0x8002 0x00dd win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
106 107 0 rgb 24 8 8 8 0 24 0 16 1 0x8002 0x00e7 win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
107 108 0 rgb 24 8 8 8 0 24 0 16 1 0x8002 0x00e8 win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
108 109 0 rgb 24 8 8 8 0 24 8 32 1 0x8002 0x006b win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
109 110 0 rgb 24 8 8 8 0 24 8 32 1 0x8003 0x00b6 win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
110 111 0 rgb 24 8 8 8 0 24 8 32 1 0x8002 0x0101 win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
111 112 0 rgb 24 8 8 8 0 24 0 32 1 0x8002 0x0067 win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
112 113 0 rgb 24 8 8 8 0 24 0 32 1 0x8003 0x00b2 win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
113 114 0 rgb 24 8 8 8 0 24 0 32 1 0x8002 0x00fd win,pb gl(c),es1(c),es2(c) no none 0 0 0 none
114 115 0 rgb 16 5 6 5 0 24 8 0 0 0x8000 0x0000 pb gl(c),es1(c),es2(c) no none 0 0 0 none
115 116 0 rgb 16 5 6 5 0 24 0 0 0 0x8000 0x0000 pb gl(c),es1(c),es2(c) no none 0 0 0 none
116 117 0 rgb 16 5 6 5 0 16 0 0 0 0x8000 0x0000 pb gl(c),es1(c),es2(c) no none 0 0 0 none
117 118 0 rgb 16 5 6 5 0 0 0 0 0 0x8000 0x0000 pb gl(c),es1(c),es2(c) no none 0 0 0 none
OpenGL information:
version string: [null string]
renderer string: [null string]
extensions:
[null string]
main stats:
max texture size: -32513
max cubemap texture size: -32513
max texture image units: -32513
max renderbuffer size: -32513
max combined texture image units: -32513
num compressed texture formats: -32513
aliased line width range: -1084261180 - -32513
aliased point size range: -1084310080 - -32513
implementation color read format: 0xffff80ff
implementation color read type: 0xffff80ff
max viewport dimensions: 1 x 0
subpixel bits: -32513
shader specific stats:
max vertex attribs: -32513
max vertex texture image units: -32513
num program binary formats: 0
num shader binary formats: -32513
max varying vectors: -32513
max vertex uniform vectors: -32513
max fragment uniform vectors: -32513
shader compiler: yes
Jim Mason
(In reply to Carlos Garcia Campos from comment #4)
> Also, do you use WEBKIT_DISABLE_DMABUF_RENDERER=1?
No, I am not using.
Carlos Garcia Campos
hmm, that doesn't show the list of supported platforms, I guess it's a different version of eglinfo. Does it have the -p option? If it does, what eglinfo -p surfaceless return? I just want to know if EGL_MESA_platform_surfaceless is supported.
Carlos Garcia Campos
Pull request: https://github.com/WebKit/WebKit/pull/32585
Carlos Garcia Campos
(In reply to Carlos Garcia Campos from comment #8)
> Pull request: https://github.com/WebKit/WebKit/pull/32585
Could you try the patch in this PR? If surfaceless platform is not supported, maybe the crash is fixed, but the WEbGL will not work.
Jim Mason
(In reply to Carlos Garcia Campos from comment #9)
> (In reply to Carlos Garcia Campos from comment #8)
> > Pull request: https://github.com/WebKit/WebKit/pull/32585
>
> Could you try the patch in this PR? If surfaceless platform is not
> supported, maybe the crash is fixed, but the WEbGL will not work.
In file included from /build/rtutils/components/desktop/webkitgtk4-dev/build/amd64/DerivedSources/WebKit/unified-sources/UnifiedSource-54928a2b-45.cpp:8:
/build/rtutils/components/desktop/webkitgtk4-dev/webkit/Source/WebKit/WebProcess/glib/WebProcessGLib.cpp:135:26: error: no member named 'sharedDisplayIfExists' in 'WebCore::PlatformDisplay'
135 | if (PlatformDisplay::sharedDisplayIfExists())
| ~~~~~~~~~~~~~~~~~^
1 error generated.
Carlos Garcia Campos
You need to update to current main
Jim Mason
(In reply to Carlos Garcia Campos from comment #8)
> Pull request: https://github.com/WebKit/WebKit/pull/32585
WebKitWebProcess crashes immediately (no page is ever rendered), and I am getting on stderr:
Could not create EGL display: EGL_BAD_PARAMETER. Aborting...
Carlos Garcia Campos
Pages without WebGL don't load either? It shouldn't try to create a PlatformDisplay with accelerated compositing is disabled.
Jim Mason
(In reply to Carlos Garcia Campos from comment #13)
> Pages without WebGL don't load either? It shouldn't try to create a
> PlatformDisplay with accelerated compositing is disabled.
All pages, including webkit://gpu
Is it trying to create surfaceless? My libEGL is supplied by the NVIDIA driver. It is a Kepler-based GPU (predates the NVIDIA 525 driver), thus the EGL_MESA_platform_surfaceless extension is not supported.
Carlos Garcia Campos
(In reply to Jim Mason from comment #14)
> (In reply to Carlos Garcia Campos from comment #13)
> > Pages without WebGL don't load either? It shouldn't try to create a
> > PlatformDisplay with accelerated compositing is disabled.
>
> All pages, including webkit://gpu
>
> Is it trying to create surfaceless? My libEGL is supplied by the NVIDIA
> driver. It is a Kepler-based GPU (predates the NVIDIA 525 driver), thus
> the EGL_MESA_platform_surfaceless extension is not supported.
It shouldn't, since you have accelerated compositing disabled, it should only try if you load WebGL content. Could you get a bt of the new crash?
Carlos Garcia Campos
In any case I've pushed a new patch to the PR that never tries to create a surfaceless display if it isn't supported. Could you try again with that patch, please?
Jim Mason
(In reply to Carlos Garcia Campos from comment #16)
> In any case I've pushed a new patch to the PR that never tries to create a
> surfaceless display if it isn't supported. Could you try again with that
> patch, please?
Thanks Carlos! I am happy to report that the new patch resolves the spurious crashing, *and* WebGL{,2} works as well.
Thank you again for the prompt resolution. Should you need anything more from me, just let me know.
EWS
Committed 282721@main (2d6f98bbc33f): <https://commits.webkit.org/282721@main>
Reviewed commits have been landed. Closing PR #32585 and removing active labels.