Open debarshiray opened 3 weeks ago
I forgot to mention the NVIDIA Container Toolkit version:
$ nvidia-ctk --version
NVIDIA Container Toolkit CLI version 1.16.1
$ rpm -qf $(which nvidia-ctk)
golang-github-nvidia-container-toolkit-1.16.1-1.fc39.x86_64
Note that the NVIDIA Container Toolkit version didn't change between the NVIDIA ICD JSON for Vulkan being listed and not listed. What changed was that I pulled in the RPM updates for the rest of the Fedora host.
@debarshiray the host path you mention /usr/share/vulkan/icd.d/nvidia_icd.x86_64.json
is not one that we explicitly search for. Could you please confirm which package provides that file? It could be that the 560.35.3.0
driver that you're using now includes the file including the architecture string.
(Looking at some older internal documentation it seems as if this has been the case for a while).
Thanks for looking into it, @elezar !
Meanwhile, I reinstalled different versions of Fedora a few times to see if the problem is specific to a particular combination of package versions. I could reproduce it reliably on Fedora 40 and 41, which was surprising because this used to work. :)
Now with Fedora 41 Workstation and the proprietary NVIDIA driver from RPM Fusion, I see:
$ rpm --query --file /usr/share/vulkan/icd.d/nvidia_icd.x86_64.json
xorg-x11-drv-nvidia-libs-560.35.03-5.fc41.x86_64
If I force /usr/share/vulkan/icd.d/nvidia_icd.x86_64.json
to be present inside the container through an explicit bind mount then I do get Vulkan support through the proprietary NVIDIA driver.
In all cases, Vulkan support is available through the proprietary driver on the host operating system, as shown in the vulkaninfo --summary
snippet above.
Who is the publisher of the xorg-x11-drv-nvidia-libs-560.35.03-5.fc41.x86_64
package above?
Who is the publisher of the
xorg-x11-drv-nvidia-libs-560.35.03-5.fc41.x86_64
package above?
It's RPM Fusion. That's where I got the proprietary NVIDIA driver from.
I have been playing with the NVIDIA Container Toolkit on Fedora 39 Workstation and the proprietary NVIDIA driver from RPM Fusion. I have noticed that the NVIDIA installable client driver (or ICD) JSON for Vulkan occasionally goes missing from
nvidia-ctk cdi generate
:... even though the file is present on the host operating system at
/usr/share/vulkan/icd.d/nvidia_icd.x86_64.json
and Vulkan support on the host is confirmed by:This means that Podman containers don't have Vulkan support through the proprietary NVIDIA driver, and can only use LLVMpipe.
Right now, I am observing this problem with: