From 9e69e3526b089b5130f9aa7230eb3a8d852554b1 Mon Sep 17 00:00:00 2001 From: Jai Luthra Date: Sun, 16 Apr 2023 13:38:09 +0530 Subject: [PATCH] linux: fix the patch for 525.105.17 Signed-off-by: Jai Luthra --- 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 678d9d2..aef709b 100644 --- a/README.md +++ b/README.md @@ -174,6 +174,7 @@ If you want to donate, please send it to your favorite open source organizations | 525.85.05 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/525.85.05/NVIDIA-Linux-x86_64-525.85.05.run) | | 525.85.12 | YES | YES | | | 525.89.02 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/525.89.02/NVIDIA-Linux-x86_64-525.89.02.run) | +| 525.105.17 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/525.105.17/NVIDIA-Linux-x86_64-525.105.17.run) | | 530.30.02 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/530.30.02/NVIDIA-Linux-x86_64-530.30.02.run) | | 530.41.03 | YES | YES | [Driver link](http://international.download.nvidia.com/XFree86/Linux-x86_64/530.41.03/NVIDIA-Linux-x86_64-530.41.03.run) | diff --git a/drivers.json b/drivers.json index ca5f9a7..d7fe818 100644 --- a/drivers.json +++ b/drivers.json @@ -846,6 +846,12 @@ "nvfbc_patch": true, "driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/525.89.02/NVIDIA-Linux-x86_64-525.89.02.run" }, + { + "version": "525.105.17", + "nvenc_patch": true, + "nvfbc_patch": true, + "driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/525.105.17/NVIDIA-Linux-x86_64-525.105.17.run" + }, { "version": "530.30.02", "nvenc_patch": true, diff --git a/patch-fbc.sh b/patch-fbc.sh index c0b4aaa..3d4bfbd 100755 --- a/patch-fbc.sh +++ b/patch-fbc.sh @@ -164,6 +164,7 @@ declare -A patch_list=( ["525.85.05"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' ["525.85.12"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' ["525.89.02"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' + ["525.105.17"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' ["530.30.02"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' ["530.41.03"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' ) @@ -278,6 +279,7 @@ declare -A object_list=( ["525.85.05"]='libnvidia-fbc.so' ["525.85.12"]='libnvidia-fbc.so' ["525.89.02"]='libnvidia-fbc.so' + ["525.105.17"]='libnvidia-fbc.so' ["530.30.02"]='libnvidia-fbc.so' ["530.41.03"]='libnvidia-fbc.so' ) diff --git a/patch.sh b/patch.sh index dabf762..cfb3a19 100755 --- a/patch.sh +++ b/patch.sh @@ -203,6 +203,7 @@ declare -A patch_list=( ["525.85.05"]='s/\xe8\xf5\xc6\xfe\xff\x85\xc0\x41\x89\xc4/\xe8\xf5\xc6\xfe\xff\x29\xc0\x41\x89\xc4/g' ["525.85.12"]='s/\xe8\xf5\xc6\xfe\xff\x85\xc0\x41\x89\xc4/\xe8\xf5\xc6\xfe\xff\x29\xc0\x41\x89\xc4/g' ["525.89.02"]='s/\xe8\x65\xc7\xfe\xff\x85\xc0\x41\x89\xc4/\xe8\x65\xc7\xfe\xff\x29\xc0\x41\x89\xc4/g' + ["525.105.17"]='s/\xe8\x55\xc4\xfe\xff\x85\xc0\x41\x89\xc4/\xe8\x55\xc4\xfe\xff\x29\xc0\x41\x89\xc4/g' ["530.30.02"]='s/\xe8\x15\x6f\xfe\xff\x85\xc0\x41\x89\xc4/\xe8\x15\x6f\xfe\xff\x29\xc0\x41\x89\xc4/g' ["530.41.03"]='s/\xe8\xc5\x6b\xfe\xff\x85\xc0\x41\x89\xc4/\xe8\xc5\x6b\xfe\xff\x29\xc0\x41\x89\xc4/g' ) @@ -354,6 +355,7 @@ declare -A object_list=( ["525.85.05"]='libnvidia-encode.so' ["525.85.12"]='libnvidia-encode.so' ["525.89.02"]='libnvidia-encode.so' + ["525.105.17"]='libnvidia-encode.so' ["530.30.02"]='libnvidia-encode.so' ["530.41.03"]='libnvidia-encode.so' )