Skip to content

Commit 7e17f74

Browse files
authored
Merge pull request #389 from linuxserver/readme_hwaccel
2 parents 230cccd + c41c4b1 commit 7e17f74

File tree

2 files changed

+21
-32
lines changed

2 files changed

+21
-32
lines changed

README.md

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -61,38 +61,43 @@ The architectures supported by this image are:
6161

6262
Webui can be found at `<your-ip>:32400/web`
6363

64-
** Note about updates, if there is no value set for the VERSION variable, then no updates will take place.**
64+
**note**: If there is no value set for the VERSION variable, then no updates will take place.
6565

66-
** For new users, no updates will take place on the first run of the container as there is no preferences file to read your token from, to update restart the Docker container after logging in through the webui**
66+
**note**: For new users, no updates will take place on the first run of the container as there is no preferences file to read your token from, to update restart the Docker container after logging in through the webui.
6767

6868
Valid settings for VERSION are:-
6969

70-
`IMPORTANT NOTE:- YOU CANNOT UPDATE TO A PLEXPASS ONLY (BETA) VERSION IF YOU ARE NOT LOGGED IN WITH A PLEXPASS ACCOUNT`
70+
**info**: YOU CANNOT UPDATE TO A PLEXPASS ONLY (BETA) VERSION IF YOU ARE NOT LOGGED IN WITH A PLEXPASS ACCOUNT.
7171

7272
+ **`docker`**: Let Docker handle the Plex Version, we keep our Dockerhub Endpoint up to date with the latest public builds. This is the same as leaving this setting out of your create command.
7373
+ **`latest`**: will update plex to the latest version available that you are entitled to.
7474
+ **`public`**: will update plexpass users to the latest public version, useful for plexpass users that don't want to be on the bleeding edge but still want the latest public updates.
7575
+ **`<specific-version>`**: will select a specific version (eg 0.9.12.4.1192-9a47d21) of plex to install, note you cannot use this to access plexpass versions if you do not have plexpass.
7676

77-
## Hardware Acceleration
77+
### Hardware Acceleration
7878

79-
### Intel
79+
Many desktop application will need access to a GPU to function properly and even some Desktop Environments have compisitor effects that will not function without a GPU. This is not a hard requirement and all base images will function without a video device mounted into the container.
8080

81-
Hardware acceleration users for Intel Quicksync will need to mount their /dev/dri video device inside of the container by passing the following command when running or creating the container:
81+
#### Intel/ATI/AMD
8282

83-
```
83+
To leverage hardware acceleration you will need to mount /dev/dri video device inside of the container.
84+
85+
```text
8486
--device=/dev/dri:/dev/dri
8587
```
8688

8789
We will automatically ensure the abc user inside of the container has the proper permissions to access this device.
8890

89-
### Nvidia
91+
#### Nvidia
9092

9193
Hardware acceleration users for Nvidia will need to install the container runtime provided by Nvidia on their host, instructions can be found here:
92-
9394
https://github.com/NVIDIA/nvidia-docker
9495

95-
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 plex docker.
96+
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 container.
97+
98+
#### Arm Devices
99+
100+
Best effort is made to install tools to allow mounting in /dev/dri on Arm devices. In most cases if /dev/dri exists on the host it should just work. If running a Raspberry Pi 4 be sure to enable `dtoverlay=vc4-fkms-v3d` in your usercfg.txt.
96101

97102
## Usage
98103

@@ -342,6 +347,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
342347

343348
## Versions
344349

350+
* **12.02.24:** - Use universal hardware acceleration blurb
345351
* **09.01.24:** - Set ownership on TranscoderTempDirectory when it's been saved in Preferences.
346352
* **16.08.23:** - Install unrar from [linuxserver repo](https://github.com/linuxserver/docker-unrar).
347353
* **03.07.23:** - Deprecate armhf. As announced [here](https://www.linuxserver.io/blog/a-farewell-to-arm-hf)

readme-vars.yml

Lines changed: 5 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -61,40 +61,23 @@ app_setup_block_enabled: true
6161
app_setup_block: |
6262
Webui can be found at `<your-ip>:32400/web`
6363
64-
** Note about updates, if there is no value set for the VERSION variable, then no updates will take place.**
64+
?+note[Updates](|If there is no value set for the VERSION variable, then no updates will take place.|)
6565
66-
** For new users, no updates will take place on the first run of the container as there is no preferences file to read your token from, to update restart the Docker container after logging in through the webui**
66+
?+note[New users](|For new users, no updates will take place on the first run of the container as there is no preferences file to read your token from, to update restart the Docker container after logging in through the webui.|)
6767
6868
Valid settings for VERSION are:-
6969
70-
`IMPORTANT NOTE:- YOU CANNOT UPDATE TO A PLEXPASS ONLY (BETA) VERSION IF YOU ARE NOT LOGGED IN WITH A PLEXPASS ACCOUNT`
70+
?+info[Plexpass](|YOU CANNOT UPDATE TO A PLEXPASS ONLY (BETA) VERSION IF YOU ARE NOT LOGGED IN WITH A PLEXPASS ACCOUNT.|)
7171
7272
+ **`docker`**: Let Docker handle the Plex Version, we keep our Dockerhub Endpoint up to date with the latest public builds. This is the same as leaving this setting out of your create command.
7373
+ **`latest`**: will update plex to the latest version available that you are entitled to.
7474
+ **`public`**: will update plexpass users to the latest public version, useful for plexpass users that don't want to be on the bleeding edge but still want the latest public updates.
7575
+ **`<specific-version>`**: will select a specific version (eg 0.9.12.4.1192-9a47d21) of plex to install, note you cannot use this to access plexpass versions if you do not have plexpass.
7676
77-
## Hardware Acceleration
78-
79-
### Intel
80-
81-
Hardware acceleration users for Intel Quicksync will need to mount their /dev/dri video device inside of the container by passing the following command when running or creating the container:
82-
83-
```
84-
--device=/dev/dri:/dev/dri
85-
```
86-
87-
We will automatically ensure the abc user inside of the container has the proper permissions to access this device.
88-
89-
### Nvidia
90-
91-
Hardware acceleration users for Nvidia will need to install the container runtime provided by Nvidia on their host, instructions can be found here:
92-
93-
https://github.com/NVIDIA/nvidia-docker
94-
95-
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 plex docker.
77+
readme_hwaccel: true
9678
# changelog
9779
changelogs:
80+
- {date: "12.02.24:", desc: "Use universal hardware acceleration blurb"}
9881
- {date: "09.01.24:", desc: "Set ownership on TranscoderTempDirectory when it's been saved in Preferences."}
9982
- {date: "16.08.23:", desc: "Install unrar from [linuxserver repo](https://github.com/linuxserver/docker-unrar)."}
10083
- {date: "03.07.23:", desc: "Deprecate armhf. As announced [here](https://www.linuxserver.io/blog/a-farewell-to-arm-hf)"}

0 commit comments

Comments
 (0)