From 1bb44d58b7d7d53d58a68a6ea3a0479deafeac85 Mon Sep 17 00:00:00 2001 From: Vladislav Yarmak Date: Mon, 20 Sep 2021 22:20:32 +0300 Subject: [PATCH] linux: add driver version 470.74 --- 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 55106bf..1d82862 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-470.63.01-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-470.74-brightgreen.svg) [NVENC patch](patch.sh) removes restriction on maximum number of simultaneous NVENC video encoding sessions imposed by Nvidia to consumer-grade GPUs. @@ -149,6 +149,7 @@ git clone https://ipfs.io/ipns/Qmed4r8yrBP162WK1ybd1DJWhLUi4t6mGuBoB9fLtjxR7u nv | 470.57.02 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/470.57.02/NVIDIA-Linux-x86_64-470.57.02.run) | | 470.62.02 | YES | YES | | | 470.63.01 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/470.63.01/NVIDIA-Linux-x86_64-470.63.01.run) | +| 470.74 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/470.74/NVIDIA-Linux-x86_64-470.74.run) | ## Synopsis diff --git a/drivers.json b/drivers.json index 6442a82..a72cc5d 100644 --- a/drivers.json +++ b/drivers.json @@ -620,6 +620,12 @@ "version": "470.62.02", "nvenc_patch": true, "nvfbc_patch": true + }, + { + "version": "470.74", + "nvenc_patch": true, + "nvfbc_patch": true, + "driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/470.74/NVIDIA-Linux-x86_64-470.74.run" } ], "example": { diff --git a/patch-fbc.sh b/patch-fbc.sh index abe0c6c..baf070f 100755 --- a/patch-fbc.sh +++ b/patch-fbc.sh @@ -119,6 +119,7 @@ declare -A patch_list=( ["470.57.02"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' ["470.62.02"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' ["470.63.01"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' + ["470.74"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' ) declare -A object_list=( @@ -194,6 +195,7 @@ declare -A object_list=( ["470.57.02"]='libnvidia-fbc.so' ["470.62.02"]='libnvidia-fbc.so' ["470.63.01"]='libnvidia-fbc.so' + ["470.74"]='libnvidia-fbc.so' ) check_version_supported () { diff --git a/patch.sh b/patch.sh index ea70063..f4e258c 100755 --- a/patch.sh +++ b/patch.sh @@ -156,6 +156,7 @@ declare -A patch_list=( ["470.57.02"]='s/\xe8\x25\x1C\xff\xff\x85\xc0\x41\x89\xc4/\xe8\x25\x1C\xff\xff\x29\xc0\x41\x89\xc4/g' ["470.62.02"]='s/\xe8\x25\x1C\xff\xff\x85\xc0\x41\x89\xc4/\xe8\x25\x1C\xff\xff\x29\xc0\x41\x89\xc4/g' ["470.63.01"]='s/\xe8\x25\x1C\xff\xff\x85\xc0\x41\x89\xc4/\xe8\x25\x1C\xff\xff\x29\xc0\x41\x89\xc4/g' + ["470.74"]='s/\xe8\x25\x1C\xff\xff\x85\xc0\x41\x89\xc4/\xe8\x25\x1C\xff\xff\x29\xc0\x41\x89\xc4/g' ) declare -A object_list=( @@ -267,6 +268,7 @@ declare -A object_list=( ["470.57.02"]='libnvidia-encode.so' ["470.62.02"]='libnvidia-encode.so' ["470.63.01"]='libnvidia-encode.so' + ["470.74"]='libnvidia-encode.so' ) check_version_supported () {