mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-19 01:46:10 -04:00
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:
@@ -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).
|
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:
|
To enable, you need to add the 2 following entries:
|
||||||
- Device mapping for `/dev/dri`
|
- Device mapping for `/dev/dri` and `/dev/kfd`
|
||||||
- docker-compose:
|
- docker-compose:
|
||||||
```yaml
|
```yaml
|
||||||
devices:
|
devices:
|
||||||
- /dev/dri:/dev/dri
|
- /dev/dri:/dev/dri
|
||||||
|
- /dev/kfd:/dev/kfd
|
||||||
```
|
```
|
||||||
- docker cli
|
- docker cli
|
||||||
```sh
|
```sh
|
||||||
--device /dev/dri:/dev/dri
|
--device /dev/dri:/dev/dri
|
||||||
|
--device /dev/kfd:/dev/kfd
|
||||||
```
|
```
|
||||||
- Environment Variable: `DOCKER_MODS=linuxserver/mods:jellyfin-amd`
|
- Environment Variable: `DOCKER_MODS=linuxserver/mods:jellyfin-amd`
|
||||||
- docker-compose:
|
- docker-compose:
|
||||||
|
|||||||
Reference in New Issue
Block a user