Skip to content

Instantly share code, notes, and snippets.

@applehat
Created April 8, 2022 16:08
Show Gist options
  • Save applehat/62874f2c576bbb0205378f34214af155 to your computer and use it in GitHub Desktop.
Save applehat/62874f2c576bbb0205378f34214af155 to your computer and use it in GitHub Desktop.
Unraid User Script for uncapping nvidia GPUs for use in transcoding
#!/bin/bash
echo ""
echo "==== NVENC Session Limit Removal ===="
echo ""
if [ -f "/patch.sh" ]; then
echo "Patch Already found."
else
echo "Patch does not exist -- Downloading"
wget https://raw.githubusercontent.com/keylase/nvidia-patch/master/patch.sh
chmod +x patch.sh
fi
./patch.sh
echo ""
echo "==== Allow FBC on Consumer Devices ===="
echo ""
if [ -f "/patch-fbc.sh" ]; then
echo "Patch Already found."
else
echo "Patch does not exist -- Downloading"
wget https://raw.githubusercontent.com/keylase/nvidia-patch/master/patch-fbc.sh
chmod +x patch-fbc.sh
fi
./patch-fbc.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment