From 3377a0c96e88a4a315dedcbb67f82abd2520dc63 Mon Sep 17 00:00:00 2001 From: Vladislav Yarmak Date: Tue, 17 Nov 2020 20:36:59 +0200 Subject: [PATCH] win: add nsd 457.30; linux: update README template --- README.md | 21 +++++++++++++++++ drivers.json | 9 ++++++++ .../templates/linux_readme_master.tmpl | 23 +++++++++++++++++++ win/README.md | 1 + win/win10_x64/nsd_457.30/nvencodeapi.1337 | 6 +++++ win/win10_x64/nsd_457.30/nvencodeapi64.1337 | 5 ++++ 6 files changed, 65 insertions(+) create mode 100644 win/win10_x64/nsd_457.30/nvencodeapi.1337 create mode 100644 win/win10_x64/nsd_457.30/nvencodeapi64.1337 diff --git a/README.md b/README.md index 20eaebe..b47a9d3 100644 --- a/README.md +++ b/README.md @@ -127,6 +127,26 @@ git clone https://ipfs.io/ipns/Qmed4r8yrBP162WK1ybd1DJWhLUi4t6mGuBoB9fLtjxR7u nv ``` # bash ./patch.sh -h +SYNOPSIS + patch.sh [-s] [-r|-h|-c VERSION|-l] + +DESCRIPTION + The patch for Nvidia drivers to remove NVENC session limit + + -s Silent mode (No output) + -r Rollback to original (Restore lib from backup) + -h Print this help message + -c VERSION Check if version VERSION supported by this patch. + Returns true exit code (0) if version is supported. + -l List supported driver versions + -d VERSION Use VERSION driver version when looking for libraries + instead of using nvidia-smi to detect it. + +``` + +``` +# bash ./patch-fbc.sh -h + SYNOPSIS patch-fbc.sh [-s] [-r|-h|-c VERSION|-l] @@ -142,6 +162,7 @@ DESCRIPTION -d VERSION Use VERSION driver version when looking for libraries instead of using nvidia-smi to detect it. + ``` ## Step-by-Step guide diff --git a/drivers.json b/drivers.json index b1cf0f1..1e57ff2 100644 --- a/drivers.json +++ b/drivers.json @@ -2190,6 +2190,15 @@ "patch64_url": "win7_x64/457.30/nvencodeapi64.1337", "patch32_url": "win7_x64/457.30/nvencodeapi.1337", "driver_url": "https://international.download.nvidia.com/Windows/457.30/457.30-desktop-win8-win7-64bit-international-whql.exe" + }, + { + "os": "win10", + "product": "GeForce", + "version": "457.30", + "variant": "Studio Driver", + "patch64_url": "win10_x64/nsd_457.30/nvencodeapi64.1337", + "patch32_url": "win10_x64/nsd_457.30/nvencodeapi.1337", + "driver_url": "https://international.download.nvidia.com/Windows/457.30/457.30-desktop-win10-64bit-international-nsd-whql.exe" } ] } diff --git a/tools/readme-autogen/templates/linux_readme_master.tmpl b/tools/readme-autogen/templates/linux_readme_master.tmpl index 80cf24c..4d2d331 100644 --- a/tools/readme-autogen/templates/linux_readme_master.tmpl +++ b/tools/readme-autogen/templates/linux_readme_master.tmpl @@ -59,6 +59,29 @@ DESCRIPTION -c VERSION Check if version VERSION supported by this patch. Returns true exit code (0) if version is supported. -l List supported driver versions + -d VERSION Use VERSION driver version when looking for libraries + instead of using nvidia-smi to detect it. + +``` + +``` +# bash ./patch-fbc.sh -h + +SYNOPSIS + patch-fbc.sh [-s] [-r|-h|-c VERSION|-l] + +DESCRIPTION + The patch for Nvidia drivers to allow FBC on consumer devices + + -s Silent mode (No output) + -r Rollback to original (Restore lib from backup) + -h Print this help message + -c VERSION Check if version VERSION supported by this patch. + Returns true exit code (0) if version is supported. + -l List supported driver versions + -d VERSION Use VERSION driver version when looking for libraries + instead of using nvidia-smi to detect it. + ``` diff --git a/win/README.md b/win/README.md index 998b0b7..5129c2a 100644 --- a/win/README.md +++ b/win/README.md @@ -147,6 +147,7 @@ Credits to [TroubleChute channel](https://www.youtube.com/channel/UCkih2oVTbXPEp | GeForce | 457.00 Vulkan Beta | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/457.00/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/457.00/nvencodeapi.1337) | | | GeForce | 457.09 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/457.09/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/457.09/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/457.09/457.09-desktop-win10-64bit-international-whql.exe) | | 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) | | Product series | Version | x64 library patch | x86 library patch | Driver link | diff --git a/win/win10_x64/nsd_457.30/nvencodeapi.1337 b/win/win10_x64/nsd_457.30/nvencodeapi.1337 new file mode 100644 index 0000000..42290e9 --- /dev/null +++ b/win/win10_x64/nsd_457.30/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/nsd_457.30/nvencodeapi64.1337 b/win/win10_x64/nsd_457.30/nvencodeapi64.1337 new file mode 100644 index 0000000..9ad5a75 --- /dev/null +++ b/win/win10_x64/nsd_457.30/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