From dde0acaf3afd0765c0cdcbd63c05b9f7507c8ac0 Mon Sep 17 00:00:00 2001 From: Jai Luthra Date: Sat, 11 Feb 2023 16:05:53 +0530 Subject: [PATCH] linux: patch for 525.89.02 --- README.md | 3 ++- drivers.json | 6 ++++++ patch-fbc.sh | 2 ++ patch.sh | 2 ++ 4 files changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 517a9b2..abf5275 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ NVENC and NvFBC patches for Nvidia drivers ========================================== -![GitHub last commit](https://img.shields.io/github/last-commit/keylase/nvidia-patch.svg) ![Latest version](https://img.shields.io/badge/latest%20linux%20driver%20version-525.85.12-brightgreen.svg) +![GitHub last commit](https://img.shields.io/github/last-commit/keylase/nvidia-patch.svg) ![Latest version](https://img.shields.io/badge/latest%20linux%20driver%20version-525.89.02-brightgreen.svg) [NVENC patch](patch.sh) removes restriction on maximum number of simultaneous NVENC video encoding sessions imposed by Nvidia to consumer-grade GPUs. @@ -172,6 +172,7 @@ If you want to donate, please send it to your favorite open source organizations | 525.78.01 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/525.78.01/NVIDIA-Linux-x86_64-525.78.01.run) | | 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) | ## Synopsis diff --git a/drivers.json b/drivers.json index 1a3ad68..32f85de 100644 --- a/drivers.json +++ b/drivers.json @@ -833,6 +833,12 @@ "version": "525.85.12", "nvenc_patch": true, "nvfbc_patch": true + }, + { + "version": "525.89.02", + "nvenc_patch": true, + "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" } ], "example": { diff --git a/patch-fbc.sh b/patch-fbc.sh index eb2b49c..e6906c5 100755 --- a/patch-fbc.sh +++ b/patch-fbc.sh @@ -162,6 +162,7 @@ declare -A patch_list=( ["525.78.01"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' ["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/' ) declare -A object_list=( @@ -272,6 +273,7 @@ declare -A object_list=( ["525.78.01"]='libnvidia-fbc.so' ["525.85.05"]='libnvidia-fbc.so' ["525.85.12"]='libnvidia-fbc.so' + ["525.89.02"]='libnvidia-fbc.so' ) check_version_supported () { diff --git a/patch.sh b/patch.sh index 0047e54..bd112fa 100755 --- a/patch.sh +++ b/patch.sh @@ -201,6 +201,7 @@ declare -A patch_list=( ["525.78.01"]='s/\xe8\xf5\xc6\xfe\xff\x85\xc0\x41\x89\xc4/\xe8\xf5\xc6\xfe\xff\x29\xc0\x41\x89\xc4/g' ["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' ) declare -A object_list=( @@ -348,6 +349,7 @@ declare -A object_list=( ["525.78.01"]='libnvidia-encode.so' ["525.85.05"]='libnvidia-encode.so' ["525.85.12"]='libnvidia-encode.so' + ["525.89.02"]='libnvidia-encode.so' ) check_version_supported () {