9.4 KiB
Nvidia drivers patch for Windows
This patch removes restriction on maximum number of simultaneous NVENC video encoding sessions imposed by Nvidia to consumer-grade GPUs.
Requirements:
- Win10 x64 or Windows Server 2012 x64
- NVENC-compatible GPU (https://developer.nvidia.com/video-encode-decode-gpu-support-matrix#Encoder)
- Nvidia driver. Patch available for versions in table below.
Step-by-Step Guide
- Download and install latest Nvidia driver supported by this patch.
- Download latest Win_1337_Apply_Patch tool.
- Save appropriate patch 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. - Apply patch to corresponding file in
%WINDIR%\system32\
with the Win_1337_Apply_Patch tool. File name of patched object is specified in first line of .1337 patch.
E.g, for 64bit Windows 10 running driver version 417.35 use win10_x64/417.35/nvcuvid.1337
against C:\WINDOWS\system32\nvcuvid.dll
.
Version Table
Windows 10 drivers
Product series | Version | Patch | Driver link |
---|---|---|---|
GeForce | 417.35 | Direct link | Direct link |
GeForce | 417.58 | Direct link | Direct link |
GeForce | 417.71 | Direct link | Direct link |
GeForce | 418.81 | Direct link | Direct link |
GeForce | 418.91 | Direct link | Direct link |
GeForce | 419.17 | Direct link | Direct link |
GeForce | 419.35 | Direct link | Direct link |
GeForce | 419.67 | Direct link | Direct link |
GeForce | 419.67 CRD | Direct link | Direct link |
GeForce | 425.31 | Direct link | Direct link |
GeForce | 430.39 | Direct link | Direct link |
GeForce | 430.64 | Direct link | Direct link |
Product series | Version | Patch | Driver link |
---|---|---|---|
Quadro | 412.16 | Direct link | Direct link |
Quadro | 412.29 | Direct link | Direct link |
Quadro | 416.78 | Direct link | Direct link |
Quadro | 418.81 | Direct link | Direct link |
Quadro | 419.17 | Direct link | Direct link |
Quadro | 419.67 | Direct link | Direct link |
Quadro | 425.31 | Direct link | Direct link |
Quadro | 430.39 | Direct link | Direct link |
Quadro | 430.64 | Direct link | Direct link |
Windows Server 2012 drivers
Product series | Version | Patch | Driver link |
---|---|---|---|
Quadro | 430.64 | Direct link | Direct link |
See also
- Genesis in related issue
Plex Media Server, D3D11 and 32-bit apps encoding sessions
Related issue. Summary: this patch permanently removes limit only for CUDA NVENC sessions in 64bit apps. But once usage limit was exceeded, it persists for all kinds of apps until system reboot. So, for example, you may once open 10 sessions with 64bit version of ffmpeg
and limit will get raised to 10 for all rest types of apps until reboot. You may follow these steps to achieve this automatically and have all limits raised (assuming patch above already applied):
Method 1 (recommended)
- Download and run latest release of NvencSessionLimitBump.
- (Optional) Add it to autostart programs.
By default this application raises limit to 32 encoding sessions. Credits to @jantenhove.
Method 2 (alternative)
- Download 64bit FFmpeg for Windows: https://ffmpeg.zeranoe.com/builds/
- Unpack it somewhere.
- Get
ffmpeg_null_10streams.cmd
from this repo. - Edit
ffmpeg_null_10streams.cmd
and set executable path to real location of your unpacked ffmpeg. - (Optional) Add
ffmpeg_null_10streams.cmd
to autostart programs.
Bonus: you may use this AutoIt script from @wazerstar for silent startup of console applications bumping sessions.
Also you may use these methods to check if patch applied correctly and limit was raised. Use them when nothing works and you are in doubt.