Skip to content

Instantly share code, notes, and snippets.

@scrathe
Last active October 29, 2022 15:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scrathe/c3959718e7af4506048e2a0d089f1ae4 to your computer and use it in GitHub Desktop.
Save scrathe/c3959718e7af4506048e2a0d089f1ae4 to your computer and use it in GitHub Desktop.
Removes restriction on maximum number of simultaneous NVENC video encoding sessions imposed by Nvidia to consumer-grade GPUs.
#!/bin/bash
# run from unraid shell. not inside plex docker.
# where do you want to store the script?
dst="/mnt/user/media/scripts/plex-nvidia-patch.sh"
# download patch source: https://github.com/keylase/nvidia-patch
wget https://raw.githubusercontent.com/keylase/nvidia-patch/master/patch.sh -O $dst
# make patch script executable
chmod 775 /mnt/user/media/scripts/plex-nvidia-patch.sh
# execute patch
/mnt/user/media/scripts/plex-nvidia-patch.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment