From 3358c5d92e61d42c1557432e82ccda445d3fa082 Mon Sep 17 00:00:00 2001 From: Jai Luthra Date: Sat, 3 Jun 2023 21:12:18 +0530 Subject: [PATCH] linux: patch for 525.116.04 --- 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 ec5a648..3fe3b7d 100644 --- a/README.md +++ b/README.md @@ -177,6 +177,7 @@ If you want to donate, please send it to your favorite open source organizations | 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) | | 525.116.03 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/525.116.03/NVIDIA-Linux-x86_64-525.116.03.run) | +| 525.116.04 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/525.116.04/NVIDIA-Linux-x86_64-525.116.04.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) | | 535.43.02 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/535.43.02/NVIDIA-Linux-x86_64-535.43.02.run) | diff --git a/drivers.json b/drivers.json index c25960e..25dca0f 100644 --- a/drivers.json +++ b/drivers.json @@ -881,6 +881,12 @@ "nvenc_patch": true, "nvfbc_patch": true, "driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/535.43.02/NVIDIA-Linux-x86_64-535.43.02.run" + }, + { + "version": "525.116.04", + "nvenc_patch": true, + "nvfbc_patch": true, + "driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/525.116.04/NVIDIA-Linux-x86_64-525.116.04.run" } ], "example": { diff --git a/patch-fbc.sh b/patch-fbc.sh index 58cc642..cc4be41 100755 --- a/patch-fbc.sh +++ b/patch-fbc.sh @@ -167,6 +167,7 @@ declare -A patch_list=( ["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/' ["525.116.03"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' + ["525.116.04"]='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/' ["535.43.02"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' @@ -285,6 +286,7 @@ declare -A object_list=( ["525.89.02"]='libnvidia-fbc.so' ["525.105.17"]='libnvidia-fbc.so' ["525.116.03"]='libnvidia-fbc.so' + ["525.116.04"]='libnvidia-fbc.so' ["530.30.02"]='libnvidia-fbc.so' ["530.41.03"]='libnvidia-fbc.so' ["535.43.02"]='libnvidia-fbc.so' diff --git a/patch.sh b/patch.sh index c599655..6fde246 100755 --- a/patch.sh +++ b/patch.sh @@ -206,6 +206,7 @@ declare -A patch_list=( ["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' ["525.116.03"]='s/\xe8\x55\xc4\xfe\xff\x85\xc0\x41\x89\xc4/\xe8\x55\xc4\xfe\xff\x29\xc0\x41\x89\xc4/g' + ["525.116.04"]='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' ["535.43.02"]='s/\xe8\xa5\x9e\xfe\xff\x85\xc0\x41\x89\xc4/\xe8\xa5\x9e\xfe\xff\x29\xc0\x41\x89\xc4/g' @@ -361,6 +362,7 @@ declare -A object_list=( ["525.89.02"]='libnvidia-encode.so' ["525.105.17"]='libnvidia-encode.so' ["525.116.03"]='libnvidia-encode.so' + ["525.116.04"]='libnvidia-encode.so' ["530.30.02"]='libnvidia-encode.so' ["530.41.03"]='libnvidia-encode.so' ["535.43.02"]='libnvidia-encode.so'