[wpe-webkit] EGL compatibility with imx-gpu-viv

Peter Rashleigh prashleigh at questertangent.com
Thu Nov 14 09:48:50 PST 2024


Hello all,

I'm experiencing some issues attempting to run Cog on an i.MX8MP platform, using the Vivante GPU driver. Specifically, I get the following error messages:

EGL: Warning: No default display support on wayland
Cannot get default EGL display: EGL_SUCCESS
Cog-Message: 00:09:54.742: Acquired D-Bus well-known name com.igalia.Cog
[     1] Failed to open device: No such file or directory, Try again...
[     2] Failed to open device: No such file or directory, Try again...
[     3] Failed to open device: No such file or directory, Try again...
[     4] Failed to open device: No such file or directory, Try again...
[     5] _OpenDevice(1031): FATAL: Failed to open device, errno=No such file or directory.
....

My suspicion is that WPE-Webkit is calling eglGetDisplay(EGL_DEFAULT_DISPLAY) to determine what display is in use, but the imx-gpu-viv driver does not support default displays. Has anyone got a working configuration on this platform and would be willing to share the details? Is there a way to avoid using the default display?

I do have XDG_RUNTIME_DIR and WAYLAND_DISPLAY environment variables set, and other applications are able to use the display without issues.

I'm working on a custom Buildroot system. Some relevant version info is below:
wpewebkit 2.44.4
wpebackend-fdo 1.14.3
cog 0.18.4
linux-imx lf-6.6.36-2.1.0
weston-imx lf-6.6.36-2.1.0
imx-gpu-viv 6.4.11.p2.6
imx-gpu-g2d 6.4.11.p2.8


Thanks in advance,
Peter

________________________________

This transmission is confidential and intended solely for the addressee and for its intended purpose. If you are not the intended recipient, please immediately inform the sender and delete the message and any attachments from your system. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of QTC. No employee or agent is authorised to conclude any binding agreement on behalf of QTC with another party by email without express written confirmation by an officer of the company. The organization accepts no liability for any damage arising out of transmission failures, viruses, external influence, delays and the like.


More information about the webkit-wpe mailing list