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

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

 



Hi again!

On 22/1/20 18:04, Jacobo Aragunde Pérez wrote:
...

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.


In the meantime, I've reported this as a separate issue:

  https://jira.automotivelinux.org/browse/SPEC-3127

And wrote a workaround so we get WAM working again on Icefish:


https://github.com/Igalia/webosose-wam/commit/353fbfefaa659f16e7471047840ba631337759a5

There are several patches in the review queue for WAM; as soon as they are merged, I will update the recipes and hopefully we would be all set for Icefish (as far as the web runtime is concerned).

Thanks for your help, José!

Best,

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 (#8031): https://lists.automotivelinux.org/g/agl-dev-community/message/8031
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