From 62e6db9ebe86a90e2e960fef87e72d42113af98a Mon Sep 17 00:00:00 2001 From: Vladislav Yarmak Date: Tue, 24 Nov 2020 23:19:48 +0200 Subject: [PATCH 1/3] win: vulkan beta: add driver version 457.44 --- drivers.json | 18 ++++++++++++++++++ win/README.md | 6 ++++-- win/win10_x64/457.44/nvencodeapi.1337 | 6 ++++++ win/win10_x64/457.44/nvencodeapi64.1337 | 5 +++++ win/win7_x64/457.44/nvencodeapi.1337 | 5 +++++ win/win7_x64/457.44/nvencodeapi64.1337 | 5 +++++ 6 files changed, 43 insertions(+), 2 deletions(-) create mode 100644 win/win10_x64/457.44/nvencodeapi.1337 create mode 100644 win/win10_x64/457.44/nvencodeapi64.1337 create mode 100644 win/win7_x64/457.44/nvencodeapi.1337 create mode 100644 win/win7_x64/457.44/nvencodeapi64.1337 diff --git a/drivers.json b/drivers.json index de0b79e..7aeee2d 100644 --- a/drivers.json +++ b/drivers.json @@ -2228,6 +2228,24 @@ "patch64_url": "win7_x64/457.33/nvencodeapi64.1337", "patch32_url": "win7_x64/457.33/nvencodeapi.1337", "driver_url": "" + }, + { + "os": "win10", + "product": "GeForce", + "version": "457.44", + "variant": "Vulkan Beta", + "patch64_url": "win10_x64/457.44/nvencodeapi64.1337", + "patch32_url": "win10_x64/457.44/nvencodeapi.1337", + "driver_url": "" + }, + { + "os": "win7", + "product": "GeForce", + "version": "457.44", + "variant": "Vulkan Beta", + "patch64_url": "win7_x64/457.44/nvencodeapi64.1337", + "patch32_url": "win7_x64/457.44/nvencodeapi.1337", + "driver_url": "" } ] } diff --git a/win/README.md b/win/README.md index 9517c81..9320e02 100644 --- a/win/README.md +++ b/win/README.md @@ -1,7 +1,7 @@ NVENC and NvFBC patches for Windows Nvidia drivers ================================================== -![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-457.33-brightgreen.svg) ![Latest Quadro version](https://img.shields.io/badge/latest%20Quadro%20version-457.09-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-457.44-brightgreen.svg) ![Latest Quadro version](https://img.shields.io/badge/latest%20Quadro%20version-457.09-blue.svg) NVENC patch removes restriction on maximum number of simultaneous NVENC video encoding sessions imposed by Nvidia to consumer-grade GPUs. @@ -54,7 +54,7 @@ git clone https://ipfs.io/ipns/Qmed4r8yrBP162WK1ybd1DJWhLUi4t6mGuBoB9fLtjxR7u nv 5. Apply x86 library patch to corresponding file in `%WINDIR%\SysWOW64\` in the same way as previous one. - *If patching fails, close all applications using nvencodeapi.dll, such as OBS Studio, Plex or Discord.* -**Example:** for 64bit Windows 10 running driver version 457.33, use `win10_x64/457.33/nvencodeapi64.1337` against `C:\WINDOWS\system32\nvencodeapi64.dll` **and** `win10_x64/457.33/nvencodeapi.1337` against `C:\WINDOWS\SysWOW64\nvencodeapi.dll`. +**Example:** for 64bit Windows 10 running driver version 457.44, use `win10_x64/457.44/nvencodeapi64.1337` against `C:\WINDOWS\system32\nvencodeapi64.dll` **and** `win10_x64/457.44/nvencodeapi.1337` against `C:\WINDOWS\SysWOW64\nvencodeapi.dll`. 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. @@ -149,6 +149,7 @@ Credits to [TroubleChute channel](https://www.youtube.com/channel/UCkih2oVTbXPEp | GeForce | 457.30 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/457.30/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/457.30/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/457.30/457.30-desktop-win10-64bit-international-whql.exe) | | GeForce | 457.30 Studio Driver | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/nsd_457.30/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/nsd_457.30/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/457.30/457.30-desktop-win10-64bit-international-nsd-whql.exe) | | GeForce | 457.33 Vulkan Beta | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/457.33/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/457.33/nvencodeapi.1337) | | +| GeForce | 457.44 Vulkan Beta | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/457.44/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/457.44/nvencodeapi.1337) | | | Product series | Version | x64 library patch | x86 library patch | Driver link | @@ -233,6 +234,7 @@ Credits to [TroubleChute channel](https://www.youtube.com/channel/UCkih2oVTbXPEp | GeForce | 457.09 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/457.09/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/457.09/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/457.09/457.09-desktop-win8-win7-64bit-international-whql.exe) | | GeForce | 457.30 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/457.30/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/457.30/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/457.30/457.30-desktop-win8-win7-64bit-international-whql.exe) | | GeForce | 457.33 Vulkan Beta | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/457.33/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/457.33/nvencodeapi.1337) | | +| GeForce | 457.44 Vulkan Beta | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/457.44/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/457.44/nvencodeapi.1337) | | | Product series | Version | x64 library patch | x86 library patch | Driver link | diff --git a/win/win10_x64/457.44/nvencodeapi.1337 b/win/win10_x64/457.44/nvencodeapi.1337 new file mode 100644 index 0000000..42290e9 --- /dev/null +++ b/win/win10_x64/457.44/nvencodeapi.1337 @@ -0,0 +1,6 @@ +>nvencodeapi.dll +000000000002B2D6:89->33 +000000000002B2D7:45->C0 +000000000002B2D8:08->89 +000000000002B2D9:85->45 +000000000002B2DA:C0->08 \ No newline at end of file diff --git a/win/win10_x64/457.44/nvencodeapi64.1337 b/win/win10_x64/457.44/nvencodeapi64.1337 new file mode 100644 index 0000000..9ad5a75 --- /dev/null +++ b/win/win10_x64/457.44/nvencodeapi64.1337 @@ -0,0 +1,5 @@ +>nvencodeapi64.dll +000000000002FFBA:8B->33 +000000000002FFBB:F0->C0 +000000000002FFBC:85->8B +000000000002FFBD:C0->F0 \ No newline at end of file diff --git a/win/win7_x64/457.44/nvencodeapi.1337 b/win/win7_x64/457.44/nvencodeapi.1337 new file mode 100644 index 0000000..6998b66 --- /dev/null +++ b/win/win7_x64/457.44/nvencodeapi.1337 @@ -0,0 +1,5 @@ +>nvencodeapi.dll +00000000000234C7:8B->33 +00000000000234C8:D8->C0 +00000000000234C9:85->8B +00000000000234CA:DB->D8 \ No newline at end of file diff --git a/win/win7_x64/457.44/nvencodeapi64.1337 b/win/win7_x64/457.44/nvencodeapi64.1337 new file mode 100644 index 0000000..381b8fa --- /dev/null +++ b/win/win7_x64/457.44/nvencodeapi64.1337 @@ -0,0 +1,5 @@ +>nvencodeapi64.dll +0000000000027C20:8B->33 +0000000000027C21:F0->C0 +0000000000027C22:85->8B +0000000000027C23:C0->F0 \ No newline at end of file From 2e596af97a8cca1ac41c7906f8843af5e1fe6bd2 Mon Sep 17 00:00:00 2001 From: Vladislav Yarmak Date: Tue, 24 Nov 2020 23:33:12 +0200 Subject: [PATCH 2/3] readme-autogen: allow to add driver w/o fbc patch --- tools/readme-autogen/add_driver.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/readme-autogen/add_driver.py b/tools/readme-autogen/add_driver.py index d53d1e2..e957b25 100755 --- a/tools/readme-autogen/add_driver.py +++ b/tools/readme-autogen/add_driver.py @@ -68,6 +68,10 @@ def parse_args(): parser.add_argument("--skip-url-check", action="store_true", help="skip driver URL check") + parser.add_argument("--no-fbc", + dest="fbc", + action="store_false", + help="add driver w/o NvFBC patch") parser.add_argument("version", help="driver version") args = parser.parse_args() @@ -171,7 +175,7 @@ def main(): new_driver = { "version": args.version, "nvenc_patch": True, - "nvfbc_patch": True, + "nvfbc_patch": args.fbc, } if url: new_driver["driver_url"] = url From d5b06556c91bf390c52632d6ce11df59a53a9526 Mon Sep 17 00:00:00 2001 From: Vladislav Yarmak Date: Tue, 24 Nov 2020 23:34:08 +0200 Subject: [PATCH 3/3] linux: add vulkan beta driver version 455.46.02 (NVENC only) --- drivers.json | 5 +++++ patch.sh | 2 ++ 2 files changed, 7 insertions(+) diff --git a/drivers.json b/drivers.json index 7aeee2d..3a1226b 100644 --- a/drivers.json +++ b/drivers.json @@ -473,6 +473,11 @@ "version": "455.46.01", "nvenc_patch": true, "nvfbc_patch": true + }, + { + "version": "455.46.02", + "nvenc_patch": true, + "nvfbc_patch": false } ], "example": { diff --git a/patch.sh b/patch.sh index fd4d4f5..362785d 100755 --- a/patch.sh +++ b/patch.sh @@ -131,6 +131,7 @@ declare -A patch_list=( ["455.38"]='s/\x85\xc0\x41\x89\xc4\x75\x1f/\x31\xc0\x41\x89\xc4\x75\x1f/g' ["455.45.01"]='s/\x85\xc0\x41\x89\xc4\x75\x1f/\x31\xc0\x41\x89\xc4\x75\x1f/g' ["455.46.01"]='s/\x85\xc0\x41\x89\xc4\x75\x1f/\x31\xc0\x41\x89\xc4\x75\x1f/g' + ["455.46.02"]='s/\x85\xc0\x41\x89\xc4\x75\x1f/\x31\xc0\x41\x89\xc4\x75\x1f/g' ) declare -A object_list=( @@ -217,6 +218,7 @@ declare -A object_list=( ["455.38"]='libnvidia-encode.so' ["455.45.01"]='libnvidia-encode.so' ["455.46.01"]='libnvidia-encode.so' + ["455.46.02"]='libnvidia-encode.so' ) check_version_supported () {