If you encounter issues with Vulkan (or other software that depends on Vulkan, such as omnigibson) where the GPU device cannot be found, you can resolve it with the following steps:
1
Step 1: Write the ICD file
bash
library_path above, the library should only be libEGL_nvidia, not libGLX_nvidia. The reason is that the server does not have a desktop environment and operates in headless mode, which requires the former.
For details, you can refer to the NVIDIA Documentation.2
Step 2: Verification
Install necessary dependencies:Finally, execute vulkaninfo
bash
--summary to confirm:bash