From e9a459d68fa134024b9b601cc63c6709c087cc91 Mon Sep 17 00:00:00 2001 From: Vladislav Yarmak Date: Sun, 16 Feb 2020 11:13:30 +0200 Subject: [PATCH 1/3] linux driver 440.58.01 --- drivers.json | 5 +++++ patch-fbc.sh | 2 ++ patch.sh | 2 ++ 3 files changed, 9 insertions(+) diff --git a/drivers.json b/drivers.json index 2fff990..5464ef2 100644 --- a/drivers.json +++ b/drivers.json @@ -255,6 +255,11 @@ "nvenc_patch": true, "nvfbc_patch": true, "driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/440.59/NVIDIA-Linux-x86_64-440.59.run" + }, + { + "version": "440.58.01", + "nvenc_patch": true, + "nvfbc_patch": true } ], "example": { diff --git a/patch-fbc.sh b/patch-fbc.sh index 3ddaeed..e571bd7 100755 --- a/patch-fbc.sh +++ b/patch-fbc.sh @@ -51,6 +51,7 @@ declare -A patch_list=( ["440.43.01"]='s/\x85\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/\x31\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/' ["440.44"]='s/\x85\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/\x31\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/' ["440.48.02"]='s/\x85\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/\x31\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/' + ["440.58.01"]='s/\x85\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/\x31\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/' ["440.59"]='s/\x85\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/\x31\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/' ) @@ -63,6 +64,7 @@ declare -A object_list=( ["440.43.01"]='libnvidia-fbc.so' ["440.44"]='libnvidia-fbc.so' ["440.48.02"]='libnvidia-fbc.so' + ["440.58.01"]='libnvidia-fbc.so' ["440.59"]='libnvidia-fbc.so' ) diff --git a/patch.sh b/patch.sh index 65bfd93..605ed4d 100755 --- a/patch.sh +++ b/patch.sh @@ -87,6 +87,7 @@ declare -A patch_list=( ["440.43.01"]='s/\x85\xc0\x41\x89\xc4\x75\x1f/\x31\xc0\x41\x89\xc4\x75\x1f/g' ["440.44"]='s/\x85\xc0\x41\x89\xc4\x75\x1f/\x31\xc0\x41\x89\xc4\x75\x1f/g' ["440.48.02"]='s/\x85\xc0\x41\x89\xc4\x75\x1f/\x31\xc0\x41\x89\xc4\x75\x1f/g' + ["440.58.01"]='s/\x85\xc0\x41\x89\xc4\x75\x1f/\x31\xc0\x41\x89\xc4\x75\x1f/g' ["440.59"]='s/\x85\xc0\x41\x89\xc4\x75\x1f/\x31\xc0\x41\x89\xc4\x75\x1f/g' ) @@ -133,6 +134,7 @@ declare -A object_list=( ["440.43.01"]='libnvidia-encode.so' ["440.44"]='libnvidia-encode.so' ["440.48.02"]='libnvidia-encode.so' + ["440.58.01"]='libnvidia-encode.so' ["440.59"]='libnvidia-encode.so' ) From 8ec4601440f84eaea041e6ab4be891454f270876 Mon Sep 17 00:00:00 2001 From: Vladislav Yarmak Date: Sun, 16 Feb 2020 11:19:11 +0200 Subject: [PATCH 2/3] windows driver version 442.36 --- drivers.json | 18 ++++++++++++++++++ win/win10_x64/442.36/nvencodeapi.1337 | 6 ++++++ win/win10_x64/442.36/nvencodeapi64.1337 | 5 +++++ win/win7_x64/442.36/nvencodeapi.1337 | 5 +++++ win/win7_x64/442.36/nvencodeapi64.1337 | 5 +++++ 5 files changed, 39 insertions(+) create mode 100644 win/win10_x64/442.36/nvencodeapi.1337 create mode 100644 win/win10_x64/442.36/nvencodeapi64.1337 create mode 100644 win/win7_x64/442.36/nvencodeapi.1337 create mode 100644 win/win7_x64/442.36/nvencodeapi64.1337 diff --git a/drivers.json b/drivers.json index 5464ef2..33f4e12 100644 --- a/drivers.json +++ b/drivers.json @@ -1151,6 +1151,24 @@ "patch64_url": "https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/ws2012_x64/quadro_442.19/nvencodeapi64.1337", "patch32_url": "https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/ws2012_x64/quadro_442.19/nvencodeapi.1337", "driver_url": "https://international.download.nvidia.com/Windows/Quadro_Certified/442.19/442.19-quadro-winserv-2012r2-64bit-international-whql.exe" + }, + { + "os": "win10", + "product": "GeForce", + "version": "442.36", + "variant": "Vulkan Beta", + "patch64_url": "https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/442.36/nvencodeapi64.1337", + "patch32_url": "https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/442.36/nvencodeapi.1337", + "driver_url": "" + }, + { + "os": "win7", + "product": "GeForce", + "version": "442.36", + "variant": "Vulkan Beta", + "patch64_url": "https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/442.36/nvencodeapi64.1337", + "patch32_url": "https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/442.36/nvencodeapi.1337", + "driver_url": "" } ] } diff --git a/win/win10_x64/442.36/nvencodeapi.1337 b/win/win10_x64/442.36/nvencodeapi.1337 new file mode 100644 index 0000000..eb01603 --- /dev/null +++ b/win/win10_x64/442.36/nvencodeapi.1337 @@ -0,0 +1,6 @@ +>nvencodeapi.dll +000000000002A5E6:89->33 +000000000002A5E7:45->C0 +000000000002A5E8:08->89 +000000000002A5E9:85->45 +000000000002A5EA:C0->08 \ No newline at end of file diff --git a/win/win10_x64/442.36/nvencodeapi64.1337 b/win/win10_x64/442.36/nvencodeapi64.1337 new file mode 100644 index 0000000..c0c2511 --- /dev/null +++ b/win/win10_x64/442.36/nvencodeapi64.1337 @@ -0,0 +1,5 @@ +>nvencodeapi64.dll +000000000002ECBA:8B->33 +000000000002ECBB:F0->C0 +000000000002ECBC:85->8B +000000000002ECBD:C0->F0 \ No newline at end of file diff --git a/win/win7_x64/442.36/nvencodeapi.1337 b/win/win7_x64/442.36/nvencodeapi.1337 new file mode 100644 index 0000000..2d8366b --- /dev/null +++ b/win/win7_x64/442.36/nvencodeapi.1337 @@ -0,0 +1,5 @@ +>nvencodeapi.dll +00000000000225E7:8B->33 +00000000000225E8:D8->C0 +00000000000225E9:85->8B +00000000000225EA:DB->D8 \ No newline at end of file diff --git a/win/win7_x64/442.36/nvencodeapi64.1337 b/win/win7_x64/442.36/nvencodeapi64.1337 new file mode 100644 index 0000000..1aa8a13 --- /dev/null +++ b/win/win7_x64/442.36/nvencodeapi64.1337 @@ -0,0 +1,5 @@ +>nvencodeapi64.dll +0000000000026B50:8B->33 +0000000000026B51:F0->C0 +0000000000026B52:85->8B +0000000000026B53:C0->F0 \ No newline at end of file From 359befe4ee98142d09a31d81f004e614484a6b30 Mon Sep 17 00:00:00 2001 From: Vladislav Yarmak Date: Sun, 16 Feb 2020 11:20:23 +0200 Subject: [PATCH 3/3] autogen --- README.md | 1 + win/README.md | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2d8fdf8..98f41ac 100644 --- a/README.md +++ b/README.md @@ -60,6 +60,7 @@ Requirements: | 440.43.01 | :heavy_check_mark: | :heavy_check_mark: | | | 440.44 | :heavy_check_mark: | :heavy_check_mark: | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/440.44/NVIDIA-Linux-x86_64-440.44.run) | | 440.48.02 | :heavy_check_mark: | :heavy_check_mark: | | +| 440.58.01 | :heavy_check_mark: | :heavy_check_mark: | | | 440.59 | :heavy_check_mark: | :heavy_check_mark: | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/440.59/NVIDIA-Linux-x86_64-440.59.run) | ## Synopsis diff --git a/win/README.md b/win/README.md index c897264..8f9c566 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-442.19-brightgreen.svg) ![Latest Quadro version](https://img.shields.io/badge/latest%20Quadro%20version-442.19-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-442.36-brightgreen.svg) ![Latest Quadro version](https://img.shields.io/badge/latest%20Quadro%20version-442.19-blue.svg) This patch removes restriction on maximum number of simultaneous NVENC video encoding sessions imposed by Nvidia to consumer-grade GPUs. @@ -29,7 +29,7 @@ Requirements: 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 442.19 use `win10_x64/442.19/nvencodeapi64.1337` against `C:\WINDOWS\system32\nvencodeapi64.dll` and `win10_x64/442.19/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 442.36 use `win10_x64/442.36/nvencodeapi64.1337` against `C:\WINDOWS\system32\nvencodeapi64.dll` and `win10_x64/442.36/nvencodeapi.1337` against `C:\WINDOWS\SysWOW64\nvencodeapi.dll`. *If patching fails, close all applications using nvencodeapi(64).dll, such as OBS Studio.* 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)](skip_sig_check) directory for instructions. @@ -79,6 +79,7 @@ A video tutorial is also available. Credits to designator2009. (*Covers older pa | 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) | | | GeForce | 442.19 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/442.19/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/442.19/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/442.19/442.19-desktop-win10-64bit-international-whql.exe) | | GeForce | 442.19 Studio Driver | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/nsd_442.19/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/nsd_442.19/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/442.19/442.19-desktop-win10-64bit-international-nsd-whql.exe) | +| GeForce | 442.36 Vulkan Beta | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/442.36/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/442.36/nvencodeapi.1337) | | | Product series | Version | x64 library patch | x86 library patch | Driver link | @@ -122,6 +123,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/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) | | +| GeForce | 442.36 Vulkan Beta | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/442.36/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/442.36/nvencodeapi.1337) | | | Product series | Version | x64 library patch | x86 library patch | Driver link |