GDP/meta-ivi rocko wayland-ivi-extension 2.0 integration issues

Ucan, Emre (ADITG/ESB) eucan at de.adit-jv.com
Thu Jan 18 06:54:41 EST 2018


Hi Oscar,

Nice.

It looks like that gdp-hmi tries to create a layer with the same id many times. It is normal that it fails.

When UI locks up, does weston-simple-egl work ?

Best Regards,
Emre

-----Original Message-----
From: Andreasson, Oscar (Pelagicore) [mailto:oscar.andreasson at pelagicore.com] 
Sent: Donnerstag, 18. Januar 2018 12:49
To: stephen.lawrence at renesas.com; Ucan, Emre (ADITG/ESB)
Cc: genivi-ivi-layer-management at lists.genivi.org
Subject: Re: GDP/meta-ivi rocko wayland-ivi-extension 2.0 integration issues

Hi Emre, 

weston is definitely running, I get the gdp-new-hmi running on it :). Sorry though, I realized I couldn't just cut and paste the commands :P. I changed the XDG_RUNTIME_DIR to a proper location and now it works! I still get the looping error message though.

New output:

root at intel-corei7-64:~# export XDG_RUNTIME_DIR=/var/run/user/0/ root at intel-corei7-64:~# layer-add-surfaces 1 1 & [1] 686 root at intel-corei7-64:~# layer-add-surfaces: layer (1) destination region: x:0 y:0 w:1920 h:1080
layer-add-surfaces: layer (1) visibility TRUE
layer-add-surfaces: layer (1) created
layer-add-surfaces: layer (677) created
layer-add-surfaces: layer (550) created
layer-add-surfaces: layer (0) created
layer-add-surfaces: surface (8677) created
layer-add-surfaces: surface (8677) configured with:
    dst region: x:0 y:0 w:1920 h:1080
    src region: x:0 y:0 w:1920 h:1080
    visibility: TRUE
    added to layer (1)

[1]+  Done                    layer-add-surfaces 1 1
root at intel-corei7-64:~#
root at intel-corei7-64:~# weston-simple-egl has EGL_EXT_buffer_age and EGL_EXT_swap_buffers_with_damage
103 frames in 5 seconds: 20.600000 fps
101 frames in 5 seconds: 20.200001 fps
101 frames in 5 seconds: 20.200001 fps
101 frames in 5 seconds: 20.200001 fps

Here's the /etc/xdg/weston/weston.ini config:

root at intel-corei7-64:~# cat /etc/xdg/weston/weston.ini         
[core]
shell=ivi-shell.so

[ivi-shell]
ivi-module=ivi-controller.so
ivi-input-module=ivi-input-controller.so
transition-duration=300
cursor-theme=default

[input-method]
path=

The error message persists though:

LACO [ Error ] Error: createLayer (id = 0) - failed                          |
layercontroller.cpp:368
layerid=0 is already used.
LACO [ Error ] Error: createLayer (id = 0) - failed                          |
layercontroller.cpp:368
layerid=0 is already used.
LACO [ Error ] Error: createLayer (id = 0) - failed                          |
layercontroller.cpp:368
layerid=0 is already used.
LACO [ Error ] Error: createLayer (id = 0) - failed                          |
layercontroller.cpp:368
layerid=0 is already used.
LACO [ Error ] Error: createLayer (id = 0) - failed                          |
layercontroller.cpp:368
layerid=0 is already used.
LACO [ Error ] Error: createLayer (id = 0) - failed                          |
layercontroller.cpp:368
layerid=0 is already used.

Also, the same problem with the main application UI persists, if I open the app menu and click an app the entire UI + console locks up. 

//Oscar 

On Thu, 2018-01-18 at 11:27 +0000, Ucan, Emre (ADITG/ESB) wrote:
> Hi Oscar,
> 
> Is weston running at all ? It is either weston is dead or it is running on a different shell.
> 
> Can you check contents of weston.ini ? It is under /etc/xdg/weston/
> 
> Best Regards,
> Emre
> 
> -----Original Message-----
> From: Andreasson, Oscar [mailto:OAndreasson at luxoft.com]
> Sent: Donnerstag, 18. Januar 2018 12:24
> To: stephen.lawrence at renesas.com; Ucan, Emre (ADITG/ESB)
> Cc: genivi-dev at lists.genivi.org; 
> genivi-ivi-layer-management at lists.genivi.org
> Subject: Re: GDP/meta-ivi rocko wayland-ivi-extension 2.0 integration 
> issues
> 
> Hi Emre,
> 
> I get the following errors:
> 
> root at intel-corei7-64:~# export XDG_RUNTIME_DIR=/tmp 
> root at intel-corei7-64:~# layer-add-surfaces 1 1 & [1] 635 
> root at intel-corei7-64:~# Failed to connect display in libilmCommon
> layer-add-surfaces: ilm_init failed
> root at intel-corei7-64:~# weston-simple-egl
> weston-simple-egl: ../weston-3.0.0/clients/simple-egl.c:897: main: Assertion `display.display'
> failed.
> [1]+  Done(255)               layer-add-surfaces 1 1
> Aborted (core dumped)
> root at intel-corei7-64:~#
> 
> //OScar
> On Thu, 2018-01-18 at 10:36 +0000, Ucan, Emre (ADITG/ESB) wrote:
> > Hi,
> > 
> > What happens when you use another layer id ? Maybe it is a problem with the layer-id = 0.
> > 
> > Can you please try to run:
> > 
> > export XDG_RUNTIME_DIR=/tmp
> > layer-add-surfaces 1 1 &
> > weston-simple-egl
> > 
> > Best Regards,
> > Emre
> > 
> > -----Original Message-----
> > From: Andreasson, Oscar [mailto:OAndreasson at luxoft.com]
> > Sent: Donnerstag, 18. Januar 2018 10:57
> > To: stephen.lawrence at renesas.com; Ucan, Emre (ADITG/ESB)
> > Cc: genivi-dev at lists.genivi.org; 
> > genivi-ivi-layer-management at lists.genivi.org
> > Subject: Re: GDP/meta-ivi rocko wayland-ivi-extension 2.0 
> > integration issues
> > 
> > Hi Emre,
> > 
> > I'm still getting the same looping error with tag 2.1 as with 2.0 
> > branch. Did you ever see my mail with the error description in it? 
> > I'll forward it to you just in case.
> > 
> > On Thu, 2018-01-18 at 09:18 +0000, Andreasson, Oscar (Pelagicore) wrote:
> > > Hi Emre,
> > > 
> > > It's using the ivi-input-controller. I've been running from the 
> > > 2.0 branch but patched it to remove the use_xkbcommon separately 
> > > as I didn't know you already did it ;). Anyways, I've swapped over 
> > > to the 2.1 tag now and will see if that makes a difference.
> > > 
> > > On Wed, 2018-01-17 at 18:26 +0000, Ucan, Emre (ADITG/ESB) wrote:
> > > > Hi Oscar,
> > > > 
> > > > Does Weston use ivi-input-controller ? you can check it from the config file:
> > > > /etc/xdg/weston/weston.ini
> > > > 
> > > > If ivi-input-controller is used, you need this patch 
> > > > "https://github.com/GENIVI/wayland-ivi-
> > > > ex
> > > > te
> > > > ns
> > > > ion/commit/a25f5eb8e31a88b63f5a6721b403df0e8f255f5b".
> > > > You can cherry pick it or you can use wayland-ivi-extension 2.1 version.
> > > > 
> > > > Best Regards,
> > > > Emre Ucan
> > > > 
> > > > -----Original Message-----
> > > > From: genivi-ivi-layer-management 
> > > > [mailto:genivi-ivi-layer-management-bounces at lists.genivi.o
> > > > rg
> > > > ]
> > > > On
> > > > Behalf Of Andreasson, Oscar (Pelagicore)
> > > > Sent: Mittwoch, 17. Januar 2018 14:25
> > > > To: stephen.lawrence at renesas.com
> > > > Cc: genivi-dev at lists.genivi.org; 
> > > > genivi-ivi-layer-management at lists.genivi.org
> > > > Subject: Re: GDP/meta-ivi rocko wayland-ivi-extension 2.0 
> > > > integration issues
> > > > 
> > > > On Tue, 2018-01-16 at 18:21 +0000, Stephen Lawrence wrote:
> > > > > Hi,
> > > > > 
> > > > > > -----Original Message-----
> > > > > > From: Stephen Lawrence
> > > > > > Sent: 16 January 2018 18:04
> > > > > > To: 'Andreasson, Oscar (Pelagicore)'
> > > > > > <oscar.andreasson at pelagicore.com>
> > > > > > Cc: genivi-dev at lists.genivi.org; 
> > > > > > genivi-ivi-layer-management at lists.genivi.org
> > > > > > Subject: RE: GDP/meta-ivi rocko wayland-ivi-extension 2.0 
> > > > > > integration issues
> > > > > > 
> > > > > 
> > > > > [snip]
> > > > > 
> > > > > > > These are the installed versions of packages currently (if 
> > > > > > > I missed
> > > > > > 
> > > > > > something,
> > > > > > > let me know):
> > > > > > 
> > > > > > [snip]
> > > > > > > 
> > > > > > > weston                                              :3.0.0-r3
> > > > > > 
> > > > > > Is that a typo? I thought the ivi-extension team had 
> > > > > > indicated they used Weston 2.0 for the ivi-extension 2.0 reference implementation.
> > > > > 
> > > > > I couldn't find the email I was looking for in the ILM ML 
> > > > > archive, but here is the reference from the genivi-projects ML 
> > > > > archive [1]
> > > > > 
> > > > > [1]
> > > > > https://lists.genivi.org/pipermail/genivi-projects/2017-Octobe
> > > > > r/005682
> > > > > .html
> > > > 
> > > > Interesting, they got dependencies on Weston 3.0 in there, at least this one:
> > > > 
> > > > lyt->screen_remove_layer(iviscrn->output, layout_layer);
> > > > 
> > > > screen_remove_layer was added in Weston 3.0 if you look here in branch 2.0 it's not there:
> > > > 
> > > > https://github.com/wayland-project/weston/blob/2.0/ivi-shell/ivi
> > > > -layout-export.h
> > > > 
> > > > But in branch 3.0 and master it's there:
> > > > 
> > > > https://github.com/wayland-project/weston/blob/3.0/ivi-shell/ivi
> > > > -layout-export.h 
> > > > https://github.com/wayland-project/weston/blob/master/ivi-shell/
> > > > ivi-layout-export.h
> > > > 
> > > > I did remember seeing that mail you pointed out, but figured I 
> > > > got it the wrong way around in my memory and that we actually 
> > > > depend on 3.0, not 2.0...
> > > > 
> > > > It was a simple fix, but maybe the ILM needs to be updated to remove the dependency?
> > > > 
> > > > > 
> > > > > We can discuss in the BIT call tomorrow.
> > > > > 
> > > > > Regards
> > > > > 
> > > > > Steve
> > > > > BIT Lead
> > > > 
> > > > --
> > > > --
> > > > Oscar Andreasson
> > > > Lead Software Engineer
> > > > 
> > > > Pelagicore AB
> > > > Östrahamngatan 16, Gothenburg, Sweden
> > > > +46 (0)761337765
> > > > oscar.andreasson at pelagicore.com
> > > > www.pelagicore.com
> > > > 
> > > > PELAGICORE a part of LUXOFT
> > > > 
> > > > Registered Office Gothenburg, Sweden Registration No. 
> > > > 556780-4199 _______________________________________________
> > > > genivi-ivi-layer-management mailing list 
> > > > genivi-ivi-layer-management at lists.genivi.org
> > > > https://lists.genivi.org/mailman/listinfo/genivi-ivi-layer-manag
> > > > ement
> > > 
> > > --
> > > --
> > > Oscar Andreasson
> > > Lead Software Engineer
> > > 
> > > Pelagicore AB
> > > Östrahamngatan 16, Gothenburg, Sweden
> > > +46 (0)761337765
> > > oscar.andreasson at pelagicore.com
> > > www.pelagicore.com
> > > 
> > > PELAGICORE a part of LUXOFT
> > > 
> > > Registered Office Gothenburg, Sweden Registration No. 556780-4199 
> > > _______________________________________________
> > > genivi-ivi-layer-management mailing list 
> > > genivi-ivi-layer-management at lists.genivi.org
> > > https://lists.genivi.org/mailman/listinfo/genivi-ivi-layer-managem
> > > ent
> > 
> > --
> > --
> > Oscar Andreasson
> > Lead Software Engineer
> > 
> > Pelagicore AB
> > Östrahamngatan 16, Gothenburg, Sweden
> > +46 (0)761337765
> > oscar.andreasson at pelagicore.com
> > www.pelagicore.com
> > 
> > PELAGICORE a part of LUXOFT
> > 
> > Registered Office Gothenburg, Sweden Registration No. 556780-4199
> > 
> > ________________________________
> > 
> > This e-mail and any attachment(s) are intended only for the 
> > recipient(s) named above and others who have been specifically 
> > authorized to receive them. They may contain confidential information.
> > If you are not the intended recipient, please do not read this email or its attachment(s).
> > Furthermore, you are hereby notified that any dissemination, 
> > distribution or copying of this e- mail and any attachment(s) is 
> > strictly prohibited. If you have received this e-mail in error, 
> > please immediately notify the sender by replying to this e-mail and then delete this e-mail and any attachment(s) or copies thereof from your system. Thank you.
> 
> --
> --
> Oscar Andreasson
> Lead Software Engineer
> 
> Pelagicore AB
> Östrahamngatan 16, Gothenburg, Sweden
> +46 (0)761337765
> oscar.andreasson at pelagicore.com
> www.pelagicore.com
> 
> PELAGICORE a part of LUXOFT
> 
> Registered Office Gothenburg, Sweden
> Registration No. 556780-4199
> 
> ________________________________
> 
> This e-mail and any attachment(s) are intended only for the 
> recipient(s) named above and others who have been specifically authorized to receive them. They may contain confidential information.
> If you are not the intended recipient, please do not read this email or its attachment(s).
> Furthermore, you are hereby notified that any dissemination, 
> distribution or copying of this e- mail and any attachment(s) is 
> strictly prohibited. If you have received this e-mail in error, please 
> immediately notify the sender by replying to this e-mail and then delete this e-mail and any attachment(s) or copies thereof from your system. Thank you.
--
--
Oscar Andreasson
Lead Software Engineer

Pelagicore AB
Östrahamngatan 16, Gothenburg, Sweden
+46 (0)761337765
oscar.andreasson at pelagicore.com
www.pelagicore.com

PELAGICORE a part of LUXOFT

Registered Office Gothenburg, Sweden
Registration No. 556780-4199


More information about the genivi-ivi-layer-management mailing list