mirror of
https://github.com/keylase/nvidia-patch.git
synced 2025-11-04 22:52:03 +00:00
ce878e07b570c5fb679f1ca6b7deab5b2b4790d4
nvidia-patch
requirements:
- Ubuntu 17.10
- nvenc-compatible gpu
- kernel (<4.10.0)- 4.4.0-101-generic
- nvidia 378.13 driver
step-by-step :
Download driver: https://yadi.sk/d/d87mf0y03WTbb5
chmod +x ./NVIDIA-Linux-x86_64-378.13.run
./NVIDIA-Linux-x86_64-378.13.run
```https://github.com/keylase/nvidia-patch/issues
check driver:
```bash
nvidia-smi
mkdir ~/nvenc_backup
cd ~/nvenc_backup
cp /usr/lib/x86_64-linux-gnu/libnvidia-encode.so.378.13 ~/nvenc_backup/
wget https://raw.githubusercontent.com/keylase/nvidia-patch/master/patch.sh
chmod +x patch.sh
./patch.sh ~/nvenc_backup/libnvidia-encode.so.378.13 /usr/lib/x86_64-linux-gnu/libnvidia-encode.so.378.13
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.3%
Shell
37.1%
C
3.8%
C++
3.6%
HTML
2.6%
Other
1.6%