From 9a1062aed9c7372dda759a7bc523e8d563d074b8 Mon Sep 17 00:00:00 2001 From: mpxc Date: Thu, 28 Oct 2021 23:25:48 +0200 Subject: [PATCH] Support for 495.29.05 --- 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 250955e..acfccf1 100644 --- a/README.md +++ b/README.md @@ -146,6 +146,7 @@ git clone https://ipfs.io/ipns/Qmed4r8yrBP162WK1ybd1DJWhLUi4t6mGuBoB9fLtjxR7u nv | 470.62.05 | 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) | +| 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) | ## Synopsis diff --git a/drivers.json b/drivers.json index d839a58..bedca80 100644 --- a/drivers.json +++ b/drivers.json @@ -631,6 +631,12 @@ "version": "470.62.05", "nvenc_patch": true, "nvfbc_patch": true + }, + { + "version": "495.29.05", + "nvenc_patch": true, + "nvfbc_patch": true, + "driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/495.29.05/NVIDIA-Linux-x86_64-495.29.05.run" } ], "example": { diff --git a/patch-fbc.sh b/patch-fbc.sh index 518d751..0209fd5 100755 --- a/patch-fbc.sh +++ b/patch-fbc.sh @@ -129,6 +129,7 @@ declare -A patch_list=( ["470.62.05"]='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/' + ["495.29.05"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' ) declare -A object_list=( @@ -206,6 +207,7 @@ declare -A object_list=( ["470.62.05"]='libnvidia-fbc.so' ["470.63.01"]='libnvidia-fbc.so' ["470.74"]='libnvidia-fbc.so' + ["495.29.05"]='libnvidia-fbc.so' ) check_version_supported () { diff --git a/patch.sh b/patch.sh index e76992b..37027ba 100755 --- a/patch.sh +++ b/patch.sh @@ -167,6 +167,7 @@ declare -A patch_list=( ["470.62.05"]='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' + ["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' ) declare -A object_list=( @@ -280,6 +281,7 @@ declare -A object_list=( ["470.62.05"]='libnvidia-encode.so' ["470.63.01"]='libnvidia-encode.so' ["470.74"]='libnvidia-encode.so' + ["495.29.05"]='libnvidia-encode.so' ) check_version_supported () {