nvidia-patch/win
2019-05-27 23:57:03 +03:00
..
NvencSessionLimitBump@390c2b1a82 add NvencSessionLimitBump submodule 2019-03-05 14:03:33 +02:00
tools ap: add some support for Windows Server drivers 2019-05-20 00:35:46 +03:00
win10_x64 add support for 430.86 drivers 2019-05-27 23:40:03 +03:00
Win_1337_Apply_Patch@9566cbc482 win: pin latest stable patcher utility 2019-04-03 21:46:28 +03:00
ws2012_x64 add support for 430.86 drivers 2019-05-27 23:40:03 +03:00
ffmpeg_null_10streams.cmd addresses issue #53 2019-03-02 16:35:07 +02:00
README.md win: rename latest CRD driver to Studio Driver 2019-05-27 23:57:03 +03:00
silent_bump.au3 win: README: add new info from issue #53 and #70 2019-03-05 14:03:33 +02:00

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

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
GeForce 430.86 Direct link Direct link
GeForce 430.86 Studio Driver 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
Quadro 430.86 Direct link Direct link

Windows Server 2012 drivers

Product series Version Patch Driver link
Quadro 430.64 Direct link Direct link
Quadro 430.86 Direct link Direct link

See also

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

  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.