Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QtWayland compositor very bad performance
Forum Update on Monday, May 27th 2025

QtWayland compositor very bad performance

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
waylandwestonqt 5.8.0qtwaylandglmark2
3 Posts 2 Posters 2.4k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • teleT Offline
    teleT Offline
    tele
    wrote on last edited by
    #1

    Hi all,

    I'm testing QtWayland performance on an embedded armhf device with imx6q processor. It is supported SoC (by Qt5) long ago.
    Its Qt 5.8.0 and the OS is Debian Stretch

    When I run the QtWayland Compositor: examples/qwindow-compositor
    $ glmark2-es2-wayland
    =======================================================
    glmark2 2014.03
    =======================================================
    OpenGL Information
    GL_VENDOR: Vivante Corporation
    GL_RENDERER: Vivante GC2000
    GL_VERSION: OpenGL ES 3.0 V5.0.11.p8.41671
    =======================================================
    [build] use-vbo=false: FPS: 119 FrameTime: 8.403 ms
    [build] use-vbo=true: FPS: 200 FrameTime: 5.000 ms
    <snip-snip-snip>
    ....
    =======================================================
    glmark2 Score: 102
    =======================================================

    When I run the QtWayland Compositor: examples/pure-qml
    $ glmark2-es2-wayland
    tele@stretch-dev:/opt/qt5/examples/qt3d$ glmark2-es2-wayland
    =======================================================
    glmark2 2014.03
    =======================================================
    OpenGL Information
    GL_VENDOR: Vivante Corporation
    GL_RENDERER: Vivante GC2000
    GL_VERSION: OpenGL ES 3.0 V5.0.11.p8.41671
    =======================================================
    [build] use-vbo=false: FPS: 72 FrameTime: 13.889 ms
    [build] use-vbo=true: FPS: 111 FrameTime: 9.009 ms
    <snip-snip-snip>
    ....
    =======================================================
    glmark2 Score: 79
    =======================================================

    When I run the good old Weston compositor:
    $ glmark2-es2-wayland
    tele@stretch-dev:/opt/qt5/examples/qt3d$ glmark2-es2-wayland
    =======================================================
    glmark2 2014.03
    =======================================================
    OpenGL Information
    GL_VENDOR: Vivante Corporation
    GL_RENDERER: Vivante GC2000
    GL_VERSION: OpenGL ES 3.0 V5.0.11.p8.41671
    =======================================================
    [build] use-vbo=false: FPS: 419 FrameTime: 2.387 ms
    [build] use-vbo=true: FPS: 682 FrameTime: 1.466 ms
    <snip-snip-snip>
    ....
    =======================================================
    glmark2 Score: 253
    =======================================================

    As you can see the performance with the same glmark2-es2-wayland client is :
    C++ QtWayland Compositor 102
    QML QtWayland Compositor 79
    Pure C Weston compositor 253

    Just for comparison, on X11 the glmark2-es2 score is 194 with this board.
    Wayland is supposed to be faster than x11. And Weston proves that, its about 30% faster.
    But Qtwayland compositors are much worse, the pure qml compositor actually unusable in this embedded environment.

    My questions are :
    Is this expected ? Can anyone confirm this ? Or should I expect better performance ? Do I need to check settings or something ?
    Seemingly everything works good, no error, no warning, even the spinning cubes and animals look the same, its not sluggish (of course 72 fps is just fast enough for the eye)
    In my opinion wayland is much more important on embedded, than on desktop platform.
    On a desktop PC you can't ask any graphics task on x11 what is slow with a modern nVidia or AMD video-card and with a good SW, they are bloody fast GPU's and the desktop graphics stupid effects are nothing to them. They start to swear only at 4k high FPS 3D games, but those are not written for x11 or wayland. So the faster wayland makes no big difference on PC.
    But running on low-end embedded GPU's, wayland could make a big difeerence compared to X11.
    In theory. But I experience the opposite and wayland compositor is much worse than X11. At least if its QtWayland.

    This is a huge disappointment. Will this be any better in Qt5.9 ? I mean the QtWayland Compositor class.

    Thanks,
    Laci

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      You should rather bring that question to the interest mailing list. You'll find there Qt's developers/maintainers. This forum is more user oriented.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • teleT Offline
        teleT Offline
        tele
        wrote on last edited by
        #3

        Thank you Gaist !
        I'm noobcake here this was my first question.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved