Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.12.0
-
None
-
Dynamic GL LibGL Vendor: ATI Technologies Inc.
Renderer: AMD Radeon (TM) R7 M370
Version: 4.5.14523 Compatibility Profile Context 24.20.12019.1010
Shading language: 4.50
Format: Version: 4.5 Profile: 2 Swap behavior: 2 Buffer size (RGBA): 8,8,8,8 Stencil buffer: 8
Profile: None (QOpenGLFunctions_4_5), Core (QOpenGLFunctions_4_5_Core), Compatibility (QOpenGLFunctions_4_5_Compatibility)
Card name : AMD Radeon (TM) R7 M370
Driver Name : aticfx64.dll
Driver Version : 24.20.12019.1010
Vendor ID : 0x1002
Device ID : 0x6600
SubSys ID : 0x06DF1028
Revision ID : 0x0081Dynamic GL LibGL Vendor: ATI Technologies Inc. Renderer: AMD Radeon (TM) R7 M370 Version: 4.5.14523 Compatibility Profile Context 24.20.12019.1010 Shading language: 4.50 Format: Version: 4.5 Profile: 2 Swap behavior: 2 Buffer size (RGBA): 8,8,8,8 Stencil buffer: 8 Profile: None (QOpenGLFunctions_4_5), Core (QOpenGLFunctions_4_5_Core), Compatibility (QOpenGLFunctions_4_5_Compatibility) Card name : AMD Radeon (TM) R7 M370 Driver Name : aticfx64.dll Driver Version : 24.20.12019.1010 Vendor ID : 0x1002 Device ID : 0x6600 SubSys ID : 0x06DF1028 Revision ID : 0x0081
-
-
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
- resulted from
-
QTBUG-50371 Windows: OpenGL crash on start on Intel + AMD GPU (Multi-adapter) systems
- Closed