From e795fde7f182d53d72cf9e8bdbb5f6094e49ca19 Mon Sep 17 00:00:00 2001 From: guihkx <626206+guihkx@users.noreply.github.com> Date: Thu, 30 Mar 2023 14:55:40 -0300 Subject: [PATCH] linux: add patches for 470.182.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 da075a8..2843510 100644 --- a/README.md +++ b/README.md @@ -147,6 +147,7 @@ If you want to donate, please send it to your favorite open source organizations | 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) | +| 470.182.03 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/470.182.03/NVIDIA-Linux-x86_64-470.182.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 2765b46..b31449b 100644 --- a/drivers.json +++ b/drivers.json @@ -698,6 +698,12 @@ "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": "470.182.03", + "nvenc_patch": true, + "nvfbc_patch": true, + "driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/470.182.03/NVIDIA-Linux-x86_64-470.182.03.run" + }, { "version": "510.39.01", "nvenc_patch": true, diff --git a/patch-fbc.sh b/patch-fbc.sh index eeb846a..c0b4aaa 100755 --- a/patch-fbc.sh +++ b/patch-fbc.sh @@ -137,6 +137,7 @@ declare -A patch_list=( ["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/' + ["470.182.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/' @@ -250,6 +251,7 @@ declare -A object_list=( ["470.129.06"]='libnvidia-fbc.so' ["470.141.03"]='libnvidia-fbc.so' ["470.161.03"]='libnvidia-fbc.so' + ["470.182.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 f8dd115..dabf762 100755 --- a/patch.sh +++ b/patch.sh @@ -176,6 +176,7 @@ declare -A patch_list=( ["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' + ["470.182.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' @@ -326,6 +327,7 @@ declare -A object_list=( ["470.129.06"]='libnvidia-encode.so' ["470.141.03"]='libnvidia-encode.so' ["470.161.03"]='libnvidia-encode.so' + ["470.182.03"]='libnvidia-encode.so' ["495.29.05"]='libnvidia-encode.so' ["495.44"]='libnvidia-encode.so' ["495.46"]='libnvidia-encode.so'