win10: patch for 512.59

This commit is contained in:
Jai Luthra 2022-05-08 18:45:56 +05:30 committed by Jai Luthra
parent 12dae07fda
commit 9b2da22b6d
7 changed files with 45 additions and 2 deletions

View File

@ -3379,6 +3379,24 @@
"patch64_url": "win10_x64/nsd_512.15/nvencodeapi64.1337", "patch64_url": "win10_x64/nsd_512.15/nvencodeapi64.1337",
"patch32_url": "win10_x64/nsd_512.15/nvencodeapi.1337", "patch32_url": "win10_x64/nsd_512.15/nvencodeapi.1337",
"driver_url": "https://international.download.nvidia.com/Windows/512.15/512.15-desktop-win10-win11-64bit-international-nsd-dch-whql.exe" "driver_url": "https://international.download.nvidia.com/Windows/512.15/512.15-desktop-win10-win11-64bit-international-nsd-dch-whql.exe"
},
{
"os": "win10",
"product": "GeForce",
"version": "512.59",
"variant": "Studio Driver",
"patch64_url": "win10_x64/nsd_512.59/nvencodeapi64.1337",
"patch32_url": "win10_x64/nsd_512.59/nvencodeapi.1337",
"driver_url": "https://international.download.nvidia.com/Windows/512.59/512.59-desktop-win10-win11-64bit-international-nsd-dch-whql-g.exe"
},
{
"os": "win10",
"product": "GeForce",
"version": "512.59",
"variant": "",
"patch64_url": "win10_x64/512.59/nvencodeapi64.1337",
"patch32_url": "win10_x64/512.59/nvencodeapi.1337",
"driver_url": "https://international.download.nvidia.com/Windows/512.59/512.59-desktop-win10-win11-64bit-international-dch-whql-g.exe"
} }
] ]
} }

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-512.15-brightgreen.svg) ![Latest Quadro version](https://img.shields.io/badge/latest%20Quadro%20version-472.84-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-512.59-brightgreen.svg) ![Latest Quadro version](https://img.shields.io/badge/latest%20Quadro%20version-472.84-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.
@ -49,7 +49,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 512.15, use `win10_x64/512.15/nvencodeapi64.1337` against `C:\WINDOWS\system32\nvencodeapi64.dll` **and** `win10_x64/512.15/nvencodeapi.1337` against `C:\WINDOWS\SysWOW64\nvencodeapi.dll`. **Example:** for 64bit Windows 10 running driver version 512.59, use `win10_x64/512.59/nvencodeapi64.1337` against `C:\WINDOWS\system32\nvencodeapi64.dll` **and** `win10_x64/512.59/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.
@ -184,6 +184,8 @@ Credits to [TroubleChute channel](https://www.youtube.com/channel/UCkih2oVTbXPEp
| GeForce | 511.79 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/511.79/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/511.79/nvencodeapi.1337) | [Driver link](http://international.download.nvidia.com/Windows/511.79/511.79-desktop-win10-win11-64bit-international-dch-whql.exe) | | GeForce | 511.79 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/511.79/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/511.79/nvencodeapi.1337) | [Driver link](http://international.download.nvidia.com/Windows/511.79/511.79-desktop-win10-win11-64bit-international-dch-whql.exe) |
| GeForce | 512.15 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/512.15/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/512.15/nvencodeapi.1337) | [Driver link](http://international.download.nvidia.com/Windows/512.15/512.15-desktop-win10-win11-64bit-international-dch-whql.exe) | | GeForce | 512.15 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/512.15/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/512.15/nvencodeapi.1337) | [Driver link](http://international.download.nvidia.com/Windows/512.15/512.15-desktop-win10-win11-64bit-international-dch-whql.exe) |
| GeForce | 512.15 Studio Driver | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/nsd_512.15/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/nsd_512.15/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/512.15/512.15-desktop-win10-win11-64bit-international-nsd-dch-whql.exe) | | GeForce | 512.15 Studio Driver | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/nsd_512.15/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/nsd_512.15/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/512.15/512.15-desktop-win10-win11-64bit-international-nsd-dch-whql.exe) |
| GeForce | 512.59 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/512.59/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/512.59/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/512.59/512.59-desktop-win10-win11-64bit-international-dch-whql-g.exe) |
| GeForce | 512.59 Studio Driver | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/nsd_512.59/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/nsd_512.59/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/512.59/512.59-desktop-win10-win11-64bit-international-nsd-dch-whql-g.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

@ -214,6 +214,7 @@ def patch_flow(installer_file, search, replacement, target, target_name, patch_n
"300": "", "300": "",
"301": "nsd_", "301": "nsd_",
"303": "", # DCH "303": "", # DCH
"304": "nsd_",
} }
installer_name = os.path.basename(installer_file).lower() installer_name = os.path.basename(installer_file).lower()
if 'winserv2008' in installer_name: if 'winserv2008' in installer_name:

View File

@ -0,0 +1,6 @@
>nvencodeapi.dll
000000000002C6A1:89->33
000000000002C6A2:45->C0
000000000002C6A3:08->89
000000000002C6A4:85->45
000000000002C6A5:C0->08

View File

@ -0,0 +1,5 @@
>nvencodeapi64.dll
00000000000316BA:8B->33
00000000000316BB:E8->C0
00000000000316BC:85->8B
00000000000316BD:C0->E8

View File

@ -0,0 +1,6 @@
>nvencodeapi.dll
000000000002C6A1:89->33
000000000002C6A2:45->C0
000000000002C6A3:08->89
000000000002C6A4:85->45
000000000002C6A5:C0->08

View File

@ -0,0 +1,5 @@
>nvencodeapi64.dll
00000000000316BA:8B->33
00000000000316BB:E8->C0
00000000000316BC:85->8B
00000000000316BD:C0->E8