From 098d9b63fa22e2500761fcb087d96e5d64d10b40 Mon Sep 17 00:00:00 2001 From: Florian Egger Date: Tue, 8 Sep 2026 22:36:19 +0200 Subject: [PATCH] =?UTF-8?q?whisper-server:=20Debian=20trixie=20base=20?= =?UTF-8?q?=E2=80=94=20Mesa=2025=20for=20the=20R9700=20(RDNA=203.5)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit bookworm's Mesa 22.3 has no gfx1151 (Strix Halo) support in RADV, so the container silently fell back to CPU despite gpu=auto: whisper logged 'whisper_backend_init_gpu: no GPU found'. trixie ships Mesa 25.0.7, which supports the R9700; whisper.cpp builds unchanged on it. --- server/whisper-server/Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/server/whisper-server/Dockerfile b/server/whisper-server/Dockerfile index 483267f..ce5d688 100644 --- a/server/whisper-server/Dockerfile +++ b/server/whisper-server/Dockerfile @@ -8,7 +8,7 @@ # Note: ggml builds with -march=native by default, so build the image ON # the machine that will run it (docker compose build on the server). -FROM debian:12-slim AS build +FROM debian:trixie-slim AS build RUN apt-get update && apt-get install -y --no-install-recommends \ git cmake build-essential ca-certificates curl \ @@ -31,10 +31,11 @@ RUN cmake -S /src -B /src/build -DCMAKE_BUILD_TYPE=Release \ -DWHISPER_VULKAN=ON \ && cmake --build /src/build --target whisper-server -j"$(nproc)" -FROM debian:12-slim +FROM debian:trixie-slim # libvulkan1 + mesa-vulkan-drivers: the AMD RADV Vulkan driver used by -# the R9700. GPU access is granted via /dev/dri in docker-compose.yml. +# the R9700. trixie's Mesa (25.x) is required — bookworm's 22.x has no +# RDNA 3.5 (gfx1151) support and whisper silently falls back to CPU. RUN apt-get update && apt-get install -y --no-install-recommends \ libgomp1 ca-certificates curl libvulkan1 mesa-vulkan-drivers \ && rm -rf /var/lib/apt/lists/*