From a89f3b0334846dae8492656d6f80d125e1a64a26 Mon Sep 17 00:00:00 2001 From: Daedalus Date: Tue, 22 Jun 2021 10:55:55 -0700 Subject: [PATCH] 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 () {