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.

AM625: Screen Roatation using Western

Part Number: AM625

Tool/software:

Hi AM62x Champ !

We received a support request from a customer regarding the screen rotation feature, and asked if there was any way to improve the performance of the display rotation function in an X11-based application by moving the CPU.

In the parent thread, it was recommended to use Western or GUI to rotate, but I would like to know more about how to use Western and would like your help.

Can you please walk through details usage of western window composition?

Thanks.

Regards, 

Jack

  • Hi Jack,

    Weston is not a TI developed compositor and you can find information online about it. Start with the following references: https://wayland.pages.freedesktop.org/weston/ and https://wiki.archlinux.org/title/Weston. We recommend using Weston because we know it's GPU accelerated where X11 is not. Our out of box demos are also based on Weston compositor.

    Regards,
    Krunal

  • Hi Krunal

    Thanks for your kind answer.

    If a customer develops an X11 based application on a platform using AM62x, can I tell them to develop the application based on Western libraries instead of X11 for better graphics performance?
    If that's not feasible right away, would it be the fastest way to get to market with an external Rotation graphics IC?

    And where can I find the demo application code for the AM62x EVK out of the box demo?

    Thanks.

    Regards, 

    Jack

  • Hi Jack,

    It depends on how their application is written. For example, with Qt the C/C++ based application is agnostic of the windowing system and it can run under any environment. However, if it's a standalone OpengLES application then it may require some porting of the initial GLContext code. Also, I am not familiar with such external chips and we do not have any references around it.

    Could you also please explain why rotation is important for your customer? I would like to understand the requirement for on the fly rotation. It's a valuable feedback that I can drive internally for future devices.

    Regards,
    Krunal