AnsweredAssumed Answered

vivante driver segmentation fault with qt 5.4.2 + qtwayland 5.4.2 + weston 1.6.0

Question asked by vikash patil on Oct 5, 2015
Latest reply on Nov 5, 2015 by Zeki Erdogan

Dear All,


When I launch any example application from (i.e. specific from opengl folder) qt5.4.2 and qtwayland 5.4.2 on desktop-shell of Weston 1.6.0 with GAL2D renderer  from following list I am getting segmentation fault as mentioned below in graphics driver. While I can run other application from “/usr/share/qt5/examples/widget, touch, gui etc…” , . I also tested “weston-simple-egl” test for EGL and GLES2 and it is working fine.


Does anyone here tried this and observed the same? Could someone here give some inputs/suggestions to debug and fix this or any known fix? Should I try 5.0.11.p4.4 instead 5.0.11.p4.5 fro vivante driver?


** List of apps not working

root@linux:~# ls -l /usr/share/qt5/examples/opengl/

drwxr-xr-x    2 root     root          4096 Jan  1 00:01 cube

drwxr-xr-x    2 root     root          4096 Jan  1 00:01 hellogl2

drwxr-xr-x    2 root     root          4096 Jan  1 00:01 hellowindow

drwxr-xr-x    3 root     root          4096 Jan  1 00:00 textures


** Qt app starting using command

#./textures -platform wayland


** Error:

Program received signal SIGSEGV, Segmentation fault.

wl_egl_window_destroy (Cannot access memory at address 0x0window=0x27166c) at gc_egl_platform.c:779

779 gc_egl_platform.c: No such file or directory.


** Components Used:

Linux 3.14.28 (i.mx6Solo)

Vivante graphics driver - imx-gpu-viv_5.0.11.p4.5-hfp


Qt 5.4.2

Qtwayland 5.4.2

Wayland 1.6.0

Weston 1.6.0 (from meta-ivi 9.0 for ivi-shell patches) + (GAL2D patches from fido branch of meta-fsl-arm)

Wayland-ivi-extension 1.3.91 (meta-ivi 9.0)


** Starting Weston with following command: (no errors in log)

weston --tty=1 --use-gal2d=1 --use-gl=0 --log=/tmp/weston.log



Thanks & Best Regards,