arjun.a
rename files
6c7b14a
Ticket Name: Linux/TDA2: PSDK3.4 can't start weston normally?
Query Text:
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.
Responses:
Hi Sam, Are you using the PSDKLA 3.04 filesystem or vision-sdk 3.04 filesystem? Vision-sdk filesystem doesn't provide QT applications
Hi Ramprasad, I'm using PSDKLA3.04 filesystem . Regards, Sam.
Hi Sam, vDRM feature can be currently used only with VISION-SDK. It can not work with PSDKLA3.04.
Hi Ramprasad, So how can I run the QT app in the PSDK3.04? The weston start up failed, as you see . Regards, Sam.
Hi Ramprasad, Maybe I made a mistake. I just want to run a QT app by using PSDKLA3.04. Can you give me some suggestions? Thank you very much . Regards, Sam.
Hi Sam, If you want to use only PSDKLA, please download latest SDK from this link downloads.ti.com/.../index_FDS.html and prepare SD card. This should work fine for QT application. You don't need to make any changes in powervr.ini Thanks Ram
Hi Ram, Thanks for your reply. I'm confusing the VSDK with the PSDKLA. And now I can see the matrix-gui. Thank you ! Regards, Sam.