Update README.md

This commit is contained in:
keylase 2017-11-01 16:37:03 +03:00 committed by GitHub
parent 2985423a0f
commit 61ecc9971c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,14 +1,29 @@
# nvidia-patch
requirements:
# nvidia 375:
- ubuntu 14.04
- nvenc-compatible gpu
- nvidia 375.39 driver
# install driver nvidia 375.39 :
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
[ubuntu 16.04]
sudo apt-get install software-properties-common python-software-properties
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt-get update
sudo apt-get install nvidia-375