This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/TDA2: PSDK3.4 can't start weston normally?

Part Number: TDA2

Tool/software: Linux

Hi TI,

I run PSDKLA3.4 in tda2x evm.  Because I want to run the QT app in it.

But the weston can't start up.like this:

root@dra7xx-evm:~#
root@dra7xx-evm:~# cat /var/log/weston.log
Date: 2018-10-23 UTC
[07:36:18.772] weston 1.9.0
               http://wayland.freedesktop.org
               Bug reports to: bugs.freedesktop.org/enter_bug.cgi
               Build: 1.8.93-2-gb05cdb8 configure.ac: bump to version 1.9.0 for the official release (2015-09-21 18:11:26 -0700)
[07:36:18.772] OS: Linux, 4.4.84-00027-g018eb62-dirty, #7 SMP PREEMPT Sat Sep 29 11:18:05 HKT 2018, armv7l
[07:36:18.775] Using config file '/etc//weston.ini'
[07:36:18.779] Loading module '/usr/lib/weston/drm-backend.so'
[07:36:18.862] Output repaint window is 7 ms maximum.
[07:36:18.862] initializing drm backend
[07:36:18.865] using /dev/dri/card0
[07:36:18.867] Loading module '/usr/lib/weston/gl-renderer.so'
loaded module : gbm_pvr.so
found valid GBM backend : gbm_pvr.so
[07:36:19.175] warning: either no EGL_EXT_platform_base support or specific platform support; falling back to eglGetDisplay.
[07:36:19.205] failed to initialize display
[07:36:19.205] EGL error state: EGL_BAD_ALLOC (0x3003)
[07:36:19.205] failed to initialize egl
[07:36:19.205] fatal: failed to create compositor backend
PVR:(Error): OpenServices: PVRDRMOpenRender failed [0, ]
PVR:(Error): PVRSRVConnect: Unable to open connection. [0, ]
PVR:(Error): Couldn't connect to services [0, ]
root@dra7xx-evm:~#
root@dra7xx-evm:~#

and the /etc/powervr.ini is :

root@dra7xx-evm:~#
root@dra7xx-evm:~# cat /etc/powervr.ini
[default]
#WindowSystem=libpvrws_WAYLAND.so

[weston]
DbmDriverName=vdrm

[weston-simple-egl]
DbmDriverName=vdrm

#QT app
[animatedtiles]
DbmDriverName=vdrm
root@dra7xx-evm:~#
root@dra7xx-evm:~#

And I have add the cma=128M.

Have any suggestions ?  Thanks!

Regards,

Sam.