From 53e3f3eb9497aab23815efc4b34a0c8789893387 Mon Sep 17 00:00:00 2001 From: LinuxServer-CI Date: Thu, 27 Feb 2020 21:57:51 +0000 Subject: [PATCH] Bot Updating Documentation --- images/docker-emby.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/images/docker-emby.md b/images/docker-emby.md index b23dec131..ba00c4c45 100644 --- a/images/docker-emby.md +++ b/images/docker-emby.md @@ -55,7 +55,9 @@ docker create \ -v /path/to/tvshows:/data/tvshows \ -v /path/to/movies:/data/movies \ -v /path/for/transcoding:/transcode `#optional` \ + -v /opt/vc/lib:/opt/vc/lib `#optional` \ --device /dev/dri:/dev/dri `#optional` \ + --device /dev/vchiq:/dev/vchiq `#optional` \ --restart unless-stopped \ linuxserver/emby ``` @@ -83,12 +85,14 @@ services: - /path/to/movies:/data/movies volumes: - /path/for/transcoding:/transcode #optional + - /opt/vc/lib:/opt/vc/lib #optional ports: - 8096:8096 ports: - 8920:8920 #optional devices: - /dev/dri:/dev/dri #optional + - /dev/vchiq:/dev/vchiq #optional restart: unless-stopped ``` @@ -121,11 +125,13 @@ Docker images are configured using parameters passed at runtime (such as those a | `/data/tvshows` | Media goes here. Add as many as needed e.g. `/data/movies`, `/data/tv`, etc. | | `/data/movies` | Media goes here. Add as many as needed e.g. `/data/movies`, `/data/tv`, etc. | | `/transcode` | Path for transcoding folder, *optional*. | +| `/opt/vc/lib` | Path for Raspberry Pi OpenMAX libs *optional*. | #### Device Mappings (`--device`) | Parameter | Function | | :-----: | --- | | `/dev/dri` | Only needed if you want to use your Intel GPU for hardware accelerated video encoding (vaapi). | +| `/dev/vchiq` | Only needed if you want to use your Raspberry Pi OpenMax video encoding (Bellagio). | ## User / Group Identifiers @@ -159,6 +165,14 @@ https://github.com/NVIDIA/nvidia-docker We automatically add the necessary environment variable that will utilise all the features available on a GPU on the host. Once nvidia-docker is installed on your host you will need to re/create the docker container with the nvidia container runtime `--runtime=nvidia` and add an environment variable `-e NVIDIA_VISIBLE_DEVICES=all` (can also be set to a specific gpu's UUID, this can be discovered by running `nvidia-smi --query-gpu=gpu_name,gpu_uuid --format=csv` ). NVIDIA automatically mounts the GPU and drivers from your host into the emby docker. +### OpenMAX (Raspberry Pi) + +Hardware acceleration users for Raspberry Pi OpenMAX will need to mount their /dev/vchiq video device inside of the container and their system OpenMax libs by passing the following options when running or creating the container: +``` +--device=/dev/vchiq:/dev/vchiq +-v /opt/vc/lib:/opt/vc/lib +``` + ## Support Info @@ -174,6 +188,7 @@ We automatically add the necessary environment variable that will utilise all th ## Versions +* **26.02.20:** - Add openmax support on Raspberry Pi. * **15.02.20:** - Allow restarting emby from the gui (also allows for auto restarts after addon updates). * **02.10.19:** - Improve permission fixing for render and dvb devices. * **13.08.19:** - Add umask environment variable.