You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nvidia-patch/win
Vladislav Yarmak 23538d1b66 win: pin latest stable patcher utility 5 years ago
..
NvencSessionLimitBump@390c2b1a82 add NvencSessionLimitBump submodule 5 years ago
Win_1337_Apply_Patch@9566cbc482 win: pin latest stable patcher utility 5 years ago
tools win: autopatch: add support for creator ready driver 5 years ago
win10_x64 win: add 419.67 CRD 5 years ago
README.md win: add 419.67 CRD 5 years ago
ffmpeg_null_10streams.cmd addresses issue #53 5 years ago
silent_bump.au3 win: README: add new info from issue #53 and #70 5 years ago

README.md

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:

Step-by-Step Guide

  1. Download and install latest Nvidia driver supported by this patch.
  2. Download latest Win_1337_Apply_Patch tool.
  3. 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.
  4. 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

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
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

See also

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):

  1. Download and run latest release of NvencSessionLimitBump.
  2. (Optional) Add it to autostart programs.

By default this application raises limit to 32 encoding sessions. Credits to @jantenhove.

Method 2 (alternative)

  1. Download 64bit FFmpeg for Windows: https://ffmpeg.zeranoe.com/builds/
  2. Unpack it somewhere.
  3. Get ffmpeg_null_10streams.cmd from this repo.
  4. Edit ffmpeg_null_10streams.cmd and set executable path to real location of your unpacked ffmpeg.
  5. (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.