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.
This commit is contained in:
CrackedP0t
2023-04-20 05:33:37 -06:00
committed by GitHub
parent 298480b886
commit 4b6f1e8592
+4 -2
View File
@@ -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: