From 4b6f1e85922968bbb143b74d08ff41297982a2af Mon Sep 17 00:00:00 2001 From: CrackedP0t Date: Thu, 20 Apr 2023 05:33:37 -0600 Subject: [PATCH] Add /dev/kfd device According to https://github.com/RadeonOpenCompute/ROCm-docker , ROCm in Docker also requires /dev/kfd for OpenCL. I can confirm this is the case on my machine with a Vega 56. --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9595f53..bebe1cf 100644 --- a/README.md +++ b/README.md @@ -3,15 +3,17 @@ This mod adds the mesa libraries (v20.1+) needed for hardware encoding (VAAPI) on AMD GPUs to the Jellyfin Docker container (`latest` tag). To enable, you need to add the 2 following entries: -- Device mapping for `/dev/dri` - - docker-compose: +- Device mapping for `/dev/dri` and `/dev/kfd` + - docker-compose: ```yaml devices: - /dev/dri:/dev/dri + - /dev/kfd:/dev/kfd ``` - docker cli ```sh --device /dev/dri:/dev/dri + --device /dev/kfd:/dev/kfd ``` - Environment Variable: `DOCKER_MODS=linuxserver/mods:jellyfin-amd` - docker-compose: