Commit 565367aa authored by Jai Luthra's avatar Jai Luthra Committed by GitHub

Merge pull request #665 from Umgak/master

win: add dch 536.23
parents 3358c5d9 9e20a706
...@@ -3866,6 +3866,15 @@ ...@@ -3866,6 +3866,15 @@
"patch64_url": "win10_x64/535.98/nvencodeapi64.1337", "patch64_url": "win10_x64/535.98/nvencodeapi64.1337",
"patch32_url": "win10_x64/535.98/nvencodeapi.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" "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"
} }
] ]
} }
......
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-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. 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 ...@@ -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. 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 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). 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 ...@@ -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 | 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 | 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 | 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 | | Product series | Version | x64 library patch | x86 library patch | Driver link |
......
...@@ -33,8 +33,8 @@ def parse_args(): ...@@ -33,8 +33,8 @@ def parse_args():
parser.add_argument("-T", "--target", parser.add_argument("-T", "--target",
nargs="+", nargs="+",
default=[ default=[
"Display.Driver/nvencodeapi64.dl_", "Display.Driver/nvencodeapi64.dll",
"Display.Driver/nvencodeapi.dl_", "Display.Driver/nvencodeapi.dll",
], ],
help="target location(s) in archive") help="target location(s) in archive")
parser.add_argument("-N", "--target-name", parser.add_argument("-N", "--target-name",
...@@ -156,6 +156,10 @@ def make_patch(archive, *, ...@@ -156,6 +156,10 @@ def make_patch(archive, *,
tmpdir, tmpdir,
arch_tgt, arch_tgt,
sevenzip=sevenzip) as tgt: sevenzip=sevenzip) as tgt:
if tgt.endswith(".dll"):
with open(tgt, 'rb') as fo:
f = fo.read()
else:
f = expand(tgt, sevenzip=sevenzip) f = expand(tgt, sevenzip=sevenzip)
offset = f.find(search) offset = f.find(search)
if offset == -1: if offset == -1:
......
>nvencodeapi.dll
000000000003D777:89->33
000000000003D778:45->C0
000000000003D779:08->89
000000000003D77A:85->45
000000000003D77B:C0->08
\ No newline at end of file
>nvencodeapi64.dll
0000000000042A91:8B->33
0000000000042A92:F0->C0
0000000000042A93:85->8B
0000000000042A94:C0->F0
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment