From ff6a75a729e7998f57bbf30ca7249b2beb0e222f Mon Sep 17 00:00:00 2001 From: Jai Luthra Date: Tue, 29 Nov 2022 22:34:04 +0530 Subject: [PATCH] linux: new bytecode patch for 525.60.11 --- 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 3c08063..9be099f 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-520.61.05-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.60.11-brightgreen.svg) [NVENC patch](patch.sh) removes restriction on maximum number of simultaneous NVENC video encoding sessions imposed by Nvidia to consumer-grade GPUs. @@ -165,6 +165,7 @@ If you want to donate, please send it to your favorite open source organizations | 515.76 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/515.76/NVIDIA-Linux-x86_64-515.76.run) | | 520.56.06 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/520.56.06/NVIDIA-Linux-x86_64-520.56.06.run) | | 520.61.05 | YES | YES | [Driver link](https://developer.download.nvidia.com/compute/cuda/11.8.0/local_installers/cuda_11.8.0_520.61.05_linux.run) | +| 525.60.11 | YES | YES | [Driver link](http://international.download.nvidia.com/XFree86/Linux-x86_64/525.60.11/NVIDIA-Linux-x86_64-525.60.11.run) | ## Synopsis diff --git a/drivers.json b/drivers.json index 536056e..5dad4d6 100644 --- a/drivers.json +++ b/drivers.json @@ -793,6 +793,12 @@ "nvenc_patch": true, "nvfbc_patch": true, "driver_url": "https://developer.download.nvidia.com/compute/cuda/11.8.0/local_installers/cuda_11.8.0_520.61.05_linux.run" + }, + { + "version": "525.60.11", + "nvenc_patch": true, + "nvfbc_patch": true, + "driver_url": "http://international.download.nvidia.com/XFree86/Linux-x86_64/525.60.11/NVIDIA-Linux-x86_64-525.60.11.run" } ], "example": { diff --git a/patch-fbc.sh b/patch-fbc.sh index 232c484..b3a6d1a 100755 --- a/patch-fbc.sh +++ b/patch-fbc.sh @@ -155,6 +155,7 @@ declare -A patch_list=( ["515.76"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' ["520.56.06"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' ["520.61.05"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' + ["525.60.11"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' ) declare -A object_list=( @@ -258,6 +259,7 @@ declare -A object_list=( ["515.76"]='libnvidia-fbc.so' ["520.56.06"]='libnvidia-fbc.so' ["520.61.05"]='libnvidia-fbc.so' + ["525.60.11"]='libnvidia-fbc.so' ) check_version_supported () { diff --git a/patch.sh b/patch.sh index a6fc994..bbb3379 100755 --- a/patch.sh +++ b/patch.sh @@ -194,6 +194,7 @@ declare -A patch_list=( ["515.76"]='s/\xe8\xd5\x1e\xff\xff\x85\xc0\x41\x89\xc4/\xe8\xd5\x1e\xff\xff\x29\xc0\x41\x89\xc4/g' ["520.56.06"]='s/\xe8\xa5\xc8\xfe\xff\x85\xc0\x41\x89\xc4/\xe8\xa5\xc8\xfe\xff\x29\xc0\x41\x89\xc4/g' ["520.61.05"]='s/\xe8\xa5\xc8\xfe\xff\x85\xc0\x41\x89\xc4/\xe8\xa5\xc8\xfe\xff\x29\xc0\x41\x89\xc4/g' + ["525.60.11"]='s/\xe8\xf5\xc6\xfe\xff\x85\xc0\x41\x89\xc4/\xe8\xf5\xc6\xfe\xff\x29\xc0\x41\x89\xc4/g' ) declare -A object_list=( @@ -334,6 +335,7 @@ declare -A object_list=( ["515.76"]='libnvidia-encode.so' ["520.56.06"]='libnvidia-encode.so' ["520.61.05"]='libnvidia-encode.so' + ["525.60.11"]='libnvidia-encode.so' ) check_version_supported () {