linux: add driver version 450.57

This commit is contained in:
Vladislav Yarmak 2020-07-09 16:32:25 +03:00
parent 72c7b3e45a
commit daf91e66e5
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-450.51.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-450.57-brightgreen.svg)
---
@ -95,6 +95,7 @@ Requirements:
| 450.36.06 | YES | YES | [Driver link](https://developer.download.nvidia.com/compute/cuda/11.0.1/local_installers/cuda_11.0.1_450.36.06_linux.run) |
| 450.51 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/450.51/NVIDIA-Linux-x86_64-450.51.run) |
| 450.51.05 | YES | YES | [Driver link](https://international.download.nvidia.com/tesla/450.51.05/NVIDIA-Linux-x86_64-450.51.05.run) |
| 450.57 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/450.57/NVIDIA-Linux-x86_64-450.57.run) |
## Synopsis

View File

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

View File

@ -72,6 +72,7 @@ declare -A patch_list=(
["450.36.06"]='s/\x85\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/\x31\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/'
["450.51"]='s/\x85\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/\x31\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/'
["450.51.05"]='s/\x85\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/\x31\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/'
["450.57"]='s/\x85\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/\x31\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/'
)
declare -A object_list=(
@ -104,6 +105,7 @@ declare -A object_list=(
["450.36.06"]='libnvidia-fbc.so'
["450.51"]='libnvidia-fbc.so'
["450.51.05"]='libnvidia-fbc.so'
["450.57"]='libnvidia-fbc.so'
)
check_version_supported () {

View File

@ -109,6 +109,7 @@ declare -A patch_list=(
["450.36.06"]='s/\x85\xc0\x41\x89\xc4\x75\x1f/\x31\xc0\x41\x89\xc4\x75\x1f/g'
["450.51"]='s/\x85\xc0\x41\x89\xc4\x75\x1f/\x31\xc0\x41\x89\xc4\x75\x1f/g'
["450.51.05"]='s/\x85\xc0\x41\x89\xc4\x75\x1f/\x31\xc0\x41\x89\xc4\x75\x1f/g'
["450.57"]='s/\x85\xc0\x41\x89\xc4\x75\x1f/\x31\xc0\x41\x89\xc4\x75\x1f/g'
)
declare -A object_list=(
@ -176,6 +177,7 @@ declare -A object_list=(
["450.36.06"]='libnvidia-encode.so'
["450.51"]='libnvidia-encode.so'
["450.51.05"]='libnvidia-encode.so'
["450.57"]='libnvidia-encode.so'
)
check_version_supported () {