From d1d5f44d58d3666974ac6a5760aaea2f9273faed Mon Sep 17 00:00:00 2001 From: guihkx <626206+guihkx@users.noreply.github.com> Date: Thu, 24 Nov 2022 09:27:38 -0300 Subject: [PATCH] linux: add patches for 470.161.03 --- README.md | 1 + drivers.json | 6 ++++++ patch-fbc.sh | 2 ++ patch.sh | 2 ++ 4 files changed, 11 insertions(+) diff --git a/README.md b/README.md index 7b69daf..3c08063 100644 --- a/README.md +++ b/README.md @@ -146,6 +146,7 @@ If you want to donate, please send it to your favorite open source organizations | 470.103.01 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/470.103.01/NVIDIA-Linux-x86_64-470.103.01.run) | | 470.129.06 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/470.129.06/NVIDIA-Linux-x86_64-470.129.06.run) | | 470.141.03 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/470.141.03/NVIDIA-Linux-x86_64-470.141.03.run) | +| 470.161.03 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/470.161.03/NVIDIA-Linux-x86_64-470.161.03.run) | | 495.29.05 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/495.29.05/NVIDIA-Linux-x86_64-495.29.05.run) | | 495.44 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/495.44/NVIDIA-Linux-x86_64-495.44.run) | | 495.46 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/495.46/NVIDIA-Linux-x86_64-495.46.run) | diff --git a/drivers.json b/drivers.json index 7b69fb9..bce1075 100644 --- a/drivers.json +++ b/drivers.json @@ -692,6 +692,12 @@ "nvfbc_patch": true, "driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/470.141.03/NVIDIA-Linux-x86_64-470.141.03.run" }, + { + "version": "470.161.03", + "nvenc_patch": true, + "nvfbc_patch": true, + "driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/470.161.03/NVIDIA-Linux-x86_64-470.161.03.run" + }, { "version": "510.39.01", "nvenc_patch": true, diff --git a/patch-fbc.sh b/patch-fbc.sh index ee5e12e..232c484 100755 --- a/patch-fbc.sh +++ b/patch-fbc.sh @@ -136,6 +136,7 @@ declare -A patch_list=( ["470.103.01"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' ["470.129.06"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' ["470.141.03"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' + ["470.161.03"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' ["495.29.05"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' ["495.44"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' ["495.46"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' @@ -238,6 +239,7 @@ declare -A object_list=( ["470.103.01"]='libnvidia-fbc.so' ["470.129.06"]='libnvidia-fbc.so' ["470.141.03"]='libnvidia-fbc.so' + ["470.161.03"]='libnvidia-fbc.so' ["495.29.05"]='libnvidia-fbc.so' ["495.44"]='libnvidia-fbc.so' ["495.46"]='libnvidia-fbc.so' diff --git a/patch.sh b/patch.sh index c8fd068..a6fc994 100755 --- a/patch.sh +++ b/patch.sh @@ -175,6 +175,7 @@ declare -A patch_list=( ["470.103.01"]='s/\xe8\x25\x1C\xff\xff\x85\xc0\x41\x89\xc4/\xe8\x25\x1C\xff\xff\x29\xc0\x41\x89\xc4/g' ["470.129.06"]='s/\xe8\x25\x1C\xff\xff\x85\xc0\x41\x89\xc4/\xe8\x25\x1C\xff\xff\x29\xc0\x41\x89\xc4/g' ["470.141.03"]='s/\xe8\x25\x1C\xff\xff\x85\xc0\x41\x89\xc4/\xe8\x25\x1C\xff\xff\x29\xc0\x41\x89\xc4/g' + ["470.161.03"]='s/\xe8\x25\x1C\xff\xff\x85\xc0\x41\x89\xc4/\xe8\x25\x1C\xff\xff\x29\xc0\x41\x89\xc4/g' ["495.29.05"]='s/\xe8\x35\x1f\xff\xff\x85\xc0\x41\x89\xc4/\xe8\x35\x1f\xff\xff\x29\xc0\x41\x89\xc4/g' ["495.44"]='s/\xe8\x35\x1f\xff\xff\x85\xc0\x41\x89\xc4/\xe8\x35\x1f\xff\xff\x29\xc0\x41\x89\xc4/g' ["495.46"]='s/\xe8\x35\x1f\xff\xff\x85\xc0\x41\x89\xc4/\xe8\x35\x1f\xff\xff\x29\xc0\x41\x89\xc4/g' @@ -314,6 +315,7 @@ declare -A object_list=( ["470.103.01"]='libnvidia-encode.so' ["470.129.06"]='libnvidia-encode.so' ["470.141.03"]='libnvidia-encode.so' + ["470.161.03"]='libnvidia-encode.so' ["495.29.05"]='libnvidia-encode.so' ["495.44"]='libnvidia-encode.so' ["495.46"]='libnvidia-encode.so'