linux: new patch for 525.60.13

This commit is contained in:
Jai Luthra 2022-12-10 21:24:31 +05:30 committed by Jai Luthra
parent 5a4b9c749b
commit 3a4808f2e0
4 changed files with 11 additions and 1 deletions

View File

@ -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.60.11-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.13-brightgreen.svg)
[NVENC patch](patch.sh) removes restriction on maximum number of simultaneous NVENC video encoding sessions imposed by Nvidia to consumer-grade GPUs.
@ -167,6 +167,7 @@ If you want to donate, please send it to your favorite open source organizations
| 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) |
| 525.60.13 | YES | YES | |
## Synopsis

View File

@ -805,6 +805,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"
},
{
"version": "525.60.13",
"nvenc_patch": true,
"nvfbc_patch": true
}
],
"example": {

View File

@ -157,6 +157,7 @@ declare -A patch_list=(
["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/'
["525.60.13"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/'
)
declare -A object_list=(
@ -262,6 +263,7 @@ declare -A object_list=(
["520.56.06"]='libnvidia-fbc.so'
["520.61.05"]='libnvidia-fbc.so'
["525.60.11"]='libnvidia-fbc.so'
["525.60.13"]='libnvidia-fbc.so'
)
check_version_supported () {

View File

@ -196,6 +196,7 @@ declare -A patch_list=(
["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'
["525.60.13"]='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=(
@ -338,6 +339,7 @@ declare -A object_list=(
["520.56.06"]='libnvidia-encode.so'
["520.61.05"]='libnvidia-encode.so'
["525.60.11"]='libnvidia-encode.so'
["525.60.13"]='libnvidia-encode.so'
)
check_version_supported () {