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. QT widget based UI rendering slow on qt5 when ported from qt4
Forum Updated to NodeBB v4.3 + New Features

QT widget based UI rendering slow on qt5 when ported from qt4

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
26 Posts 3 Posters 6.8k 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.
  • K Offline
    K Offline
    kuzulis
    Qt Champions 2020
    wrote on 18 Sept 2018, 06:39 last edited by
    #16

    @linuxsnail said in QT widget based UI rendering slow on qt5 when ported from qt4:

    Does this mean that Qwidget can be accelerated as well?

    Seems no.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 18 Sept 2018, 06:48 last edited by
      #17

      IIRC, DirectFB provided some hardware acceleration depending on the graphic chip you have at your disposal but don't expect NVIDIA Titan X acceleration performances.

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

      L 2 Replies Last reply 19 Sept 2018, 06:18
      0
      • S SGaist
        18 Sept 2018, 06:48

        IIRC, DirectFB provided some hardware acceleration depending on the graphic chip you have at your disposal but don't expect NVIDIA Titan X acceleration performances.

        L Offline
        L Offline
        linuxsnail
        wrote on 19 Sept 2018, 06:18 last edited by
        #18

        @SGaist Can I use EGLFS for QWidgets without GPU support? Do you think it can have better performance over LinuxFB?

        1 Reply Last reply
        0
        • S SGaist
          18 Sept 2018, 06:48

          IIRC, DirectFB provided some hardware acceleration depending on the graphic chip you have at your disposal but don't expect NVIDIA Titan X acceleration performances.

          L Offline
          L Offline
          linuxsnail
          wrote on 7 Dec 2018, 15:35 last edited by
          #19

          @SGaist I am still struggling with this topic, is there any possibility of adding software acceleration for qwidgets ? I'm just wondering what made it render faster on qt 4.8.1? even when we use qt4.8.7 it seems slow like qt5.

          For qt4.8.1 and 4.8.7 my compile configurations are similar.

          1 Reply Last reply
          0
          • S Offline
            S Offline
            SGaist
            Lifetime Qt Champion
            wrote on 7 Dec 2018, 15:37 last edited by
            #20

            If you are seeing a slowdown between Qt 4.8.1 and Qt 4.8.7, you should compare the code of both backend to see what's going on.

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

            L 1 Reply Last reply 7 Dec 2018, 16:49
            0
            • S SGaist
              7 Dec 2018, 15:37

              If you are seeing a slowdown between Qt 4.8.1 and Qt 4.8.7, you should compare the code of both backend to see what's going on.

              L Offline
              L Offline
              linuxsnail
              wrote on 7 Dec 2018, 16:49 last edited by
              #21

              @SGaist Sure that's what I am doing right now but on a separate note is it possible to use any software acceleration with QTWidgets?

              1 Reply Last reply
              0
              • S Offline
                S Offline
                SGaist
                Lifetime Qt Champion
                wrote on 7 Dec 2018, 21:52 last edited by
                #22

                What software acceleration do you have in mind ?

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

                L 1 Reply Last reply 7 Dec 2018, 23:53
                0
                • S SGaist
                  7 Dec 2018, 21:52

                  What software acceleration do you have in mind ?

                  L Offline
                  L Offline
                  linuxsnail
                  wrote on 7 Dec 2018, 23:53 last edited by
                  #23

                  @SGaist i just want to understand can opengl or svg libraries be used without gpu or any other backend like directfb can improve performance rendering apart from linuxfb

                  1 Reply Last reply
                  0
                  • S Offline
                    S Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on 8 Dec 2018, 21:24 last edited by
                    #24

                    You can use mesa for software based OpenGL rendering (don't expect hight performance).

                    SVG is not a screen rendering backend.

                    IIRC DirectFB should be faster than plain LinuxFB.

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

                    L 1 Reply Last reply 12 Dec 2018, 06:41
                    1
                    • S SGaist
                      8 Dec 2018, 21:24

                      You can use mesa for software based OpenGL rendering (don't expect hight performance).

                      SVG is not a screen rendering backend.

                      IIRC DirectFB should be faster than plain LinuxFB.

                      L Offline
                      L Offline
                      linuxsnail
                      wrote on 12 Dec 2018, 06:41 last edited by
                      #25

                      @SGaist Ok I believe qt 4 has qt-gfx driver which provides some sort of software acceleration when used with linux fb, any idea qt5 has any such driver which I can use?

                      1 Reply Last reply
                      0
                      • S Offline
                        S Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on 12 Dec 2018, 22:22 last edited by
                        #26

                        You have the complete list of backend available here.

                        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

                        • Login

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