Merge pull request #335 from Snawoot/upd_20201029

Upd 20201029
This commit is contained in:
Snawoot 2020-10-29 22:37:37 +02:00 committed by GitHub
commit d29496940f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
17 changed files with 138 additions and 3 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-455.28-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-455.38-brightgreen.svg)
[NVENC patch](patch.sh) removes restriction on maximum number of simultaneous NVENC video encoding sessions imposed by Nvidia to consumer-grade GPUs.
@ -119,6 +119,7 @@ git clone https://ipfs.io/ipns/Qmed4r8yrBP162WK1ybd1DJWhLUi4t6mGuBoB9fLtjxR7u nv
| 455.26.01 | YES | YES | |
| 455.26.02 | YES | YES | |
| 455.28 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/455.28/NVIDIA-Linux-x86_64-455.28.run) |
| 455.38 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/455.38/NVIDIA-Linux-x86_64-455.38.run) |
## Synopsis

View File

@ -451,6 +451,12 @@
"version": "455.26.02",
"nvenc_patch": true,
"nvfbc_patch": true
},
{
"version": "455.38",
"nvenc_patch": true,
"nvfbc_patch": true,
"driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/455.38/NVIDIA-Linux-x86_64-455.38.run"
}
],
"example": {
@ -2107,6 +2113,60 @@
"patch64_url": "win10_x64/457.00/nvencodeapi64.1337",
"patch32_url": "win10_x64/457.00/nvencodeapi.1337",
"driver_url": ""
},
{
"os": "win10",
"product": "Quadro",
"version": "452.57",
"variant": "",
"patch64_url": "win10_x64/quadro_452.57/nvencodeapi64.1337",
"patch32_url": "win10_x64/quadro_452.57/nvencodeapi.1337",
"driver_url": "https://international.download.nvidia.com/Windows/Quadro_Certified/452.57/452.57-quadro-desktop-notebook-win10-64bit-international-whql.exe"
},
{
"os": "ws2012",
"product": "Quadro",
"version": "452.57",
"variant": "",
"patch64_url": "ws2012_x64/quadro_452.57/nvencodeapi64.1337",
"patch32_url": "ws2012_x64/quadro_452.57/nvencodeapi.1337",
"driver_url": "https://international.download.nvidia.com/Windows/Quadro_Certified/452.57/452.57-quadro-winserv-2012r2-64bit-international-whql.exe"
},
{
"os": "ws2016",
"product": "Quadro",
"version": "452.57",
"variant": "",
"patch64_url": "ws2016_x64/quadro_452.57/nvencodeapi64.1337",
"patch32_url": "ws2016_x64/quadro_452.57/nvencodeapi.1337",
"driver_url": "https://international.download.nvidia.com/Windows/Quadro_Certified/452.57/452.57-quadro-winserv-2016-2019-64bit-international-whql.exe"
},
{
"os": "win10",
"product": "Quadro",
"version": "457.09",
"variant": "",
"patch64_url": "win10_x64/quadro_457.09/nvencodeapi64.1337",
"patch32_url": "win10_x64/quadro_457.09/nvencodeapi.1337",
"driver_url": "https://international.download.nvidia.com/Windows/Quadro_Certified/457.09/457.09-quadro-desktop-notebook-win10-64bit-international-whql.exe"
},
{
"os": "win7",
"product": "GeForce",
"version": "457.09",
"variant": "",
"patch64_url": "win7_x64/457.09/nvencodeapi64.1337",
"patch32_url": "win7_x64/457.09/nvencodeapi.1337",
"driver_url": "https://international.download.nvidia.com/Windows/457.09/457.09-desktop-win8-win7-64bit-international-whql.exe"
},
{
"os": "win10",
"product": "GeForce",
"version": "457.09",
"variant": "",
"patch64_url": "win10_x64/457.09/nvencodeapi64.1337",
"patch32_url": "win10_x64/457.09/nvencodeapi.1337",
"driver_url": "https://international.download.nvidia.com/Windows/457.09/457.09-desktop-win10-64bit-international-whql.exe"
}
]
}

View File

@ -86,6 +86,7 @@ declare -A patch_list=(
["455.26.01"]='s/\x83\xf8\x01\x0f\x84\x85/\x83\xf8\x69\x0f\x84\x85/'
["455.26.02"]='s/\x83\xf8\x01\x0f\x84\x85/\x83\xf8\x69\x0f\x84\x85/'
["455.28"]='s/\x83\xf8\x01\x0f\x84\x85/\x83\xf8\x69\x0f\x84\x85/'
["455.38"]='s/\x83\xf8\x01\x0f\x84\x85/\x83\xf8\x69\x0f\x84\x85/'
)
declare -A object_list=(
@ -132,6 +133,7 @@ declare -A object_list=(
["455.26.01"]='libnvidia-fbc.so'
["455.26.02"]='libnvidia-fbc.so'
["455.28"]='libnvidia-fbc.so'
["455.38"]='libnvidia-fbc.so'
)
check_version_supported () {

View File

@ -124,6 +124,7 @@ declare -A patch_list=(
["455.26.01"]='s/\x85\xc0\x41\x89\xc4\x75\x1f/\x31\xc0\x41\x89\xc4\x75\x1f/g'
["455.26.02"]='s/\x85\xc0\x41\x89\xc4\x75\x1f/\x31\xc0\x41\x89\xc4\x75\x1f/g'
["455.28"]='s/\x85\xc0\x41\x89\xc4\x75\x1f/\x31\xc0\x41\x89\xc4\x75\x1f/g'
["455.38"]='s/\x85\xc0\x41\x89\xc4\x75\x1f/\x31\xc0\x41\x89\xc4\x75\x1f/g'
)
declare -A object_list=(
@ -206,6 +207,7 @@ declare -A object_list=(
["455.26.01"]='libnvidia-encode.so'
["455.26.02"]='libnvidia-encode.so'
["455.28"]='libnvidia-encode.so'
["455.38"]='libnvidia-encode.so'
)
check_version_supported () {

View File

@ -1,7 +1,7 @@
NVENC and NvFBC patches for Windows Nvidia drivers
==================================================
![GitHub last commit](https://img.shields.io/github/last-commit/keylase/nvidia-patch.svg) ![Latest GeForce version](https://img.shields.io/badge/latest%20GeForce%20version-457.00-brightgreen.svg) ![Latest Quadro version](https://img.shields.io/badge/latest%20Quadro%20version-456.71-blue.svg)
![GitHub last commit](https://img.shields.io/github/last-commit/keylase/nvidia-patch.svg) ![Latest GeForce version](https://img.shields.io/badge/latest%20GeForce%20version-457.09-brightgreen.svg) ![Latest Quadro version](https://img.shields.io/badge/latest%20Quadro%20version-457.09-blue.svg)
NVENC patch removes restriction on maximum number of simultaneous NVENC video encoding sessions imposed by Nvidia to consumer-grade GPUs.
@ -54,7 +54,7 @@ git clone https://ipfs.io/ipns/Qmed4r8yrBP162WK1ybd1DJWhLUi4t6mGuBoB9fLtjxR7u nv
5. Apply x86 library patch to corresponding file in `%WINDIR%\SysWOW64\` in the same way as previous one.
- *If patching fails, close all applications using nvencodeapi.dll, such as OBS Studio, Plex or Discord.*
**Example:** for 64bit Windows 10 running driver version 457.00, use `win10_x64/457.00/nvencodeapi64.1337` against `C:\WINDOWS\system32\nvencodeapi64.dll` **and** `win10_x64/457.00/nvencodeapi.1337` against `C:\WINDOWS\SysWOW64\nvencodeapi.dll`.
**Example:** for 64bit Windows 10 running driver version 457.09, use `win10_x64/457.09/nvencodeapi64.1337` against `C:\WINDOWS\system32\nvencodeapi64.dll` **and** `win10_x64/457.09/nvencodeapi.1337` against `C:\WINDOWS\SysWOW64\nvencodeapi.dll`.
If you experience issues with streaming software based on Nvidia streaming facilities (Nvidia Shield TV, Moonlight), you also have to import few registry values in order to workaround binary signature mismatch. See [**skip\_sig\_check** (clickable)](skip_sig_check) directory for instructions.
@ -145,6 +145,7 @@ Credits to [TroubleChute channel](https://www.youtube.com/channel/UCkih2oVTbXPEp
| GeForce | 456.71 Studio Driver | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/nsd_456.71/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/nsd_456.71/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/456.71/456.71-desktop-win10-64bit-international-nsd-whql.exe) |
| GeForce | 456.80 Vulkan Beta | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/456.80/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/456.80/nvencodeapi.1337) | |
| GeForce | 457.00 Vulkan Beta | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/457.00/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/457.00/nvencodeapi.1337) | |
| GeForce | 457.09 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/457.09/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/457.09/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/457.09/457.09-desktop-win10-64bit-international-whql.exe) |
| Product series | Version | x64 library patch | x86 library patch | Driver link |
@ -175,7 +176,9 @@ Credits to [TroubleChute channel](https://www.youtube.com/channel/UCkih2oVTbXPEp
| Quadro | 451.77 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/quadro_451.77/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/quadro_451.77/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/Quadro_Certified/451.77/451.77-quadro-desktop-notebook-win10-64bit-international-whql.exe) |
| Quadro | 452.06 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/quadro_452.06/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/quadro_452.06/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/Quadro_Certified/452.06/452.06-quadro-desktop-notebook-win10-64bit-international-whql.exe) |
| Quadro | 452.39 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/quadro_452.39/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/quadro_452.39/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/Quadro_Certified/452.39/452.39-quadro-desktop-notebook-win10-64bit-international-whql.exe) |
| Quadro | 452.57 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/quadro_452.57/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/quadro_452.57/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/Quadro_Certified/452.57/452.57-quadro-desktop-notebook-win10-64bit-international-whql.exe) |
| Quadro | 456.71 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/quadro_456.71/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/quadro_456.71/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/Quadro_Certified/456.71/456.71-quadro-desktop-notebook-win10-64bit-international-whql.exe) |
| Quadro | 457.09 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/quadro_457.09/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/quadro_457.09/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/Quadro_Certified/457.09/457.09-quadro-desktop-notebook-win10-64bit-international-whql.exe) |
### Windows 7, Windows 8, Windows 8.1 drivers
@ -224,6 +227,7 @@ Credits to [TroubleChute channel](https://www.youtube.com/channel/UCkih2oVTbXPEp
| GeForce | 456.62 Vulkan Beta | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/456.62/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/456.62/nvencodeapi.1337) | |
| GeForce | 456.71 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/456.71/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/456.71/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/456.71/456.71-desktop-win8-win7-64bit-international-whql.exe) |
| GeForce | 456.80 Vulkan Beta | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/456.80/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/456.80/nvencodeapi.1337) | |
| GeForce | 457.09 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/457.09/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/457.09/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/457.09/457.09-desktop-win8-win7-64bit-international-whql.exe) |
| Product series | Version | x64 library patch | x86 library patch | Driver link |
@ -262,6 +266,7 @@ Credits to [TroubleChute channel](https://www.youtube.com/channel/UCkih2oVTbXPEp
| Quadro | 451.48 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/ws2012_x64/quadro_451.48/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/ws2012_x64/quadro_451.48/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/Quadro_Certified/451.48/451.48-quadro-winserv-2012r2-64bit-international-whql.exe) |
| Quadro | 452.06 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/ws2012_x64/quadro_452.06/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/ws2012_x64/quadro_452.06/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/Quadro_Certified/452.06/452.06-quadro-winserv-2012r2-64bit-international-whql.exe) |
| Quadro | 452.39 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/ws2012_x64/quadro_452.39/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/ws2012_x64/quadro_452.39/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/Quadro_Certified/452.39/452.39-quadro-winserv-2012r2-64bit-international-whql.exe) |
| Quadro | 452.57 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/ws2012_x64/quadro_452.57/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/ws2012_x64/quadro_452.57/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/Quadro_Certified/452.57/452.57-quadro-winserv-2012r2-64bit-international-whql.exe) |
### Windows Server 2016, 2019 drivers
@ -285,6 +290,7 @@ Credits to [TroubleChute channel](https://www.youtube.com/channel/UCkih2oVTbXPEp
| Quadro | 451.48 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/ws2016_x64/quadro_451.48/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/ws2016_x64/quadro_451.48/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/Quadro_Certified/451.48/451.48-quadro-winserv-2016-2019-64bit-international-whql.exe) |
| Quadro | 452.06 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/ws2016_x64/quadro_452.06/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/ws2016_x64/quadro_452.06/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/Quadro_Certified/452.06/452.06-quadro-winserv-2016-2019-64bit-international-whql.exe) |
| Quadro | 452.39 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/ws2016_x64/quadro_452.39/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/ws2016_x64/quadro_452.39/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/Quadro_Certified/452.39/452.39-quadro-winserv-2016-2019-64bit-international-whql.exe) |
| Quadro | 452.57 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/ws2016_x64/quadro_452.57/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/ws2016_x64/quadro_452.57/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/Quadro_Certified/452.57/452.57-quadro-winserv-2016-2019-64bit-international-whql.exe) |
## Benchmarks

View File

@ -0,0 +1,6 @@
>nvencodeapi.dll
000000000002B2D6:89->33
000000000002B2D7:45->C0
000000000002B2D8:08->89
000000000002B2D9:85->45
000000000002B2DA:C0->08

View File

@ -0,0 +1,5 @@
>nvencodeapi64.dll
000000000002FFBA:8B->33
000000000002FFBB:F0->C0
000000000002FFBC:85->8B
000000000002FFBD:C0->F0

View File

@ -0,0 +1,6 @@
>nvencodeapi.dll
000000000002B236:89->33
000000000002B237:45->C0
000000000002B238:08->89
000000000002B239:85->45
000000000002B23A:C0->08

View File

@ -0,0 +1,5 @@
>nvencodeapi64.dll
000000000002FE9A:8B->33
000000000002FE9B:F0->C0
000000000002FE9C:85->8B
000000000002FE9D:C0->F0

View File

@ -0,0 +1,6 @@
>nvencodeapi.dll
000000000002B2D6:89->33
000000000002B2D7:45->C0
000000000002B2D8:08->89
000000000002B2D9:85->45
000000000002B2DA:C0->08

View File

@ -0,0 +1,5 @@
>nvencodeapi64.dll
000000000002FFBA:8B->33
000000000002FFBB:F0->C0
000000000002FFBC:85->8B
000000000002FFBD:C0->F0

View File

@ -0,0 +1,5 @@
>nvencodeapi.dll
00000000000234C7:8B->33
00000000000234C8:D8->C0
00000000000234C9:85->8B
00000000000234CA:DB->D8

View File

@ -0,0 +1,5 @@
>nvencodeapi64.dll
0000000000027C20:8B->33
0000000000027C21:F0->C0
0000000000027C22:85->8B
0000000000027C23:C0->F0

View File

@ -0,0 +1,5 @@
>nvencodeapi.dll
0000000000023297:8B->33
0000000000023298:D8->C0
0000000000023299:85->8B
000000000002329A:DB->D8

View File

@ -0,0 +1,5 @@
>nvencodeapi64.dll
0000000000027AB0:8B->33
0000000000027AB1:F0->C0
0000000000027AB2:85->8B
0000000000027AB3:C0->F0

View File

@ -0,0 +1,6 @@
>nvencodeapi.dll
000000000002B236:89->33
000000000002B237:45->C0
000000000002B238:08->89
000000000002B239:85->45
000000000002B23A:C0->08

View File

@ -0,0 +1,5 @@
>nvencodeapi64.dll
000000000002FE9A:8B->33
000000000002FE9B:F0->C0
000000000002FE9C:85->8B
000000000002FE9D:C0->F0