151 KiB
NVENC and NvFBC patches for Windows Nvidia drivers
NVENC patch removes restriction on maximum number of simultaneous NVENC video encoding sessions imposed by Nvidia to consumer-grade GPUs.
NvFBC patch (wrapper) allows to use NvFBC on consumer-grade GPUs. See nvfbcwrp (clickable) directory for details.
If you like this project, best way to contribute is by sending PRs and fixing documentation.
Requirements
- Any of following 64bit operating systems:
- Windows 7
- Windows 8
- Windows 8.1
- Windows 10
- Windows 11
- Windows Server 2008 R2
- Windows Server 2012
- Windows Server 2012 R2
- Windows Server 2016
- Windows Server 2019
- NVENC-compatible GPU (https://developer.nvidia.com/video-encode-decode-gpu-support-matrix#Encoder)
- Nvidia driver. Patch available for versions in table below.
NVENC Patch Step-by-Step Guide
- Download and install the latest Nvidia driver supported by this patch.
- Download the latest patching tool:
- You can use the updated fork of the Win_1337_Apply_Patch tool from Win_1337_Apply_Patch
[pCloud Mirror](https://u.pcloud.link/publink/show?code=KS2rtalK)
. - Alternatively, you can use the PowerShell script version available at Win_1337_Apply_Patch_Powershell
[pCloud Mirror](https://u.pcloud.link/publink/show?code=B62)
. For instructions on how to use it, see the README.md file.
- You can use the updated fork of the Win_1337_Apply_Patch tool from Win_1337_Apply_Patch
- Save patch(es) corresponding to your system, driver and product version from Version Table using direct link to the patch (Right Click -> "Save as...")
- Alternatively you may checkout repo using git or download it as ZIP archive and then locate corresponding .1337 patch file in
win
directory.
- Alternatively you may checkout repo using git or download it as ZIP archive and then locate corresponding .1337 patch file in
- Apply x64 library patch to corresponding file in
%WINDIR%\system32\
with the Win_1337_Apply_Patch tool.- If patching fails, close all applications using nvencodeapi64.dll, such as OBS Studio, Plex or Discord.
- 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 566.03, use win10_x64/566.03/nvencodeapi64.1337
against C:\WINDOWS\system32\nvencodeapi64.dll
and win10_x64/566.03/nvencodeapi.1337
against C:\WINDOWS\SysWOW64\nvencodeapi.dll
.
If you still get "problem occured when patching" error, refer to the instructions to change the ownership of the DLLs by @VorlonCD
You can also use FFmpeg to verify that NVENC session limit is removed.
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) directory for instructions.
A video guide is also available:
Credits to TroubleChute channel.
Version Table
Windows 10, Windows 11 drivers
Windows 7, Windows 8, Windows 8.1 drivers
Product series | Version | x64 library patch | x86 library patch | Driver link |
---|---|---|---|---|
Quadro | 431.02 | x64 library patch | x86 library patch | Driver link |
Quadro | 431.70 | x64 library patch | x86 library patch | Driver link |
Quadro | 431.86 | x64 library patch | x86 library patch | Driver link |
Quadro | 431.94 | x64 library patch | x86 library patch | Driver link |
Quadro | 436.02 | x64 library patch | x86 library patch | Driver link |
Quadro | 436.30 | x64 library patch | x86 library patch | Driver link |
Quadro | 440.97 | x64 library patch | x86 library patch | Driver link |
Quadro | 441.12 | x64 library patch | x86 library patch | Driver link |
Quadro | 441.28 | x64 library patch | x86 library patch | Driver link |
Quadro | 441.66 | x64 library patch | x86 library patch | Driver link |
Windows Server 2008R2, 2012, 2012R2 drivers
Windows Server 2016, 2019 drivers
Benchmarks
- Plex Media Server: nVidia Hardware Transcoding Calculator for Plex Estimates - useful benchmark of achieved simultaneous transcodes with various stream quality and hardware with patched drivers.