Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

Commit

Permalink
Merge pull request #290 from Tontonjo/patch-3
Browse files Browse the repository at this point in the history
Update for debian 10
  • Loading branch information
dkanada authored Apr 11, 2020
2 parents 5f7fcde + 6eda344 commit 40f7ff1
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions general/administration/hardware-acceleration.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,10 @@ sudo pkill -SIGHUP docker
Install nvidia drivers and dependencies.

```sh
# Debian 9 Stretch
apt-get install -t stretch-backports nvidia-driver libnvcuvid1 libnvidia-encode1 libcuda1 nvidia-smi
# Debian 10 Buster
apt-get install -t buster-backports nvidia-driver libnvcuvid1 libnvidia-encode1 libcuda1 nvidia-smi
```

Reboot your host to apply all changes.
Expand Down Expand Up @@ -250,15 +253,21 @@ You may need to add this user to the video group.
usermod -aG video user
```

Once the container is started you can again validate access to the host ressources.
Once the container is started you can again validate access to the host resources.

```sh
docker exec -it jellyfin ldconfig -p | grep cuvid
docker exec -it jellyfin ldconfig -p | grep libnvidia-encode.so.1
docker exec -it jellyfin nvidia-smi
```

Now go in Jellyfin playback settings, enable Nvidia NVENC and select target codecs depending on what your GPU support
try to play any file needing a transcode. Changing the bitrate is a good way to try this.
If you get driver information, everything is fine but if you get an error like `couldn't find libnvidia-ml.so library in your system` you need to run the following command.

```sh
docker exec -it jellyfin ldconfig
```

After that, you should ensure the Nvidia driver loads correctly.

Now go to the Jellyfin playback settings, enable Nvidia NVENC and select your target codecs depending on what your GPU supports. Try to play any file needing a transcode by changing the bitrate.

Check the transcode logs to make sure everything is working properly.

Expand Down

0 comments on commit 40f7ff1

Please sign in to comment.