From 00132d9b96481086ed5f78d9f64e2ba24bdff59d Mon Sep 17 00:00:00 2001 From: Vladislav Yarmak Date: Tue, 24 Mar 2020 20:48:59 +0200 Subject: [PATCH 1/2] linux: add vulkan beta drivers version 440.66.04 --- README.md | 3 ++- drivers.json | 5 +++++ patch-fbc.sh | 2 ++ patch.sh | 2 ++ 4 files changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index bbee975..e3ad413 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # nvidia-patch -![GitHub last commit](https://img.shields.io/github/last-commit/keylase/nvidia-patch.svg) ![Latest version](https://img.shields.io/badge/latest%20linux%20driver%20version-440.66.03-brightgreen.svg) +![GitHub last commit](https://img.shields.io/github/last-commit/keylase/nvidia-patch.svg) ![Latest version](https://img.shields.io/badge/latest%20linux%20driver%20version-440.66.04-brightgreen.svg) This patch removes restriction on maximum number of simultaneous NVENC video encoding sessions imposed by Nvidia to consumer-grade GPUs. @@ -67,6 +67,7 @@ Requirements: | 440.64.00 | :heavy_check_mark: | :heavy_check_mark: | [Driver link](https://international.download.nvidia.com/tesla/440.64.00/NVIDIA-Linux-x86_64-440.64.00.run) | | 440.66.02 | :heavy_check_mark: | :heavy_check_mark: | | | 440.66.03 | :heavy_check_mark: | :heavy_check_mark: | | +| 440.66.04 | :heavy_check_mark: | :heavy_check_mark: | | ## Synopsis diff --git a/drivers.json b/drivers.json index 1dde119..5e4ac28 100644 --- a/drivers.json +++ b/drivers.json @@ -287,6 +287,11 @@ "version": "440.66.03", "nvenc_patch": true, "nvfbc_patch": true + }, + { + "version": "440.66.04", + "nvenc_patch": true, + "nvfbc_patch": true } ], "example": { diff --git a/patch-fbc.sh b/patch-fbc.sh index b71e1a5..6c425b2 100755 --- a/patch-fbc.sh +++ b/patch-fbc.sh @@ -58,6 +58,7 @@ declare -A patch_list=( ["440.64.00"]='s/\x85\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/\x31\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/' ["440.66.02"]='s/\x85\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/\x31\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/' ["440.66.03"]='s/\x85\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/\x31\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/' + ["440.66.04"]='s/\x85\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/\x31\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/' ) declare -A object_list=( @@ -76,6 +77,7 @@ declare -A object_list=( ["440.64.00"]='libnvidia-fbc.so' ["440.66.02"]='libnvidia-fbc.so' ["440.66.03"]='libnvidia-fbc.so' + ["440.66.04"]='libnvidia-fbc.so' ) check_version_supported () { diff --git a/patch.sh b/patch.sh index bba1a85..ea9cf26 100755 --- a/patch.sh +++ b/patch.sh @@ -94,6 +94,7 @@ declare -A patch_list=( ["440.64.00"]='s/\x85\xc0\x41\x89\xc4\x75\x1f/\x31\xc0\x41\x89\xc4\x75\x1f/g' ["440.66.02"]='s/\x85\xc0\x41\x89\xc4\x75\x1f/\x31\xc0\x41\x89\xc4\x75\x1f/g' ["440.66.03"]='s/\x85\xc0\x41\x89\xc4\x75\x1f/\x31\xc0\x41\x89\xc4\x75\x1f/g' + ["440.66.04"]='s/\x85\xc0\x41\x89\xc4\x75\x1f/\x31\xc0\x41\x89\xc4\x75\x1f/g' ) declare -A object_list=( @@ -146,6 +147,7 @@ declare -A object_list=( ["440.64.00"]='libnvidia-encode.so' ["440.66.02"]='libnvidia-encode.so' ["440.66.03"]='libnvidia-encode.so' + ["440.66.04"]='libnvidia-encode.so' ) check_version_supported () { From 6ee6094e1322df299d722edb9b7fa02efecb6ab9 Mon Sep 17 00:00:00 2001 From: Vladislav Yarmak Date: Tue, 24 Mar 2020 20:55:33 +0200 Subject: [PATCH 2/2] windows: add vulkan beta drivers version 442.81 --- drivers.json | 18 ++++++++++++++++++ win/README.md | 2 ++ win/win10_x64/442.81/nvencodeapi.1337 | 6 ++++++ win/win10_x64/442.81/nvencodeapi64.1337 | 5 +++++ win/win7_x64/442.81/nvencodeapi.1337 | 5 +++++ win/win7_x64/442.81/nvencodeapi64.1337 | 5 +++++ 6 files changed, 41 insertions(+) create mode 100644 win/win10_x64/442.81/nvencodeapi.1337 create mode 100644 win/win10_x64/442.81/nvencodeapi64.1337 create mode 100644 win/win7_x64/442.81/nvencodeapi.1337 create mode 100644 win/win7_x64/442.81/nvencodeapi64.1337 diff --git a/drivers.json b/drivers.json index 5e4ac28..96dc7d1 100644 --- a/drivers.json +++ b/drivers.json @@ -1363,6 +1363,24 @@ "patch64_url": "https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/445.75/nvencodeapi64.1337", "patch32_url": "https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/445.75/nvencodeapi.1337", "driver_url": "https://international.download.nvidia.com/Windows/445.75/445.75-desktop-win8-win7-64bit-international-whql.exe" + }, + { + "os": "win10", + "product": "GeForce", + "version": "442.81", + "variant": "Vulkan Beta", + "patch64_url": "https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/442.81/nvencodeapi64.1337", + "patch32_url": "https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/442.81/nvencodeapi.1337", + "driver_url": "" + }, + { + "os": "win7", + "product": "GeForce", + "version": "442.81", + "variant": "Vulkan Beta", + "patch64_url": "https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/442.81/nvencodeapi64.1337", + "patch32_url": "https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/442.81/nvencodeapi.1337", + "driver_url": "" } ] } diff --git a/win/README.md b/win/README.md index 2151e91..dcd3223 100644 --- a/win/README.md +++ b/win/README.md @@ -85,6 +85,7 @@ A video tutorial is also available. Credits to designator2009. (*Covers older pa | GeForce | 442.74 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/442.74/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/442.74/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/442.74/442.74-desktop-win10-64bit-international-whql.exe) | | GeForce | 442.75 Vulkan Beta | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/442.75/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/442.75/nvencodeapi.1337) | | | GeForce | 442.77 Vulkan Beta | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/442.77/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/442.77/nvencodeapi.1337) | | +| GeForce | 442.81 Vulkan Beta | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/442.81/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/442.81/nvencodeapi.1337) | | | GeForce | 445.75 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/445.75/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/445.75/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/445.75/445.75-desktop-win10-64bit-international-whql.exe) | @@ -137,6 +138,7 @@ A video tutorial is also available. Credits to designator2009. (*Covers older pa | GeForce | 442.74 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/442.74/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/442.74/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/442.74/442.74-desktop-win8-win7-64bit-international-whql.exe) | | GeForce | 442.75 Vulkan Beta | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/442.75/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/442.75/nvencodeapi.1337) | | | GeForce | 442.77 Vulkan Beta | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/442.77/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/442.77/nvencodeapi.1337) | | +| GeForce | 442.81 Vulkan Beta | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/442.81/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/442.81/nvencodeapi.1337) | | | GeForce | 445.75 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/445.75/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/445.75/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/445.75/445.75-desktop-win8-win7-64bit-international-whql.exe) | diff --git a/win/win10_x64/442.81/nvencodeapi.1337 b/win/win10_x64/442.81/nvencodeapi.1337 new file mode 100644 index 0000000..eb01603 --- /dev/null +++ b/win/win10_x64/442.81/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.81/nvencodeapi64.1337 b/win/win10_x64/442.81/nvencodeapi64.1337 new file mode 100644 index 0000000..c0c2511 --- /dev/null +++ b/win/win10_x64/442.81/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.81/nvencodeapi.1337 b/win/win7_x64/442.81/nvencodeapi.1337 new file mode 100644 index 0000000..2d8366b --- /dev/null +++ b/win/win7_x64/442.81/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.81/nvencodeapi64.1337 b/win/win7_x64/442.81/nvencodeapi64.1337 new file mode 100644 index 0000000..1aa8a13 --- /dev/null +++ b/win/win7_x64/442.81/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