From 4721e3efceff712a5a287901850cb6b757e3ffd8 Mon Sep 17 00:00:00 2001 From: Vladislav Yarmak Date: Mon, 29 Jul 2019 17:45:28 +0300 Subject: [PATCH] linux: 430.40 driver --- README.md | 13 +++++++------ patch.sh | 2 ++ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 1cc8480..f9cbffa 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%20linux%20driver%20version-430.34-brightgreen.svg) +![GitHub last commit](https://img.shields.io/github/last-commit/keylase/nvidia-patch.svg) ![Latest version](https://img.shields.io/badge/latest%20linux%20driver%20version-430.40-brightgreen.svg) This patch removes restriction on maximum number of simultaneous NVENC video encoding sessions imposed by Nvidia to consumer-grade GPUs. @@ -37,6 +37,7 @@ Requirements: - [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) + - [430.40](https://international.download.nvidia.com/XFree86/Linux-x86_64/430.40/NVIDIA-Linux-x86_64-430.40.run) Tested on Ubuntu 18.04 LTS (GNU/Linux 4.15.0-23-generic x86\_64) @@ -59,11 +60,11 @@ DESCRIPTION ## Step-by-Step guide -Examples are provided for driver version 430.34. All commands are runned as root. +Examples are provided for driver version 430.40. All commands are runned as root. ### Download driver -[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) +[https://international.download.nvidia.com/XFree86/Linux-x86\_64/430.40/NVIDIA-Linux-x86\_64-430.40.run](https://international.download.nvidia.com/XFree86/Linux-x86_64/430.40/NVIDIA-Linux-x86_64-430.40.run) ### Install driver @@ -71,9 +72,9 @@ Make sure you have kernel headers and compiler installed before running Nvidia d ```bash mkdir /opt/nvidia && cd /opt/nvidia -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 +wget https://international.download.nvidia.com/XFree86/Linux-x86_64/430.40/NVIDIA-Linux-x86_64-430.40.run +chmod +x ./NVIDIA-Linux-x86_64-430.40.run +./NVIDIA-Linux-x86_64-430.40.run ``` ### Check driver diff --git a/patch.sh b/patch.sh index f2c2bcd..55308a4 100755 --- a/patch.sh +++ b/patch.sh @@ -64,6 +64,7 @@ declare -A patch_list=( ["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' + ["430.40"]='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=( @@ -93,6 +94,7 @@ declare -A object_list=( ["430.14"]='libnvcuvid.so' ["430.26"]='libnvcuvid.so' ["430.34"]='libnvcuvid.so' + ["430.40"]='libnvcuvid.so' ) NVIDIA_SMI="$(command -v nvidia-smi)"