I am able to get the hardware acceleration working for most of the Graphics Features including WebGL when i launch chromium with commandline flag "--use-angle=gl".
Please find below the Chromium gpu report when running with ANGLE backend set to gl.
about-gpu-2025-10-27T12-27-21-921Z.txt
When i launch Chromium with any other ANGLE backing renderers like "--use-angle=gles-egl", it doesn't give me hardware acceleration. Instead it switches to Software rendering using SwiftShader.
As per the second table in the page https://chromium.googlesource.com/angle/angle , under Linux, only desktop gl & vulkan are supported as a backing renderer to ANGLE.
1- But then does it mean that gles works only on Windows, Chrome OS & Android and not on embedded Linux (yocto based) on embedded targets like what i am using now, as per this table?
2-If yes, is desktop gl or vulkan ANGLE backing renderers advisable on embedded targets or should i get the gles/gles-egl ANGLE backing renderer working on my embedded target?
3- Also, what is the difference between -use-angle=gles-egl and --use-angle=gles (without -egl suffix)?
4- When i run chromium with "use-angle=gles", i see these below lines in the logs:
[2272:2272:1028/202932.054245:ERROR:angle_platform_impl.cc(44)] Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Intel or NVIDIA OpenGL ES drivers are not supported.
ERR: Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Intel or NVIDIA OpenGL ES drivers are not supported.
[2272:2272:1028/202932.056216:ERROR:gl_display.cc(493)] EGL Driver message (Critical) eglInitialize: Intel or NVIDIA OpenGL ES drivers are not supported.
[2272:2272:1028/202932.056271:ERROR:gl_display.cc(762)] eglInitialize OpenGLES failed with error EGL_NOT_INITIALIZED
[2272:2272:1028/202932.056346:ERROR:gl_display.cc(796)] Initialization of all EGL display types failed.
[2272:2272:1028/202932.056499:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed.
[2333:2333:1028/202932.639607:ERROR:viz_main_impl.cc(185)] Exiting GPU process due to errors during initialization
[2348:2348:1028/202942.497239:ERROR:gl_display.cc(493)] EGL Driver message (Error) eglCreateContext: Requested version is not supported
Warning: eglCreateContext failed with EGL_BAD_ATTRIBUTE
While trying to discover a BackendType::OpenGL adapter.
at CheckEGL (../../third_party/dawn/src/dawn/native/opengl/UtilsEGL.cpp:84)
[2469:2469:1028/203232.050065:ERROR:gpu_blocklist.cc(71)] Unable to get gpu adapter
[2231:2231:1028/203232.050371:ERROR:service_client.cc(36)] Unexpected on_device_model service disconnect: The device's GPU is not supported.
Some of the above lines are seen when running with --use-angle=gles-egl too. But the bolded lines are something which i see only occurring when i run with "--use-angle=gles"
Does this mean that with the Intel GPU which i am using, ANGLE is not compatible with its Intel OpenGL ES drivers and due to this reason, "--use-angle=gles" or --use-angle=gles-egl options never works with hardware acceleration for chromium?
1- But then does it mean that gles works only on Windows, Chrome OS & Android and not on embedded Linux (yocto based) on embedded targets like what i am using now, as per this table?
2-If yes, is desktop gl or vulkan ANGLE backing renderers advisable on embedded targets or should i get the gles/gles-egl ANGLE backing renderer working on my embedded target?
3- Also, what is the difference between -use-angle=gles-egl and --use-angle=gles (without -egl suffix)?
4- When i run chromium with "use-angle=gles", i see these below lines in the logs:
[2272:2272:1028/202932.054245:ERROR:angle_platform_impl.cc(44)] Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Intel or NVIDIA OpenGL ES drivers are not supported.
ERR: Display.cpp:1056 (initialize): ANGLE Display::initialize error 12289: Intel or NVIDIA OpenGL ES drivers are not supported.
[2272:2272:1028/202932.056216:ERROR:gl_display.cc(493)] EGL Driver message (Critical) eglInitialize: Intel or NVIDIA OpenGL ES drivers are not supported.
[2272:2272:1028/202932.056271:ERROR:gl_display.cc(762)] eglInitialize OpenGLES failed with error EGL_NOT_INITIALIZED
[2272:2272:1028/202932.056346:ERROR:gl_display.cc(796)] Initialization of all EGL display types failed.
[2272:2272:1028/202932.056499:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed.
[2333:2333:1028/202932.639607:ERROR:viz_main_impl.cc(185)] Exiting GPU process due to errors during initialization
[2348:2348:1028/202942.497239:ERROR:gl_display.cc(493)] EGL Driver message (Error) eglCreateContext: Requested version is not supported
Warning: eglCreateContext failed with EGL_BAD_ATTRIBUTE
While trying to discover a BackendType::OpenGL adapter.
at CheckEGL (../../third_party/dawn/src/dawn/native/opengl/UtilsEGL.cpp:84)
[2469:2469:1028/203232.050065:ERROR:gpu_blocklist.cc(71)] Unable to get gpu adapter
[2231:2231:1028/203232.050371:ERROR:service_client.cc(36)] Unexpected on_device_model service disconnect: The device's GPU is not supported.Some of the above lines are seen when running with --use-angle=gles-egl too. But the bolded lines are something which i see only occurring when i run with "--use-angle=gles"
Does this mean that with the Intel GPU which i am using, ANGLE is not compatible with its Intel OpenGL ES drivers and due to this reason, "--use-angle=gles" or --use-angle=gles-egl options never works with hardware acceleration for chromium?
--
You received this message because you are subscribed to the Google Groups "angleproject" group.
To unsubscribe from this group and stop receiving emails from it, send an email to angleproject...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/angleproject/fdc64d09-ef65-46f9-8368-9e5fc59c4586n%40googlegroups.com.