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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

3,098 次查看
petervdperk
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

标签 (1)
0 项奖励
回复
3 回复数

2,873 次查看
petervdperk
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 项奖励
回复

2,873 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Vivante GPU 6.2.4p4.0

weston 5.0

0 项奖励
回复

2,873 次查看
Bio_TICFSL
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 项奖励
回复