<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>278461</bug_id>
          
          <creation_ts>2024-08-21 05:21:19 -0700</creation_ts>
          <short_desc>REGRESSION(282416@main): [GTK] crash loading WebGL with accelerated compositing disabled under X11</short_desc>
          <delta_ts>2024-08-25 22:26:36 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKitGTK</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=278380</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Carlos Garcia Campos">cgarcia</reporter>
          <assigned_to name="Carlos Garcia Campos">cgarcia</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>jmason</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2054398</commentid>
    <comment_count>0</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2024-08-21 05:21:19 -0700</bug_when>
    <thetext>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


{
    &quot;Version Information&quot;: {
        &quot;WebKit version&quot;: &quot;WebKitGTK 2.45.6 (r282487)&quot;,
        &quot;Operating system&quot;: &quot;SunOS 5.11 11.3 i86pc&quot;,
        &quot;Desktop&quot;: &quot;GNOME&quot;,
        &quot;Cairo version&quot;: &quot;1.17.8 (build) 1.17.8 (runtime)&quot;,
        &quot;GStreamer version&quot;: &quot;1.20.4 (build) GStreamer 1.20.4 (runtime)&quot;,
        &quot;GTK version&quot;: &quot;3.24.38 (build) 3.24.38 (runtime)&quot;
    },
    &quot;Display Information&quot;: {
        &quot;Identifier&quot;: &quot;1&quot;,
        &quot;Type&quot;: &quot;X11&quot;,
        &quot;Screen geometry&quot;: &quot;0,0 1920x1080&quot;,
        &quot;Screen work area&quot;: &quot;0,28 1920x1024&quot;,
        &quot;Depth&quot;: &quot;24&quot;,
        &quot;Bits per color component&quot;: &quot;8&quot;,
        &quot;Font Scaling DPI&quot;: &quot;96&quot;,
        &quot;Screen DPI&quot;: &quot;93.60940451422194&quot;,
        &quot;VBlank type&quot;: &quot;Timer&quot;,
        &quot;VBlank refresh rate&quot;: &quot;60Hz&quot;
    },
    &quot;Hardware Acceleration Information&quot;: {
        &quot;Policy&quot;: &quot;never&quot;,
        &quot;WebGL enabled&quot;: &quot;Yes&quot;
    }
}</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2054400</commentid>
    <comment_count>1</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2024-08-21 05:27:49 -0700</bug_when>
    <thetext>I think I know what the problem is. Could you also share the output of webkit://gpu with accelerated compositing enabled?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2054407</commentid>
    <comment_count>2</comment_count>
    <who name="Jim Mason">jmason</who>
    <bug_when>2024-08-21 07:21:51 -0700</bug_when>
    <thetext>(In reply to Carlos Garcia Campos from comment #1)
&gt; I think I know what the problem is. Could you also share the output of
&gt; 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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2054633</commentid>
    <comment_count>3</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2024-08-21 23:17:34 -0700</bug_when>
    <thetext>Can you run eglinfo?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2054662</commentid>
    <comment_count>4</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2024-08-22 02:13:47 -0700</bug_when>
    <thetext>Also, do you use WEBKIT_DISABLE_DMABUF_RENDERER=1?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2054666</commentid>
    <comment_count>5</comment_count>
    <who name="Jim Mason">jmason</who>
    <bug_when>2024-08-22 02:36:40 -0700</bug_when>
    <thetext>(In reply to Carlos Garcia Campos from comment #3)
&gt; 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2054667</commentid>
    <comment_count>6</comment_count>
    <who name="Jim Mason">jmason</who>
    <bug_when>2024-08-22 02:39:01 -0700</bug_when>
    <thetext>(In reply to Carlos Garcia Campos from comment #4)
&gt; Also, do you use WEBKIT_DISABLE_DMABUF_RENDERER=1?

No, I am not using.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2054669</commentid>
    <comment_count>7</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2024-08-22 02:48:42 -0700</bug_when>
    <thetext>hmm, that doesn&apos;t show the list of supported platforms, I guess it&apos;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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2054674</commentid>
    <comment_count>8</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2024-08-22 04:17:55 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/32585</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2054675</commentid>
    <comment_count>9</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2024-08-22 04:19:55 -0700</bug_when>
    <thetext>(In reply to Carlos Garcia Campos from comment #8)
&gt; 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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2054676</commentid>
    <comment_count>10</comment_count>
    <who name="Jim Mason">jmason</who>
    <bug_when>2024-08-22 04:41:26 -0700</bug_when>
    <thetext>(In reply to Carlos Garcia Campos from comment #9)
&gt; (In reply to Carlos Garcia Campos from comment #8)
&gt; &gt; Pull request: https://github.com/WebKit/WebKit/pull/32585
&gt; 
&gt; Could you try the patch in this PR? If surfaceless platform is not
&gt; 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 &apos;sharedDisplayIfExists&apos; in &apos;WebCore::PlatformDisplay&apos;
  135 |     if (PlatformDisplay::sharedDisplayIfExists())
      |         ~~~~~~~~~~~~~~~~~^
1 error generated.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2054678</commentid>
    <comment_count>11</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2024-08-22 04:57:07 -0700</bug_when>
    <thetext>You need to update to current main</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2054710</commentid>
    <comment_count>12</comment_count>
    <who name="Jim Mason">jmason</who>
    <bug_when>2024-08-22 08:37:11 -0700</bug_when>
    <thetext>(In reply to Carlos Garcia Campos from comment #8)
&gt; 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...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2054879</commentid>
    <comment_count>13</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2024-08-22 22:09:14 -0700</bug_when>
    <thetext>Pages without WebGL don&apos;t load either? It shouldn&apos;t try to create a PlatformDisplay with accelerated compositing is disabled.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2054900</commentid>
    <comment_count>14</comment_count>
    <who name="Jim Mason">jmason</who>
    <bug_when>2024-08-23 02:05:11 -0700</bug_when>
    <thetext>(In reply to Carlos Garcia Campos from comment #13)
&gt; Pages without WebGL don&apos;t load either? It shouldn&apos;t try to create a
&gt; 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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2055190</commentid>
    <comment_count>15</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2024-08-25 00:03:42 -0700</bug_when>
    <thetext>(In reply to Jim Mason from comment #14)
&gt; (In reply to Carlos Garcia Campos from comment #13)
&gt; &gt; Pages without WebGL don&apos;t load either? It shouldn&apos;t try to create a
&gt; &gt; PlatformDisplay with accelerated compositing is disabled.
&gt; 
&gt; All pages, including webkit://gpu
&gt; 
&gt; Is it trying to create surfaceless?  My libEGL is supplied by the NVIDIA
&gt; driver.   It is a Kepler-based GPU (predates the NVIDIA 525 driver), thus
&gt; the EGL_MESA_platform_surfaceless extension is not supported.

It shouldn&apos;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?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2055191</commentid>
    <comment_count>16</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2024-08-25 00:07:30 -0700</bug_when>
    <thetext>In any case I&apos;ve pushed a new patch to the PR that never tries to create a surfaceless display if it isn&apos;t supported. Could you try again with that patch, please?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2055202</commentid>
    <comment_count>17</comment_count>
    <who name="Jim Mason">jmason</who>
    <bug_when>2024-08-25 04:23:29 -0700</bug_when>
    <thetext>(In reply to Carlos Garcia Campos from comment #16)
&gt; In any case I&apos;ve pushed a new patch to the PR that never tries to create a
&gt; surfaceless display if it isn&apos;t supported. Could you try again with that
&gt; 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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2055277</commentid>
    <comment_count>18</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-08-25 22:26:33 -0700</bug_when>
    <thetext>Committed 282721@main (2d6f98bbc33f): &lt;https://commits.webkit.org/282721@main&gt;

Reviewed commits have been landed. Closing PR #32585 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>