From a89f3b0334846dae8492656d6f80d125e1a64a26 Mon Sep 17 00:00:00 2001 From: Daedalus Date: Tue, 22 Jun 2021 10:55:55 -0700 Subject: [PATCH 1/2] Add NvFBC patch for 470.42.01 --- drivers.json | 6 ++++++ patch-fbc.sh | 2 ++ 2 files changed, 8 insertions(+) diff --git a/drivers.json b/drivers.json index d47a7c9..67978dc 100644 --- a/drivers.json +++ b/drivers.json @@ -591,6 +591,12 @@ "nvenc_patch": true, "nvfbc_patch": true, "driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/460.84/NVIDIA-Linux-x86_64-460.84.run" + }, + { + "version": "470.42.01", + "nvenc_patch": false, + "nvfbc_patch": true, + "driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/470.42.01/NVIDIA-Linux-x86_64-470.42.01.run" } ], "example": { diff --git a/patch-fbc.sh b/patch-fbc.sh index 248ffcb..548687b 100755 --- a/patch-fbc.sh +++ b/patch-fbc.sh @@ -114,6 +114,7 @@ declare -A patch_list=( ["465.24.02"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' ["465.27"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' ["465.31"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' + ["470.42.01"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' ) declare -A object_list=( @@ -184,6 +185,7 @@ declare -A object_list=( ["465.24.02"]='libnvidia-fbc.so' ["465.27"]='libnvidia-fbc.so' ["465.31"]='libnvidia-fbc.so' + ["470.42.01"]='libnvidia-fbc.so' ) check_version_supported () { From ec9411b44a6c3cfebfb37b14eeae2911d881cfc7 Mon Sep 17 00:00:00 2001 From: Daedalus Date: Tue, 22 Jun 2021 11:12:19 -0700 Subject: [PATCH 2/2] Update README --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2428db1..203d237 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-465.31-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.42.01-brightgreen.svg) [NVENC patch](patch.sh) removes restriction on maximum number of simultaneous NVENC video encoding sessions imposed by Nvidia to consumer-grade GPUs. @@ -144,6 +144,7 @@ git clone https://ipfs.io/ipns/Qmed4r8yrBP162WK1ybd1DJWhLUi4t6mGuBoB9fLtjxR7u nv | 465.24.02 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/465.24.02/NVIDIA-Linux-x86_64-465.24.02.run) | | 465.27 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/465.27/NVIDIA-Linux-x86_64-465.27.run) | | 465.31 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/465.31/NVIDIA-Linux-x86_64-465.31.run) | +| 470.42.01 | NO | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/470.42.01/NVIDIA-Linux-x86_64-470.42.01.run) | ## Synopsis