From 30caf738be5534aee6a04ba9eb24466896cdf0d6 Mon Sep 17 00:00:00 2001 From: Vladislav Yarmak Date: Sat, 18 Jan 2020 00:21:57 +0200 Subject: [PATCH] win: introduce Vulkan Beta driver --- drivers.json | 18 ++++++++++++++++++ tools/readme-autogen/constants.py | 3 +++ win/README.md | 8 +++++--- win/win10_x64/441.99/nvencodeapi.1337 | 6 ++++++ win/win10_x64/441.99/nvencodeapi64.1337 | 5 +++++ win/win7_x64/441.99/nvencodeapi.1337 | 5 +++++ win/win7_x64/441.99/nvencodeapi64.1337 | 5 +++++ 7 files changed, 47 insertions(+), 3 deletions(-) create mode 100644 win/win10_x64/441.99/nvencodeapi.1337 create mode 100644 win/win10_x64/441.99/nvencodeapi64.1337 create mode 100644 win/win7_x64/441.99/nvencodeapi.1337 create mode 100644 win/win7_x64/441.99/nvencodeapi64.1337 diff --git a/drivers.json b/drivers.json index 171be73..7d2aebc 100644 --- a/drivers.json +++ b/drivers.json @@ -1077,6 +1077,24 @@ "patch64_url": "https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/441.87/nvencodeapi64.1337", "patch32_url": "https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/441.87/nvencodeapi.1337", "driver_url": "https://international.download.nvidia.com/Windows/441.87/441.87-desktop-win8-win7-64bit-international-whql.exe" + }, + { + "os": "win10", + "product": "GeForce", + "version": "441.99", + "variant": "Vulkan Beta", + "patch64_url": "https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/441.99/nvencodeapi64.1337", + "patch32_url": "https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/441.99/nvencodeapi.1337", + "driver_url": "" + }, + { + "os": "win7", + "product": "GeForce", + "version": "441.99", + "variant": "Vulkan Beta", + "patch64_url": "https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/441.99/nvencodeapi64.1337", + "patch32_url": "https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/441.99/nvencodeapi.1337", + "driver_url": "" } ] } diff --git a/tools/readme-autogen/constants.py b/tools/readme-autogen/constants.py index 69b015d..f52d780 100644 --- a/tools/readme-autogen/constants.py +++ b/tools/readme-autogen/constants.py @@ -40,8 +40,10 @@ DRIVER_URL_TEMPLATE = { (OSKind.Linux, None, None, None): "https://international.download.nvidia.com/XFree86/Linux-x86_64/$version/NVIDIA-Linux-x86_64-$version.run", (OSKind.Windows, Product.GeForce, WinSeries.win10, ''): "https://international.download.nvidia.com/Windows/$version/$version-desktop-win10-64bit-international-whql.exe", (OSKind.Windows, Product.GeForce, WinSeries.win10, 'Studio Driver'): "https://international.download.nvidia.com/Windows/$version/$version-desktop-win10-64bit-international-nsd-whql.exe", + (OSKind.Windows, Product.GeForce, WinSeries.win10, 'Vulkan Beta'): "", (OSKind.Windows, Product.Quadro, WinSeries.win10, ''): "https://international.download.nvidia.com/Windows/Quadro_Certified/$version/$version-quadro-desktop-notebook-win10-64bit-international-whql.exe", (OSKind.Windows, Product.GeForce, WinSeries.win7, ''): "https://international.download.nvidia.com/Windows/$version/$version-desktop-win8-win7-64bit-international-whql.exe", + (OSKind.Windows, Product.GeForce, WinSeries.win7, 'Vulkan Beta'): "", (OSKind.Windows, Product.Quadro, WinSeries.win7, ''): "https://international.download.nvidia.com/Windows/Quadro_Certified/$version/$version-quadro-desktop-notebook-win8-win7-64bit-international-whql.exe", (OSKind.Windows, Product.Quadro, WinSeries.ws2012, ''): "https://international.download.nvidia.com/Windows/Quadro_Certified/$version/$version-quadro-winserv2008r2-2012-2012r2-64bit-international-whql.exe", (OSKind.Windows, Product.Quadro, WinSeries.ws2016, ''): "https://international.download.nvidia.com/Windows/Quadro_Certified/$version/$version-quadro-winserv-2016-2019-64bit-international-whql.exe", @@ -50,6 +52,7 @@ DRIVER_URL_TEMPLATE = { DRIVER_DIR_PREFIX = { (Product.GeForce, ''): '', (Product.GeForce, 'Studio Driver'): 'nsd_', + (Product.GeForce, 'Vulkan Beta'): '', (Product.Quadro, ''): 'quadro_', } diff --git a/win/README.md b/win/README.md index c02560c..0ef6ab9 100644 --- a/win/README.md +++ b/win/README.md @@ -1,7 +1,7 @@ Nvidia drivers patch for Windows ================================ -![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-441.87-brightgreen.svg) ![Latest Quadro version](https://img.shields.io/badge/latest%20Quadro%20version-441.66-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-441.99-brightgreen.svg) ![Latest Quadro version](https://img.shields.io/badge/latest%20Quadro%20version-441.66-blue.svg) This patch removes restriction on maximum number of simultaneous NVENC video encoding sessions imposed by Nvidia to consumer-grade GPUs. @@ -23,13 +23,13 @@ Requirements: - Nvidia driver. Patch available for versions in [table below](#version-table). ## Step-by-Step Guide + 1. Download and install latest Nvidia driver supported by this patch. 2. Download latest [Win\_1337\_Apply\_Patch tool](https://github.com/Deltafox79/Win_1337_Apply_Patch/releases/latest). 3. Save appropriate patch(es) from [Version Table](#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 x64 library 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. If x86 (32 bit) library patch is also available, apply it to same file in `%WINDIR%\SysWOW64\`. -E.g, for 64bit Windows 10 running driver version 441.87 use `win10_x64/441.87/nvencodeapi64.1337` against `C:\WINDOWS\system32\nvencodeapi64.dll` and `win10_x64/441.87/nvencodeapi.1337` against `C:\WINDOWS\SysWOW64\nvencodeapi.dll`. -*If patching fails, close all applications using nvencodeapi(64).dll, such as OBS Studio.* +E.g, for 64bit Windows 10 running driver version 441.99 use `win10_x64/441.99/nvencodeapi64.1337` against `C:\WINDOWS\system32\nvencodeapi64.dll` and `win10_x64/441.99/nvencodeapi.1337` against `C:\WINDOWS\SysWOW64\nvencodeapi.dll`. A video tutorial is also available. Credits to designator2009. (*Covers older patches. Now we probably don't need to autorun executable if x86 library patch applied*) @@ -74,6 +74,7 @@ A video tutorial is also available. Credits to designator2009. (*Covers older pa | GeForce | 441.66 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/441.66/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/441.66/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/441.66/441.66-desktop-win10-64bit-international-whql.exe) | | GeForce | 441.66 Studio Driver | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/nsd_441.66/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/nsd_441.66/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/441.66/441.66-desktop-win10-64bit-international-nsd-whql.exe) | | GeForce | 441.87 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/441.87/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/441.87/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/441.87/441.87-desktop-win10-64bit-international-whql.exe) | +| GeForce | 441.99 Vulkan Beta | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/441.99/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/441.99/nvencodeapi.1337) | | | Product series | Version | x64 library patch | x86 library patch | Driver link | @@ -115,6 +116,7 @@ A video tutorial is also available. Credits to designator2009. (*Covers older pa | GeForce | 441.41 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/441.41/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/441.41/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/441.41/441.41-desktop-win8-win7-64bit-international-whql.exe) | | GeForce | 441.66 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/441.66/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/441.66/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/441.66/441.66-desktop-win8-win7-64bit-international-whql.exe) | | GeForce | 441.87 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/441.87/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/441.87/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/441.87/441.87-desktop-win8-win7-64bit-international-whql.exe) | +| GeForce | 441.99 Vulkan Beta | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/441.99/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/441.99/nvencodeapi.1337) | | | Product series | Version | x64 library patch | x86 library patch | Driver link | diff --git a/win/win10_x64/441.99/nvencodeapi.1337 b/win/win10_x64/441.99/nvencodeapi.1337 new file mode 100644 index 0000000..64e8022 --- /dev/null +++ b/win/win10_x64/441.99/nvencodeapi.1337 @@ -0,0 +1,6 @@ +>nvencodeapi.dll +0000000000029DC6:89->33 +0000000000029DC7:45->C0 +0000000000029DC8:08->89 +0000000000029DC9:85->45 +0000000000029DCA:C0->08 \ No newline at end of file diff --git a/win/win10_x64/441.99/nvencodeapi64.1337 b/win/win10_x64/441.99/nvencodeapi64.1337 new file mode 100644 index 0000000..7b5456d --- /dev/null +++ b/win/win10_x64/441.99/nvencodeapi64.1337 @@ -0,0 +1,5 @@ +>nvencodeapi64.dll +000000000002E4AA:8B->33 +000000000002E4AB:F0->C0 +000000000002E4AC:85->8B +000000000002E4AD:C0->F0 \ No newline at end of file diff --git a/win/win7_x64/441.99/nvencodeapi.1337 b/win/win7_x64/441.99/nvencodeapi.1337 new file mode 100644 index 0000000..55d3ad7 --- /dev/null +++ b/win/win7_x64/441.99/nvencodeapi.1337 @@ -0,0 +1,5 @@ +>nvencodeapi.dll +0000000000021DB7:8B->33 +0000000000021DB8:D8->C0 +0000000000021DB9:85->8B +0000000000021DBA:DB->D8 \ No newline at end of file diff --git a/win/win7_x64/441.99/nvencodeapi64.1337 b/win/win7_x64/441.99/nvencodeapi64.1337 new file mode 100644 index 0000000..9f9935c --- /dev/null +++ b/win/win7_x64/441.99/nvencodeapi64.1337 @@ -0,0 +1,5 @@ +>nvencodeapi64.dll +0000000000026350:8B->33 +0000000000026351:F0->C0 +0000000000026352:85->8B +0000000000026353:C0->F0 \ No newline at end of file