From 1fec400829756e5892b0367164106d5b6b18bd19 Mon Sep 17 00:00:00 2001 From: Vladislav Yarmak Date: Sat, 9 Jan 2021 19:39:10 +0200 Subject: [PATCH 1/2] linux: add driver version 460.32.03 --- README.md | 3 ++- drivers.json | 6 ++++++ patch.sh | 2 ++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e040c80..d548079 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-455.46.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-460.32.03-brightgreen.svg) [NVENC patch](patch.sh) removes restriction on maximum number of simultaneous NVENC video encoding sessions imposed by Nvidia to consumer-grade GPUs. @@ -125,6 +125,7 @@ git clone https://ipfs.io/ipns/Qmed4r8yrBP162WK1ybd1DJWhLUi4t6mGuBoB9fLtjxR7u nv | 455.45.01 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/455.45.01/NVIDIA-Linux-x86_64-455.45.01.run) | | 455.46.01 | YES | YES | | | 455.46.02 | YES | YES | | +| 460.32.03 | YES | NO | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/460.32.03/NVIDIA-Linux-x86_64-460.32.03.run) | ## Synopsis diff --git a/drivers.json b/drivers.json index 89491a1..9103ab9 100644 --- a/drivers.json +++ b/drivers.json @@ -484,6 +484,12 @@ "nvenc_patch": true, "nvfbc_patch": false, "driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/450.102.04/NVIDIA-Linux-x86_64-450.102.04.run" + }, + { + "version": "460.32.03", + "nvenc_patch": true, + "nvfbc_patch": false, + "driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/460.32.03/NVIDIA-Linux-x86_64-460.32.03.run" } ], "example": { diff --git a/patch.sh b/patch.sh index 8e2abc8..010e87f 100755 --- a/patch.sh +++ b/patch.sh @@ -133,6 +133,7 @@ declare -A patch_list=( ["455.45.01"]='s/\x85\xc0\x41\x89\xc4\x75\x1f/\x31\xc0\x41\x89\xc4\x75\x1f/g' ["455.46.01"]='s/\x85\xc0\x41\x89\xc4\x75\x1f/\x31\xc0\x41\x89\xc4\x75\x1f/g' ["455.46.02"]='s/\x85\xc0\x41\x89\xc4\x75\x1f/\x31\xc0\x41\x89\xc4\x75\x1f/g' + ["460.32.03"]='s/\x85\xc0\x41\x89\xc4\x0f\x85/\x31\xc0\x41\x89\xc4\x0f\x85/g' ) declare -A object_list=( @@ -221,6 +222,7 @@ declare -A object_list=( ["455.45.01"]='libnvidia-encode.so' ["455.46.01"]='libnvidia-encode.so' ["455.46.02"]='libnvidia-encode.so' + ["460.32.03"]='libnvidia-encode.so' ) check_version_supported () { From fb3cc8eaa7d87320fc96125c84eaec3e36e3d69b Mon Sep 17 00:00:00 2001 From: Vladislav Yarmak Date: Sat, 9 Jan 2021 19:47:33 +0200 Subject: [PATCH 2/2] linux: cover 460.27.04 as well --- README.md | 1 + drivers.json | 6 ++++++ patch.sh | 2 ++ 3 files changed, 9 insertions(+) diff --git a/README.md b/README.md index d548079..1695d56 100644 --- a/README.md +++ b/README.md @@ -125,6 +125,7 @@ git clone https://ipfs.io/ipns/Qmed4r8yrBP162WK1ybd1DJWhLUi4t6mGuBoB9fLtjxR7u nv | 455.45.01 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/455.45.01/NVIDIA-Linux-x86_64-455.45.01.run) | | 455.46.01 | YES | YES | | | 455.46.02 | YES | YES | | +| 460.27.04 | YES | NO | [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 | NO | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/460.32.03/NVIDIA-Linux-x86_64-460.32.03.run) | ## Synopsis diff --git a/drivers.json b/drivers.json index 9103ab9..986914b 100644 --- a/drivers.json +++ b/drivers.json @@ -490,6 +490,12 @@ "nvenc_patch": true, "nvfbc_patch": false, "driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/460.32.03/NVIDIA-Linux-x86_64-460.32.03.run" + }, + { + "version": "460.27.04", + "nvenc_patch": true, + "nvfbc_patch": false, + "driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/460.27.04/NVIDIA-Linux-x86_64-460.27.04.run" } ], "example": { diff --git a/patch.sh b/patch.sh index 010e87f..ba07f07 100755 --- a/patch.sh +++ b/patch.sh @@ -133,6 +133,7 @@ declare -A patch_list=( ["455.45.01"]='s/\x85\xc0\x41\x89\xc4\x75\x1f/\x31\xc0\x41\x89\xc4\x75\x1f/g' ["455.46.01"]='s/\x85\xc0\x41\x89\xc4\x75\x1f/\x31\xc0\x41\x89\xc4\x75\x1f/g' ["455.46.02"]='s/\x85\xc0\x41\x89\xc4\x75\x1f/\x31\xc0\x41\x89\xc4\x75\x1f/g' + ["460.27.04"]='s/\x85\xc0\x41\x89\xc4\x0f\x85/\x31\xc0\x41\x89\xc4\x0f\x85/g' ["460.32.03"]='s/\x85\xc0\x41\x89\xc4\x0f\x85/\x31\xc0\x41\x89\xc4\x0f\x85/g' ) @@ -222,6 +223,7 @@ declare -A object_list=( ["455.45.01"]='libnvidia-encode.so' ["455.46.01"]='libnvidia-encode.so' ["455.46.02"]='libnvidia-encode.so' + ["460.27.04"]='libnvidia-encode.so' ["460.32.03"]='libnvidia-encode.so' )