Merge pull request #665 from Umgak/master

win: add dch 536.23
This commit is contained in:
Jai Luthra 2023-06-17 00:40:14 +05:30 committed by GitHub
commit 565367aabe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 30 additions and 5 deletions

View File

@ -3866,6 +3866,15 @@
"patch64_url": "win10_x64/535.98/nvencodeapi64.1337",
"patch32_url": "win10_x64/535.98/nvencodeapi.1337",
"driver_url": "https://international.download.nvidia.com/Windows/535.98/535.98-desktop-win10-win11-64bit-international-dch-whql.exe"
},
{
"os": "win10",
"product": "GeForce",
"version": "536.23",
"variant": "DCH",
"patch64_url": "win10_x64/536.23/nvencodeapi64.1337",
"patch32_url": "win10_x64/536.23/nvencodeapi.1337",
"driver_url": "https://international.download.nvidia.com/Windows/536.23/536.23-desktop-win10-win11-64bit-international-dch-whql.exe"
}
]
}

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-535.98-brightgreen.svg) ![Latest Quadro version](https://img.shields.io/badge/latest%20Quadro%20version-526.67-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-536.23-brightgreen.svg) ![Latest Quadro version](https://img.shields.io/badge/latest%20Quadro%20version-526.67-blue.svg)
NVENC patch removes restriction on maximum number of simultaneous NVENC video encoding sessions imposed by Nvidia to consumer-grade GPUs.
@ -40,7 +40,7 @@ If you like this project, best way to contribute is by sending PRs and fixing do
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 535.98, use `win10_x64/535.98/nvencodeapi64.1337` against `C:\WINDOWS\system32\nvencodeapi64.dll` **and** `win10_x64/535.98/nvencodeapi.1337` against `C:\WINDOWS\SysWOW64\nvencodeapi.dll`.
**Example:** for 64bit Windows 10 running driver version 536.23, use `win10_x64/536.23/nvencodeapi64.1337` against `C:\WINDOWS\system32\nvencodeapi64.dll` **and** `win10_x64/536.23/nvencodeapi.1337` against `C:\WINDOWS\SysWOW64\nvencodeapi.dll`.
You can also use FFmpeg to [verify that NVENC session limit is removed](https://github.com/keylase/nvidia-patch/wiki/Verify-NVENC-patch).
@ -211,6 +211,7 @@ Credits to [TroubleChute channel](https://www.youtube.com/channel/UCkih2oVTbXPEp
| GeForce | 531.79 DCH | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/531.79/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/531.79/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/531.79/531.79-desktop-win10-win11-64bit-international-dch-whql.exe) |
| GeForce | 532.03 DCH | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/532.03/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/532.03/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/532.03/532.03-desktop-win10-win11-64bit-international-dch-whql.exe) |
| GeForce | 535.98 DCH | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/535.98/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/535.98/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/535.98/535.98-desktop-win10-win11-64bit-international-dch-whql.exe) |
| GeForce | 536.23 DCH | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/536.23/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/536.23/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/536.23/536.23-desktop-win10-win11-64bit-international-dch-whql.exe) |
| Product series | Version | x64 library patch | x86 library patch | Driver link |

View File

@ -33,8 +33,8 @@ def parse_args():
parser.add_argument("-T", "--target",
nargs="+",
default=[
"Display.Driver/nvencodeapi64.dl_",
"Display.Driver/nvencodeapi.dl_",
"Display.Driver/nvencodeapi64.dll",
"Display.Driver/nvencodeapi.dll",
],
help="target location(s) in archive")
parser.add_argument("-N", "--target-name",
@ -156,6 +156,10 @@ def make_patch(archive, *,
tmpdir,
arch_tgt,
sevenzip=sevenzip) as tgt:
if tgt.endswith(".dll"):
with open(tgt, 'rb') as fo:
f = fo.read()
else:
f = expand(tgt, sevenzip=sevenzip)
offset = f.find(search)
if offset == -1:

View File

@ -0,0 +1,6 @@
>nvencodeapi.dll
000000000003D777:89->33
000000000003D778:45->C0
000000000003D779:08->89
000000000003D77A:85->45
000000000003D77B:C0->08

View File

@ -0,0 +1,5 @@
>nvencodeapi64.dll
0000000000042A91:8B->33
0000000000042A92:F0->C0
0000000000042A93:85->8B
0000000000042A94:C0->F0