From 2c25f104a8f4e897cf9d9d38576b8036d699cef3 Mon Sep 17 00:00:00 2001 From: feffe Date: Mon, 8 Nov 2021 13:57:10 +0100 Subject: [PATCH] Support for 495.44 --- 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 edae422..399244d 100644 --- a/README.md +++ b/README.md @@ -147,6 +147,7 @@ git clone https://ipfs.io/ipns/Qmed4r8yrBP162WK1ybd1DJWhLUi4t6mGuBoB9fLtjxR7u nv | 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) | +| 495.44 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/495.44/NVIDIA-Linux-x86_64-495.44.run) | ## Synopsis diff --git a/drivers.json b/drivers.json index bedca80..444f71f 100644 --- a/drivers.json +++ b/drivers.json @@ -637,6 +637,12 @@ "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" + }, + { + "version": "495.44", + "nvenc_patch": true, + "nvfbc_patch": true, + "driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/495.44/NVIDIA-Linux-x86_64-495.44.run" } ], "example": { diff --git a/patch-fbc.sh b/patch-fbc.sh index 0209fd5..e39e4bb 100755 --- a/patch-fbc.sh +++ b/patch-fbc.sh @@ -130,6 +130,7 @@ declare -A patch_list=( ["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/' + ["495.44"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' ) declare -A object_list=( @@ -208,6 +209,7 @@ declare -A object_list=( ["470.63.01"]='libnvidia-fbc.so' ["470.74"]='libnvidia-fbc.so' ["495.29.05"]='libnvidia-fbc.so' + ["495.44"]='libnvidia-fbc.so' ) check_version_supported () { diff --git a/patch.sh b/patch.sh index 37027ba..96a28df 100755 --- a/patch.sh +++ b/patch.sh @@ -168,6 +168,7 @@ declare -A patch_list=( ["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' + ["495.44"]='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=( @@ -282,6 +283,7 @@ declare -A object_list=( ["470.63.01"]='libnvidia-encode.so' ["470.74"]='libnvidia-encode.so' ["495.29.05"]='libnvidia-encode.so' + ["495.44"]='libnvidia-encode.so' ) check_version_supported () {