Skip to content

Commit ae9f8df

Browse files
authored
fix(docker): add missing libglvnd libraries to Vulkan image (ggml-org#18664)
Add libglvnd0, libgl1, libglx0, libegl1, libgles2 to the Vulkan Dockerfile base image. These libraries are required by mesa-vulkan-drivers to properly initialize the Vulkan ICD and detect GPU devices. Without these libraries, vkEnumeratePhysicalDevices() returns an empty list, resulting in "ggml_vulkan: No devices found." error. Fixes ggml-org#17761
1 parent 56d2fed commit ae9f8df

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.devops/vulkan.Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ FROM ubuntu:$UBUNTU_VERSION AS base
3333

3434
RUN apt-get update \
3535
&& apt-get install -y libgomp1 curl libvulkan1 mesa-vulkan-drivers \
36+
libglvnd0 libgl1 libglx0 libegl1 libgles2 \
3637
&& apt autoremove -y \
3738
&& apt clean -y \
3839
&& rm -rf /tmp/* /var/tmp/* \

0 commit comments

Comments
 (0)