Merge pull request #382 from Snawoot/upd_20210225

Upd 20210225
This commit is contained in:
Snawoot 2021-02-25 22:18:27 +02:00 committed by GitHub
commit dd0f56a698
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 74 additions and 1 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-460.39-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-460.56-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.
@ -134,6 +134,7 @@ git clone https://ipfs.io/ipns/Qmed4r8yrBP162WK1ybd1DJWhLUi4t6mGuBoB9fLtjxR7u nv
| 460.27.04 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/460.27.04/NVIDIA-Linux-x86_64-460.27.04.run) | | 460.27.04 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/460.27.04/NVIDIA-Linux-x86_64-460.27.04.run) |
| 460.32.03 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/460.32.03/NVIDIA-Linux-x86_64-460.32.03.run) | | 460.32.03 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/460.32.03/NVIDIA-Linux-x86_64-460.32.03.run) |
| 460.39 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/460.39/NVIDIA-Linux-x86_64-460.39.run) | | 460.39 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/460.39/NVIDIA-Linux-x86_64-460.39.run) |
| 460.56 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/460.56/NVIDIA-Linux-x86_64-460.56.run) |
## Synopsis ## Synopsis

View File

@ -532,6 +532,12 @@
"version": "455.50.07", "version": "455.50.07",
"nvenc_patch": true, "nvenc_patch": true,
"nvfbc_patch": true "nvfbc_patch": true
},
{
"version": "460.56",
"nvenc_patch": true,
"nvfbc_patch": true,
"driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/460.56/NVIDIA-Linux-x86_64-460.56.run"
} }
], ],
"example": { "example": {
@ -2557,6 +2563,33 @@
"patch64_url": "win7_x64/457.96/nvencodeapi64.1337", "patch64_url": "win7_x64/457.96/nvencodeapi64.1337",
"patch32_url": "win7_x64/457.96/nvencodeapi.1337", "patch32_url": "win7_x64/457.96/nvencodeapi.1337",
"driver_url": "" "driver_url": ""
},
{
"os": "win7",
"product": "GeForce",
"version": "461.72",
"variant": "",
"patch64_url": "win7_x64/461.72/nvencodeapi64.1337",
"patch32_url": "win7_x64/461.72/nvencodeapi.1337",
"driver_url": "https://international.download.nvidia.com/Windows/461.72/461.72-desktop-win8-win7-64bit-international-whql.exe"
},
{
"os": "win10",
"product": "GeForce",
"version": "461.72",
"variant": "",
"patch64_url": "win10_x64/461.72/nvencodeapi64.1337",
"patch32_url": "win10_x64/461.72/nvencodeapi.1337",
"driver_url": "https://international.download.nvidia.com/Windows/461.72/461.72-desktop-win10-64bit-international-whql.exe"
},
{
"os": "win10",
"product": "GeForce",
"version": "461.72",
"variant": "Studio Driver",
"patch64_url": "win10_x64/nsd_461.72/nvencodeapi64.1337",
"patch32_url": "win10_x64/nsd_461.72/nvencodeapi.1337",
"driver_url": "https://international.download.nvidia.com/Windows/461.72/461.72-desktop-win10-64bit-international-nsd-whql.exe"
} }
] ]
} }

View File

@ -104,6 +104,7 @@ declare -A patch_list=(
["460.27.04"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' ["460.27.04"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/'
["460.32.03"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' ["460.32.03"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/'
["460.39"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' ["460.39"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/'
["460.56"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/'
) )
declare -A object_list=( declare -A object_list=(
@ -164,6 +165,7 @@ declare -A object_list=(
["460.27.04"]='libnvidia-fbc.so' ["460.27.04"]='libnvidia-fbc.so'
["460.32.03"]='libnvidia-fbc.so' ["460.32.03"]='libnvidia-fbc.so'
["460.39"]='libnvidia-fbc.so' ["460.39"]='libnvidia-fbc.so'
["460.56"]='libnvidia-fbc.so'
) )
check_version_supported () { check_version_supported () {

View File

@ -141,6 +141,7 @@ declare -A patch_list=(
["460.27.04"]='s/\x22\xff\xff\x85\xc0\x41\x89\xc4\x0f\x85/\x22\xff\xff\x31\xc0\x41\x89\xc4\x0f\x85/g' ["460.27.04"]='s/\x22\xff\xff\x85\xc0\x41\x89\xc4\x0f\x85/\x22\xff\xff\x31\xc0\x41\x89\xc4\x0f\x85/g'
["460.32.03"]='s/\x22\xff\xff\x85\xc0\x41\x89\xc4\x0f\x85/\x22\xff\xff\x31\xc0\x41\x89\xc4\x0f\x85/g' ["460.32.03"]='s/\x22\xff\xff\x85\xc0\x41\x89\xc4\x0f\x85/\x22\xff\xff\x31\xc0\x41\x89\xc4\x0f\x85/g'
["460.39"]='s/\x22\xff\xff\x85\xc0\x41\x89\xc4\x0f\x85/\x22\xff\xff\x31\xc0\x41\x89\xc4\x0f\x85/g' ["460.39"]='s/\x22\xff\xff\x85\xc0\x41\x89\xc4\x0f\x85/\x22\xff\xff\x31\xc0\x41\x89\xc4\x0f\x85/g'
["460.56"]='s/\x22\xff\xff\x85\xc0\x41\x89\xc4\x0f\x85/\x22\xff\xff\x31\xc0\x41\x89\xc4\x0f\x85/g'
) )
declare -A object_list=( declare -A object_list=(
@ -237,6 +238,7 @@ declare -A object_list=(
["460.27.04"]='libnvidia-encode.so' ["460.27.04"]='libnvidia-encode.so'
["460.32.03"]='libnvidia-encode.so' ["460.32.03"]='libnvidia-encode.so'
["460.39"]='libnvidia-encode.so' ["460.39"]='libnvidia-encode.so'
["460.56"]='libnvidia-encode.so'
) )
check_version_supported () { check_version_supported () {

View File

@ -160,6 +160,8 @@ Credits to [TroubleChute channel](https://www.youtube.com/channel/UCkih2oVTbXPEp
| GeForce | 461.09 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/461.09/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/461.09/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/461.09/461.09-desktop-win10-64bit-international-whql.exe) | | GeForce | 461.09 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/461.09/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/461.09/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/461.09/461.09-desktop-win10-64bit-international-whql.exe) |
| GeForce | 461.40 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/461.40/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/461.40/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/461.40/461.40-desktop-win10-64bit-international-whql.exe) | | GeForce | 461.40 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/461.40/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/461.40/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/461.40/461.40-desktop-win10-64bit-international-whql.exe) |
| GeForce | 461.40 Studio Driver | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/nsd_461.40/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/nsd_461.40/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/461.40/461.40-desktop-win10-64bit-international-nsd-whql.exe) | | GeForce | 461.40 Studio Driver | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/nsd_461.40/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/nsd_461.40/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/461.40/461.40-desktop-win10-64bit-international-nsd-whql.exe) |
| GeForce | 461.72 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/461.72/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/461.72/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/461.72/461.72-desktop-win10-64bit-international-whql.exe) |
| GeForce | 461.72 Studio Driver | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/nsd_461.72/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/nsd_461.72/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/461.72/461.72-desktop-win10-64bit-international-nsd-whql.exe) |
| 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) | |
@ -257,6 +259,7 @@ Credits to [TroubleChute channel](https://www.youtube.com/channel/UCkih2oVTbXPEp
| GeForce | 460.89 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/460.89/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/460.89/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/460.89/460.89-desktop-win8-win7-64bit-international-whql.exe) | | GeForce | 460.89 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/460.89/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/460.89/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/460.89/460.89-desktop-win8-win7-64bit-international-whql.exe) |
| GeForce | 461.09 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/461.09/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/461.09/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/461.09/461.09-desktop-win8-win7-64bit-international-whql.exe) | | GeForce | 461.09 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/461.09/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/461.09/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/461.09/461.09-desktop-win8-win7-64bit-international-whql.exe) |
| GeForce | 461.40 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/461.40/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/461.40/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/461.40/461.40-desktop-win8-win7-64bit-international-whql.exe) | | GeForce | 461.40 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/461.40/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/461.40/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/461.40/461.40-desktop-win8-win7-64bit-international-whql.exe) |
| GeForce | 461.72 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/461.72/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/461.72/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/461.72/461.72-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
000000000002B498:89->33
000000000002B499:45->C0
000000000002B49A:08->89
000000000002B49B:85->45
000000000002B49C:C0->08

View File

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

View File

@ -0,0 +1,6 @@
>nvencodeapi.dll
000000000002B498:89->33
000000000002B499:45->C0
000000000002B49A:08->89
000000000002B49B:85->45
000000000002B49C:C0->08

View File

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

View File

@ -0,0 +1,5 @@
>nvencodeapi.dll
0000000000023699:8B->33
000000000002369A:D8->C0
000000000002369B:85->8B
000000000002369C:DB->D8

View File

@ -0,0 +1,5 @@
>nvencodeapi64.dll
0000000000027C35:8B->33
0000000000027C36:F0->C0
0000000000027C37:85->8B
0000000000027C38:C0->F0