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.

Wayland in glsdk 6.04 (DRA7XX)

Hi,

What compositor (is it sotfware/hardware compositor) is used by Weston server implemented on DRA7XX.

Regards,

Mahi

  • Hello Mahi,

    Please refer to DRA7xx GLSDK Software Developers Guide - processors.wiki.ti.com/.../DRA7xx_GLSDK_Software_Developers_Guide
    It contains the answer on your question:

    Wayland/Weston
    Starting from GLSDK 6.04, the supported Wayland/Weston version brings in the multiple display support in extended desktop mode and the ability to drag-and-drop windows from one display to the other.

    To execute the demos, the graphics driver must be initialized by running pvrsrvinit if this has not been done earlier.

    target # pvrsrvinit

    Best regards,
    Yanko
  • Hello Yanko,

    Thanks for your reply.

    Now, I have the following understanding about Wayland server on DRA7xx. Can you tell me whether this understanding is correct.

    " Wayland server uses SGX Graphics processor for composition and the Composited RGB output formed from multiple Wayland clients is fed to Graphics pipeline (one among the four display pipelines available in Display subsystem (DSS)) for display"

    Please correct me if there is any mistake in my above understanding.

    Could you also answer few of the following questions
    1. Is there a limit on how many Wayland clients can be supported by Wayland Server? If there is such limit what factors decides the limit?

    2. While Wayland server is running, is it possible to run any non Wayland applications that can use different display interface than what the Wayland server uses?


    Thanks in advance.

    Regards,
    Mahi
  • Hello Mahi,

    I don't completely agree with your understanding.
    Please take a look on following explanations:

    github.com/.../ti-omap5-sgx-ddk-um-linux

    As Wayland is only a library, it is useless on its own. To replace X Server, you need a compositor (like Weston).

    Wayland is a protocol for a compositor to talk to its clients as well as a C library implementation of that protocol. The compositor can be a standalone display server running on Linux kernel modesetting and evdev input devices, an X application, or a Wayland client itself. The clients can be traditional applications, X servers (rootless or fullscreen) or other display servers.

    Wayland is a protocol that specifies the communication between the display server (called Wayland compositor) and its clients. The Wayland protocol is essentially only about input handling and buffer management. The handling of the input hardware relies on evdev in Linux, and similar components in other operating systems. The initial implementation, chiefly libwayland-server, libwayland-client, libwayland-EGL and the reference implementation Weston are published under the MIT License.

    The answers on your questions are available in: wayland.freedesktop.org/faq.html

    Best regards,
    Yanko