Skip to content

Vulkan macOS error VkResult = 1000001003 when resizing application window #3881

@mat-r

Description

@mat-r

From the demo window:

Dear ImGui 1.81 (18100)
--------------------------------
sizeof(size_t): 8, sizeof(ImDrawIdx): 2, sizeof(ImDrawVert): 20
define: __cplusplus=199711
define: __APPLE__
define: __GNUC__=4
define: __clang_version__=12.0.0 (clang-1200.0.32.29)
--------------------------------
io.BackendPlatformName: imgui_impl_glfw
io.BackendRendererName: imgui_impl_vulkan
io.ConfigFlags: 0x00000000
io.ConfigMacOSXBehaviors
io.ConfigInputTextCursorBlink
io.ConfigWindowsResizeFromEdges
io.ConfigMemoryCompactTimer = 60.0
io.BackendFlags: 0x0000000E
 HasMouseCursors
 HasSetMousePos
 RendererHasVtxOffset
--------------------------------
io.Fonts: 1 fonts, Flags: 0x00000000, TexSize: 512,64
io.DisplaySize: 1280.00,720.00
io.DisplayFramebufferScale: 2.00,2.00
--------------------------------
style.WindowPadding: 8.00,8.00
style.WindowBorderSize: 1.00
style.FramePadding: 4.00,3.00
style.FrameRounding: 0.00
style.FrameBorderSize: 0.00
style.ItemSpacing: 8.00,4.00
style.ItemInnerSpacing: 4.00,4.00

Version/Branch of Dear ImGui:

Version: 1.81
Branch: tag v1.81

Back-end/Renderer/Compiler/OS

Back-ends: imgui_impl_glfw.cpp + imgui_impl_vulkan.cpp
Compiler: AppleClang 12.0.0.12000032
Operating System: macOS 11.2.1
GLFW: v3.3.3
Vulkan: v1.2.170 (installed by downloading the dmg and running the install_vulkan.py)

My Issue/Question:

Running the example_glfw_vulkan, when resizing the application window by dragging the mouse from a window corner, the [vulkan] Error: VkResult = 1000001003 error is displayed several times.
Also, at the end of the video below, we can see after resizing that the mouse position seems to not be synchronised with the demo window. When one want to highlight some items, the mouse cursor needs to be outside the demo window on the right.

Screenshots/Video

vulkan.glfw.macos.dear.imgui.mov

Standalone, minimal, complete and verifiable example:

The example_glfw_vulkan is used without any modification from the repository.
In the example_glfw_vulkan example's directory, the following commands are run:

cmake .
make
./example_glfw_vulkan

I am new and experimenting dear imgui. If you need clarifications or more information just let me know.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions