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. Bad performance on Embedded device when rotating qml scene
QtWS25 Last Chance

Bad performance on Embedded device when rotating qml scene

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
beaglebonelinuxfbopenglrotation
1 Posts 1 Posters 501 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.
  • H Offline
    H Offline
    HSK_Developer
    wrote on last edited by
    #1

    Hello,

    I have developed a QT quick application for the Beaglebone Black (console image, Kernel 4.19, Debian 10.10, Qt 5.11). I have installed qt via apt and deployed my qt application.
    So far so good.
    My Application is a square which can be rotated by 90 degrees. I am rotating the scene in qml through the rotation property.
    But when I rotate the screen, the performance decreases. Tumblers aren't smooth anymore, switching qml pages takes longer.
    The Beaglebone image seemingly does not support OpenGl natively and I haven't been able to make use of the eglfs platform.
    The application runs on the linuxfb platform.
    I have also seen that a patch for rotating the linuxfb has been released (https://borkedlabs.com/blog/2015/06-01-qt5-linuxfb-rotation-for-lcds/), but I don't know how to apply this patch. I would need to build qt from source, but I don't know how to deploy this qt version onto the BBB.

    Do you know why the rotation affects the performance so much?
    Should I switch to OpenGl instead of directly using the linux framebuffer? If so, how?
    How can I apply the patch?

    Thanks in advance!

    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