Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. QtonPi
  4. SwipeView animation sluggish on Odroid EGLFS platform
Forum Updated to NodeBB v4.3 + New Features

SwipeView animation sluggish on Odroid EGLFS platform

Scheduled Pinned Locked Moved Unsolved QtonPi
1 Posts 1 Posters 903 Views 1 Watching
  • 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.
  • vikramgV Offline
    vikramgV Offline
    vikramg
    wrote on last edited by vikramg
    #1

    SwipeView animation is sluggish on Odroid EGLFS compared to running on X11. I cannot use X11 since there is significant visual tearing on this platform and I haven't found a way to fix that. (In EGLFS there is no tearing). Also in EGLFS, on every swipe, the following messages get printed when logging is enabled:

    qt.scenegraph.general: Using sg animation driver
    qt.scenegraph.general: animation driver switched to vsync mode
    qt.scenegraph.general: animation driver switched to timer mode
    ... 
    

    Why is the driver switching modes? Shouldn't it stay tied to vsync? I have tried the following:

    • If I set QT_QPA_EGLFS_FORCEVSYNC, animation becomes even more sluggish and appears jerky (as if the display were updating at 20 fps or so). The log message printed is just animation driver switched to timer mode printed once. It doesn't toggle betn vsync and timer, and is not emitted on every swipe.
    • QT_QPA_EGLFS_SWAPINTERVAL does not do anything
    • QML_BAD_GUI_RENDER_LOOP does not do anything either

    This post seemed relevant: https://forum.qt.io/topic/24416/qml-scenegraph-rendering-performance-on-eglfs but the solution there is what I have already tried (FORCEVSYNC) and it doesn't work. Is there a way to fix this?

    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