-
Notifications
You must be signed in to change notification settings - Fork 355
loader_scanned_icd_add: Could not get 'vkCreateInstance' via 'vk_icdGetInstanceProcAddr' for ICD libGLX_nvidia.so.0 #191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hello, I have encountered the same problem with you. Have you solved the problem? Can you share the solution with me? |
Also have this issue. This is the last thing strace shows before erroring, so maybe its not mounting /dev/dri?
|
Hi @micahcc. Could you also provide the output for:
|
As a note: https://github.com/NVIDIA/nvidia-container-toolkit/releases/tag/v1.14.4 does include a minor fix for the vulkan ICD config location. |
Had the same issue, eventually resolved it by installing "libegl1" inside the container |
I eventually resolved this in mine by using the newer cdi spec for podman |
I'm getting the same error with Docker Engine:
Is there a fix? |
Looks like it's not related to docker, I got the same error in Obsidian:
Steam games which use Vulkan works fine, Ollama in docker also works using GPU.
|
I recently was encountering similar problems (see my reply to issue 16 where I list details of my environment) for a headless (i.e. no wayland, no x11) vulkan application running in my organization's internal (openstack powered) cloud. Based on the snippets above, I assume some of you, like me, are not using a GUI either. Here is what I learned:
Example Dockerfile using a headless, third-party sample program that will render a ppm file on the gpu using vulkan as a non-root, limited user (luser). The use of a non-root user is a preference; not required. If you are quick, you can see
|
@qhaas I tried building your code, but…
Update: |
Uh oh!
There was an error while loading. Please reload this page.
hi! I'm trying to use Vulkan in a Docker container. On my host, Vulkan works fine.
I'm using Ubuntu 22.04.
I'm using NVIDIA 535.129.03 drivers.
I have a Tesla T4 GPU.
I'm using container toolkit 1.14.1, and inside my containers nvidia-smi works fine. I've installed Docker using the docker.com instructions and have set up the container runtime.
In a Ubuntu container started with:
if I run
apt install vulkan-tools libxext6
and thenvulkaninfo
I seeand no GPU is listed. This is additionally the case on nVidia drivers as old as 470 (but with container toolkit 1.14.1).
The text was updated successfully, but these errors were encountered: