From d96342ad4905ad84a072d30f5abe193d75059f6b Mon Sep 17 00:00:00 2001 From: Vladislav Yarmak Date: Mon, 3 Feb 2020 17:59:09 +0200 Subject: [PATCH] linux: new driver version 440.59 --- README.md | 3 ++- drivers.json | 6 ++++++ patch-fbc.sh | 2 ++ patch.sh | 2 ++ 4 files changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d8ed14f..2d8fdf8 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-440.48.02-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.59-brightgreen.svg) This patch removes restriction on maximum number of simultaneous NVENC video encoding sessions imposed by Nvidia to consumer-grade GPUs. @@ -60,6 +60,7 @@ Requirements: | 440.43.01 | :heavy_check_mark: | :heavy_check_mark: | | | 440.44 | :heavy_check_mark: | :heavy_check_mark: | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/440.44/NVIDIA-Linux-x86_64-440.44.run) | | 440.48.02 | :heavy_check_mark: | :heavy_check_mark: | | +| 440.59 | :heavy_check_mark: | :heavy_check_mark: | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/440.59/NVIDIA-Linux-x86_64-440.59.run) | ## Synopsis diff --git a/drivers.json b/drivers.json index 7d2aebc..93d478d 100644 --- a/drivers.json +++ b/drivers.json @@ -249,6 +249,12 @@ "version": "440.48.02", "nvenc_patch": true, "nvfbc_patch": true + }, + { + "version": "440.59", + "nvenc_patch": true, + "nvfbc_patch": true, + "driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/440.59/NVIDIA-Linux-x86_64-440.59.run" } ], "example": { diff --git a/patch-fbc.sh b/patch-fbc.sh index 058358c..3ddaeed 100755 --- a/patch-fbc.sh +++ b/patch-fbc.sh @@ -51,6 +51,7 @@ declare -A patch_list=( ["440.43.01"]='s/\x85\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/\x31\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/' ["440.44"]='s/\x85\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/\x31\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/' ["440.48.02"]='s/\x85\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/\x31\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/' + ["440.59"]='s/\x85\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/\x31\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/' ) declare -A object_list=( @@ -62,6 +63,7 @@ declare -A object_list=( ["440.43.01"]='libnvidia-fbc.so' ["440.44"]='libnvidia-fbc.so' ["440.48.02"]='libnvidia-fbc.so' + ["440.59"]='libnvidia-fbc.so' ) check_version_supported () { diff --git a/patch.sh b/patch.sh index a0774c5..65bfd93 100755 --- a/patch.sh +++ b/patch.sh @@ -87,6 +87,7 @@ declare -A patch_list=( ["440.43.01"]='s/\x85\xc0\x41\x89\xc4\x75\x1f/\x31\xc0\x41\x89\xc4\x75\x1f/g' ["440.44"]='s/\x85\xc0\x41\x89\xc4\x75\x1f/\x31\xc0\x41\x89\xc4\x75\x1f/g' ["440.48.02"]='s/\x85\xc0\x41\x89\xc4\x75\x1f/\x31\xc0\x41\x89\xc4\x75\x1f/g' + ["440.59"]='s/\x85\xc0\x41\x89\xc4\x75\x1f/\x31\xc0\x41\x89\xc4\x75\x1f/g' ) declare -A object_list=( @@ -132,6 +133,7 @@ declare -A object_list=( ["440.43.01"]='libnvidia-encode.so' ["440.44"]='libnvidia-encode.so' ["440.48.02"]='libnvidia-encode.so' + ["440.59"]='libnvidia-encode.so' ) check_version_supported () {