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?
[ 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)
Building Wayland-Weston for i.MX6
Solved! Go to Solution.
Thank you very much for your reply.
I will try to add this patch.
Meanwhile,let me confirm something.
I want to run wayland/weston on MCIMX6Qx/GPU-VIV target.
So i have to setup user space driver and kernek driver for GPU-VIV.
How can i get the freescale official release of user space driver and kernek driver for GPU-VIV?
the error you faced is due different GPU and kernel version, they have to match. If you get the old driver and try on a new kernel it will fail, the vice-versa also.
which BSP you are going to use ? LTIB or YOCTO ? in both cases you need to include the gpu-viv-bin package (in package list) and also the wayland.
it will only be possible to use different version if you rebuild the gpu source code, what I think this is not the case.
The previous DI had been closed for some time. To make thing simple, I branch your post into this one, and will try to find an engineer to help you.