From fd81235542579671af7c6ac70220db5516cb3b0f Mon Sep 17 00:00:00 2001 From: guihkx Date: Wed, 3 Aug 2022 13:47:06 -0300 Subject: [PATCH] linux: add patches for 470.141.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 29bfa64..8bc6f68 100644 --- a/README.md +++ b/README.md @@ -155,6 +155,7 @@ git clone https://ipfs.io/ipns/Qmed4r8yrBP162WK1ybd1DJWhLUi4t6mGuBoB9fLtjxR7u nv | 470.94 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/470.94/NVIDIA-Linux-x86_64-470.94.run) | | 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) | | 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 0dd1d18..10d0c67 100644 --- a/drivers.json +++ b/drivers.json @@ -686,6 +686,12 @@ "nvfbc_patch": true, "driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/470.129.06/NVIDIA-Linux-x86_64-470.129.06.run" }, + { + "version": "470.141.03", + "nvenc_patch": true, + "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": "510.39.01", "nvenc_patch": true, diff --git a/patch-fbc.sh b/patch-fbc.sh index 1286f9f..927451b 100755 --- a/patch-fbc.sh +++ b/patch-fbc.sh @@ -135,6 +135,7 @@ declare -A patch_list=( ["470.94"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' ["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/' ["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/' @@ -232,6 +233,7 @@ declare -A object_list=( ["470.94"]='libnvidia-fbc.so' ["470.103.01"]='libnvidia-fbc.so' ["470.129.06"]='libnvidia-fbc.so' + ["470.141.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 420beb4..eb6658f 100755 --- a/patch.sh +++ b/patch.sh @@ -174,6 +174,7 @@ declare -A patch_list=( ["470.94"]='s/\xe8\x25\x1C\xff\xff\x85\xc0\x41\x89\xc4/\xe8\x25\x1C\xff\xff\x29\xc0\x41\x89\xc4/g' ["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' ["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' @@ -308,6 +309,7 @@ declare -A object_list=( ["470.94"]='libnvidia-encode.so' ["470.103.01"]='libnvidia-encode.so' ["470.129.06"]='libnvidia-encode.so' + ["470.141.03"]='libnvidia-encode.so' ["495.29.05"]='libnvidia-encode.so' ["495.44"]='libnvidia-encode.so' ["495.46"]='libnvidia-encode.so'