linux: add patch for version 440.33.01

This commit is contained in:
Vladislav Yarmak 2019-11-19 21:20:25 +02:00
parent 2c32fde5af
commit aba6e5778d
3 changed files with 8 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.31-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.33.01-brightgreen.svg)
This patch removes restriction on maximum number of simultaneous NVENC video encoding sessions imposed by Nvidia to consumer-grade GPUs.
@ -46,6 +46,7 @@ Requirements:
- [435.21](https://international.download.nvidia.com/XFree86/Linux-x86_64/435.21/NVIDIA-Linux-x86_64-435.21.run)
- [440.26](https://international.download.nvidia.com/XFree86/Linux-x86_64/440.26/NVIDIA-Linux-x86_64-440.26.run)
- [440.31](https://international.download.nvidia.com/XFree86/Linux-x86_64/440.31/NVIDIA-Linux-x86_64-440.31.run)
- [440.33.01](https://international.download.nvidia.com/tesla/440.33.01/NVIDIA-Linux-x86_64-440.33.01.run)
## Synopsis

View File

@ -137,6 +137,10 @@
{
"version": "440.31",
"driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/440.31/NVIDIA-Linux-x86_64-440.31.run"
},
{
"version": "440.33.01",
"driver_url": "https://international.download.nvidia.com/tesla/440.33.01/NVIDIA-Linux-x86_64-440.33.01.run"
}
],
"example": {

View File

@ -80,6 +80,7 @@ declare -A patch_list=(
["435.21"]='s/\x00\x00\x00\x84\xc0\x0f\x84\x0f\xfd\xff\xff/\x00\x00\x00\x84\xc0\x90\x90\x90\x90\x90\x90/g'
["440.26"]='s/\xff\x90\x98\x00\x00\x00\x84\xc0\x0f\x84/\xff\x90\x98\x00\x00\x00\x0c\x01\x0f\x84/g'
["440.31"]='s/\xff\x90\x98\x00\x00\x00\x84\xc0\x0f\x84/\xff\x90\x98\x00\x00\x00\x0c\x01\x0f\x84/g'
["440.33.01"]='s/\xff\x90\x98\x00\x00\x00\x84\xc0\x0f\x84/\xff\x90\x98\x00\x00\x00\x0c\x01\x0f\x84/g'
)
declare -A object_list=(
@ -118,6 +119,7 @@ declare -A object_list=(
["435.21"]='libnvcuvid.so'
["440.26"]='libnvcuvid.so'
["440.31"]='libnvcuvid.so'
["440.33.01"]='libnvcuvid.so'
)
check_version_supported () {