Hi YixingKong
I run into the same issue at my i.MX6 device.
I want to run 3D application which is developed by EGL/OpenGLES through weston-launch, it failed because the graphics driver is not right.
I check the error log and find that software call api[eglGetDisplay] and stop the application.
So i suspect that the whether libEGL-wl.so would have some question or not??
I have some questions for help.
1.Is DRM must for weston(compositor),how to setup DRM?
2.Does GPU kernel drvier consist of kernel/driver/gpu/Vivante(Vivante.ko??) and of kernel/driver/gpu/drm/Vivante(DRM_Vivante.ko)?
3.Does user side drvier consist of EGL/OpenGLES?
4.graphics architecture is Application⇒EGL/OpenGLES/⇒libDRM⇒DRM_Vivante.ko⇒Vivante.ko⇒VIV-GPU?
[error info]
root:~> weston-simple-egl
[ 1] HAL user version 4.6.9 build 6622 Aug 16 2013 11:28:30
[ 2] HAL kernel version 4.6.9 build 1210
Segmentation fault (core dumped)
[CPU/GPU]
MCIMX6Qx/GPU-VIV
[EGL/GLES]
libEGL-wl.so
libGAL-wl.so
libGLESv2.so
[ref article]
Building Wayland-Weston for i.MX6
https://community.freescale.com/docs/DOC-95380