<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [GTK] GLES2 + WAYLAND does not render pages"
   href="https://bugs.webkit.org/show_bug.cgi?id=161599#c8">Comment # 8</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [GTK] GLES2 + WAYLAND does not render pages"
   href="https://bugs.webkit.org/show_bug.cgi?id=161599">bug 161599</a>
              from <span class="vcard"><a class="email" href="mailto:mihailescu2m&#64;gmail.com" title="memeka &lt;mihailescu2m&#64;gmail.com&gt;"> <span class="fn">memeka</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=161599#c7">comment #7</a>)
<span class="quote">&gt; (In reply to <a href="show_bug.cgi?id=161599#c6">comment #6</a>)
&gt; &gt; With WEBKIT_DISABLE_COMPOSITING_MODE=1 pages do get rendered. There are
&gt; &gt; however issues e.g. when playing videos, but I guess that's to be expected.
&gt; 
&gt; I guess you are trying to run webkit under wayland, right?
&gt; 
&gt; Can you answer:
&gt; 
&gt; 
&gt; 1) What GPU do you have?
&gt; 
&gt; 2) What OpenGL drivers (and version) are you using?
&gt; 
&gt; 3) Is EGL working on your wayland environment? For example, can you run the
&gt; test program /usr/lib/weston/weston-simple-egl and see the triangle rotating?
&gt; 
&gt; 4) Can you try this program <a href="http://sprunge.us/FOIe">http://sprunge.us/FOIe</a> and paste the output
&gt; here?:
&gt; 
&gt; $ wget <a href="http://sprunge.us/FOIe">http://sprunge.us/FOIe</a> -O waylandes2info.c
&gt; $ gcc $(pkg-config --cflags --libs wayland-client egl glesv2 wayland-egl
&gt; wayland-server) waylandes2info.c -o waylandes2info
&gt; $ ./waylandes2info</span >

Thanks for the quick answer.

1) GPU is Mali T628, on Exynos5422 ARM platform (Odroid XU4)

2) OpenGL-ES 3.1

3)Yes, EGL is working, apps like wayland-simple-egl, glmark2-es2-wayland work, and heavier apps like gnome-maps, kodi work too. gnome-shell and weston are also EGL-accelerated via GBM(KMS).

4) here's the output from waylandes2info:

EGL_VERSION = 1.4 Midgard-&quot;r10p0-00rel0&quot;
EGL_VENDOR = ARM
EGL_EXTENSIONS =  EGL_WL_bind_wayland_display  EGL_KHR_partial_update EGL_KHR_config_attribs EGL_KHR_image EGL_KHR_image_base EGL_KHR_fence_sync EGL_KHR_wait_sync EGL_KHR_gl_colorspace EGL_KHR_get_all_proc_addresses EGL_IMG_context_priority EGL_ARM_pixmap_multisample_discard EGL_KHR_gl_texture_2D_image EGL_KHR_gl_renderbuffer_image EGL_KHR_create_context EGL_KHR_surfaceless_context EGL_KHR_gl_texture_cubemap_image EGL_EXT_create_context_robustness EGL_KHR_cl_event2
EGL_CLIENT_APIS = OpenGL_ES
GL_VERSION: OpenGL ES 3.1 v1.r10p0-00rel0.96536f95341f755422ab626cb4211af7
GL_RENDERER: Mali-T628
GL_EXTENSIONS:
    GL_ARM_rgba8, GL_ARM_mali_shader_binary, GL_OES_depth24, 
    GL_OES_depth_texture, GL_OES_depth_texture_cube_map, 
    GL_OES_packed_depth_stencil, GL_OES_rgb8_rgba8, GL_EXT_read_format_bgra, 
    GL_OES_compressed_paletted_texture, GL_OES_compressed_ETC1_RGB8_texture, 
    GL_OES_standard_derivatives, GL_OES_EGL_image, GL_OES_EGL_image_external, 
    GL_OES_EGL_sync, GL_OES_texture_npot, GL_OES_vertex_half_float, 
    GL_OES_required_internalformat, GL_OES_vertex_array_object, 
    GL_OES_mapbuffer, GL_EXT_texture_format_BGRA8888, GL_EXT_texture_rg, 
    GL_EXT_texture_type_2_10_10_10_REV, GL_OES_fbo_render_mipmap, 
    GL_OES_element_index_uint, GL_EXT_shadow_samplers, 
    GL_OES_texture_compression_astc, GL_KHR_texture_compression_astc_ldr, 
    GL_KHR_texture_compression_astc_hdr, GL_KHR_debug, 
    GL_EXT_occlusion_query_boolean, GL_EXT_disjoint_timer_query, 
    GL_EXT_blend_minmax, GL_EXT_discard_framebuffer, 
    GL_OES_get_program_binary, GL_OES_texture_3D, GL_EXT_texture_storage, 
    GL_EXT_multisampled_render_to_texture, GL_OES_surfaceless_context, 
    GL_OES_texture_stencil8, GL_EXT_shader_pixel_local_storage, 
    GL_ARM_shader_framebuffer_fetch, 
    GL_ARM_shader_framebuffer_fetch_depth_stencil, GL_ARM_mali_program_binary, 
    GL_EXT_sRGB, GL_EXT_sRGB_write_control, GL_EXT_texture_sRGB_decode, 
    GL_KHR_blend_equation_advanced, GL_KHR_blend_equation_advanced_coherent, 
    GL_OES_texture_storage_multisample_2d_array, GL_OES_shader_image_atomic, 
    GL_EXT_robustness, GL_EXT_texture_border_clamp, 
    GL_OES_texture_border_clamp, GL_EXT_texture_cube_map_array, 
    GL_OES_texture_cube_map_array, GL_OES_sample_variables, 
    GL_OES_sample_shading, GL_OES_shader_multisample_interpolation, 
    GL_EXT_shader_io_blocks, GL_OES_shader_io_blocks, GL_EXT_gpu_shader5, 
    GL_OES_gpu_shader5, GL_EXT_texture_buffer, GL_OES_texture_buffer, 
    GL_EXT_copy_image, GL_OES_copy_image, GL_ARM_packed_arithmetic

Here's an older grab that shows weston-simple-egl, webkit-gtk 2.12 (epiphany) and glmark2-es2-wayland working: <a href="https://www.youtube.com/watch?v=AkSgm4JF81U">https://www.youtube.com/watch?v=AkSgm4JF81U</a>. I hope to get to use USE_GSTREAMER_GL on 2.14, since in 2.12 it was not ready.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>