From f4bed4a94260af717e408b19f3eca1daa12921aa Mon Sep 17 00:00:00 2001 From: Jai Luthra Date: Sun, 2 Jul 2023 18:31:53 +0530 Subject: [PATCH] linux: patch for 525.125.06 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 425deb3..f4ee9d5 100644 --- a/README.md +++ b/README.md @@ -179,6 +179,7 @@ If you want to donate, please send it to your favorite open source organizations | 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) | +| 525.125.06 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/525.125.06/NVIDIA-Linux-x86_64-525.125.06.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 c3d1727..d97988c 100644 --- a/drivers.json +++ b/drivers.json @@ -899,6 +899,12 @@ "nvenc_patch": true, "nvfbc_patch": true, "driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/535.54.03/NVIDIA-Linux-x86_64-535.54.03.run" + }, + { + "version": "525.125.06", + "nvenc_patch": true, + "nvfbc_patch": true, + "driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/525.125.06/NVIDIA-Linux-x86_64-525.125.06.run" } ], "example": { diff --git a/patch-fbc.sh b/patch-fbc.sh index 22707a1..c40d507 100755 --- a/patch-fbc.sh +++ b/patch-fbc.sh @@ -169,6 +169,7 @@ declare -A patch_list=( ["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/' + ["525.125.06"]='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/' @@ -290,6 +291,7 @@ declare -A object_list=( ["525.105.17"]='libnvidia-fbc.so' ["525.116.03"]='libnvidia-fbc.so' ["525.116.04"]='libnvidia-fbc.so' + ["525.125.06"]='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 1cc240e..f96753c 100755 --- a/patch.sh +++ b/patch.sh @@ -208,6 +208,7 @@ declare -A patch_list=( ["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' + ["525.125.06"]='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' @@ -366,6 +367,7 @@ declare -A object_list=( ["525.105.17"]='libnvidia-encode.so' ["525.116.03"]='libnvidia-encode.so' ["525.116.04"]='libnvidia-encode.so' + ["525.125.06"]='libnvidia-encode.so' ["530.30.02"]='libnvidia-encode.so' ["530.41.03"]='libnvidia-encode.so' ["535.43.02"]='libnvidia-encode.so'