Update README.md

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

View File

@ -13,14 +13,21 @@ chmod +x ./NVIDIA-Linux-x86_64-375.39.run
./NVIDIA-Linux-x86_64-375.39.run ./NVIDIA-Linux-x86_64-375.39.run
check driver: check driver:
nvidia-smi nvidia-smi
mkdir ~/nvenc_backup mkdir ~/nvenc_backup
cd ~/nvenc_backup cd ~/nvenc_backup
cp /usr/lib/x86_64-linux-gnu/libnvidia-encode.so.375.39 ~/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 wget https://raw.githubusercontent.com/keylase/nvidia-patch/master/patch.sh
chmod +x 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 ./patch.sh ~/nvenc_backup/libnvidia-encode.so.375.39 /usr/lib/x86_64-linux-gnu/libnvidia-encode.so.375.39
reboot reboot