From 3ef68a297a6a165c3bd13784b69c9a5237b949cd Mon Sep 17 00:00:00 2001 From: Marc Seeger Date: Wed, 25 Nov 2020 18:50:08 -0800 Subject: [PATCH] Add support for AMD Ryzen iGPU (fixes #311) This package will add support for the iGPU of AMD Ryzen and presumably a few more AMD cards. See details of the package here: https://packages.ubuntu.com/focal/mesa-va-drivers It also adds support for the open source Nvidia Nouveau driver according to https://wiki.debian.org/HardwareVideoAcceleration --- docker/Dockerfile.amd64 | 2 +- docker/Dockerfile.ffmpeg.amd64 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile.amd64 b/docker/Dockerfile.amd64 index e8677fa0c..1b7730fa9 100644 --- a/docker/Dockerfile.amd64 +++ b/docker/Dockerfile.amd64 @@ -9,7 +9,7 @@ RUN apt-get -qq update \ # ffmpeg dependencies libgomp1 \ # VAAPI drivers for Intel hardware accel - libva-drm2 libva2 i965-va-driver vainfo intel-media-va-driver \ + libva-drm2 libva2 i965-va-driver vainfo intel-media-va-driver mesa-va-drivers \ ## Tensorflow lite && wget -q https://github.com/google-coral/pycoral/releases/download/release-frogfish/tflite_runtime-2.5.0-cp38-cp38-linux_x86_64.whl \ && python3.8 -m pip install tflite_runtime-2.5.0-cp38-cp38-linux_x86_64.whl \ diff --git a/docker/Dockerfile.ffmpeg.amd64 b/docker/Dockerfile.ffmpeg.amd64 index f04d62bca..dc5c16e6c 100644 --- a/docker/Dockerfile.ffmpeg.amd64 +++ b/docker/Dockerfile.ffmpeg.amd64 @@ -522,5 +522,5 @@ COPY --from=build /usr/local /usr/local/ RUN \ apt-get update -y && \ - apt-get install -y --no-install-recommends libva-drm2 libva2 i965-va-driver && \ + apt-get install -y --no-install-recommends libva-drm2 libva2 i965-va-driver mesa-va-drivers && \ rm -rf /var/lib/apt/lists/*