On my Google Coral Dev board running Mendel Day (Debian Buster based).
I've some trouble running OpenGL ES applications with an EGL window under wayland.
I've tested different OpenGL applications such as Rviz, Intel Realsense viewer and they all fail in creating an EGL window.
To reproduce this easily I've used the GLFW (GLFW - An OpenGL library ) glfwinfo utlity to check whether EGL is working. Using glfwinfo that I'm getting the following error :
Running /tmp/glfw/tests/glfwinfo -a es
GLFW header version: 3.3.0
GLFW library version: 3.3.0
GLFW library version string: "3.3.0 Wayland EGL OSMesa clock_gettime evdev shared"
_ConnectWindow: invalid window=0xaaab1aa28210
Error: EGL: Failed to create window surface: A NativeWindowType argument does not refer to a valid native window
Is this a weston or vivante driver problem?
The Vivante driver used in Mendel day is version V6.2.4.p2.163672
In the attachment the script to reproduce the problem
Hi Bio,
Thanks for the confirmation that it works on the Yocto BSP, may I ask which version of Weston you where running and which version of the Vivante driver you were using? So I can replicate this on a debian/ubuntu based system.
Vivante GPU 6.2.4p4.0
weston 5.0
Hello Peter,
We don´t have mendel to test it, but we have yocto BSP and it works nicely with wayland
Regards