From 53045de1c268a17d08afc37fbc4fc30aea2f1d40 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Sat, 19 Nov 2022 06:14:22 -0700 Subject: [PATCH 1/2] Update hardware_acceleration.md (#4436) --- docs/docs/configuration/hardware_acceleration.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/docs/configuration/hardware_acceleration.md b/docs/docs/configuration/hardware_acceleration.md index 54be32c1c..67df7ca60 100644 --- a/docs/docs/configuration/hardware_acceleration.md +++ b/docs/docs/configuration/hardware_acceleration.md @@ -58,6 +58,7 @@ services: devices: - driver: nvidia device_ids: ['0'] # this is only needed when using multiple GPUs + count: 1 # number of GPUs capabilities: [gpu] ``` From a46c37018f3cd1ed15dc15ed47e91999fe1920c2 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Sat, 19 Nov 2022 06:21:43 -0700 Subject: [PATCH 2/2] Using testing repo for hwaccel dependencies (#4368) --- docker/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 37b639520..fb7f09da0 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -92,7 +92,9 @@ RUN apt-get -qq update \ fi \ # arch specific packages && if [ "${TARGETARCH}" = "amd64" ]; then \ - apt-get -qq install --no-install-recommends --no-install-suggests -y \ + echo 'deb http://deb.debian.org/debian testing main non-free' >> /etc/apt/sources.list.d/deb.list \ + && apt-get -qq update \ + && apt-get -qq install --no-install-recommends --no-install-suggests -y \ mesa-va-drivers libva-drm2 intel-media-va-driver-non-free i965-va-driver libmfx1; \ fi \ && if [ "${TARGETARCH}" = "arm64" ]; then \