Nsight Systems not capturing Vulkan events: No Vulkan events collected. Does the process use Vulkan?

I’m trying to profile my CNN project, which uses Vulkan compute shaders, however Nsight Systems is not capturing any vulkan events.

This is the full list of messages I get in the diagnostics summary:

00:00.000 Profiling has started.
00:00.041 Process 34004 was launched by the profiler
00:00.465 Common injection library initialized successfully.
00:00.526 Number of GPU Metrics events collected: 563,179.
00:00.621 Vulkan profiling might have not been started correctly.
00:00.621 No Vulkan events collected. Does the process use Vulkan?
00:00.621 Vulkan profiling might have not been started correctly.
00:00.621 No Vulkan events collected. Does the process use Vulkan?
00:53.410 Profiling has stopped.

My GPU is a Quadro T2000, and the OS is Windows 11.

Update:
I just needed to enable the VK_LAYER_NV_nsight-sys layer.

@dofek, can you assign someone to this?

I fixed it by setting VkApplicationInfo.apiVersion to VK_MAKE_API_VERSION(0, 1, 3, 0).

Before, it was set to VK_API_VERSION_1_0.

Ignore what I said about enabling the VK_LAYER_NV_nsight-sys layer. The app actually fails to start when I do that.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.