Merge pull request #238 from Snawoot/linux_440.64

linux: driver version 440.64
This commit is contained in:
Snawoot 2020-02-28 17:15:32 +02:00 committed by GitHub
commit 4941c4c3c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 1 deletions

View File

@ -1,6 +1,6 @@
# nvidia-patch
![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-440.59-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-440.64-brightgreen.svg)
This patch removes restriction on maximum number of simultaneous NVENC video encoding sessions imposed by Nvidia to consumer-grade GPUs.
@ -63,6 +63,7 @@ Requirements:
| 440.58.01 | :heavy_check_mark: | :heavy_check_mark: | |
| 440.58.02 | :heavy_check_mark: | :heavy_check_mark: | |
| 440.59 | :heavy_check_mark: | :heavy_check_mark: | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/440.59/NVIDIA-Linux-x86_64-440.59.run) |
| 440.64 | :heavy_check_mark: | :heavy_check_mark: | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/440.64/NVIDIA-Linux-x86_64-440.64.run) |
## Synopsis

View File

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

View File

@ -54,6 +54,7 @@ declare -A patch_list=(
["440.58.01"]='s/\x85\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/\x31\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/'
["440.58.02"]='s/\x85\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/\x31\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/'
["440.59"]='s/\x85\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/\x31\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/'
["440.64"]='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=(
@ -68,6 +69,7 @@ declare -A object_list=(
["440.58.01"]='libnvidia-fbc.so'
["440.58.02"]='libnvidia-fbc.so'
["440.59"]='libnvidia-fbc.so'
["440.64"]='libnvidia-fbc.so'
)
check_version_supported () {

View File

@ -90,6 +90,7 @@ declare -A patch_list=(
["440.58.01"]='s/\x85\xc0\x41\x89\xc4\x75\x1f/\x31\xc0\x41\x89\xc4\x75\x1f/g'
["440.58.02"]='s/\x85\xc0\x41\x89\xc4\x75\x1f/\x31\xc0\x41\x89\xc4\x75\x1f/g'
["440.59"]='s/\x85\xc0\x41\x89\xc4\x75\x1f/\x31\xc0\x41\x89\xc4\x75\x1f/g'
["440.64"]='s/\x85\xc0\x41\x89\xc4\x75\x1f/\x31\xc0\x41\x89\xc4\x75\x1f/g'
)
declare -A object_list=(
@ -138,6 +139,7 @@ declare -A object_list=(
["440.58.01"]='libnvidia-encode.so'
["440.58.02"]='libnvidia-encode.so'
["440.59"]='libnvidia-encode.so'
["440.64"]='libnvidia-encode.so'
)
check_version_supported () {