linux: new bytecode patch for 530.30.02

This commit is contained in:
Jai Luthra 2023-03-01 13:45:10 +05:30
parent 464b6377ec
commit a71c22379d
No known key found for this signature in database
GPG Key ID: 43DE91F9249A7145
4 changed files with 12 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.89.02-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-530.30.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.
@ -173,6 +173,7 @@ If you want to donate, please send it to your favorite open source organizations
| 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) |
| 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) |
## Synopsis

View File

@ -839,6 +839,12 @@
"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"
},
{
"version": "530.30.02",
"nvenc_patch": true,
"nvfbc_patch": true,
"driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/530.30.02/NVIDIA-Linux-x86_64-530.30.02.run"
}
],
"example": {

View File

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

View File

@ -202,6 +202,7 @@ declare -A patch_list=(
["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'
["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'
)
declare -A object_list=(
@ -350,6 +351,7 @@ declare -A object_list=(
["525.85.05"]='libnvidia-encode.so'
["525.85.12"]='libnvidia-encode.so'
["525.89.02"]='libnvidia-encode.so'
["530.30.02"]='libnvidia-encode.so'
)
check_version_supported () {