mirror of
https://github.com/keylase/nvidia-patch.git
synced 2025-11-01 05:02:07 +00:00
f223ab931595bab168e22d2b0e2f08191ef356e7
nvidia-patch
requirements:
- ubuntu 14.04
- nvenc-compatible gpu
- nvidia 375.39 driver
step-by-step :
Download driver: https://yadi.sk/d/yahf1Y-D3PJnzd
chmod +x ./NVIDIA-Linux-x86_64-375.39.run
./NVIDIA-Linux-x86_64-375.39.run
check driver:
nvidia-smi
mkdir ~/nvenc_backup
cd ~/nvenc_backup
cp /usr/lib/x86_64-linux-gnu/libnvidia-encode.so.375.39 ~/nvenc_backup/
wget https://raw.githubusercontent.com/keylase/nvidia-patch/master/patch.sh
chmod +x patch.sh
./patch.sh ~/nvenc_backup/libnvidia-encode.so.375.39 /usr/lib/x86_64-linux-gnu/libnvidia-encode.so.375.39
reboot
See also
If you experience CreateBitstreamBuffer failed: out of memory (10), then you have to lower buffers number used for every encoding session. If you are using ffmpeg, consider using this patch.
Description
This patch removes restriction on maximum number of simultaneous NVENC video encoding sessions imposed by Nvidia to consumer-grade GPUs.
Languages
Python
51.4%
Shell
37%
C
3.8%
C++
3.6%
HTML
2.6%
Other
1.6%