linux: patch for 525.85.12

Version available from nvidia developer APT repository
This commit is contained in:
Yoann Laissus 2023-02-04 23:20:19 +01:00
parent f8f4ce72a8
commit 43a7a01717
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.85.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.85.12-brightgreen.svg)
[NVENC patch](patch.sh) removes restriction on maximum number of simultaneous NVENC video encoding sessions imposed by Nvidia to consumer-grade GPUs.
@ -171,6 +171,7 @@ If you want to donate, please send it to your favorite open source organizations
| 525.60.13 | YES | YES | |
| 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 | |
## Synopsis

View File

@ -828,6 +828,11 @@
"nvenc_patch": true,
"nvfbc_patch": true,
"driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/525.85.05/NVIDIA-Linux-x86_64-525.85.05.run"
},
{
"version": "525.85.12",
"nvenc_patch": true,
"nvfbc_patch": true
}
],
"example": {

View File

@ -161,6 +161,7 @@ declare -A patch_list=(
["525.60.13"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/'
["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/'
)
declare -A object_list=(
@ -270,6 +271,7 @@ declare -A object_list=(
["525.60.13"]='libnvidia-fbc.so'
["525.78.01"]='libnvidia-fbc.so'
["525.85.05"]='libnvidia-fbc.so'
["525.85.12"]='libnvidia-fbc.so'
)
check_version_supported () {

View File

@ -200,6 +200,7 @@ declare -A patch_list=(
["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'
["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'
)
declare -A object_list=(
@ -346,6 +347,7 @@ declare -A object_list=(
["525.60.13"]='libnvidia-encode.so'
["525.78.01"]='libnvidia-encode.so'
["525.85.05"]='libnvidia-encode.so'
["525.85.12"]='libnvidia-encode.so'
)
check_version_supported () {