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!