Merge pull request #402 from Snawoot/upd_20210429

update 20210429
This commit is contained in:
Snawoot 2021-04-29 17:48:28 +03:00 committed by GitHub
commit 1ced171ae2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 55 additions and 3 deletions

View File

@ -1,7 +1,7 @@
NVENC and NvFBC patches for Nvidia drivers 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-465.24.02-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-465.27-brightgreen.svg)
[NVENC patch](patch.sh) removes restriction on maximum number of simultaneous NVENC video encoding sessions imposed by Nvidia to consumer-grade GPUs. [NVENC patch](patch.sh) removes restriction on maximum number of simultaneous NVENC video encoding sessions imposed by Nvidia to consumer-grade GPUs.
@ -140,6 +140,7 @@ git clone https://ipfs.io/ipns/Qmed4r8yrBP162WK1ybd1DJWhLUi4t6mGuBoB9fLtjxR7u nv
| 460.73.01 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/460.73.01/NVIDIA-Linux-x86_64-460.73.01.run) | | 460.73.01 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/460.73.01/NVIDIA-Linux-x86_64-460.73.01.run) |
| 465.19.01 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/465.19.01/NVIDIA-Linux-x86_64-465.19.01.run) | | 465.19.01 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/465.19.01/NVIDIA-Linux-x86_64-465.19.01.run) |
| 465.24.02 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/465.24.02/NVIDIA-Linux-x86_64-465.24.02.run) | | 465.24.02 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/465.24.02/NVIDIA-Linux-x86_64-465.24.02.run) |
| 465.27 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/465.27/NVIDIA-Linux-x86_64-465.27.run) |
## Synopsis ## Synopsis

View File

@ -567,6 +567,12 @@
"nvenc_patch": true, "nvenc_patch": true,
"nvfbc_patch": true, "nvfbc_patch": true,
"driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/460.73.01/NVIDIA-Linux-x86_64-460.73.01.run" "driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/460.73.01/NVIDIA-Linux-x86_64-460.73.01.run"
},
{
"version": "465.27",
"nvenc_patch": true,
"nvfbc_patch": true,
"driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/465.27/NVIDIA-Linux-x86_64-465.27.run"
} }
], ],
"example": { "example": {
@ -2790,6 +2796,24 @@
"patch64_url": "win7_x64/466.11/nvencodeapi64.1337", "patch64_url": "win7_x64/466.11/nvencodeapi64.1337",
"patch32_url": "win7_x64/466.11/nvencodeapi.1337", "patch32_url": "win7_x64/466.11/nvencodeapi.1337",
"driver_url": "https://international.download.nvidia.com/Windows/466.11/466.11-desktop-win8-win7-64bit-international-whql.exe" "driver_url": "https://international.download.nvidia.com/Windows/466.11/466.11-desktop-win8-win7-64bit-international-whql.exe"
},
{
"os": "win10",
"product": "GeForce",
"version": "466.27",
"variant": "",
"patch64_url": "win10_x64/466.27/nvencodeapi64.1337",
"patch32_url": "win10_x64/466.27/nvencodeapi.1337",
"driver_url": "https://international.download.nvidia.com/Windows/466.27/466.27-desktop-win10-64bit-international-whql.exe"
},
{
"os": "win7",
"product": "GeForce",
"version": "466.27",
"variant": "",
"patch64_url": "win7_x64/466.27/nvencodeapi64.1337",
"patch32_url": "win7_x64/466.27/nvencodeapi.1337",
"driver_url": "https://international.download.nvidia.com/Windows/466.27/466.27-desktop-win8-win7-64bit-international-whql.exe"
} }
] ]
} }

View File

@ -110,6 +110,7 @@ declare -A patch_list=(
["460.73.01"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' ["460.73.01"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/'
["465.19.01"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' ["465.19.01"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/'
["465.24.02"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' ["465.24.02"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/'
["465.27"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/'
) )
declare -A object_list=( declare -A object_list=(
@ -176,6 +177,7 @@ declare -A object_list=(
["460.73.01"]='libnvidia-fbc.so' ["460.73.01"]='libnvidia-fbc.so'
["465.19.01"]='libnvidia-fbc.so' ["465.19.01"]='libnvidia-fbc.so'
["465.24.02"]='libnvidia-fbc.so' ["465.24.02"]='libnvidia-fbc.so'
["465.27"]='libnvidia-fbc.so'
) )
check_version_supported () { check_version_supported () {

View File

@ -147,6 +147,7 @@ declare -A patch_list=(
["460.73.01"]='s/\x22\xff\xff\x85\xc0\x41\x89\xc4\x0f\x85/\x22\xff\xff\x31\xc0\x41\x89\xc4\x0f\x85/g' ["460.73.01"]='s/\x22\xff\xff\x85\xc0\x41\x89\xc4\x0f\x85/\x22\xff\xff\x31\xc0\x41\x89\xc4\x0f\x85/g'
["465.19.01"]='s/\xe8\xc5\x20\xff\xff\x85\xc0\x41\x89\xc4/\xe8\xc5\x20\xff\xff\x29\xc0\x41\x89\xc4/g' ["465.19.01"]='s/\xe8\xc5\x20\xff\xff\x85\xc0\x41\x89\xc4/\xe8\xc5\x20\xff\xff\x29\xc0\x41\x89\xc4/g'
["465.24.02"]='s/\xe8\xc5\x20\xff\xff\x85\xc0\x41\x89\xc4/\xe8\xc5\x20\xff\xff\x29\xc0\x41\x89\xc4/g' ["465.24.02"]='s/\xe8\xc5\x20\xff\xff\x85\xc0\x41\x89\xc4/\xe8\xc5\x20\xff\xff\x29\xc0\x41\x89\xc4/g'
["465.27"]='s/\xe8\xc5\x20\xff\xff\x85\xc0\x41\x89\xc4/\xe8\xc5\x20\xff\xff\x29\xc0\x41\x89\xc4/g'
) )
declare -A object_list=( declare -A object_list=(
@ -249,6 +250,7 @@ declare -A object_list=(
["460.73.01"]='libnvidia-encode.so' ["460.73.01"]='libnvidia-encode.so'
["465.19.01"]='libnvidia-encode.so' ["465.19.01"]='libnvidia-encode.so'
["465.24.02"]='libnvidia-encode.so' ["465.24.02"]='libnvidia-encode.so'
["465.27"]='libnvidia-encode.so'
) )
check_version_supported () { check_version_supported () {

View File

@ -1,7 +1,7 @@
NVENC and NvFBC patches for Windows Nvidia drivers 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-466.11-brightgreen.svg) ![Latest Quadro version](https://img.shields.io/badge/latest%20Quadro%20version-465.89-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-466.27-brightgreen.svg) ![Latest Quadro version](https://img.shields.io/badge/latest%20Quadro%20version-465.89-blue.svg)
NVENC patch removes restriction on maximum number of simultaneous NVENC video encoding sessions imposed by Nvidia to consumer-grade GPUs. 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. 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.* - *If patching fails, close all applications using nvencodeapi.dll, such as OBS Studio, Plex or Discord.*
**Example:** for 64bit Windows 10 running driver version 466.11, use `win10_x64/466.11/nvencodeapi64.1337` against `C:\WINDOWS\system32\nvencodeapi64.dll` **and** `win10_x64/466.11/nvencodeapi.1337` against `C:\WINDOWS\SysWOW64\nvencodeapi.dll`. **Example:** for 64bit Windows 10 running driver version 466.27, use `win10_x64/466.27/nvencodeapi64.1337` against `C:\WINDOWS\system32\nvencodeapi64.dll` **and** `win10_x64/466.27/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. 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.
@ -169,6 +169,7 @@ Credits to [TroubleChute channel](https://www.youtube.com/channel/UCkih2oVTbXPEp
| GeForce | 465.21 Drivers for CUDA on WSL | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/465.21/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/465.21/nvencodeapi.1337) | | | GeForce | 465.21 Drivers for CUDA on WSL | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/465.21/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/465.21/nvencodeapi.1337) | |
| GeForce | 465.89 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/465.89/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/465.89/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/465.89/465.89-desktop-win10-64bit-international-whql.exe) | | GeForce | 465.89 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/465.89/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/465.89/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/465.89/465.89-desktop-win10-64bit-international-whql.exe) |
| GeForce | 466.11 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/466.11/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/466.11/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/466.11/466.11-desktop-win10-64bit-international-whql.exe) | | GeForce | 466.11 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/466.11/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/466.11/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/466.11/466.11-desktop-win10-64bit-international-whql.exe) |
| GeForce | 466.27 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/466.27/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/466.27/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/466.27/466.27-desktop-win10-64bit-international-whql.exe) |
| Product series | Version | x64 library patch | x86 library patch | Driver link | | Product series | Version | x64 library patch | x86 library patch | Driver link |
@ -273,6 +274,7 @@ Credits to [TroubleChute channel](https://www.youtube.com/channel/UCkih2oVTbXPEp
| GeForce | 461.92 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/461.92/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/461.92/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/461.92/461.92-desktop-win8-win7-64bit-international-whql.exe) | | GeForce | 461.92 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/461.92/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/461.92/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/461.92/461.92-desktop-win8-win7-64bit-international-whql.exe) |
| GeForce | 465.89 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/465.89/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/465.89/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/465.89/465.89-desktop-win8-win7-64bit-international-whql.exe) | | GeForce | 465.89 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/465.89/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/465.89/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/465.89/465.89-desktop-win8-win7-64bit-international-whql.exe) |
| GeForce | 466.11 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/466.11/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/466.11/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/466.11/466.11-desktop-win8-win7-64bit-international-whql.exe) | | GeForce | 466.11 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/466.11/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/466.11/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/466.11/466.11-desktop-win8-win7-64bit-international-whql.exe) |
| GeForce | 466.27 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/466.27/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/466.27/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/466.27/466.27-desktop-win8-win7-64bit-international-whql.exe) |
| Product series | Version | x64 library patch | x86 library patch | Driver link | | Product series | Version | x64 library patch | x86 library patch | Driver link |

View File

@ -0,0 +1,6 @@
>nvencodeapi.dll
000000000002B618:89->33
000000000002B619:45->C0
000000000002B61A:08->89
000000000002B61B:85->45
000000000002B61C:C0->08

View File

@ -0,0 +1,5 @@
>nvencodeapi64.dll
000000000003031C:8B->33
000000000003031D:F0->C0
000000000003031E:85->8B
000000000003031F:C0->F0

View File

@ -0,0 +1,5 @@
>nvencodeapi.dll
00000000000237E9:8B->33
00000000000237EA:D8->C0
00000000000237EB:85->8B
00000000000237EC:DB->D8

View File

@ -0,0 +1,5 @@
>nvencodeapi64.dll
0000000000027DE5:8B->33
0000000000027DE6:F0->C0
0000000000027DE7:85->8B
0000000000027DE8:C0->F0