2017-02-12 15:16:29 +00:00
|
|
|
# nvidia-patch
|
2017-02-12 15:17:05 +00:00
|
|
|
|
2017-02-12 15:16:29 +00:00
|
|
|
requirements:
|
2017-11-01 13:37:03 +00:00
|
|
|
- ubuntu 14.04
|
|
|
|
- nvenc-compatible gpu
|
|
|
|
- nvidia 375.39 driver
|
|
|
|
|
2017-11-01 13:38:44 +00:00
|
|
|
# step-by-step :
|
2017-11-01 13:37:03 +00:00
|
|
|
|
|
|
|
Download driver: https://yadi.sk/d/yahf1Y-D3PJnzd
|
2017-11-01 13:40:23 +00:00
|
|
|
```
|
2017-11-01 13:37:03 +00:00
|
|
|
chmod +x ./NVIDIA-Linux-x86_64-375.39.run
|
2017-11-01 13:38:44 +00:00
|
|
|
|
2017-11-01 13:37:03 +00:00
|
|
|
./NVIDIA-Linux-x86_64-375.39.run
|
2017-11-01 13:40:23 +00:00
|
|
|
```
|
2017-11-01 13:37:03 +00:00
|
|
|
|
|
|
|
check driver:
|
2017-11-01 13:40:23 +00:00
|
|
|
```
|
2017-11-01 13:37:03 +00:00
|
|
|
nvidia-smi
|
|
|
|
|
|
|
|
mkdir ~/nvenc_backup
|
2017-11-01 13:37:24 +00:00
|
|
|
|
2017-11-01 13:37:03 +00:00
|
|
|
cd ~/nvenc_backup
|
2017-11-01 13:37:24 +00:00
|
|
|
|
2017-11-01 13:37:03 +00:00
|
|
|
cp /usr/lib/x86_64-linux-gnu/libnvidia-encode.so.375.39 ~/nvenc_backup/
|
2017-11-01 13:37:24 +00:00
|
|
|
|
2017-11-01 13:37:03 +00:00
|
|
|
wget https://raw.githubusercontent.com/keylase/nvidia-patch/master/patch.sh
|
2017-11-01 13:37:24 +00:00
|
|
|
|
2017-11-01 13:37:03 +00:00
|
|
|
chmod +x patch.sh
|
2017-11-01 13:37:24 +00:00
|
|
|
|
2017-11-01 13:37:03 +00:00
|
|
|
./patch.sh ~/nvenc_backup/libnvidia-encode.so.375.39 /usr/lib/x86_64-linux-gnu/libnvidia-encode.so.375.39
|
2017-11-01 13:37:24 +00:00
|
|
|
|
2017-11-01 13:37:03 +00:00
|
|
|
reboot
|
2017-11-01 13:40:23 +00:00
|
|
|
```
|
2017-02-12 15:17:05 +00:00
|
|
|
|
2017-10-30 06:46:54 +00:00
|
|
|
|
|
|
|
|
2017-02-12 15:17:05 +00:00
|
|
|
|
|
|
|
|