Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VK_LAYER_LUNARG_monitor is incompatible with multiple viewport #5410

Closed
alanjian85 opened this issue Jun 18, 2022 · 2 comments
Closed

VK_LAYER_LUNARG_monitor is incompatible with multiple viewport #5410

alanjian85 opened this issue Jun 18, 2022 · 2 comments

Comments

@alanjian85
Copy link

Version/Branch of Dear ImGui:

Version: 1.88 WIP
Branch: docking

Back-end/Renderer/Compiler/OS

Back-ends: imgui_impl_glfw.cpp + imgui_impl_vulkan.cpp
Compiler: MSVC v143
Operating System: Windows 11 Pro Build 22000.739

My Issue/Question:

ImGui creates a new viewport window every time I move a widget out of the main window, but this action would cause the framerate counter on the title bar created by the layer VK_LAYER_LUNARG_monitor enabled during the instance creation stage stop working, this subtle bug makes it hard to profile my program and freeze the title in a strange text.

Screenshots/Video

2022-06-18.21-01-36_Trim.mp4
@PathogenDavid
Copy link
Contributor

This is almost certainly this bug in VK_LAYER_LUNARG_monitor: LunarG/VulkanTools#1590

(If you disable ImGuiIO::ConfigViewportsNoDecoration you will probably find that the monitor has switched to the title of the secondary viewport.)

You're probably better off drawing your own FPS counter.

@ocornut
Copy link
Owner

ocornut commented Jun 20, 2022

I would indeed suggest to further diagnose the bug and submit an issue on LunarG or add to LunarG/VulkanTools#1590

@ocornut ocornut closed this as completed Jun 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants