On Fri, May 07, 2021 at 01:51:56AM -0700, fabrizio.didomenico@xxxxxxxxxx wrote: > Hi Lorenzo, > thank you very much for your reply. > > > > > Just to have all the info, which platform are you testing it on? Do you have > > some logs you could share? > > > > I'm testing on h3ulcb-kf machine using koi 11.0.1 and agl-demo-platform as the target recipe with p ackagegroup-agl-profile-graphical-html5 appended to it. > I think the following log fragment shows the issue that i'm facing: Hi, Judging by your logs it seems you're attempting to use both homescreen and WAM in the same time, which won't work because only one of them (at a time) is in charge/responsible for being a client shell. Please see [1] for a more longer explanation about our current eco-systems/platforms and how do they work. On the same topic, there's nothing stopping running any other regular clients. homescreen is special because it is one that handles the client shell, and same happens for WAM (for web apps). They're both responsible for setting-up panels and backgrounds can not run at the same time. Choose one of them at a time (notice that AppFW would attempt to start them by default -- you could tweak config.xml to avoid that) and you should be fine, though I'm that sure you have a way to switch between apps, when combing platforms (you'll be missing buttons/launcher that performs the switch). > > > > > > > > > Jun 29 03:07:13 h3ulcb afbd-homescreen[1221]: Connecting to: > > QUrl("ws://localhost:30031/api?token=@t") > > > > > > > > Jun 29 03:07:13 h3ulcb afbd-homescreen[1221]: () > > > > > > > > Jun 29 03:07:14 h3ulcb afbd-homescreen[1221]: () > > > > > > > > Jun 29 03:07:14 h3ulcb afbd-homescreen[1221]: () > > > > > > > > Jun 29 03:07:14 h3ulcb afbd-homescreen[1221]: agl_shell@16: error 0: > > agl_shell has already been bound > > > > > > > > Jun 29 03:07:14 h3ulcb afbd-homescreen[1221]: qt.qpa.wayland: Failed to > > initialize EGL display 3001 > > > > > > > > Jun 29 03:07:15 h3ulcb afbd-homescreen[1221]: The Wayland connection > > experienced a fatal error: Protocol error > > > > > > > > Jun 29 03:07:15 h3ulcb audit[1221]: ANOM_ABEND auid=4294967295 uid=1001 > > gid=1001 ses=4294967295 subj=User::App::homescreen pid=1221 > > comm="HomeScreen" > > exe="/var/local/lib/afm/applications/homescreen/bin/HomeScreen" sig=6 > > res=1 > > > > > > The following one is the WAM log: > > > > > Jun 29 03:07:11 h3ulcb systemd[1]: Started "WebAppMgr is responsible for > > running web apps and manage their lifecycle". > > Jun 29 03:07:12 h3ulcb WebAppMgr[1145]: ## (DEBUG)[int main(int, const > > char**)] ### Starting /usr/bin/WebAppMgr > > Jun 29 03:07:12 h3ulcb WebAppMgr[1145]: ## (DEBUG)[virtual int > > WebRuntimeAGL::run(int, const char**)] WebRuntimeAGL::run > > Jun 29 03:07:12 h3ulcb WebAppMgr[1145]: ## (DEBUG)[virtual int > > WebRuntimeAGL::run(int, const char**)] WebRuntimeAGL - creating > > SharedBrowserProcessRuntime > > Jun 29 03:07:12 h3ulcb WebAppMgr[1145]: ## (DEBUG)[bool > > WamSocket::createSocket(bool)] service binding > > Jun 29 03:07:12 h3ulcb WebAppMgr[1145]: ## (DEBUG)[void > > WebAppManagerServiceAGL::triggerStartupApp()] Triggering app start: > > Jun 29 03:07:12 h3ulcb WebAppMgr[1145]: ## (DEBUG)[int > > WamSocket::waitForMsg()] Waiting for data... > > Jun 29 03:07:12 h3ulcb WebAppMgr[1145]: Failed to convert: '' (err=bad > > lexical cast: source type value could not be interpreted as target) > > Jun 29 03:07:12 h3ulcb WebAppMgr[1145]: bool readJsonFromFile(const > > string&, Json::Value&): Failed to open file /etc/wam/com.webos.wam.json > > Jun 29 03:07:13 h3ulcb WebAppMgr[1324]: ## (DEBUG)[int main(int, const > > char**)] ### Starting /usr/bin/WebAppMgr > > Jun 29 03:07:13 h3ulcb WebAppMgr[1324]: ## (DEBUG)[virtual int > > WebRuntimeAGL::run(int, const char**)] WebRuntimeAGL::run > > Jun 29 03:07:13 h3ulcb WebAppMgr[1324]: ## (DEBUG)[virtual int > > WebRuntimeAGL::run(int, const char**)] WebRuntimeAGL - creating > > RenderProcessRuntime > > Jun 29 03:07:13 h3ulcb WebAppMgr[1323]: ## (DEBUG)[int main(int, const > > char**)] ### Starting /usr/bin/WebAppMgr > > Jun 29 03:07:13 h3ulcb WebAppMgr[1323]: ## (DEBUG)[virtual int > > WebRuntimeAGL::run(int, const char**)] WebRuntimeAGL::run > > Jun 29 03:07:13 h3ulcb WebAppMgr[1323]: ## (DEBUG)[virtual int > > WebRuntimeAGL::run(int, const char**)] WebRuntimeAGL - creating > > RenderProcessRuntime > > Jun 29 03:07:14 h3ulcb WebAppMgr[1145]: > > [1145:1145:INFO:wayland_connection.cc(83)] Got the wayland display > > Jun 29 03:07:14 h3ulcb WebAppMgr[1145]: > > [1145:1145:INFO:wayland_connection.cc(422)] Found agl_shell extension > > Jun 29 03:07:14 h3ulcb WebAppMgr[1145]: > > [1145:1145:INFO:app_runtime_browser_context.cc(65)] kUserDataDir is set. > > Jun 29 03:07:14 h3ulcb WebAppMgr[1145]: > > [1145:1145:INFO:app_runtime_browser_context.cc(76)] Will use > > path=/home/1001/wamdata/Default > > > > > > Do you have some hints on where i should start to investigate in order to solve this issue ? > > Thank you, > > Fabrizio [1] https://docs.automotivelinux.org/en/master/#5_Component_Documentation/1_agl-compositor/#available-toolkits-application-conversions-and-available-eco-systems > > > > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#9177): https://lists.automotivelinux.org/g/agl-dev-community/message/9177 Mute This Topic: https://lists.automotivelinux.org/mt/82573974/2167316 Mute #help:https://lists.automotivelinux.org/g/agl-dev-community/mutehashtag/help Mute #koi:https://lists.automotivelinux.org/g/agl-dev-community/mutehashtag/koi Mute #agl-compositor:https://lists.automotivelinux.org/g/agl-dev-community/mutehashtag/agl-compositor Group Owner: agl-dev-community+owner@xxxxxxxxxxxxxxxxxxxxxxxxx Unsubscribe: https://lists.automotivelinux.org/g/agl-dev-community/leave/4543822/2167316/883735764/xyzzy [list-automotive-discussions82@xxxxxxxxxxx] -=-=-=-=-=-=-=-=-=-=-=-
Attachment:
signature.asc
Description: PGP signature