Using Vulkan SC with NVIDIA Development Tools#
This section explains Vulkan SC compatibility with NVIDIA development tools.
Library Versions#
DriveOS Linux includes two versions of the Vulkan SC implementation library:
Development library:
libnvidia-vksc-dev.so
Integrates with NVIDIA development tools like Nsight Graphics.
Available only in the development filesystem, where it is selected by default.
Production library:
libnvidia-vksc-prod.so
Available in production, test, and development filesystems.
Selected by default on production and test filesystems, where it is the only version of the library available.
Applications should not link directly to either of these libraries. Instead, link to:
libnvidia-vksc-core.so
- This is a symlink that points to either the development or production library depending on your filesystem.
Switching Between Libraries#
You can only switch between libraries on the development filesystem (not on production or test filesystems). This is useful when:
Debugging an issue with the production library.
Verifying performance of the production library.
To switch libraries, modify the symlink:
cd /usr/lib
# To view current symlink
ls -l libnvidia-vksc-core.so.1
# To use the production library
sudo ln -sf libnvidia-vksc-prod.so.${GPU_VERSION} libnvidia-vksc-core.so.1
# To use the development library
sudo ln -sf libnvidia-vksc-dev.so.${GPU_VERSION} libnvidia-vksc-core.so.1