WebGL Support for Orin NX

WebGL is not available in the Chromium or Firefox browsers on Jetson Linux Release 35.3.1.

I’m using a Jetson Orin NX 16GB with a Xavier NX devkit: p3509-a02+p3767-0000

I followed the Quick Start instructions in the Jetson Linux Developer Guide, and I use webglsamples.org to test.

Here is the output log for Chromium:

2023/04/10 11:04:03.192526 cmd_run.go:1046: WARNING: cannot create user data directory: failed to verify SELinux context of /home/pl/snap: exec: "matchpathcon": executable file not found in $PATH
Gtk-Message: 11:04:03.464: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.
[3437:3437:0410/110403.688804:ERROR:angle_platform_impl.cc(43)] Display.cpp:1014 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
ERR: Display.cpp:1014 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
[3437:3437:0410/110403.689124:ERROR:gl_display.cc(498)] EGL Driver message (Critical) eglInitialize: Could not create a backing OpenGL context.
[3437:3437:0410/110403.689264:ERROR:gl_display.cc(725)] eglInitialize OpenGL failed with error EGL_NOT_INITIALIZED, trying next display type
[3437:3437:0410/110403.690250:ERROR:angle_platform_impl.cc(43)] Display.cpp:1014 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
ERR: Display.cpp:1014 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
[3437:3437:0410/110403.690408:ERROR:gl_display.cc(498)] EGL Driver message (Critical) eglInitialize: Could not create a backing OpenGL context.
[3437:3437:0410/110403.690510:ERROR:gl_display.cc(725)] eglInitialize OpenGLES failed with error EGL_NOT_INITIALIZED
[3437:3437:0410/110403.690610:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed.
[3437:3437:0410/110403.693573:ERROR:angle_platform_impl.cc(43)] Display.cpp:1014 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
ERR: Display.cpp:1014 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
[3437:3437:0410/110403.693728:ERROR:gl_display.cc(498)] EGL Driver message (Critical) eglInitialize: Could not create a backing OpenGL context.
[3437:3437:0410/110403.693858:ERROR:gl_display.cc(725)] eglInitialize OpenGL failed with error EGL_NOT_INITIALIZED, trying next display type
[3437:3437:0410/110403.694610:ERROR:angle_platform_impl.cc(43)] Display.cpp:1014 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
ERR: Display.cpp:1014 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
[3437:3437:0410/110403.694734:ERROR:gl_display.cc(498)] EGL Driver message (Critical) eglInitialize: Could not create a backing OpenGL context.
[3437:3437:0410/110403.694851:ERROR:gl_display.cc(725)] eglInitialize OpenGLES failed with error EGL_NOT_INITIALIZED
[3437:3437:0410/110403.694965:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed.
[3437:3437:0410/110403.699078:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[3482:3482:0410/110404.098860:ERROR:angle_platform_impl.cc(43)] Display.cpp:1014 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
ERR: Display.cpp:1014 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
[3482:3482:0410/110404.099149:ERROR:gl_display.cc(498)] EGL Driver message (Critical) eglInitialize: Could not create a backing OpenGL context.
[3482:3482:0410/110404.099290:ERROR:gl_display.cc(725)] eglInitialize OpenGL failed with error EGL_NOT_INITIALIZED, trying next display type
[3482:3482:0410/110404.100600:ERROR:angle_platform_impl.cc(43)] Display.cpp:1014 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
ERR: Display.cpp:1014 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
[3482:3482:0410/110404.100787:ERROR:gl_display.cc(498)] EGL Driver message (Critical) eglInitialize: Could not create a backing OpenGL context.
[3482:3482:0410/110404.100929:ERROR:gl_display.cc(725)] eglInitialize OpenGLES failed with error EGL_NOT_INITIALIZED
[3482:3482:0410/110404.101047:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed.
[3482:3482:0410/110404.104591:ERROR:angle_platform_impl.cc(43)] Display.cpp:1014 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
ERR: Display.cpp:1014 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
[3482:3482:0410/110404.104791:ERROR:gl_display.cc(498)] EGL Driver message (Critical) eglInitialize: Could not create a backing OpenGL context.
[3482:3482:0410/110404.104930:ERROR:gl_display.cc(725)] eglInitialize OpenGL failed with error EGL_NOT_INITIALIZED, trying next display type
[3482:3482:0410/110404.106008:ERROR:angle_platform_impl.cc(43)] Display.cpp:1014 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
ERR: Display.cpp:1014 (initialize): ANGLE Display::initialize error 12289: Could not create a backing OpenGL context.
[3482:3482:0410/110404.106176:ERROR:gl_display.cc(498)] EGL Driver message (Critical) eglInitialize: Could not create a backing OpenGL context.
[3482:3482:0410/110404.106289:ERROR:gl_display.cc(725)] eglInitialize OpenGLES failed with error EGL_NOT_INITIALIZED
[3482:3482:0410/110404.106407:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed.
[3482:3482:0410/110404.110226:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[3465:8:0410/110404.194816:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[3565:3565:0410/110425.240667:ERROR:gl_utils.cc(402)] [.WebGL-0x240037a300]GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels
[3565:3565:0410/110425.935464:ERROR:gl_utils.cc(402)] [.WebGL-0x240037a300]GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels
[3565:3565:0410/110426.074022:ERROR:gl_utils.cc(402)] [.WebGL-0x240037a300]GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels
[3565:3565:0410/110426.234902:ERROR:gl_utils.cc(402)] [.WebGL-0x240037a300]GL Driver Message (OpenGL, Performance, GL_CLOSE_PATH_NV, High): GPU stall due to ReadPixels (this message will no longer repeat)

Thanks for your help!

Hi,
It is not supported on Orin series. We will evaluate this feature.

Thanks for your prompt response. Our company would appreciate support for WebGL because we use an Orin NX to drive a display that runs a Chromium WebGL application.

This feature is present on the Nano and the Javier NX. In fact, I can get it to work on the Orin NX if I use the shared libraries and kernel modules from release 35.1. I just assumed it was a regression since it works on previous releases, and on previous boards.

1 Like

Hi,
I have the same question, I have an Orin NX DevKit, and I want to run a web application with webGL support.
I want to know which one of Jetson devkits has to enable WebGL support?

Hi,
WebGL is currently not supported on Jetpack 5 releases.

Hello?
What time the WebGL will be supported on Jetpack 5 releases?

Hi,

We are evaluating this. It is pending as of now.

Would also appreciate this feature.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.

Hi,
Please check
Webgl support on orin - #8 by DaneLLL