From 5ee765cb80c1c5434ae830130652003d15f529ca Mon Sep 17 00:00:00 2001 From: Vladislav Yarmak Date: Thu, 25 Feb 2021 22:15:49 +0200 Subject: [PATCH] linux: add driver version 460.56 --- 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 5bec32c..3f58d84 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-460.39-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-460.56-brightgreen.svg) [NVENC patch](patch.sh) removes restriction on maximum number of simultaneous NVENC video encoding sessions imposed by Nvidia to consumer-grade GPUs. @@ -134,6 +134,7 @@ git clone https://ipfs.io/ipns/Qmed4r8yrBP162WK1ybd1DJWhLUi4t6mGuBoB9fLtjxR7u nv | 460.27.04 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/460.27.04/NVIDIA-Linux-x86_64-460.27.04.run) | | 460.32.03 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/460.32.03/NVIDIA-Linux-x86_64-460.32.03.run) | | 460.39 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/460.39/NVIDIA-Linux-x86_64-460.39.run) | +| 460.56 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/460.56/NVIDIA-Linux-x86_64-460.56.run) | ## Synopsis diff --git a/drivers.json b/drivers.json index 068772c..dcd233c 100644 --- a/drivers.json +++ b/drivers.json @@ -532,6 +532,12 @@ "version": "455.50.07", "nvenc_patch": true, "nvfbc_patch": true + }, + { + "version": "460.56", + "nvenc_patch": true, + "nvfbc_patch": true, + "driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/460.56/NVIDIA-Linux-x86_64-460.56.run" } ], "example": { diff --git a/patch-fbc.sh b/patch-fbc.sh index bb3b424..e4ff781 100755 --- a/patch-fbc.sh +++ b/patch-fbc.sh @@ -104,6 +104,7 @@ declare -A patch_list=( ["460.27.04"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' ["460.32.03"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' ["460.39"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' + ["460.56"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' ) declare -A object_list=( @@ -164,6 +165,7 @@ declare -A object_list=( ["460.27.04"]='libnvidia-fbc.so' ["460.32.03"]='libnvidia-fbc.so' ["460.39"]='libnvidia-fbc.so' + ["460.56"]='libnvidia-fbc.so' ) check_version_supported () { diff --git a/patch.sh b/patch.sh index 8218bbf..4ab7dc1 100755 --- a/patch.sh +++ b/patch.sh @@ -141,6 +141,7 @@ declare -A patch_list=( ["460.27.04"]='s/\x22\xff\xff\x85\xc0\x41\x89\xc4\x0f\x85/\x22\xff\xff\x31\xc0\x41\x89\xc4\x0f\x85/g' ["460.32.03"]='s/\x22\xff\xff\x85\xc0\x41\x89\xc4\x0f\x85/\x22\xff\xff\x31\xc0\x41\x89\xc4\x0f\x85/g' ["460.39"]='s/\x22\xff\xff\x85\xc0\x41\x89\xc4\x0f\x85/\x22\xff\xff\x31\xc0\x41\x89\xc4\x0f\x85/g' + ["460.56"]='s/\x22\xff\xff\x85\xc0\x41\x89\xc4\x0f\x85/\x22\xff\xff\x31\xc0\x41\x89\xc4\x0f\x85/g' ) declare -A object_list=( @@ -237,6 +238,7 @@ declare -A object_list=( ["460.27.04"]='libnvidia-encode.so' ["460.32.03"]='libnvidia-encode.so' ["460.39"]='libnvidia-encode.so' + ["460.56"]='libnvidia-encode.so' ) check_version_supported () {