VulkanTools
VulkanTools copied to clipboard
vulkaninfo: sleep(INFINITE) in vulkaninfo cause the tool to never complete when executed with vkconfig
This issue was originally found during SDK 1.2.154.0 testing. It is being logged here for future fix.
- Selected my noAMDImplicit Layer configuration that has the AMD implicit layer disabled (we know this implicit layer interferes with vulkaninfo output):
The vulkaninfo output still seems incomplete. Attached file here.
From @christophe-lunarg
I have the same result on my machine. Running with --json "workaround" the issue.
From @charles-lunarg
I have reproduced the issue, it is only happening when you launch vulkaninfo from vkconfig (by selecting the .exe manually and running it). This happens when no overrides are enabled.
The issue doesn't occur when json or html is selected. The issues is due to an unfortunate interaction with vulkaninfo and vkconfig, notably the fact that vulkaninfo tries to stay open indefinitely in the console, which vkconfig doesn't like.
Vulkaninfo Source code for reference:
if (ConsoleIsExclusive() && human_readable_output) Sleep(INFINITE);
Note this only occurs with text output (human_readable). Remove that line, and vulkaninfo prints the full output to vkconfig.