From 117ae86ee08c0de981b84d898878c2fa70c039f8 Mon Sep 17 00:00:00 2001 From: Technomancer702 Date: Tue, 13 Oct 2026 19:04:46 -0700 Subject: [PATCH] Install Intel QSV GPU runtimes in amd64 container --- .github/workflows/container.yml | 1 + Dockerfile | 2 +- README.md | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/container.yml b/.github/workflows/container.yml index 1c4ce21..19eb61d 100644 --- a/.github/workflows/container.yml +++ b/.github/workflows/container.yml @@ -26,6 +26,7 @@ jobs: if docker exec nodecast-smoke node scripts/healthcheck.cjs; then docker exec nodecast-smoke sh -c 'test ! -e /app/.env.container-sentinel && test ! -e /app/data/container-sentinel' docker exec nodecast-smoke lspci --version + docker exec nodecast-smoke sh -c 'ldconfig -p | grep -q libmfxhw64.so.1 && ldconfig -p | grep -q libmfx-gen.so.1.2' docker exec nodecast-smoke node -e "require('./server/services/hwDetect').detectQuickSync('ffmpeg').then(q => { if (q.available) process.exit(1); })" exit 0 fi diff --git a/Dockerfile b/Dockerfile index 40ce495..52b7a24 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,7 +19,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ gnupg \ && curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \ && if [ "$TARGETARCH" = "amd64" ]; then \ - DRIVERS="mesa-va-drivers intel-media-va-driver vainfo"; \ + DRIVERS="mesa-va-drivers intel-media-va-driver vainfo libmfx1 libmfx-gen1.2"; \ else \ DRIVERS=""; \ fi \ diff --git a/README.md b/README.md index 73ec1e7..15955a5 100644 --- a/README.md +++ b/README.md @@ -120,7 +120,7 @@ Ensure you have the [NVIDIA Container Toolkit](https://docs.nvidia.com/datacente ``` **Verify:** -On Linux, QSV detection checks an accessible Intel render device and verifies a short H.264 encode with the configured FFmpeg. If that check fails, QSV is not automatically recommended. Ensure the container has read/write permission on the mapped device. The image includes `pciutils` for systems where GPU vendor information is hidden in sysfs. +On Linux, QSV detection checks an accessible Intel render device and verifies a short H.264 encode with the configured FFmpeg. If that check fails, QSV is not automatically recommended. Ensure the container has read/write permission on the mapped device. The amd64 image includes the Intel Media SDK and VPL GPU runtimes for older and newer Intel GPUs. It also includes `pciutils` for systems where GPU vendor information is hidden in sysfs. After restarting the container, go to **Settings -> Transcoding**. The **Hardware Detection** status should list your GPU (e.g., "NVIDIA GPU Detected" or "VAAPI Available").