libwayland: error in client communication while trying to add a surface

gep epi devilblaster82 at gmail.com
Thu Jun 7 05:16:29 EDT 2018


Hi,
thank you for all the suggestions so far // i think i am almost there ..

i modified my weston.ini from this:


[core]

shell=ivi-shell.so

[ivi-shell]
ivi-module=ivi-controller.so
ivi-input-module=ivi-input-controller.so


to this:

[core]
shell=ivi-shell.so

modules=ivi-controller.so

[ivi-shell]
ivi-input-module=ivi-input-controller.so


and now i can test successfully the EGL* example. However i tried to do the
same
for the reference ivi user interface:

[core]
shell=ivi-shell.so
#modules=ivi-controller.so
modules=hmi-controller.so

[ivi-shell]
#ivi-module= hmi-controller
ivi-shell-user-interface=/home/ekt/Wayland/weston/weston-ivi-shell-user-interface
#Show cursor
cursor-theme=default
cursor-size=32
#Define which layer id is used to logically group surfaces
base-layer-id=1000
workspace-background-layer-id=2000
workspace-layer-id=3000
application-layer-id=4000
#Path to png file and define surface id to be decoded.
background-image=/home/ekt/Wayland/weston/data/background.png
background-id=1001
panel-image=/home/ekt/Wayland/weston/data/panel.png
panel-id=1002
tiling-image=/home/ekt/Wayland/weston/data/tiling.png
tiling-id=1003
sidebyside-image=/home/ekt/Wayland/weston/data/sidebyside.png
sidebyside-id=1004
fullscreen-image=/home/ekt/Wayland/weston/data/fullscreen.png
fullscreen-id=1005
random-image=/home/ekt/Wayland/weston/data/random.png
random-id=1006
home-image=/home/ekt/Wayland/weston/data/home.png
home-id=1007
#Color of background and define surface id to paint the color.
workspace-background-color=0x99000000
workspace-background-id=2001

[input-method]
path=/home/ekt/Wayland/install/libexec/weston-keyboard
#To add launcher to the workspace.
#workspce-id: which workspace a laucher icon is added.
#icon-id: surface id to draw icon image.
#icon: patch to icon image
#path: path to program to be invoked by this launcher.

[ivi-launcher]
workspace-id=0
icon-id=4001
icon=/home/ekt/Wayland/weston/data/icon_ivi_flower.png
path=/home/ekt/Wayland/weston/weston-flower

[ivi-launcher]
workspace-id=1
icon-id=4002
icon=/home/ekt/Wayland/weston/data/icon_ivi_smoke.png
path=/home/ekt/Wayland/weston/weston-smoke

but i get a

.
.
.
Loading module '/home/ekt/Wayland/install/lib/weston/ivi-shell.so'
launching '/home/ekt/Wayland/install/libexec/weston-keyboard'
Registered plugin API 'ivi_layout_api_v1' of size 360
Loading module '/home/ekt/Wayland/install/lib/weston/hmi-controller.so'
Failed to initialize hmi-controller
Job 1, './weston &' has ended
Failed to process Wayland connection: Broken pipe
failed to create display: Broken pipe

i couldn't find any (other) information from
https://at.projects.genivi.org/wiki/display/WIE/Quick+start
about how to modify it.

best regards,
gep


On Wed, Jun 6, 2018 at 4:25 PM Ucan, Emre (ADITG/ESB) <eucan at de.adit-jv.com>
wrote:

> Hi,
>
> You need to modify your weston.ini:
>
> [core]
> shell=ivi-shell.so
> modules=ivi-controller.so
>
> [ivi-shell]
> ivi-input-module=ivi-input-controller.so
>
> Best regards
>
> Emre Ucan
> Engineering Software Base (ADITG/ESB)
>
> Tel. +49 5121 49 6937
>
> > -----Original Message-----
> > From: genivi-ivi-layer-management [mailto:genivi-ivi-layer-management-
> > bounces at lists.genivi.org] On Behalf Of gep epi
> > Sent: Mittwoch, 6. Juni 2018 15:00
> > To: genivi-ivi-layer-management at lists.genivi.org
> > Subject: Re: libwayland: error in client communication while trying to
> add a
> > surface
> >
> > hi again,
> > except wayland, weston, etc. i managed to build all the prerequisites
> from
> > this guide:
> > https://github.com/wayland-project/wayland-build-tools
> >
> > Weston (tags/4.0.0) works without segfaults but now i get new errors:)
> >
> > ./weston &
> > .
> > .
> > Loading module '/home/ekt/Wayland/install/lib/weston/ivi-shell.so'
> > launching '/home/ekt/Wayland/install/libexec/weston-keyboard'
> > Registered plugin API 'ivi_layout_api_v1' of size 360
> >
> > ./LayerManagerControl create layer 1000 600 400
> > ivi_wm not available
> > [Warning] The ilm_control_context is already destroyed
> > Interpreter error: failed
> >
> > (debug messages)
> > ivi_wm not available
> > [Warning] The ilm_control_context is already destroyed
> > wl_registry at 2.bind(13, "wl_output", 1, new id [unknown]@4)
> > wl_output at 4.geometry(0, 0, 270, 158, 0, "weston-X11", "none", 0)
> > wl_output at 4.mode(3, 1024, 600, 60000)
> > wl_display at 1.sync(new id wl_callback at 3)
> > wl_callback at 3.done(186)
> > wl_display at 1.delete_id(3)
> > Interpreter error: failed
> >
> > i also get similar messages when trying out the tests
> >
> > [ RUN      ] IlmCommandTest.SetGetSurfaceOpacity
> > ivi_wm not available
> > [Warning] The ilm_control_context is already destroyed
> > /home/ekt/Wayland/wayland-ivi-extension/ivi-layermanagement-
> > api/test/ilm_control_test.cpp:38:
> > Failure
> > Value of: ilm_initWithNativedisplay((t_ilm_nativedisplay)wlDisplay)
> > .
> > .
> > _______________________________________________
> > genivi-ivi-layer-management mailing list
> > genivi-ivi-layer-management at lists.genivi.org
> > https://lists.genivi.org/mailman/listinfo/genivi-ivi-layer-management



email: gepitropou at electronics.tuc.gr
          devilblaster82 at gmail.com



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