Can not return to LAUNCHER with multiple displays and homescreen on HDMI-A-1

Inactive

Description

I use AGL Reference Hardware board which has two HDMI outputs.

Enable both outputs "/etc/xdg/weston/weston.ini":

Configure HOMESCREEN to use HDMI-A-1, by default once HDMI-A-2 enabled homescreen will be launched there due to how agl-compositor orders wl_output, "/etc/afm/widget.env.d/homescreen/homescreen.env":

Route inputs to HDMI-A-1, by default they will be routed to HDMI-A-2, "/etc/udev/rules.d/99-input.rules":

1. Press on NAVIGATION
2. Navigation will be opened
3. Press on LAUNCHER
Problem: LAUNCHER is not opened.

compositor.log

Also, I noticed that method "Shell::activate_app" is not used.

Environment

AGL LL 12.1.0 with agl-compositor updated to master and reverted commits related to weston version update

Activity

Show:

Marius Vlad 
June 3, 2022 at 7:07 AM

Yeah, fair enough, sounds good to me. Shouldn't be that hard, we need to explicitly state the output, for that just need to retrieve the correct wl_output for that particular value set in environmental variable, I guess.

Scott Murray 
June 2, 2022 at 11:50 PM

I'd expect all applications to start on the same display as homescreen, but realize that may not be straightforward in practice.

Marius Vlad 
June 2, 2022 at 8:44 AM

Multiple output and multiple apps is a bit fiddly, I've included a remote option in the agl-shell-desktop protocol to tag the application to open to a different output, or alternatively (but this also problematic) from the config file.

See
https://docs.automotivelinux.org/en/marlin/#5_Component_Documentation/1_agl-compositor/#explicit-output

And with the remote entry:
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#l40

This looks to be HOMESCREEN application not respecting "HOMESCREEN_START_SCREEN". I can look into this.

Yeah, sure, but I think that only affects homescreen itself not other applications.

Fyi, HDMI-A-2 is chosen being the first available output that the compositor advertises.

So basically the issue here is that with multiple applications some application open correctly on the same output as homescreen while others
do not?

Vasyl Vavrychuk 
June 2, 2022 at 7:33 AM

This looks to be HOMESCREEN application not respecting "HOMESCREEN_START_SCREEN". I can look into this.

Details

Assignee

Reporter

Hardware Platform(s) Affected

Renesas H3

Components

Priority

Created June 2, 2022 at 7:31 AM
Updated December 19, 2023 at 2:12 PM
Resolved December 19, 2023 at 2:12 PM