From 9e16024ec3028b57adb1c96b6f187eb23c44888e Mon Sep 17 00:00:00 2001 From: Vladislav Yarmak Date: Thu, 17 Oct 2019 18:51:44 +0300 Subject: [PATCH] linux: add support for linux driver version 440.26 --- README.md | 3 ++- patch.sh | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4fc5d64..b426670 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-435.21-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-440.26-brightgreen.svg) This patch removes restriction on maximum number of simultaneous NVENC video encoding sessions imposed by Nvidia to consumer-grade GPUs. @@ -44,6 +44,7 @@ Requirements: - [430.50](https://international.download.nvidia.com/XFree86/Linux-x86_64/430.50/NVIDIA-Linux-x86_64-430.50.run) - [435.17](https://international.download.nvidia.com/XFree86/Linux-x86_64/435.17/NVIDIA-Linux-x86_64-435.17.run) - [435.21](https://international.download.nvidia.com/XFree86/Linux-x86_64/435.21/NVIDIA-Linux-x86_64-435.21.run) + - [440.26](https://international.download.nvidia.com/XFree86/Linux-x86_64/440.26/NVIDIA-Linux-x86_64-440.26.run) ## Synopsis diff --git a/patch.sh b/patch.sh index 42c9dee..a081678 100755 --- a/patch.sh +++ b/patch.sh @@ -78,6 +78,7 @@ declare -A patch_list=( ["430.50"]='s/\x00\x00\x00\x84\xc0\x0f\x84\x0f\xfd\xff\xff/\x00\x00\x00\x84\xc0\x90\x90\x90\x90\x90\x90/g' ["435.17"]='s/\x00\x00\x00\x84\xc0\x0f\x84\x0f\xfd\xff\xff/\x00\x00\x00\x84\xc0\x90\x90\x90\x90\x90\x90/g' ["435.21"]='s/\x00\x00\x00\x84\xc0\x0f\x84\x0f\xfd\xff\xff/\x00\x00\x00\x84\xc0\x90\x90\x90\x90\x90\x90/g' + ["440.26"]='s/\xff\x90\x98\x00\x00\x00\x84\xc0\x0f\x84/\xff\x90\x98\x00\x00\x00\x0c\x01\x0f\x84/g' ) declare -A object_list=( @@ -114,6 +115,7 @@ declare -A object_list=( ["430.50"]='libnvcuvid.so' ["435.17"]='libnvcuvid.so' ["435.21"]='libnvcuvid.so' + ["440.26"]='libnvcuvid.so' ) check_version_supported () {