linux: patch for 535.86.05

This commit is contained in:
detiam 2023-07-20 12:13:50 +08:00
parent d62b100537
commit a3d15fe819
No known key found for this signature in database
GPG Key ID: 3BF2B1941281CBA5
4 changed files with 11 additions and 0 deletions

View File

@ -184,6 +184,7 @@ If you want to donate, please send it to your favorite open source organizations
| 530.41.03 | YES | YES | [Driver link](http://international.download.nvidia.com/XFree86/Linux-x86_64/530.41.03/NVIDIA-Linux-x86_64-530.41.03.run) |
| 535.43.02 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/535.43.02/NVIDIA-Linux-x86_64-535.43.02.run) |
| 535.54.03 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/535.54.03/NVIDIA-Linux-x86_64-535.54.03.run) |
| 535.86.05 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/535.86.05/NVIDIA-Linux-x86_64-535.86.05.run) |
## Synopsis

View File

@ -905,6 +905,12 @@
"nvenc_patch": true,
"nvfbc_patch": true,
"driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/525.125.06/NVIDIA-Linux-x86_64-525.125.06.run"
},
{
"version": "535.86.05",
"nvenc_patch": true,
"nvfbc_patch": true,
"driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/535.86.05/NVIDIA-Linux-x86_64-535.86.05.run"
}
],
"example": {

View File

@ -174,6 +174,7 @@ declare -A patch_list=(
["530.41.03"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/'
["535.43.02"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/'
["535.54.03"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/'
["535.86.05"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x01\x90\x90\x48/'
)
declare -A object_list=(
@ -296,6 +297,7 @@ declare -A object_list=(
["530.41.03"]='libnvidia-fbc.so'
["535.43.02"]='libnvidia-fbc.so'
["535.54.03"]='libnvidia-fbc.so'
["535.86.05"]='libnvidia-fbc.so'
)
check_version_supported () {

View File

@ -213,6 +213,7 @@ declare -A patch_list=(
["530.41.03"]='s/\xe8\xc5\x6b\xfe\xff\x85\xc0\x41\x89\xc4/\xe8\xc5\x6b\xfe\xff\x29\xc0\x41\x89\xc4/g'
["535.43.02"]='s/\xe8\xa5\x9e\xfe\xff\x85\xc0\x41\x89\xc4/\xe8\xa5\x9e\xfe\xff\x29\xc0\x41\x89\xc4/g'
["535.54.03"]='s/\xe8\xa5\x9e\xfe\xff\x85\xc0\x41\x89\xc4/\xe8\xa5\x9e\xfe\xff\x29\xc0\x41\x89\xc4/g'
["535.86.05"]='s/\xe8\x05\xa0\xfe\xff\x85\xc0\x41\x89\xc4/\xe8\x05\xa0\xfe\xff\x29\xc0\x41\x89\xc4/g'
)
declare -A object_list=(
@ -372,6 +373,7 @@ declare -A object_list=(
["530.41.03"]='libnvidia-encode.so'
["535.43.02"]='libnvidia-encode.so'
["535.54.03"]='libnvidia-encode.so'
["535.86.05"]='libnvidia-encode.so'
)
check_version_supported () {