Vulkan driver issue on nvidia Jetson dev kit + Jetson AGX Orin (64GB) + JetPack 6.0

I am developing a Holoscan application and encountering an issue related to the Vulkan library. I have confirmed that the problem is not due to my application code, as it runs without issues on a different Jetson AGX system.

When I run vulkaninfo, I receive the following error:
Cannot create Vulkan instance.
This problem is often caused by a faulty installation of the Vulkan driver or attempting to use a GPU that does not support Vulkan.
ERROR at ./vulkaninfo/vulkaninfo.h:649: vkCreateInstance failed with ERROR_INCOMPATIBLE_DRIVER
I have reviewed several threads reporting similar issues, and in most cases, the problem was resolved by upgrading to JetPack 6.0. However, I would appreciate any insights or troubleshooting steps specific to this scenario, especially in the context of Holoscan on Jetson AGX.

*** Please note that this reply is generated by LLM automatically ***

I’d be happy to help you troubleshoot the Vulkan library issue on your Jetson AGX system.

Error Analysis

The error message “Cannot create Vulkan instance” with the code “ERROR_INCOMPATIBLE_DRIVER” suggests that there is a compatibility issue between the Vulkan driver and the GPU on your system. This error is often caused by a faulty installation of the Vulkan driver or attempting to use a GPU that does not support Vulkan.

Comparison with Similar Issues

You’ve reviewed several threads reporting similar issues, and in most cases, the problem was resolved by upgrading to JetPack 6.0. This suggests that the issue might be related to the version of the Vulkan driver or the JetPack version.

Holoscan Specific Considerations

Since you’re developing a Holoscan application, it’s essential to consider the specific requirements of Holoscan. Holoscan is a software development kit (SDK) for building real-time computer vision and AI applications on NVIDIA Jetson devices. It relies on the Vulkan library for rendering and graphics processing.

Troubleshooting Steps

To troubleshoot the issue, you can try the following steps:

  1. Verify Vulkan Driver Version: Check the version of the Vulkan driver installed on your system. You can use the vulkaninfo command to check the driver version. Compare the version with the one recommended by NVIDIA for JetPack 6.0.
  2. Upgrade to JetPack 6.0: If you haven’t already, upgrade to JetPack 6.0, which includes the latest Vulkan driver. This might resolve the compatibility issue.
  3. Check GPU Compatibility: Verify that your Jetson AGX system has a GPU that supports Vulkan. You can check the GPU model using the lspci command.
  4. Reinstall Vulkan Driver: Try reinstalling the Vulkan driver using the sudo apt-get install --reinstall libvulkan1 command.
  5. Check Holoscan Version: Ensure that you’re using the latest version of Holoscan compatible with JetPack 6.0.

Additional Considerations

If none of the above steps resolve the issue, you may want to consider the following:

  • Mesa Library: The Mesa library is a dependency of the Vulkan driver. Ensure that the Mesa library is up-to-date and compatible with the Vulkan driver.
  • CUDA Version: Although not directly related to Vulkan, CUDA is a dependency of Holoscan. Ensure that the CUDA version is compatible with the JetPack version.

By following these troubleshooting steps and considering the specific requirements of Holoscan, you should be able to resolve the Vulkan library issue on your Jetson AGX system.

trying to reinstall the driver will constantly fail:
sudo apt install --reinstall nvidia-l4t-graphics-demos nvidia-l4t-gbm nvidia-l4t-vulkan
正在读取软件包列表… 完成
正在分析软件包的依赖关系树… 完成
正在读取状态信息… 完成
E: 无法定位软件包 nvidia-l4t-vulkan

Hi,
If you use Jetpack 6.0 r36.3, please apply this lib and try again:

Jetson Linux 36.3 | NVIDIA Developer
Additional Files
overlay_libcuda_36.3.tbz2

I already added the lib overlay and it’s still not working for me.