Vulkan SC Sources Missing

I’m following the JetPack 35.3.1 Developer Guide to run the Vulkan SC samples on my Jetson Orin Nano Developer Kit. I’ve downloaded the NvSci headers and moved them to /usr/include on the target, however, I do not see any source files in the /usr/src/nvidia/vulkan-sc/vulkan-sc-ecosystem/vulkan-sc-sample/ directory. In fact, it contains a subfolder with the application binaries:

$ ls -l /usr/src/nvidia/vulkan-sc/vulkan-sc-ecosystem/vulkan-sc-sample/binaries
total 2080
drwxr-xr-x 2 root root    4096 Jun 15 09:49 ktx
-rwxr-xr-x 1 root root   85712 Mar 19 16:14 vk_01tri
-rwxr-xr-x 1 root root  318776 Mar 19 16:14 vk_computeparticles
-rwxr-xr-x 1 root root  161192 Mar 19 16:14 vksc_01tri
-rwxr-xr-x 1 root root  414352 Mar 19 16:14 vksc_computeparticles
-rwxr-xr-x 1 root root 1136376 Mar 19 16:14 vulkanscinfo

I’ve tried running them but they all crash since the shader files are missing too.

checkValidationLayerSupport OK
vkCreateRenderPass OK
Error: Could not open shader file "data/shaders/vksc_01tri/vk_01tri_pipeline_0.vert.spv"
Error: Could not open shader file "data/shaders/vksc_01tri/vk_01tri_pipeline_0.frag.spv"
vkAllocateMemory OK
vkBindImageMemory OK
vkCreateImageView OK
vkCreateFramebuffer OK
vkAllocateMemory OK
vkBindImageMemory OK
vkCreatePipelineLayout OK
Segmentation fault (core dumped)

Could someone from NVIDIA please update the respective section in the developer guide and explain where to pull the sources from?

Looks like we only publish the binaries and there is no source files. Will check this with our teams and get back to you.

Great, thanks 👍 If you decide to include the binaries I’d recommend removing asserts since you currently end up with the following:

$ sudo ./vk_01tri 
checkValidationLayerSupport ERROR!!
vk_01tri: /home/zhangkai/pdk/linux/drive-linux/samples/vulkansc-samples/vksc_01tri/vksc_01tri.cpp:970: VkResult createInstanceAndDevice(): Assertion `err == VK_SUCCESS' failed.

That’s obviously not a local path on my machine but the one of an NVIDIA engineer/user who presumably built the binaries 😄

Any updates on this?

We should have the samples public in next Jetpack 5.1.2. Please wait for the release.

Please upgrade to Jetpack 5.1.2. And download the zip file:
Jetson Linux 35.4.1 | NVIDIA Developer

Additional Files

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