IMX8M [Coral Dev] Running OpenGL ES application with EGL under Wayland

cancel
Showing results for 
Search instead for 
Did you mean: 

IMX8M [Coral Dev] Running OpenGL ES application with EGL under Wayland

240 Views
NXP Employee
NXP Employee

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

Labels (1)
0 Kudos
3 Replies

15 Views
NXP Employee
NXP Employee

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.

0 Kudos

15 Views
NXP TechSupport
NXP TechSupport

Vivante GPU 6.2.4p4.0

weston 5.0

0 Kudos

15 Views
NXP TechSupport
NXP TechSupport

Hello Peter,

We don´t have mendel to test it, but we have yocto BSP and it works nicely with wayland

Regards

0 Kudos