From 2724d4c6e31a4d346a04be867833b14edaedc049 Mon Sep 17 00:00:00 2001 From: Vladislav Yarmak Date: Tue, 9 Jul 2019 16:22:35 +0300 Subject: [PATCH] linux: new version 430.34 --- README.md | 13 +++++++------ patch.sh | 2 ++ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 5810f87..2941880 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # nvidia-patch -![GitHub last commit](https://img.shields.io/github/last-commit/keylase/nvidia-patch.svg) ![Latest version](https://img.shields.io/badge/latest%20verson-430.26-brightgreen.svg) +![GitHub last commit](https://img.shields.io/github/last-commit/keylase/nvidia-patch.svg) ![Latest version](https://img.shields.io/badge/latest%20verson-430.34-brightgreen.svg) This patch removes restriction on maximum number of simultaneous NVENC video encoding sessions imposed by Nvidia to consumer-grade GPUs. @@ -36,6 +36,7 @@ Requirements: - [430.09](https://international.download.nvidia.com/XFree86/Linux-x86_64/430.09/NVIDIA-Linux-x86_64-430.09.run) - [430.14](https://international.download.nvidia.com/XFree86/Linux-x86_64/430.14/NVIDIA-Linux-x86_64-430.14.run) - [430.26](https://international.download.nvidia.com/XFree86/Linux-x86_64/430.26/NVIDIA-Linux-x86_64-430.26.run) + - [430.34](https://international.download.nvidia.com/XFree86/Linux-x86_64/430.34/NVIDIA-Linux-x86_64-430.34.run) Tested on Ubuntu 18.04 LTS (GNU/Linux 4.15.0-23-generic x86\_64) @@ -58,19 +59,19 @@ DESCRIPTION ## Step-by-Step guide -Examples are provided for driver version 430.26. All commands are runned as root. +Examples are provided for driver version 430.34. All commands are runned as root. ### Download driver -[https://international.download.nvidia.com/XFree86/Linux-x86\_64/430.26/NVIDIA-Linux-x86\_64-430.26.run](https://international.download.nvidia.com/XFree86/Linux-x86_64/430.26/NVIDIA-Linux-x86_64-430.26.run) +[https://international.download.nvidia.com/XFree86/Linux-x86\_64/430.34/NVIDIA-Linux-x86\_64-430.34.run](https://international.download.nvidia.com/XFree86/Linux-x86_64/430.34/NVIDIA-Linux-x86_64-430.34.run) ### Install driver ```bash mkdir /opt/nvidia && cd /opt/nvidia -wget https://international.download.nvidia.com/XFree86/Linux-x86_64/430.26/NVIDIA-Linux-x86_64-430.26.run -chmod +x ./NVIDIA-Linux-x86_64-430.26.run -./NVIDIA-Linux-x86_64-430.26.run +wget https://international.download.nvidia.com/XFree86/Linux-x86_64/430.34/NVIDIA-Linux-x86_64-430.34.run +chmod +x ./NVIDIA-Linux-x86_64-430.34.run +./NVIDIA-Linux-x86_64-430.34.run ``` ### Check driver diff --git a/patch.sh b/patch.sh index c3a0c93..21eaa2b 100755 --- a/patch.sh +++ b/patch.sh @@ -63,6 +63,7 @@ declare -A patch_list=( ["430.09"]='s/\x00\x00\x00\x84\xc0\x0f\x84\x0f\xfd\xff\xff/\x00\x00\x00\x84\xc0\x90\x90\x90\x90\x90\x90/g' ["430.14"]='s/\x00\x00\x00\x84\xc0\x0f\x84\x0f\xfd\xff\xff/\x00\x00\x00\x84\xc0\x90\x90\x90\x90\x90\x90/g' ["430.26"]='s/\x00\x00\x00\x84\xc0\x0f\x84\x0f\xfd\xff\xff/\x00\x00\x00\x84\xc0\x90\x90\x90\x90\x90\x90/g' + ["430.34"]='s/\x00\x00\x00\x84\xc0\x0f\x84\x0f\xfd\xff\xff/\x00\x00\x00\x84\xc0\x90\x90\x90\x90\x90\x90/g' ) declare -A object_list=( @@ -91,6 +92,7 @@ declare -A object_list=( ["430.09"]='libnvcuvid.so' ["430.14"]='libnvcuvid.so' ["430.26"]='libnvcuvid.so' + ["430.34"]='libnvcuvid.so' ) NVIDIA_SMI="$(which nvidia-smi)"