balena-io-experimental / balena-wpe

Fullscreen WebKit browser with hardware accelerated CSS, WebGL, and HTML5 video for the RaspberryPi 3.
Apache License 2.0
380 stars 76 forks source link

Cannot create EGL surfaceless context #65

Closed theaccordance closed 2 years ago

theaccordance commented 5 years ago

Salutations project maintainers! I'm having a similar issue that was reported with #64, but AFAICT my situation does not involve an Auth barrier.

I'm running balena-wpe from commit 8b8e21fcb592d96c84eba8f1ea302e89f5f75322 (latest from master as of the creation of this issue), trying to load a DataDogHQ dashboard using a Raspberry Pi 3b+. This is what I see when I attempt to render the dashboard: webgl-required

DataDog's support team had me verify that the project did indeed support WebGL by pointing the application to a WebGL Test, below are the results of that: webgl-test

Reviewing the container logs, I'm seeing the following entries when I point the application at the DataDog Dashboard:

11.11.19 08:42:43 (-0600) Started service 'wpe sha256:7f3bcca27eafac56784a26b17e50d63d0172f32c3306f6669404c3945fa44fa8'
11.11.19 08:42:43 (-0600)  wpe  [LibinputServer] Initialization of linux input system succeeded.
11.11.19 08:42:43 (-0600)  wpe  [LibinputServer] Enabling handle events.
11.11.19 08:42:44 (-0600)  wpe  Cannot create EGL surfaceless context: missing EGL_KHR_surfaceless_{context,opengl} extension.
11.11.19 08:42:44 (-0600)  wpe  Cannot create EGL WPE context: EGL_SUCCESS
11.11.19 08:42:44 (-0600)  wpe  Cog-Message: <redacted url> Load started.
11.11.19 08:42:44 (-0600)  wpe  Cog-Message: <redacted url> Loading...
11.11.19 08:42:53 (-0600)  wpe  Cannot create EGL surfaceless context: missing EGL_KHR_surfaceless_{context,opengl} extension.
11.11.19 08:42:53 (-0600)  wpe  Cannot create EGL WPE context: EGL_SUCCESS
11.11.19 08:42:53 (-0600)  wpe  Cannot create EGL surfaceless context: missing EGL_KHR_surfaceless_{context,opengl} extension.
11.11.19 08:42:53 (-0600)  wpe  Cannot create EGL WPE context: EGL_SUCCESS
11.11.19 08:42:53 (-0600)  wpe  Cannot create EGL surfaceless context: missing EGL_KHR_surfaceless_{context,opengl} extension.
11.11.19 08:42:53 (-0600)  wpe  Cannot create EGL WPE context: EGL_SUCCESS
11.11.19 08:42:56 (-0600)  wpe  Cog-Message: <redacted url> Loaded successfully.

My current assumption is that my issue relates to the console event Cannot create EGL surfaceless context: missing EGL_KHR_surfaceless_{context,opengl} extension, but I'm unsure how to proceed. Guidance or assistance would be greatly appreciated, as I have a dozen of these signage displays in use currently.

I've redacted my DataDog dashboard url given the public visibility of this issue, but I can provide that url privately if will help with the investigation.

If I can provide additional information, let me know.

theaccordance commented 5 years ago

Doing some digging into the console event, perhaps webkit needs to use WPEBackend-fdo now?