Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-73008

QTBUG-50371 causes debugging overhead

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.12.2, 5.14.0 Alpha
    • 5.12.0
    • None
    • Windows
    • 4c46e3189ac96c8ebcbe1caa47227c4e086d12ff (qt/qtbase/5.12)

    Description

      the bug fix QTBUG-50371 takes many seconds every time you hover over a toolbar item, or open a combo box.

      The main problem is the function "forcedScreenForGLWindow" which loads dx9.dll (including many, many sub-dlls) and unloads them instantly.

      The main problem seems to be the continued calling of "IDirect3D9 *direct3D9 = direct3DCreate9(D3D_SDK_VERSION);"

      Considerable solutions:

      • Cache the return value of GpuDescription::detect().gpuSuitableScreen in a static variable.
      • Offer a environment variable to disable that check
      • Offer a QSurfaceFormat option before creating the first QApplication object, that skips it.

       

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-73008
          # Subject Branch Project Status CR V

          Activity

            People

              anrocha André De La Rocha (Inactive)
              gernotfrisch Gernot Frisch
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes