Vulkan on Jetson TX2?

I want to learn Vulkan using the Jetson TX2, but I cannot find the vulkan.h files anywhere on the system (using sudo updatedb, then locate vulkan.h). I tried this https://gist.github.com/sheredom/523f02bbad2ae397d7ed255f3f3b5a7f example but got this:

nvidia@tegra-ubuntu:~/scratch/523f02bbad2ae397d7ed255f3f3b5a7f$ gcc vk.c
vk.c:26:20: fatal error: vulkan.h: No such file or directory
compilation terminated.

How do I get started with Vulkan on the Jetson TX2?

Hi vegabook,

For more information, please check vulkan page:

https://developer.nvidia.com/embedded/vulkan

Thanks

@kayccc:

Thanks kay-triple-c

But where do I get this ARM source code? Is it the first link? vulkan.lunarg.com? Or is it the gitlab link? In which case I need to be a Khronos member which costs a fortune? Or is the the Vulkan SDK file pre-built by Nvidia?

I’m finding nothing of reference to ARM compiling in the html documentation on the first link. Am I supposed to download a pre-built x86 archive and then in there I’ll find arm instructions?

Hi vegabook,

We’re reviewing those documents to see if require updates for TX2, please stay tuned.

Thanks

Hi vegabook,

Or is the the Vulkan SDK file pre-built by Nvidia?

Nvidia has prebuilt the vulkan loader but it doesn’t contain vulkan.h.

I’m finding nothing of reference to ARM compiling in the html documentation on the first link. Am I supposed to download a pre-built x86 archive and then in there I’ll find arm instructions?

Below link has all the Vulkan tools required including vulkan.h and it doesn’t require any Khronos login to access.
https://github.com/LunarG/VulkanTools/

git clone above repository on Jetson TX2 directly and use instructions mentioned in BUILDVT.md to build VulkanTools for Linux-ARM.

Hope this information could help on resolving your issue.

Thanks