EXT SENDER-RE: multi display support with IVI shell

Zhang, Lei Lei.Zhang at delphi.com
Tue May 24 01:16:07 EDT 2016


Hi Emre,

Thanks a lot for the reply.
Below is the procedure of reproduce the issue.

1. First, no layer on both screen
root at delphi-dragon2:~# LayerManagerControl get screen 0
screen 0 (0x0)
---------------------------------------
- resolution:           x=1280, y=800
- hardware layer count: 0
- layer render order:

root at delphi-dragon2:~# LayerManagerControl get screen 1
screen 1 (0x1)
---------------------------------------
- resolution:           x=1280, y=800
- hardware layer count: 0
- layer render order:

2. Create layer 100, add to screen 0. Create layer 200, add to screen 1
root at delphi-dragon2:~# LayerManagerControl create layer 100 1280 800
root at delphi-dragon2:~# LayerManagerControl set layer 100 visibility 1
root at delphi-dragon2:~# LayerManagerControl create layer 200 1280 800
root at delphi-dragon2:~# LayerManagerControl set layer 200 visibility 1
root at delphi-dragon2:~# LayerManagerControl set screen 0 render order 100
root at delphi-dragon2:~# LayerManagerControl set screen 1 render order 200

3. Run Weston-flower, and add to layer 100
root at delphi-dragon2:~# weston-flower &
root at delphi-dragon2:~# LayerManagerControl get surfaces
1 Surface(s):
- Surface 11194 (0x2bba)
root at delphi-dragon2:~# LayerManagerControl set surface 11194 visibility 1
root at delphi-dragon2:~# LayerManagerControl set layer 100 render order 11194
[07:42:40.192] ivi-shell: source rectangle is not yet set by ivi_layout_surface_set_source_rectangle

--> Till here, I can see the output on screen 0.

4. Switch to render on layer 200 (screen 1)
root at delphi-dragon2:~# LayerManagerControl set layer 200 render order 11194
[07:42:49.414] ivi-shell: source rectangle is not yet set by ivi_layout_surface_set_source_rectangle

--> Nothing displayed on screen 1, then I checked both layer info,
From console's output, it seems correct. Only there's nothing on screen 1.

root at delphi-dragon2:~# LayerManagerControl get layer 100
layer 100 (0x64)
---------------------------------------
- created by pid:       0
- original size:        x=1280, y=800
- destination region:   x=0, y=0, w=1280, h=800
- source region:        x=0, y=0, w=1280, h=800
- orientation:          0 (up is top)
- opacity:              1
- visibility:           1
- type:                 0 (unknown)
- surface render order:
- on screen:            0(0x0)

root at delphi-dragon2:~# LayerManagerControl get layer 200
layer 200 (0xc8)
---------------------------------------
- created by pid:       0
- original size:        x=1280, y=800
- destination region:   x=0, y=0, w=1280, h=800
- source region:        x=0, y=0, w=1280, h=800
- orientation:          0 (up is top)
- opacity:              1
- visibility:           1
- type:                 0 (unknown)
- surface render order: 11194(0x2bba),
- on screen:            1(0x1)


-----Original Message-----
From: Ucan, Emre (ADITG/SW1) [mailto:eucan at de.adit-jv.com]
Sent: 2016年5月23日 17:22
To: Zhang, Lei
Cc: genivi-ivi-layer-management at lists.genivi.org
Subject: EXT SENDER-RE: multi display support with IVI shell

Hi Ray,

Can you send us a code snippet of your source code ?

It will help a lot to see, in which order you are calling the ILM APIs.

Best regards

Emre Ucan
Software Group I (ADITG/SW1)

Tel. +49 5121 49 6937
> -----Original Message-----
> From: genivi-ivi-layer-management-bounces at lists.genivi.org
> [mailto:genivi- ivi-layer-management-bounces at lists.genivi.org] On
> Behalf Of Zhang, Lei
> Sent: Montag, 23. Mai 2016 10:45
> To: genivi-ivi-layer-management at lists.genivi.org
> Subject: multi display support with IVI shell
>
> Hi all,
>
>
>
> This is Ray Zhang from Delphi.
>
>
>
> I'm facing an issue with enable multi display by using IVI shell.
>
>
>
> Below is screen info
>
> LayerManagerControl get screen 0
>
> screen 0 (0x0)
>
> ---------------------------------------
>
> - resolution:           x=1280, y=800
>
> - hardware layer count: 0
>
> - layer render order:   11000(0x2af8),
>
>
>
> LayerManagerControl get screen 1
>
> screen 1 (0x1)
>
> ---------------------------------------
>
> - resolution:           x=1280, y=800
>
> - hardware layer count: 0
>
> - layer render order:   1000(0x3e8),
>
>
>
> 1.       Create layer 1000 add to screen 1
>
> 2.       Create layer 11000 add to screen 0
>
> 3.       Run Weston-flower and add surface to layer 1000
>
> 4.       Set render order of layer 11000 to add Weston-flower to this layer.
>
>
>
> The issue is, Weston-flower is always showed on screen 1.
>
>
>
> The version of each comments are:
>
>                 Wayland 1.10.0
>
>                 Weston 1.10.0
>
>                 Wayland IVI extension 1.9.1 (compile issue in
> ivi-input-controller.c)
>
>
>
> I also attach the Weston.ini file, and startup script
>
>
>
> If anyone can help me, Thanks a lot in advance.
>
>
>
> Best Regards,
>
> R^A^Y
>
>
>
> ---------------------------
>
> Ray Zhang
>
> Software Engineer
>
> 021-28965980
>
> Electronics & Safety
>
> Delphi (China) Technical Center Co.,Ltd
>
> Building B-3, #118, Delin Road, Wai Gao Qiao Free Trade Zone, Pudong,
>
> Shanghai, 200131, P.R.China
>
>
>
> **********************************************************
> ****************************** Note: If the reader of this message is
> not the intended recipient, or an employee or agent responsible for
> delivering this message to the intended recipient, you are hereby
> notified that any dissemination, distribution or copying of this
> communication is strictly prohibited. If you have received this
> communication in error, please notify us immediately by replying to
> the message and deleting it from your computer. Thank you.
> **********************************************************
> ******************************
**************************************************************************************** Note: If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. ****************************************************************************************


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