Re: [agl-dev-community] help requested for windowmanager service

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 22/1/20 15:57, Jacobo Aragunde Pérez wrote:
Hi!

I'm currently building an image including your fix for SPEC-3116. I
though it would help, but apparently you are hitting the same problem I
did. Per my latest findings in SPEC-2550 [1], it seems that the syncDraw
event is emitted by the windowmanager service but it never reaches WAM,
which doesn't trigger the call to endDraw that would end making the
surface visible.

There is one special webapp that has a hard-coded role, "homescreen"
[2]. This application receives the event correctly, so I'm guessing that
the role name is used as an identifier to deliver the event to WAM [3],
but for some reason the new names ("Webapp-"+authority+host+port) [4]
don't work.

I'll take another look when I finish building.


After some testing, I've found out that, if I cut down the role name to 10 characters maximum, things work as expected. There must be some undocumented limitation, or a bug.

Do you know where to start looking?

Best regards,


[1]
https://jira.automotivelinux.org/browse/SPEC-2550?focusedCommentId=23277#comment-23277
[2] https://github.com/AGL-web-applications/homescreen
[3]
https://git.automotivelinux.org/apps/agl-service-windowmanager/tree/src/wm_client.cpp#n291
[4] https://github.com/webosose/wam/pull/28/files

Best,

On 22/1/20 14:26, José Bollo wrote:
Hi all,

While trying to run WAM applications, the layers are not made visible.
It probably have todo with roles but I'm not sure. I need help.

After starting, the HTML5 homescreen is launched but not visible. See
the output of "get scene" below.

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
# LayerManagerControl get scene
Warning: input acceptance event trying to add seat default, that is
already in surface 456
screen 0 (0x0)
---------------------------------------
- connector name:       Virtual-1
- resolution:           x=1080, y=1920
- layer render order:   1000(0x3e8),

       layer 1000 (0x3e8)
       ---------------------------------------
       - destination region:   x=0, y=0, w=1080, h=1920
       - source region:        x=0, y=0, w=1080, h=1920
       - opacity:              1
       - visibility:           0
       - surface render order: 456(0x1c8),
       - on screen:            0(0x0)

           surface 456 (0x1c8)
           ---------------------------------------
           - created by pid:       455
           - original size:      x=1920, y=1080
           - destination region: x=0, y=0, w=1920, h=1080
           - source region:      x=0, y=0, w=1920, h=1080
           - opacity:            1
           - visibility:         1
           - frame counter:      119
           - on layer:           1000(0x3e8)
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

The output of the windowmanager service is join in the file
log-before.txt (useful part starts after setup at line 468)

After entering "LayerManagerControl set layer 1000 visibility 1" I can
click on an application icons. It launches it but nothing is shown. See
the output of "get scene" below.

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
# LayerManagerControl get scene
Warning: input acceptance event trying to add seat default, that is
already in surface 592
Warning: input acceptance event trying to add seat default, that is
already in surface 456
screen 0 (0x0)
---------------------------------------
- connector name:       Virtual-1
- resolution:           x=1080, y=1920
- layer render order:   1000(0x3e8), 1001(0x3e9),

       layer 1000 (0x3e8)
       ---------------------------------------
       - destination region:   x=0, y=0, w=1080, h=1920
       - source region:        x=0, y=0, w=1080, h=1920
       - opacity:              1
       - visibility:           1
       - surface render order: 456(0x1c8),
       - on screen:            0(0x0)

           surface 456 (0x1c8)
           ---------------------------------------
           - created by pid:       455
           - original size:      x=1920, y=1080
           - destination region: x=0, y=0, w=1920, h=1080
           - source region:      x=0, y=0, w=1920, h=1080
           - opacity:            1
           - visibility:         1
           - frame counter:      121
           - on layer:           1000(0x3e8)

       layer 1001 (0x3e9)
       ---------------------------------------
       - destination region:   x=0, y=0, w=1080, h=1920
       - source region:        x=0, y=0, w=1080, h=1920
       - opacity:              1
       - visibility:           0
       - surface render order: 592(0x250),
       - on screen:            0(0x0)

           surface 592 (0x250)
           ---------------------------------------
           - created by pid:       455
           - original size:      x=1920, y=1080
           - destination region: x=0, y=0, w=1920, h=1080
           - source region:      x=0, y=0, w=1920, h=1080
           - opacity:            1
           - visibility:         1
           - frame counter:      4
           - on layer:           1001(0x3e9)
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

After entering "LayerManagerControl set layer 1001 visibility 1" I see
the application and interact with it.

The output of the windowmanager service is join in the file log-after.txt

Hint and clue very welcome.

Best regards
José Bollo






--
Jacobo Aragunde
Software Engineer at Igalia

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#8028): https://lists.automotivelinux.org/g/agl-dev-community/message/8028
Mute This Topic: https://lists.automotivelinux.org/mt/69979217/2167316
Group Owner: agl-dev-community+owner@xxxxxxxxxxxxxxxxxxxxxxxxx
Unsubscribe: https://lists.automotivelinux.org/g/agl-dev-community/leave/4543822/883735764/xyzzy  [list-automotive-discussions82@xxxxxxxxxxx]
-=-=-=-=-=-=-=-=-=-=-=-




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux