]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
fix(docker): add missing libglvnd libraries to Vulkan image (#18664)
authorR <redacted>
Wed, 7 Jan 2026 15:57:42 +0000 (16:57 +0100)
committerGitHub <redacted>
Wed, 7 Jan 2026 15:57:42 +0000 (16:57 +0100)
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 #17761

.devops/vulkan.Dockerfile

index b37b4f277d738fafea90795ccd417649a27a7e25..89831ed5c279c59f93708ed118055380d78cd252 100644 (file)
@@ -33,6 +33,7 @@ FROM ubuntu:$UBUNTU_VERSION AS base
 
 RUN apt-get update \
     && apt-get install -y libgomp1 curl libvulkan1 mesa-vulkan-drivers \
+    libglvnd0 libgl1 libglx0 libegl1 libgles2 \
     && apt autoremove -y \
     && apt clean -y \
     && rm -rf /tmp/* /var/tmp/* \