Hi,
You haven't mentioned what version your using currently. Just noticed
you mentioning agl-service-windowmanager, which is telling me that you
might be using a really, really old version of AGL, which we're not
supporting anymore.
On 6/28/23 07:34, Praveen Sonare wrote:
Hi Marius,
I'm able to enable both HDMI-1 and HDMI-2 displays, but all the apps are
launching only on HDMI-1 and HDMI-2 is always black.
But, I can see the mouse pointer moving on both displays.
Q1.is there any configuration/code that fix the position of application
window on hdmi display? if yes, plase suggest where can I see that
configuration.
I've already answered this before. Assuming you're using a recent
version you should be able to place applications on different outputs
using agl-shell-app-id for each output section with the help of the ini
file. See the previous reply with the link included.
Q2. For any new app, how to configure display, position, plane(z-order) etc.
You can't explicitly alter z-order but the display can be configured
like I've mentioned. For positioning you'd either have to
programatically use another wayland extension or if you're using latest
version you can make use of the gRPC interface. Note that positioning
can only happen if the window itself is a free floating window.
The protocol extension is at:
https://gerrit.automotivelinux.org/gerrit/gitweb?p=src/agl-compositor.git;a=blob;f=protocol/agl-shell-desktop.xml;h=e4445bd071f242b229789c68dc71d04ea2eed140;hb=refs/heads/master#l74.
We're migrating from this to the gRPC proxy interface. We used to have
an alexa free floating application as an example, which you can probably
dig through gerrit repositories, as an example.
For the gRPC proxy the protobuf is at:
https://gerrit.automotivelinux.org/gerrit/gitweb?p=src/agl-compositor.git;a=blob;f=grpc-proxy/agl_shell.proto;h=aac35f4e1bf8afb1b370380c417e8284be5f037e;hb=refs/heads/master
If you using the latest version, you can pick up
window-management-client-grpc, which is a test client used to
demonstrate how to use the gRPC API.
Q3. Is it possible for see the enabled/disabled app (with their display
properties like position, hdmi-1/2, size etc) on target
Applications themselves can display that information, if you mean by
that you'd like to see that information from other parts, the compositor
logs that information in the systemd journal. There's no other way to
retrieve that information.
For instance I'm trying merge agl-demo-platform and
agl-cluster-demo-platform such that former render everything on HDMI-1
and the later on HDMI-2.
Don't believe this would work in current form. Using homescreen from
demo-platform together with cluster-dasboard won't work together, you'd
have to modify cluster-dashboard. These are the HMI client applications,
each owning the same resources which can't be split.
From what I can tell you can specify where to place the cluster
dashboard using DASHBOARD_START_SCREEN:
https://gerrit.automotivelinux.org/gerrit/gitweb?p=apps/agl-cluster-demo-dashboard.git;a=commitdiff;h=8479190d2356e376c574c5433de1f6d0c5ba04ff
A possible solution would be to use the cluster-dashboard together with
the demo applications from the agl-demo-platform, rather than merging
these together. Assuming the dashboard
starts on HDMI-A-1 then navigation from agl-demo-platform can be placed
on HDMI-A-2 by adding the following to your ini file.
[output]
name=HDMI-A-2
agl-shell-app-id=nagivation
This assumes you already have an image cluster image with that
navigation application in it. Note that the use-case for using the
cluster images is a bit different: you stream navigation from a
different part in-between the cluster gauges.
Another possible solution here might be to use the agl-kvm image which
generates two distinct images, each assigned basically to two distinct
outputs. You can probably configure these such that you'd have the
demo-platform on one side and the cluster dashboard in another. You
would then only have to start applications in each VMs rather than
assigning them to different outputs. Obviously, for assigning each VM to
a different output you'd just use the agl-shell-app-id I've previously
mentioned.
For some reason my HDMI-2 display is always a black screen but it shows
mouse pointer. PFA attached image.
Please suggest how can I bring cluster display on HDMI-2.
Thanks
Praveen
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#10659): https://lists.automotivelinux.org/g/agl-dev-community/message/10659
Mute This Topic: https://lists.automotivelinux.org/mt/99783397/2167316
Mute #agl-service-windowmanager:https://lists.automotivelinux.org/g/agl-dev-community/mutehashtag/agl-service-windowmanager
Group Owner: agl-dev-community+owner@xxxxxxxxxxxxxxxxxxxxxxxxx
Unsubscribe: https://lists.automotivelinux.org/g/agl-dev-community/leave/4543822/2167316/883735764/xyzzy [list-automotive-discussions82@xxxxxxxxxxx]
-=-=-=-=-=-=-=-=-=-=-=-