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

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

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

2,869 Views
vikaspatil
Senior Contributor I

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 --backend=fbdev-backend.so --use-gal2d=1 --use-gl=0 --log=/tmp/weston.log

Thanks & Best Regards,

Vikash

Labels (4)
6 Replies

1,741 Views
hzekierdogan
Contributor II

Hi Vikash,

I am working on sabresd platform, wayland backend and qt5.3.2 using fsl-release-bsp (imx-3.14.28-1.0.0_ga). But I am not successful yet. I have seen some touch anomalies on the screen for qt5 applications. Can you share with me your build procedure. Which repo and branches, patches etc.

Thanks.

Zeki

0 Kudos
Reply

1,741 Views
rgallego
Contributor II

Hi

I have the same problem, Did you find the solution?

regards

Roi

0 Kudos
Reply

1,741 Views
vikaspatil
Senior Contributor I

Yes. I used older version of GPU driver. i.e. imx-gpu-viv_5.0.11.p4.4-hfp

Regards,

Vikash

1,741 Views
rgallego
Contributor II

Thanks @!! this solved the problem!!!

0 Kudos
Reply

1,741 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi Rodrigo,

So did this works with older version and not with the new ones?

Regards

1,741 Views
ortogonal
Contributor III

Thanks! Works for my now.

But instead of Weston I use the QtWaylandCompositor!