mirror of
https://github.com/linuxserver/docker-mods.git
synced 2026-03-23 00:05:28 +08:00
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.
jellyfin-amd - Docker mod for Jellyfin
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/driand/dev/kfd- docker-compose:
devices: - /dev/dri:/dev/dri - /dev/kfd:/dev/kfd - docker cli
--device /dev/dri:/dev/dri --device /dev/kfd:/dev/kfd
- docker-compose:
- Environment Variable:
DOCKER_MODS=linuxserver/mods:jellyfin-amd- docker-compose:
environment: - DOCKER_MODS=linuxserver/mods:jellyfin-amd - docker cli:
-e DOCKER_MODS=linuxserver/mods:jellyfin-amd
- docker-compose:
If adding multiple mods, enter them in an array separated by |, such as DOCKER_MODS=linuxserver/mods:jellyfin-amd|linuxserver/mods:jellyfin-mod2
Settings in Jellyfin
Under server administration in Server > Playback the Hardware acceleration can be set to Video Acceleration API (VAAPI) and the VA API Device has to be set to the device given in the Docker configuration. For example /dev/dri/renderD128.
Description
Languages
Text
100%