This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM572x PSDK 3.0 support for setting windows positions

Other Parts Discussed in Thread: AM5728

Hi,

In the latest AM5728 PSDK 3.0 release, I see few updates on "Support for Setting Windows positions in Weston/Wayland” .

The details of the same (and also the testing of the same) are captured at 

- Setting the Global Position
"http://processors.wiki.ti.com/index.php/Processor_Linux_SDK_Graphics_and_Display#GLOBAL_section: "


- Support for Moving Window position.
"http://processors.wiki.ti.com/index.php/Processor_Linux_SDK_Graphics_and_Display#MOVE_command"

 

Could you please confirm if the wayland/weston library provided in the PSDK 3.0 release supports this feature?

Regards,

Santosh

  • I will forward this to the software team.
  • Hi Santosh,

    Yes, SDK3 supports this feature. See the beginning of the SOC Performance monitoring tools on AM5 Devices section:
    Getting started
    Prepare the card with PLSDK 3.0.0 or later.

    Best Regards,
    Yordan
  • Hi Santosh,

    The SoC performance monitoring tool from TI is developed as a generic tool that can potentially be ported to other platforms such as QNX. Hence, the tool provides commands / configuration for window positioning. 

    However, please note that the actual support for window positioning needs to come from the underlying window system itself.

    The Wayland/Weston included in TI SDKs is an open source framework. The default Wayland APIs do not have any provision for client to specify window position during initialization. 

    In Wayland/Weston architecture, the client can only ask for a surface to render. There are two options to achieve window positioning:

    1. Add API in Wayland to support client window positioning. This will require changes in Wayland API, Weston as well as the client application. As it stands, this is not an upstreamable option.

    2. The positioning of client window is controlled by Weston shell. For example, the IVI shell will have support for specifying positions but not the default desktop shell.

    TI's recommendation will be to go with #2. All the information on Wayland / Weston / IVI-Shell is publicly available. TI is also looking at examples of IVI-shell for our future SDK releases in 4Q. 

    Hope this clarifies.

    Regards,

    Anand

  • Thanks Anand for providing the complete details.

    Just want to confirm on the point which you have mentioned:

    >The default Wayland APIs do not have any provision for client to specify window position during initialization. 

    This means, the Weston/Wayland library which is provided as part of PSDK 3.0 do not support window positioning for the clients. If window positioning support needs to  be added, then we need to choose one of the two methods which you have mentioned above. Is my understanding correct?

    Thanks.

    Regards,

    Santosh

  • Hi Santosh,

    Yes, this is correct. There is no upstream support in Wayland for window positioning from client. As such, there is no support in Wayland/Weston library in Processor SDK 3.0 as well.

    Regards,

    Anand

  • Thanks Anand for the confirmation.

    Regards,

    Santosh