From a1fcbee06ba749c82297a15e85099e95f49d019d Mon Sep 17 00:00:00 2001 From: Vladislav Yarmak Date: Wed, 24 Jun 2020 20:33:38 +0300 Subject: [PATCH] linux: add driver version 450.51 --- README.md | 4 +++- drivers.json | 6 ++++++ patch-fbc.sh | 2 ++ patch.sh | 2 ++ 4 files changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0b539b8..d1c8982 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ NVENC and NvFBC patches for Nvidia drivers ========================================== -![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-450.36.06-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-450.51-brightgreen.svg) --- @@ -90,7 +90,9 @@ Requirements: | 440.66.15 | YES | YES | | | 440.66.17 | YES | YES | | | 440.82 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/440.82/NVIDIA-Linux-x86_64-440.82.run) | +| 440.95.01 | YES | YES | [Driver link](https://international.download.nvidia.com/tesla/440.95.01/NVIDIA-Linux-x86_64-440.95.01.run) | | 450.36.06 | YES | YES | [Driver link](https://developer.download.nvidia.com/compute/cuda/11.0.1/local_installers/cuda_11.0.1_450.36.06_linux.run) | +| 450.51 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/450.51/NVIDIA-Linux-x86_64-450.51.run) | ## Synopsis diff --git a/drivers.json b/drivers.json index ceb685d..46ef2d6 100644 --- a/drivers.json +++ b/drivers.json @@ -351,6 +351,12 @@ "nvenc_patch": true, "nvfbc_patch": true, "driver_url": "https://international.download.nvidia.com/tesla/440.95.01/NVIDIA-Linux-x86_64-440.95.01.run" + }, + { + "version": "450.51", + "nvenc_patch": true, + "nvfbc_patch": true, + "driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/450.51/NVIDIA-Linux-x86_64-450.51.run" } ], "example": { diff --git a/patch-fbc.sh b/patch-fbc.sh index 28193c8..cdaae01 100755 --- a/patch-fbc.sh +++ b/patch-fbc.sh @@ -69,6 +69,7 @@ declare -A patch_list=( ["440.95.01"]='s/\x85\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/\x31\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/' ["440.82"]='s/\x85\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/\x31\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/' ["450.36.06"]='s/\x85\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/\x31\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/' + ["450.51"]='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=( @@ -98,6 +99,7 @@ declare -A object_list=( ["440.95.01"]='libnvidia-fbc.so' ["440.82"]='libnvidia-fbc.so' ["450.36.06"]='libnvidia-fbc.so' + ["450.51"]='libnvidia-fbc.so' ) check_version_supported () { diff --git a/patch.sh b/patch.sh index 3440a5c..c77f2cf 100755 --- a/patch.sh +++ b/patch.sh @@ -106,6 +106,7 @@ declare -A patch_list=( ["440.95.01"]='s/\x85\xc0\x41\x89\xc4\x75\x1f/\x31\xc0\x41\x89\xc4\x75\x1f/g' ["440.82"]='s/\x85\xc0\x41\x89\xc4\x75\x1f/\x31\xc0\x41\x89\xc4\x75\x1f/g' ["450.36.06"]='s/\x85\xc0\x41\x89\xc4\x75\x1f/\x31\xc0\x41\x89\xc4\x75\x1f/g' + ["450.51"]='s/\x85\xc0\x41\x89\xc4\x75\x1f/\x31\xc0\x41\x89\xc4\x75\x1f/g' ) declare -A object_list=( @@ -170,6 +171,7 @@ declare -A object_list=( ["440.95.01"]='libnvidia-encode.so' ["440.82"]='libnvidia-encode.so' ["450.36.06"]='libnvidia-encode.so' + ["450.51"]='libnvidia-encode.so' ) check_version_supported () {