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. Is opengl with Qt on i.MX6Q is slow?
Qt 6.11 is out! See what's new in the release blog

Is opengl with Qt on i.MX6Q is slow?

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
5 Posts 4 Posters 1.2k Views 2 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.
  • A Offline
    A Offline
    Abin
    wrote on last edited by
    #1

    Hi all,

    I am new to embedded with Qt.

    I have a Qt Quick application, in which I am trying is to grab whenever a screen change occurs and this is time critical.

    I tried using Qml grab function as well as QQuickRenderControl grab function.

    Both on i.MX6Q device takes almost 2 seconds. While on PC it takes only ~50 ms.

    The screen resolution which I display my screen is 1920x1080.

    Board is Sabre i.MX6Q with Yocto krogoth.

    It seems like opengl is slow than expected on a sabre board.

    I would like to know if there is any way to grab the screen in a faster method, say in milli seconds.

    Thanks in advance!

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

      Hi,

      Can you describe what exactly you are trying to achieve ?

      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
      0
      • A Offline
        A Offline
        Abin
        wrote on last edited by
        #3

        I am trying to make an application that is similar to "desktop presentation in skype".

        My application screen shall be displayed to another device screen connected through network. To make this possible I am trying to grab screen whenever there is a screen update, and send to the latter through network.

        But since grab is very slow, it doesn't feel real time. :(

        1 Reply Last reply
        0
        • K Offline
          K Offline
          kuzulis
          Qt Champions 2020
          wrote on last edited by kuzulis
          #4

          I use for similar solution a modified sources from the ShaderEffect item as a grabber. This grabber item duplicates my desired source item on some other place (e.g. in out of window area), and then I got a frames from this grabber when a source item changes. I know, it is ugly, because it duplicates a source item (but it is fast), but I did not find any other solution.. I had asked this on mailing-list, on some other forums, but without of success. I'm not an OpenGL expert.

          1 Reply Last reply
          0
          • Cleiton BuenoC Offline
            Cleiton BuenoC Offline
            Cleiton Bueno
            wrote on last edited by
            #5

            Are you using QScreen()?

            Is your Linux server using graphical (X11, Wayland) or EGLFS?

            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