Vulkan-ValidationLayers
Vulkan-ValidationLayers copied to clipboard
Enormous overhead in synchronization validation
Environment:
- OS: Debian 12
- GPU and driver version: NVIDIA beta
- SDK or header version if building from repo: VVL commit
7aa533e02530b73b45642d4e880d6ec42d6616d5
- Options enabled (synchronization, best practices, etc.): None
Describe the Issue
While running dEQP-VK.synchronization.basic.timeline_semaphore.chain
in the CTS with validation, I saw a huge overhead of the layers. It takes 4 minutes to complete with the layers on, and 0.5 seconds with them off.
I took a perf trace to help investigate,
I should note it is with a Debug build of VVL. In release it takes 20s, which is still seems rather a lot compared to "normal". The test makes 32769 calls to vkQueueSubmit...
Expected behavior Test takes a few seconds.