Re: crash in libEGL with 3.10.17 BSP and wayland

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Re: crash in libEGL with 3.10.17 BSP and wayland

Jump to solution
1,731 Views
andyyang
Contributor II

Hi

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

0 Kudos
1 Solution
850 Views
CommunityBot
Community Manager
This an automatic process.

We are marking this post as solved, due to the either low activity or any reply marked as correct.

If you have additional questions, please create a new post and reference to this closed post.

NXP Community!

View solution in original post

0 Kudos
5 Replies
851 Views
CommunityBot
Community Manager
This an automatic process.

We are marking this post as solved, due to the either low activity or any reply marked as correct.

If you have additional questions, please create a new post and reference to this closed post.

NXP Community!
0 Kudos
851 Views
jamesbone
NXP TechSupport
NXP TechSupport

Hello Andy,

Do you already add the patches for the GPU,

i.MX 6 D/Q/DL/S/SL Linux 3.10.17_1.0.1 Patch Release?

0 Kudos
851 Views
andyyang
Contributor II

Hi Jamesbone

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?

Best regards.

0 Kudos
851 Views
andre_silva
NXP Employee
NXP Employee

Hi Andy,

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.

regards,

Andre

0 Kudos
851 Views
YixingKong
Senior Contributor IV

Andy

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.

Thanks,

Yixing