Details
-
Bug
-
Resolution: Duplicate
-
P1: Critical
-
None
-
6.2.4, 6.3.2, 6.4.3, 6.5.3, 6.6.1
-
None
-
{noformat}
Qt 6.6.0 (x86_64-little_endian-llp64 shared (dynamic) release build; by MSVC 2019) on "windows"
OS: Windows 11 Version 22H2 [winnt version 10.0.22621]
Architecture: x86_64; features: SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX AVX2 AVX512F AVX512IFMA AVX512VBMI2 RDRAND RDSEED AES VAES SHA
Environment:
Features: QT_NO_EXCEPTIONS
Library info:
PrefixPath: D:\Qt\Tools\QtCreator\bin
DocumentationPath: D:\Qt\Tools\QtCreator\bin\doc
HeadersPath: D:\Qt\Tools\QtCreator\bin\include
LibrariesPath: D:\Qt\Tools\QtCreator\bin
LibraryExecutablesPath: D:\Qt\Tools\QtCreator\bin\bin
BinariesPath: D:\Qt\Tools\QtCreator\bin
PluginsPath: D:\Qt\Tools\QtCreator\bin\plugins
QmlImportsPath: D:\Qt\Tools\QtCreator\bin\qml
ArchDataPath: D:\Qt\Tools\QtCreator\bin
DataPath: D:\Qt\Tools\QtCreator\bin
TranslationsPath: D:\Qt\Tools\QtCreator\bin\translations
ExamplesPath: D:\Qt\Tools\QtCreator\bin\examples
TestsPath: D:\Qt\Tools\QtCreator\bin\tests
SettingsPath:
Standard paths [*...* denote writable entry]:
DesktopLocation: "Desktop" *C:\Users\zhikai\Desktop*
DocumentsLocation: "Documents" *C:\Users\zhikai\Documents*
FontsLocation: "Fonts" *C:\WINDOWS\Fonts*
ApplicationsLocation: "Applications" *C:\Users\zhikai\AppData\Roaming\Microsoft\Windows\Start Menu\Programs*
MusicLocation: "Music" *C:\Users\zhikai\Music*
MoviesLocation: "Movies" *C:\Users\zhikai\Videos*
PicturesLocation: "Pictures" *C:\Users\zhikai\Pictures*
TempLocation: "Temporary Directory" *C:\Users\zhikai\AppData\Local\Temp*
HomeLocation: "Home" *C:\Users\zhikai*
AppLocalDataLocation: "Application Data" *C:\Users\zhikai\AppData\Local\QtProject\qtdiag* C:\ProgramData\QtProject\qtdiag D:\Qt\Tools\QtCreator\bin D:\Qt\Tools\QtCreator\bin\data D:\Qt\Tools\QtCreator\bin\data\QtProject\qtdiag
CacheLocation: "Cache" *C:\Users\zhikai\AppData\Local\QtProject\qtdiag\cache*
GenericDataLocation: "Shared Data" *C:\Users\zhikai\AppData\Local* C:\ProgramData D:\Qt\Tools\QtCreator\bin D:\Qt\Tools\QtCreator\bin\data
RuntimeLocation: "Runtime" *C:\Users\zhikai*
ConfigLocation: "Configuration" *C:\Users\zhikai\AppData\Local\QtProject\qtdiag* C:\ProgramData\QtProject\qtdiag D:\Qt\Tools\QtCreator\bin D:\Qt\Tools\QtCreator\bin\data D:\Qt\Tools\QtCreator\bin\data\QtProject\qtdiag
DownloadLocation: "Download" *C:\Users\zhikai\Downloads*
GenericCacheLocation: "Shared Cache" *C:\Users\zhikai\AppData\Local\cache*
GenericConfigLocation: "Shared Configuration" *C:\Users\zhikai\AppData\Local* C:\ProgramData D:\Qt\Tools\QtCreator\bin D:\Qt\Tools\QtCreator\bin\data
AppDataLocation: "Application Configuration" *C:\Users\zhikai\AppData\Roaming\QtProject\qtdiag* C:\ProgramData\QtProject\qtdiag D:\Qt\Tools\QtCreator\bin D:\Qt\Tools\QtCreator\bin\data D:\Qt\Tools\QtCreator\bin\data\QtProject\qtdiag
AppConfigLocation: "Application Configuration" *C:\Users\zhikai\AppData\Local\QtProject\qtdiag* C:\ProgramData\QtProject\qtdiag D:\Qt\Tools\QtCreator\bin D:\Qt\Tools\QtCreator\bin\data D:\Qt\Tools\QtCreator\bin\data\QtProject\qtdiag
File selectors (increasing order of precedence):
zh_CN windows winnt
Network:
Using "Secure Channel, Windows 10.0.22621", version: 0xa00585d
Platform capabilities: ThreadedPixmaps OpenGL ThreadedOpenGL WindowMasks MultipleWindows ForeignWindows NonFullScreenWindows NativeWidgets WindowManagement RasterGLSurface AllGLFunctionsQueryable
Style hints:
mouseDoubleClickInterval: 500
mousePressAndHoldInterval: 800
startDragDistance: 10
startDragTime: 500
startDragVelocity: 0
keyboardInputInterval: 400
keyboardAutoRepeatRateF: 32
cursorFlashTime: 1060
showIsFullScreen: 0
showIsMaximized: 0
passwordMaskDelay: 0
passwordMaskCharacter: U+25CF
fontSmoothingGamma: 1.2
useRtlExtensions: 0
setFocusOnTouchRelease: 0
tabFocusBehavior: Qt::TabFocusAllControls
singleClickActivation: 0
Additional style hints (QPlatformIntegration):
ReplayMousePressOutsidePopup: 1
Theme:
Platforms requested : windows
available :
Styles requested : WindowsVista,Windows
available : windowsvista,Windows,Fusion
System font : "Microsoft YaHei UI" 9
Native file dialog
Fonts:
General font : "Microsoft YaHei UI" 9
Fixed font : "Courier New" 9
Title font : "Microsoft YaHei UI" 9
Smallest font: "Microsoft YaHei UI" 9
Palette:
QPalette::WindowText: #ff000000
QPalette::Button: #fff0f0f0
QPalette::Light: #ffffffff
QPalette::Midlight: #ffe3e3e3
QPalette::Dark: #ffa0a0a0
QPalette::Mid: #ffa0a0a0
QPalette::Text: #ff000000
QPalette::BrightText: #ffffffff
QPalette::ButtonText: #ff000000
QPalette::Base: #ffffffff
QPalette::Window: #fff0f0f0
QPalette::Shadow: #ff696969
QPalette::Highlight: #ff0078d7
QPalette::HighlightedText: #ffffffff
QPalette::Link: #ff0063b1
QPalette::LinkVisited: #ff00145a
QPalette::AlternateBase: #ffe9e7e3
QPalette::NoRole: #ff000000
QPalette::ToolTipBase: #ffffffdc
QPalette::ToolTipText: #ff000000
QPalette::PlaceholderText: #80000000
QPalette::Accent: #ff0063b1
Screens: 1, High DPI scaling: active
# 0 "PHL 279E1" Depth: 32 Primary: yes
Manufacturer: Philips Consumer Electronics Company
Model: PHL 279E1
Serial number: UK82312000147
Geometry: 2560x1440+0+0 (native: 3840x2160+0+0) Available: 2560x1392+0+0
Physical size: 597x336 mm Refresh: 60 Hz Power state: 0
Physical DPI: 108.918,108.857 Logical DPI: 96,96 (native: 144,144) Subpixel_None
High DPI scaling factor: 1.5 DevicePixelRatio: 1.5
Primary orientation: 2 Orientation: 2 Native orientation: 0
Input devices: 1
QInputDevice::DeviceType::TouchScreen "", capabilities: Position Area NormalizedPosition MouseEmulation
Dynamic GL LibGL Vendor: ATI Technologies Inc.
Renderer: AMD Radeon RX 640
Version: 4.6.0 Compatibility Profile Context 23.11.1.231017
Shading language: 4.60
Format: Version: 4.6 Profile: 2 Swap behavior: 2 Buffer size (RGBA): 8,8,8,8 Depth buffer: 32 Stencil buffer: 8
Profile: None (QOpenGLFunctions_4_6)
Vulkan instance available
Supported instance extensions:
VK_KHR_device_group_creation, version 1
VK_KHR_external_fence_capabilities, version 1
VK_KHR_external_memory_capabilities, version 1
VK_KHR_external_semaphore_capabilities, version 1
VK_KHR_get_physical_device_properties2, version 2
VK_KHR_get_surface_capabilities2, version 1
VK_KHR_surface, version 25
VK_KHR_win32_surface, version 6
VK_EXT_debug_report, version 10
VK_EXT_debug_utils, version 2
VK_EXT_swapchain_colorspace, version 4
VK_KHR_portability_enumeration, version 1
VK_LUNARG_direct_driver_loading, version 1
Supported layers:
VK_LAYER_AMD_switchable_graphics, version 1, spec version 1.3.260, AMD switchable graphics layer
VK_LAYER_EOS_Overlay, version 1, spec version 1.2.136, Vulkan overlay layer for Epic Online Services
VK_LAYER_EOS_Overlay, version 1, spec version 1.2.136, Vulkan overlay layer for Epic Online Services
VK_LAYER_LUNARG_api_dump, version 2, spec version 1.3.268, LunarG API dump layer
VK_LAYER_LUNARG_gfxreconstruct, version 4194305, spec version 1.3.268, GFXReconstruct Capture Layer Version 1.0.1
VK_LAYER_KHRONOS_synchronization2, version 1, spec version 1.3.268, Khronos Synchronization2 layer
VK_LAYER_KHRONOS_validation, version 1, spec version 1.3.268, Khronos Validation Layer
VK_LAYER_LUNARG_monitor, version 1, spec version 1.3.268, Execution Monitoring Layer
VK_LAYER_LUNARG_screenshot, version 1, spec version 1.3.268, LunarG image capture layer
VK_LAYER_KHRONOS_profiles, version 1, spec version 1.3.268, Khronos Profiles layer
VK_LAYER_KHRONOS_shader_object, version 1, spec version 1.3.268, Khronos Shader object layer
Available physical devices:
API version 1.3.260, vendor 0x1002, device 0x6987, AMD Radeon RX 640, type 2, driver version 2.0.279
GPU #1:
Card name : AMD Radeon RX 640
Driver Name : aticfx64.dll
Driver Version : 31.0.21905.1001
Vendor ID : 0x1002
Device ID : 0x6987
SubSys ID : 0x17131028
Revision ID : 0x00C1
Qt Rendering Hardware Interface supported backends:
OpenGL (with default QSurfaceFormat):
Driver Info: Device: ATI Technologies Inc. AMD Radeon RX 640 4.6.0 Compatibility Profile Context 23.11.1.231017 Device ID: 0x0 Vendor ID: 0x0 Device type: Unknown
Min Texture Size: 1
Max Texture Size: 16384
Max Color Attachments: 8
Frames in Flight: 1
Async Readback Limit: 1
MaxThreadGroupsPerDimension: 65535
MaxThreadsPerThreadGroup: 1024
MaxThreadGroupX: 1024
MaxThreadGroupY: 1024
MaxThreadGroupZ: 1024
TextureArraySizeMax: 2048
MaxUniformBufferRange: 32000
MaxVertexInputs: 32
MaxVertexOutputs: 16
Uniform Buffer Alignment: 1
Supported MSAA sample counts: 1,2,4,8
Features:
v MultisampleTexture
v MultisampleRenderBuffer
- DebugMarkers
- Timestamps
v Instancing
- CustomInstanceStepRate
v PrimitiveRestart
v NonDynamicUniformBuffers
v NonFourAlignedEffectiveIndexBufferOffset
v NPOTTextureRepeat
- RedOrAlpha8IsRed
v ElementIndexUint
v Compute
v WideLines
v VertexShaderPointSize
v BaseVertex
- BaseInstance
v TriangleFanTopology
v ReadBackNonUniformBuffer
v ReadBackNonBaseMipLevel
v TexelFetch
v RenderToNonBaseMipLevel
v IntAttributes
v ScreenSpaceDerivatives
- ReadBackAnyTextureFormat
v PipelineCacheDataLoadSave
v ImageDataStride
v RenderBufferImport
v ThreeDimensionalTextures
v RenderTo3DTextureSlice
v TextureArrays
v Tessellation
v GeometryShader
- TextureArrayRange
v NonFillPolygonMode
v OneDimensionalTextures
v OneDimensionalTextureMipmaps
v HalfAttributes
v RenderToOneDimensionalTexture
v ThreeDimensionalTextureMipmaps
Texture formats: RGBA8 BGRA8 R8 RG8 R16 RG16 RED_OR_ALPHA8 RGBA16F RGBA32F R16F R32F RGB10A2 D16 D32F BC1 BC2 BC3 ETC2_RGB8 ETC2_RGB8A1 ETC2_RGBA8 ASTC_4x4 ASTC_5x4 ASTC_5x5 ASTC_6x5 ASTC_6x6 ASTC_8x5 ASTC_8x6 ASTC_8x8 ASTC_10x5 ASTC_10x8 ASTC_10x10 ASTC_12x10 ASTC_12x12
Vulkan:
Driver Info: Device: AMD Radeon RX 640 Device ID: 0x6987 Vendor ID: 0x1002 Device type: Discrete
Min Texture Size: 1
Max Texture Size: 16384
Max Color Attachments: 8
Frames in Flight: 2
Async Readback Limit: 2
MaxThreadGroupsPerDimension: 65535
MaxThreadsPerThreadGroup: 1024
MaxThreadGroupX: 1024
MaxThreadGroupY: 1024
MaxThreadGroupZ: 1024
TextureArraySizeMax: 2048
MaxUniformBufferRange: 2147483647
MaxVertexInputs: 64
MaxVertexOutputs: 32
Uniform Buffer Alignment: 16
Supported MSAA sample counts: 1,2,4,8
Features:
v MultisampleTexture
v MultisampleRenderBuffer
v DebugMarkers
v Timestamps
v Instancing
- CustomInstanceStepRate
v PrimitiveRestart
v NonDynamicUniformBuffers
v NonFourAlignedEffectiveIndexBufferOffset
v NPOTTextureRepeat
v RedOrAlpha8IsRed
v ElementIndexUint
v Compute
v WideLines
v VertexShaderPointSize
v BaseVertex
v BaseInstance
v TriangleFanTopology
v ReadBackNonUniformBuffer
v ReadBackNonBaseMipLevel
v TexelFetch
v RenderToNonBaseMipLevel
v IntAttributes
v ScreenSpaceDerivatives
v ReadBackAnyTextureFormat
v PipelineCacheDataLoadSave
v ImageDataStride
- RenderBufferImport
v ThreeDimensionalTextures
- RenderTo3DTextureSlice
v TextureArrays
v Tessellation
v GeometryShader
v TextureArrayRange
v NonFillPolygonMode
v OneDimensionalTextures
v OneDimensionalTextureMipmaps
v HalfAttributes
v RenderToOneDimensionalTexture
v ThreeDimensionalTextureMipmaps
Texture formats: RGBA8 BGRA8 R8 RG8 R16 RG16 RED_OR_ALPHA8 RGBA16F RGBA32F R16F R32F RGB10A2 D16 D32F BC1 BC2 BC3 BC4 BC5 BC6H BC7
Direct3D 11:
Driver Info: Device: AMD Radeon RX 640 Device ID: 0x6987 Vendor ID: 0x1002 Device type: Unknown
Min Texture Size: 1
Max Texture Size: 16384
Max Color Attachments: 8
Frames in Flight: 1
Async Readback Limit: 1
MaxThreadGroupsPerDimension: 65535
MaxThreadsPerThreadGroup: 1024
MaxThreadGroupX: 1024
MaxThreadGroupY: 1024
MaxThreadGroupZ: 64
TextureArraySizeMax: 2048
MaxUniformBufferRange: 65536
MaxVertexInputs: 32
MaxVertexOutputs: 32
Uniform Buffer Alignment: 256
Supported MSAA sample counts: 1,2,4,8
Features:
v MultisampleTexture
v MultisampleRenderBuffer
v DebugMarkers
v Timestamps
v Instancing
v CustomInstanceStepRate
v PrimitiveRestart
- NonDynamicUniformBuffers
v NonFourAlignedEffectiveIndexBufferOffset
v NPOTTextureRepeat
v RedOrAlpha8IsRed
v ElementIndexUint
v Compute
- WideLines
- VertexShaderPointSize
v BaseVertex
v BaseInstance
- TriangleFanTopology
v ReadBackNonUniformBuffer
v ReadBackNonBaseMipLevel
v TexelFetch
v RenderToNonBaseMipLevel
v IntAttributes
v ScreenSpaceDerivatives
v ReadBackAnyTextureFormat
v PipelineCacheDataLoadSave
v ImageDataStride
- RenderBufferImport
v ThreeDimensionalTextures
v RenderTo3DTextureSlice
v TextureArrays
v Tessellation
v GeometryShader
v TextureArrayRange
v NonFillPolygonMode
v OneDimensionalTextures
v OneDimensionalTextureMipmaps
v HalfAttributes
v RenderToOneDimensionalTexture
v ThreeDimensionalTextureMipmaps
Texture formats: RGBA8 BGRA8 R8 RG8 R16 RG16 RED_OR_ALPHA8 RGBA16F RGBA32F R16F R32F RGB10A2 D16 D24 D24S8 D32F BC1 BC2 BC3 BC4 BC5 BC6H BC7
Direct3D 12:
Driver Info: Device: AMD Radeon RX 640 Device ID: 0x6987 Vendor ID: 0x1002 Device type: Unknown
Min Texture Size: 1
Max Texture Size: 16384
Max Color Attachments: 8
Frames in Flight: 2
Async Readback Limit: 2
MaxThreadGroupsPerDimension: 65535
MaxThreadsPerThreadGroup: 1024
MaxThreadGroupX: 1024
MaxThreadGroupY: 1024
MaxThreadGroupZ: 1024
TextureArraySizeMax: 2048
MaxUniformBufferRange: 65536
MaxVertexInputs: 32
MaxVertexOutputs: 32
Uniform Buffer Alignment: 256
Supported MSAA sample counts: 1,2,4,8
Features:
v MultisampleTexture
v MultisampleRenderBuffer
v DebugMarkers
- Timestamps
v Instancing
v CustomInstanceStepRate
v PrimitiveRestart
- NonDynamicUniformBuffers
v NonFourAlignedEffectiveIndexBufferOffset
v NPOTTextureRepeat
v RedOrAlpha8IsRed
v ElementIndexUint
v Compute
- WideLines
- VertexShaderPointSize
v BaseVertex
v BaseInstance
- TriangleFanTopology
v ReadBackNonUniformBuffer
v ReadBackNonBaseMipLevel
v TexelFetch
v RenderToNonBaseMipLevel
v IntAttributes
v ScreenSpaceDerivatives
v ReadBackAnyTextureFormat
- PipelineCacheDataLoadSave
v ImageDataStride
- RenderBufferImport
v ThreeDimensionalTextures
v RenderTo3DTextureSlice
v TextureArrays
v Tessellation
v GeometryShader
v TextureArrayRange
v NonFillPolygonMode
v OneDimensionalTextures
- OneDimensionalTextureMipmaps
v HalfAttributes
v RenderToOneDimensionalTexture
- ThreeDimensionalTextureMipmaps
Texture formats: RGBA8 BGRA8 R8 RG8 R16 RG16 RED_OR_ALPHA8 RGBA16F RGBA32F R16F R32F RGB10A2 D16 D24 D24S8 D32F BC1 BC2 BC3 BC4 BC5 BC6H BC7
Plugin information:
+ Android 12.0.0
+ AutoTest 12.0.0
AutotoolsProjectManager 12.0.0
Axivion 12.0.0
BareMetal 12.0.0
+ Bazaar 12.0.0
Beautifier 12.0.0
+ BinEditor 12.0.0
Boot2Qt 12.0.0
+ CMakeProjectManager 12.0.0
CVS 12.0.0
+ ClangCodeModel 12.0.0
+ ClangFormat 12.0.0
+ ClangTools 12.0.0
+ ClassView 12.0.0
ClearCase 12.0.0
Coco 12.0.0
+ CodePaster 12.0.0
CompilationDatabaseProjectManager 12.0.0
CompilerExplorer 12.0.0
Conan 12.0.0
Copilot 12.0.0
+ Core 12.0.0
+ CppEditor 12.0.0
Cppcheck 12.0.0
+ CtfVisualizer 12.0.0
+ Debugger 12.0.0
+ Designer 12.0.0
+ DiffEditor 12.0.0
Docker 12.0.0
EmacsKeys 12.0.0
+ FakeVim 12.0.0
Fossil 12.0.0
+ GLSLEditor 12.0.0
+ GenericProjectManager 12.0.0
+ Git 12.0.0
GitLab 12.0.0
Haskell 12.0.0
HelloWorld 12.0.0
+ Help 12.0.0
+ ImageViewer 12.0.0
+ IncrediBuild 12.0.0
Insight 12.0.0
Ios 12.0.0
+ LanguageClient 12.0.0
+ Macros 12.0.0
+ Marketplace 12.0.0
McuSupport 12.0.0
+ Mercurial 12.0.0
MesonProjectManager 12.0.0
+ ModelEditor 12.0.0
Nim 12.0.0
+ PerfProfiler 12.0.0
Perforce 12.0.0
+ ProjectExplorer 12.0.0
+ Python 12.0.0
+ QbsProjectManager 12.0.0
+ QmakeProjectManager 12.0.0
QmlDesigner 12.0.0
+ QmlDesignerBase 12.0.0
+ QmlJSEditor 12.0.0
+ QmlJSTools 12.0.0
+ QmlPreview 12.0.0
+ QmlProfiler 12.0.0
+ QmlProjectManager 12.0.0
+ Qnx 12.0.0
+ QtSupport 12.0.0
+ RemoteLinux 12.0.0
+ ResourceEditor 12.0.0
SafeRenderer 12.0.0
ScreenRecorder 12.0.0
+ ScxmlEditor 12.0.0
SerialTerminal 12.0.0
SilverSearcher 12.0.0
Squish 12.0.0
StudioWelcome 12.0.0
+ Subversion 12.0.0
+ Terminal 12.0.0
+ TextEditor 12.0.0
Todo 12.0.0
+ UpdateInfo 12.0.0
+ UsageStatistic 12.0.0
+ Valgrind 12.0.0
Vcpkg 12.0.0
+ VcsBase 12.0.0
WebAssembly 12.0.0
+ Welcome 12.0.0
Used settingspath: ~/AppData/Roaming/QtProject
Qt Creator 12.0.0
Based on Qt 6.6.0 (MSVC 2019, x86_64)
From revision 27055e4c39
Built on Nov 22 2023 07:37:05
{noformat}{noformat} Qt 6.6.0 (x86_64-little_endian-llp64 shared (dynamic) release build; by MSVC 2019) on "windows" OS: Windows 11 Version 22H2 [winnt version 10.0.22621] Architecture: x86_64; features: SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX AVX2 AVX512F AVX512IFMA AVX512VBMI2 RDRAND RDSEED AES VAES SHA Environment: Features: QT_NO_EXCEPTIONS Library info: PrefixPath: D:\Qt\Tools\QtCreator\bin DocumentationPath: D:\Qt\Tools\QtCreator\bin\doc HeadersPath: D:\Qt\Tools\QtCreator\bin\include LibrariesPath: D:\Qt\Tools\QtCreator\bin LibraryExecutablesPath: D:\Qt\Tools\QtCreator\bin\bin BinariesPath: D:\Qt\Tools\QtCreator\bin PluginsPath: D:\Qt\Tools\QtCreator\bin\plugins QmlImportsPath: D:\Qt\Tools\QtCreator\bin\qml ArchDataPath: D:\Qt\Tools\QtCreator\bin DataPath: D:\Qt\Tools\QtCreator\bin TranslationsPath: D:\Qt\Tools\QtCreator\bin\translations ExamplesPath: D:\Qt\Tools\QtCreator\bin\examples TestsPath: D:\Qt\Tools\QtCreator\bin\tests SettingsPath: Standard paths [*...* denote writable entry]: DesktopLocation: "Desktop" *C:\Users\zhikai\Desktop* DocumentsLocation: "Documents" *C:\Users\zhikai\Documents* FontsLocation: "Fonts" *C:\WINDOWS\Fonts* ApplicationsLocation: "Applications" *C:\Users\zhikai\AppData\Roaming\Microsoft\Windows\Start Menu\Programs* MusicLocation: "Music" *C:\Users\zhikai\Music* MoviesLocation: "Movies" *C:\Users\zhikai\Videos* PicturesLocation: "Pictures" *C:\Users\zhikai\Pictures* TempLocation: "Temporary Directory" *C:\Users\zhikai\AppData\Local\Temp* HomeLocation: "Home" *C:\Users\zhikai* AppLocalDataLocation: "Application Data" *C:\Users\zhikai\AppData\Local\QtProject\qtdiag* C:\ProgramData\QtProject\qtdiag D:\Qt\Tools\QtCreator\bin D:\Qt\Tools\QtCreator\bin\data D:\Qt\Tools\QtCreator\bin\data\QtProject\qtdiag CacheLocation: "Cache" *C:\Users\zhikai\AppData\Local\QtProject\qtdiag\cache* GenericDataLocation: "Shared Data" *C:\Users\zhikai\AppData\Local* C:\ProgramData D:\Qt\Tools\QtCreator\bin D:\Qt\Tools\QtCreator\bin\data RuntimeLocation: "Runtime" *C:\Users\zhikai* ConfigLocation: "Configuration" *C:\Users\zhikai\AppData\Local\QtProject\qtdiag* C:\ProgramData\QtProject\qtdiag D:\Qt\Tools\QtCreator\bin D:\Qt\Tools\QtCreator\bin\data D:\Qt\Tools\QtCreator\bin\data\QtProject\qtdiag DownloadLocation: "Download" *C:\Users\zhikai\Downloads* GenericCacheLocation: "Shared Cache" *C:\Users\zhikai\AppData\Local\cache* GenericConfigLocation: "Shared Configuration" *C:\Users\zhikai\AppData\Local* C:\ProgramData D:\Qt\Tools\QtCreator\bin D:\Qt\Tools\QtCreator\bin\data AppDataLocation: "Application Configuration" *C:\Users\zhikai\AppData\Roaming\QtProject\qtdiag* C:\ProgramData\QtProject\qtdiag D:\Qt\Tools\QtCreator\bin D:\Qt\Tools\QtCreator\bin\data D:\Qt\Tools\QtCreator\bin\data\QtProject\qtdiag AppConfigLocation: "Application Configuration" *C:\Users\zhikai\AppData\Local\QtProject\qtdiag* C:\ProgramData\QtProject\qtdiag D:\Qt\Tools\QtCreator\bin D:\Qt\Tools\QtCreator\bin\data D:\Qt\Tools\QtCreator\bin\data\QtProject\qtdiag File selectors (increasing order of precedence): zh_CN windows winnt Network: Using "Secure Channel, Windows 10.0.22621", version: 0xa00585d Platform capabilities: ThreadedPixmaps OpenGL ThreadedOpenGL WindowMasks MultipleWindows ForeignWindows NonFullScreenWindows NativeWidgets WindowManagement RasterGLSurface AllGLFunctionsQueryable Style hints: mouseDoubleClickInterval: 500 mousePressAndHoldInterval: 800 startDragDistance: 10 startDragTime: 500 startDragVelocity: 0 keyboardInputInterval: 400 keyboardAutoRepeatRateF: 32 cursorFlashTime: 1060 showIsFullScreen: 0 showIsMaximized: 0 passwordMaskDelay: 0 passwordMaskCharacter: U+25CF fontSmoothingGamma: 1.2 useRtlExtensions: 0 setFocusOnTouchRelease: 0 tabFocusBehavior: Qt::TabFocusAllControls singleClickActivation: 0 Additional style hints (QPlatformIntegration): ReplayMousePressOutsidePopup: 1 Theme: Platforms requested : windows available : Styles requested : WindowsVista,Windows available : windowsvista,Windows,Fusion System font : "Microsoft YaHei UI" 9 Native file dialog Fonts: General font : "Microsoft YaHei UI" 9 Fixed font : "Courier New" 9 Title font : "Microsoft YaHei UI" 9 Smallest font: "Microsoft YaHei UI" 9 Palette: QPalette::WindowText: #ff000000 QPalette::Button: #fff0f0f0 QPalette::Light: #ffffffff QPalette::Midlight: #ffe3e3e3 QPalette::Dark: #ffa0a0a0 QPalette::Mid: #ffa0a0a0 QPalette::Text: #ff000000 QPalette::BrightText: #ffffffff QPalette::ButtonText: #ff000000 QPalette::Base: #ffffffff QPalette::Window: #fff0f0f0 QPalette::Shadow: #ff696969 QPalette::Highlight: #ff0078d7 QPalette::HighlightedText: #ffffffff QPalette::Link: #ff0063b1 QPalette::LinkVisited: #ff00145a QPalette::AlternateBase: #ffe9e7e3 QPalette::NoRole: #ff000000 QPalette::ToolTipBase: #ffffffdc QPalette::ToolTipText: #ff000000 QPalette::PlaceholderText: #80000000 QPalette::Accent: #ff0063b1 Screens: 1, High DPI scaling: active # 0 "PHL 279E1" Depth: 32 Primary: yes Manufacturer: Philips Consumer Electronics Company Model: PHL 279E1 Serial number: UK82312000147 Geometry: 2560x1440+0+0 (native: 3840x2160+0+0) Available: 2560x1392+0+0 Physical size: 597x336 mm Refresh: 60 Hz Power state: 0 Physical DPI: 108.918,108.857 Logical DPI: 96,96 (native: 144,144) Subpixel_None High DPI scaling factor: 1.5 DevicePixelRatio: 1.5 Primary orientation: 2 Orientation: 2 Native orientation: 0 Input devices: 1 QInputDevice::DeviceType::TouchScreen "", capabilities: Position Area NormalizedPosition MouseEmulation Dynamic GL LibGL Vendor: ATI Technologies Inc. Renderer: AMD Radeon RX 640 Version: 4.6.0 Compatibility Profile Context 23.11.1.231017 Shading language: 4.60 Format: Version: 4.6 Profile: 2 Swap behavior: 2 Buffer size (RGBA): 8,8,8,8 Depth buffer: 32 Stencil buffer: 8 Profile: None (QOpenGLFunctions_4_6) Vulkan instance available Supported instance extensions: VK_KHR_device_group_creation, version 1 VK_KHR_external_fence_capabilities, version 1 VK_KHR_external_memory_capabilities, version 1 VK_KHR_external_semaphore_capabilities, version 1 VK_KHR_get_physical_device_properties2, version 2 VK_KHR_get_surface_capabilities2, version 1 VK_KHR_surface, version 25 VK_KHR_win32_surface, version 6 VK_EXT_debug_report, version 10 VK_EXT_debug_utils, version 2 VK_EXT_swapchain_colorspace, version 4 VK_KHR_portability_enumeration, version 1 VK_LUNARG_direct_driver_loading, version 1 Supported layers: VK_LAYER_AMD_switchable_graphics, version 1, spec version 1.3.260, AMD switchable graphics layer VK_LAYER_EOS_Overlay, version 1, spec version 1.2.136, Vulkan overlay layer for Epic Online Services VK_LAYER_EOS_Overlay, version 1, spec version 1.2.136, Vulkan overlay layer for Epic Online Services VK_LAYER_LUNARG_api_dump, version 2, spec version 1.3.268, LunarG API dump layer VK_LAYER_LUNARG_gfxreconstruct, version 4194305, spec version 1.3.268, GFXReconstruct Capture Layer Version 1.0.1 VK_LAYER_KHRONOS_synchronization2, version 1, spec version 1.3.268, Khronos Synchronization2 layer VK_LAYER_KHRONOS_validation, version 1, spec version 1.3.268, Khronos Validation Layer VK_LAYER_LUNARG_monitor, version 1, spec version 1.3.268, Execution Monitoring Layer VK_LAYER_LUNARG_screenshot, version 1, spec version 1.3.268, LunarG image capture layer VK_LAYER_KHRONOS_profiles, version 1, spec version 1.3.268, Khronos Profiles layer VK_LAYER_KHRONOS_shader_object, version 1, spec version 1.3.268, Khronos Shader object layer Available physical devices: API version 1.3.260, vendor 0x1002, device 0x6987, AMD Radeon RX 640, type 2, driver version 2.0.279 GPU #1: Card name : AMD Radeon RX 640 Driver Name : aticfx64.dll Driver Version : 31.0.21905.1001 Vendor ID : 0x1002 Device ID : 0x6987 SubSys ID : 0x17131028 Revision ID : 0x00C1 Qt Rendering Hardware Interface supported backends: OpenGL (with default QSurfaceFormat): Driver Info: Device: ATI Technologies Inc. AMD Radeon RX 640 4.6.0 Compatibility Profile Context 23.11.1.231017 Device ID: 0x0 Vendor ID: 0x0 Device type: Unknown Min Texture Size: 1 Max Texture Size: 16384 Max Color Attachments: 8 Frames in Flight: 1 Async Readback Limit: 1 MaxThreadGroupsPerDimension: 65535 MaxThreadsPerThreadGroup: 1024 MaxThreadGroupX: 1024 MaxThreadGroupY: 1024 MaxThreadGroupZ: 1024 TextureArraySizeMax: 2048 MaxUniformBufferRange: 32000 MaxVertexInputs: 32 MaxVertexOutputs: 16 Uniform Buffer Alignment: 1 Supported MSAA sample counts: 1,2,4,8 Features: v MultisampleTexture v MultisampleRenderBuffer - DebugMarkers - Timestamps v Instancing - CustomInstanceStepRate v PrimitiveRestart v NonDynamicUniformBuffers v NonFourAlignedEffectiveIndexBufferOffset v NPOTTextureRepeat - RedOrAlpha8IsRed v ElementIndexUint v Compute v WideLines v VertexShaderPointSize v BaseVertex - BaseInstance v TriangleFanTopology v ReadBackNonUniformBuffer v ReadBackNonBaseMipLevel v TexelFetch v RenderToNonBaseMipLevel v IntAttributes v ScreenSpaceDerivatives - ReadBackAnyTextureFormat v PipelineCacheDataLoadSave v ImageDataStride v RenderBufferImport v ThreeDimensionalTextures v RenderTo3DTextureSlice v TextureArrays v Tessellation v GeometryShader - TextureArrayRange v NonFillPolygonMode v OneDimensionalTextures v OneDimensionalTextureMipmaps v HalfAttributes v RenderToOneDimensionalTexture v ThreeDimensionalTextureMipmaps Texture formats: RGBA8 BGRA8 R8 RG8 R16 RG16 RED_OR_ALPHA8 RGBA16F RGBA32F R16F R32F RGB10A2 D16 D32F BC1 BC2 BC3 ETC2_RGB8 ETC2_RGB8A1 ETC2_RGBA8 ASTC_4x4 ASTC_5x4 ASTC_5x5 ASTC_6x5 ASTC_6x6 ASTC_8x5 ASTC_8x6 ASTC_8x8 ASTC_10x5 ASTC_10x8 ASTC_10x10 ASTC_12x10 ASTC_12x12 Vulkan: Driver Info: Device: AMD Radeon RX 640 Device ID: 0x6987 Vendor ID: 0x1002 Device type: Discrete Min Texture Size: 1 Max Texture Size: 16384 Max Color Attachments: 8 Frames in Flight: 2 Async Readback Limit: 2 MaxThreadGroupsPerDimension: 65535 MaxThreadsPerThreadGroup: 1024 MaxThreadGroupX: 1024 MaxThreadGroupY: 1024 MaxThreadGroupZ: 1024 TextureArraySizeMax: 2048 MaxUniformBufferRange: 2147483647 MaxVertexInputs: 64 MaxVertexOutputs: 32 Uniform Buffer Alignment: 16 Supported MSAA sample counts: 1,2,4,8 Features: v MultisampleTexture v MultisampleRenderBuffer v DebugMarkers v Timestamps v Instancing - CustomInstanceStepRate v PrimitiveRestart v NonDynamicUniformBuffers v NonFourAlignedEffectiveIndexBufferOffset v NPOTTextureRepeat v RedOrAlpha8IsRed v ElementIndexUint v Compute v WideLines v VertexShaderPointSize v BaseVertex v BaseInstance v TriangleFanTopology v ReadBackNonUniformBuffer v ReadBackNonBaseMipLevel v TexelFetch v RenderToNonBaseMipLevel v IntAttributes v ScreenSpaceDerivatives v ReadBackAnyTextureFormat v PipelineCacheDataLoadSave v ImageDataStride - RenderBufferImport v ThreeDimensionalTextures - RenderTo3DTextureSlice v TextureArrays v Tessellation v GeometryShader v TextureArrayRange v NonFillPolygonMode v OneDimensionalTextures v OneDimensionalTextureMipmaps v HalfAttributes v RenderToOneDimensionalTexture v ThreeDimensionalTextureMipmaps Texture formats: RGBA8 BGRA8 R8 RG8 R16 RG16 RED_OR_ALPHA8 RGBA16F RGBA32F R16F R32F RGB10A2 D16 D32F BC1 BC2 BC3 BC4 BC5 BC6H BC7 Direct3D 11: Driver Info: Device: AMD Radeon RX 640 Device ID: 0x6987 Vendor ID: 0x1002 Device type: Unknown Min Texture Size: 1 Max Texture Size: 16384 Max Color Attachments: 8 Frames in Flight: 1 Async Readback Limit: 1 MaxThreadGroupsPerDimension: 65535 MaxThreadsPerThreadGroup: 1024 MaxThreadGroupX: 1024 MaxThreadGroupY: 1024 MaxThreadGroupZ: 64 TextureArraySizeMax: 2048 MaxUniformBufferRange: 65536 MaxVertexInputs: 32 MaxVertexOutputs: 32 Uniform Buffer Alignment: 256 Supported MSAA sample counts: 1,2,4,8 Features: v MultisampleTexture v MultisampleRenderBuffer v DebugMarkers v Timestamps v Instancing v CustomInstanceStepRate v PrimitiveRestart - NonDynamicUniformBuffers v NonFourAlignedEffectiveIndexBufferOffset v NPOTTextureRepeat v RedOrAlpha8IsRed v ElementIndexUint v Compute - WideLines - VertexShaderPointSize v BaseVertex v BaseInstance - TriangleFanTopology v ReadBackNonUniformBuffer v ReadBackNonBaseMipLevel v TexelFetch v RenderToNonBaseMipLevel v IntAttributes v ScreenSpaceDerivatives v ReadBackAnyTextureFormat v PipelineCacheDataLoadSave v ImageDataStride - RenderBufferImport v ThreeDimensionalTextures v RenderTo3DTextureSlice v TextureArrays v Tessellation v GeometryShader v TextureArrayRange v NonFillPolygonMode v OneDimensionalTextures v OneDimensionalTextureMipmaps v HalfAttributes v RenderToOneDimensionalTexture v ThreeDimensionalTextureMipmaps Texture formats: RGBA8 BGRA8 R8 RG8 R16 RG16 RED_OR_ALPHA8 RGBA16F RGBA32F R16F R32F RGB10A2 D16 D24 D24S8 D32F BC1 BC2 BC3 BC4 BC5 BC6H BC7 Direct3D 12: Driver Info: Device: AMD Radeon RX 640 Device ID: 0x6987 Vendor ID: 0x1002 Device type: Unknown Min Texture Size: 1 Max Texture Size: 16384 Max Color Attachments: 8 Frames in Flight: 2 Async Readback Limit: 2 MaxThreadGroupsPerDimension: 65535 MaxThreadsPerThreadGroup: 1024 MaxThreadGroupX: 1024 MaxThreadGroupY: 1024 MaxThreadGroupZ: 1024 TextureArraySizeMax: 2048 MaxUniformBufferRange: 65536 MaxVertexInputs: 32 MaxVertexOutputs: 32 Uniform Buffer Alignment: 256 Supported MSAA sample counts: 1,2,4,8 Features: v MultisampleTexture v MultisampleRenderBuffer v DebugMarkers - Timestamps v Instancing v CustomInstanceStepRate v PrimitiveRestart - NonDynamicUniformBuffers v NonFourAlignedEffectiveIndexBufferOffset v NPOTTextureRepeat v RedOrAlpha8IsRed v ElementIndexUint v Compute - WideLines - VertexShaderPointSize v BaseVertex v BaseInstance - TriangleFanTopology v ReadBackNonUniformBuffer v ReadBackNonBaseMipLevel v TexelFetch v RenderToNonBaseMipLevel v IntAttributes v ScreenSpaceDerivatives v ReadBackAnyTextureFormat - PipelineCacheDataLoadSave v ImageDataStride - RenderBufferImport v ThreeDimensionalTextures v RenderTo3DTextureSlice v TextureArrays v Tessellation v GeometryShader v TextureArrayRange v NonFillPolygonMode v OneDimensionalTextures - OneDimensionalTextureMipmaps v HalfAttributes v RenderToOneDimensionalTexture - ThreeDimensionalTextureMipmaps Texture formats: RGBA8 BGRA8 R8 RG8 R16 RG16 RED_OR_ALPHA8 RGBA16F RGBA32F R16F R32F RGB10A2 D16 D24 D24S8 D32F BC1 BC2 BC3 BC4 BC5 BC6H BC7 Plugin information: + Android 12.0.0 + AutoTest 12.0.0 AutotoolsProjectManager 12.0.0 Axivion 12.0.0 BareMetal 12.0.0 + Bazaar 12.0.0 Beautifier 12.0.0 + BinEditor 12.0.0 Boot2Qt 12.0.0 + CMakeProjectManager 12.0.0 CVS 12.0.0 + ClangCodeModel 12.0.0 + ClangFormat 12.0.0 + ClangTools 12.0.0 + ClassView 12.0.0 ClearCase 12.0.0 Coco 12.0.0 + CodePaster 12.0.0 CompilationDatabaseProjectManager 12.0.0 CompilerExplorer 12.0.0 Conan 12.0.0 Copilot 12.0.0 + Core 12.0.0 + CppEditor 12.0.0 Cppcheck 12.0.0 + CtfVisualizer 12.0.0 + Debugger 12.0.0 + Designer 12.0.0 + DiffEditor 12.0.0 Docker 12.0.0 EmacsKeys 12.0.0 + FakeVim 12.0.0 Fossil 12.0.0 + GLSLEditor 12.0.0 + GenericProjectManager 12.0.0 + Git 12.0.0 GitLab 12.0.0 Haskell 12.0.0 HelloWorld 12.0.0 + Help 12.0.0 + ImageViewer 12.0.0 + IncrediBuild 12.0.0 Insight 12.0.0 Ios 12.0.0 + LanguageClient 12.0.0 + Macros 12.0.0 + Marketplace 12.0.0 McuSupport 12.0.0 + Mercurial 12.0.0 MesonProjectManager 12.0.0 + ModelEditor 12.0.0 Nim 12.0.0 + PerfProfiler 12.0.0 Perforce 12.0.0 + ProjectExplorer 12.0.0 + Python 12.0.0 + QbsProjectManager 12.0.0 + QmakeProjectManager 12.0.0 QmlDesigner 12.0.0 + QmlDesignerBase 12.0.0 + QmlJSEditor 12.0.0 + QmlJSTools 12.0.0 + QmlPreview 12.0.0 + QmlProfiler 12.0.0 + QmlProjectManager 12.0.0 + Qnx 12.0.0 + QtSupport 12.0.0 + RemoteLinux 12.0.0 + ResourceEditor 12.0.0 SafeRenderer 12.0.0 ScreenRecorder 12.0.0 + ScxmlEditor 12.0.0 SerialTerminal 12.0.0 SilverSearcher 12.0.0 Squish 12.0.0 StudioWelcome 12.0.0 + Subversion 12.0.0 + Terminal 12.0.0 + TextEditor 12.0.0 Todo 12.0.0 + UpdateInfo 12.0.0 + UsageStatistic 12.0.0 + Valgrind 12.0.0 Vcpkg 12.0.0 + VcsBase 12.0.0 WebAssembly 12.0.0 + Welcome 12.0.0 Used settingspath: ~/AppData/Roaming/QtProject Qt Creator 12.0.0 Based on Qt 6.6.0 (MSVC 2019, x86_64) From revision 27055e4c39 Built on Nov 22 2023 07:37:05 {noformat}
Description
When I stop resizing a QVulkanWindow, the swap chain of vulkan is still re-created repeatedly, and the methods QVulkanWindowRenderer::initSwapChainResources(), QVulkanWindowRenderer::releaseSwapChainResources() are invoked repeatedly. Such as the following output:
qt.vulkan: Actual swap chain buffer count: 3 (supportsReadback=1)
qt.vulkan: Allocating 2932736 bytes for transient image (memtype 0)
void __cdecl Renderer::initSwapChainResources(void)
qt.vulkan: Creating new swap chain of 3 buffers, size 853x639
qt.vulkan: Releasing swapchain
void __cdecl Renderer::releaseSwapChainResources(void)
qt.vulkan: Actual swap chain buffer count: 3 (supportsReadback=1)
qt.vulkan: Allocating 2932736 bytes for transient image (memtype 0)
void __cdecl Renderer::initSwapChainResources(void)
qt.vulkan: Creating new swap chain of 3 buffers, size 853x639
qt.vulkan: Releasing swapchain
void __cdecl Renderer::releaseSwapChainResources(void)
Pay attention that, I output resize and expose events for QVulkanWindow intentionally to distinguish normal swap chain recreation when resizing actually happens, such as the code following:
class VulkanWindow : public QVulkanWindow
{
public:
QVulkanWindowRenderer *createRenderer() override
protected:
void resizeEvent(QResizeEvent *ev) override
void exposeEvent(QExposeEvent *ev) override
};
With the log of output above, we can infer that those events do NOT occur when the swap chain continues to be re-created. Because the relevant output of resize and expose events not exist in the log.
What's more, I tested the case with Qt 5.15.2, it works perfectly.
Attachments
Issue Links
- duplicates
-
QTBUG-118568 qvulkanwindow repeatedly recreate swapchain
- Closed