diff --git a/README.md b/README.md index 1d374a6..4c63c09 100644 --- a/README.md +++ b/README.md @@ -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-465.27-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.31-brightgreen.svg) [NVENC patch](patch.sh) removes restriction on maximum number of simultaneous NVENC video encoding sessions imposed by Nvidia to consumer-grade GPUs. @@ -142,6 +142,7 @@ git clone https://ipfs.io/ipns/Qmed4r8yrBP162WK1ybd1DJWhLUi4t6mGuBoB9fLtjxR7u nv | 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.27 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/465.27/NVIDIA-Linux-x86_64-465.27.run) | +| 465.31 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/465.31/NVIDIA-Linux-x86_64-465.31.run) | ## Synopsis diff --git a/drivers.json b/drivers.json index 60a147d..58f04fb 100644 --- a/drivers.json +++ b/drivers.json @@ -579,6 +579,12 @@ "nvenc_patch": true, "nvfbc_patch": true, "driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/460.80/NVIDIA-Linux-x86_64-460.80.run" + }, + { + "version": "465.31", + "nvenc_patch": true, + "nvfbc_patch": true, + "driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/465.31/NVIDIA-Linux-x86_64-465.31.run" } ], "example": { @@ -2856,6 +2862,24 @@ "patch64_url": "ws2016_x64/quadro_462.59/nvencodeapi64.1337", "patch32_url": "ws2016_x64/quadro_462.59/nvencodeapi.1337", "driver_url": "https://international.download.nvidia.com/Windows/Quadro_Certified/462.59/462.59-quadro-rtx-winserv-2016-2019-64bit-international-whql.exe" + }, + { + "os": "win10", + "product": "GeForce", + "version": "466.47", + "variant": "", + "patch64_url": "win10_x64/466.47/nvencodeapi64.1337", + "patch32_url": "win10_x64/466.47/nvencodeapi.1337", + "driver_url": "https://international.download.nvidia.com/Windows/466.47/466.47-desktop-win10-64bit-international-whql.exe" + }, + { + "os": "win7", + "product": "GeForce", + "version": "466.47", + "variant": "", + "patch64_url": "win7_x64/466.47/nvencodeapi64.1337", + "patch32_url": "win7_x64/466.47/nvencodeapi.1337", + "driver_url": "https://international.download.nvidia.com/Windows/466.47/466.47-desktop-win8-win7-64bit-international-whql.exe" } ] } diff --git a/patch-fbc.sh b/patch-fbc.sh index 02285c2..3c4db8f 100755 --- a/patch-fbc.sh +++ b/patch-fbc.sh @@ -112,6 +112,7 @@ declare -A patch_list=( ["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.27"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' + ["465.31"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' ) declare -A object_list=( @@ -180,6 +181,7 @@ declare -A object_list=( ["465.19.01"]='libnvidia-fbc.so' ["465.24.02"]='libnvidia-fbc.so' ["465.27"]='libnvidia-fbc.so' + ["465.31"]='libnvidia-fbc.so' ) check_version_supported () { diff --git a/patch.sh b/patch.sh index 2a9d4ae..970add3 100755 --- a/patch.sh +++ b/patch.sh @@ -149,6 +149,7 @@ declare -A patch_list=( ["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.27"]='s/\xe8\xc5\x20\xff\xff\x85\xc0\x41\x89\xc4/\xe8\xc5\x20\xff\xff\x29\xc0\x41\x89\xc4/g' + ["465.31"]='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=( @@ -253,6 +254,7 @@ declare -A object_list=( ["465.19.01"]='libnvidia-encode.so' ["465.24.02"]='libnvidia-encode.so' ["465.27"]='libnvidia-encode.so' + ["465.31"]='libnvidia-encode.so' ) check_version_supported () { diff --git a/win/README.md b/win/README.md index adc8e4d..989726c 100644 --- a/win/README.md +++ b/win/README.md @@ -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-466.27-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.47-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. @@ -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 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`. +**Example:** for 64bit Windows 10 running driver version 466.47, use `win10_x64/466.47/nvencodeapi64.1337` against `C:\WINDOWS\system32\nvencodeapi64.dll` **and** `win10_x64/466.47/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. @@ -171,6 +171,7 @@ Credits to [TroubleChute channel](https://www.youtube.com/channel/UCkih2oVTbXPEp | 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.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) | +| GeForce | 466.47 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/466.47/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/466.47/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/466.47/466.47-desktop-win10-64bit-international-whql.exe) | | Product series | Version | x64 library patch | x86 library patch | Driver link | @@ -277,6 +278,7 @@ Credits to [TroubleChute channel](https://www.youtube.com/channel/UCkih2oVTbXPEp | 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.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) | +| GeForce | 466.47 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/466.47/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/466.47/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/466.47/466.47-desktop-win8-win7-64bit-international-whql.exe) | | Product series | Version | x64 library patch | x86 library patch | Driver link | diff --git a/win/win10_x64/466.47/nvencodeapi.1337 b/win/win10_x64/466.47/nvencodeapi.1337 new file mode 100644 index 0000000..c464081 --- /dev/null +++ b/win/win10_x64/466.47/nvencodeapi.1337 @@ -0,0 +1,6 @@ +>nvencodeapi.dll +000000000002B618:89->33 +000000000002B619:45->C0 +000000000002B61A:08->89 +000000000002B61B:85->45 +000000000002B61C:C0->08 \ No newline at end of file diff --git a/win/win10_x64/466.47/nvencodeapi64.1337 b/win/win10_x64/466.47/nvencodeapi64.1337 new file mode 100644 index 0000000..e858f14 --- /dev/null +++ b/win/win10_x64/466.47/nvencodeapi64.1337 @@ -0,0 +1,5 @@ +>nvencodeapi64.dll +000000000003031C:8B->33 +000000000003031D:F0->C0 +000000000003031E:85->8B +000000000003031F:C0->F0 \ No newline at end of file diff --git a/win/win7_x64/466.47/nvencodeapi.1337 b/win/win7_x64/466.47/nvencodeapi.1337 new file mode 100644 index 0000000..c2e3399 --- /dev/null +++ b/win/win7_x64/466.47/nvencodeapi.1337 @@ -0,0 +1,5 @@ +>nvencodeapi.dll +00000000000237E9:8B->33 +00000000000237EA:D8->C0 +00000000000237EB:85->8B +00000000000237EC:DB->D8 \ No newline at end of file diff --git a/win/win7_x64/466.47/nvencodeapi64.1337 b/win/win7_x64/466.47/nvencodeapi64.1337 new file mode 100644 index 0000000..9245555 --- /dev/null +++ b/win/win7_x64/466.47/nvencodeapi64.1337 @@ -0,0 +1,5 @@ +>nvencodeapi64.dll +0000000000027DE5:8B->33 +0000000000027DE6:F0->C0 +0000000000027DE7:85->8B +0000000000027DE8:C0->F0 \ No newline at end of file