Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. using D3D11 with QT5,the UI will block in multi videos display1
Forum Updated to NodeBB v4.3 + New Features

using D3D11 with QT5,the UI will block in multi videos display1

Scheduled Pinned Locked Moved Unsolved General and Desktop
8 Posts 2 Posters 664 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.
  • Q Offline
    Q Offline
    qishi20000
    wrote on last edited by
    #1

    We develop a monitoring apps in windows10 using d3d11,when we create up to 32 channels D1 videos,the UI will block . We test QT 5.9.1 opensource version and QT5.13.1,both of them had this problem.
    We trace the qt code, the reason is that a message hook function is not response. this hook function set the timer event.
    It is OK in QT4.

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

      Hi and welcome to devnet,

      Can you be more precise on the functions you are talking about ? This will help pinpoint the problem.

      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
      • Q Offline
        Q Offline
        qishi20000
        wrote on last edited by
        #3

        Thank you for your response. In my APP there are 8*8 small windows in one window. each small window has one thread to decode and all of the small windows rendered by four threads. All of those works run in one process.
        I found that if I creare up to 32 videos ,the qt_GetMessageHook in qeventdispatcher_win.cpp will not response when PeekMessage(qeventdispatcher_win.cpp:584). This is why the UI blocked.
        I use d3d11 to render picture. it is no problem when use qt4.

        my OS: windows10 1809.
        qt version: 5.13.0

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

          Did you change anything in your code ?
          If not, then it sounds like a regression. Did you already check the bug report system ?

          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
          • Q Offline
            Q Offline
            qishi20000
            wrote on last edited by
            #5

            I check the bug system,but I couldn't find some similar problems!
            Should I create a bug in bug system?

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

              Yes, please provide a minimal compilable example so that your issue can be reproduced.

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

              Q 1 Reply Last reply
              0
              • SGaistS SGaist

                Yes, please provide a minimal compilable example so that your issue can be reproduced.

                Q Offline
                Q Offline
                qishi20000
                wrote on last edited by
                #7

                @SGaist I create a bug in https://bugreports.qt.io/browse/QTBUG-79164 . Thank you very much!

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

                  Thanks !

                  You should upload the demonstration and related files on the report. That way, people can directly get it from there especially in the long run.

                  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