From 5c108f8d5e71226dda76ace54ed0b5556f571d6d Mon Sep 17 00:00:00 2001 From: Vladislav Yarmak Date: Fri, 7 Aug 2020 22:11:08 +0300 Subject: [PATCH] vulkan beta drivers --- README.md | 1 + drivers.json | 23 +++++++++++++++++++++++ patch-fbc.sh | 2 ++ patch.sh | 2 ++ win/README.md | 6 ++++-- win/win10_x64/451.98/nvencodeapi.1337 | 6 ++++++ win/win10_x64/451.98/nvencodeapi64.1337 | 5 +++++ win/win7_x64/451.98/nvencodeapi.1337 | 5 +++++ win/win7_x64/451.98/nvencodeapi64.1337 | 5 +++++ 9 files changed, 53 insertions(+), 2 deletions(-) create mode 100644 win/win10_x64/451.98/nvencodeapi.1337 create mode 100644 win/win10_x64/451.98/nvencodeapi64.1337 create mode 100644 win/win7_x64/451.98/nvencodeapi.1337 create mode 100644 win/win7_x64/451.98/nvencodeapi64.1337 diff --git a/README.md b/README.md index 00818d4..cd20c75 100644 --- a/README.md +++ b/README.md @@ -98,6 +98,7 @@ Requirements: | 450.51.06 | YES | YES | [Driver link](https://international.download.nvidia.com/tesla/450.51.06/NVIDIA-Linux-x86_64-450.51.06.run) | | 450.56.01 | YES | YES | | | 450.56.02 | YES | YES | | +| 450.56.06 | YES | YES | | | 450.57 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/450.57/NVIDIA-Linux-x86_64-450.57.run) | ## Synopsis diff --git a/drivers.json b/drivers.json index ac27cda..f8ae86e 100644 --- a/drivers.json +++ b/drivers.json @@ -391,6 +391,11 @@ "nvenc_patch": true, "nvfbc_patch": true, "driver_url": "https://international.download.nvidia.com/tesla/450.51.06/NVIDIA-Linux-x86_64-450.51.06.run" + }, + { + "version": "450.56.06", + "nvenc_patch": true, + "nvfbc_patch": true } ], "example": { @@ -1795,6 +1800,24 @@ "patch64_url": "win7_x64/451.79/nvencodeapi64.1337", "patch32_url": "win7_x64/451.79/nvencodeapi.1337", "driver_url": "" + }, + { + "os": "win10", + "product": "GeForce", + "version": "451.98", + "variant": "Vulkan Beta", + "patch64_url": "win10_x64/451.98/nvencodeapi64.1337", + "patch32_url": "win10_x64/451.98/nvencodeapi.1337", + "driver_url": "" + }, + { + "os": "win7", + "product": "GeForce", + "version": "451.98", + "variant": "Vulkan Beta", + "patch64_url": "win7_x64/451.98/nvencodeapi64.1337", + "patch32_url": "win7_x64/451.98/nvencodeapi.1337", + "driver_url": "" } ] } diff --git a/patch-fbc.sh b/patch-fbc.sh index 05a6842..e36247b 100755 --- a/patch-fbc.sh +++ b/patch-fbc.sh @@ -75,6 +75,7 @@ declare -A patch_list=( ["450.51.06"]='s/\x85\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/\x31\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/' ["450.56.01"]='s/\x85\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/\x31\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/' ["450.56.02"]='s/\x85\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/\x31\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/' + ["450.56.06"]='s/\x85\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/\x31\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/' ["450.57"]='s/\x85\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/\x31\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/' ) @@ -111,6 +112,7 @@ declare -A object_list=( ["450.51.06"]='libnvidia-fbc.so' ["450.56.01"]='libnvidia-fbc.so' ["450.56.02"]='libnvidia-fbc.so' + ["450.56.06"]='libnvidia-fbc.so' ["450.57"]='libnvidia-fbc.so' ) diff --git a/patch.sh b/patch.sh index e8f6205..d5ac73a 100755 --- a/patch.sh +++ b/patch.sh @@ -112,6 +112,7 @@ declare -A patch_list=( ["450.51.06"]='s/\x85\xc0\x41\x89\xc4\x75\x1f/\x31\xc0\x41\x89\xc4\x75\x1f/g' ["450.56.01"]='s/\x85\xc0\x41\x89\xc4\x75\x1f/\x31\xc0\x41\x89\xc4\x75\x1f/g' ["450.56.02"]='s/\x85\xc0\x41\x89\xc4\x75\x1f/\x31\xc0\x41\x89\xc4\x75\x1f/g' + ["450.56.06"]='s/\x85\xc0\x41\x89\xc4\x75\x1f/\x31\xc0\x41\x89\xc4\x75\x1f/g' ["450.57"]='s/\x85\xc0\x41\x89\xc4\x75\x1f/\x31\xc0\x41\x89\xc4\x75\x1f/g' ) @@ -183,6 +184,7 @@ declare -A object_list=( ["450.51.06"]='libnvidia-encode.so' ["450.56.01"]='libnvidia-encode.so' ["450.56.02"]='libnvidia-encode.so' + ["450.56.06"]='libnvidia-encode.so' ["450.57"]='libnvidia-encode.so' ) diff --git a/win/README.md b/win/README.md index c41ced9..1ec1b50 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-451.79-brightgreen.svg) ![Latest Quadro version](https://img.shields.io/badge/latest%20Quadro%20version-451.77-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-451.98-brightgreen.svg) ![Latest Quadro version](https://img.shields.io/badge/latest%20Quadro%20version-451.77-blue.svg) --- @@ -45,7 +45,7 @@ Requirements: 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 451.79, use `win10_x64/451.79/nvencodeapi64.1337` against `C:\WINDOWS\system32\nvencodeapi64.dll` **and** `win10_x64/451.79/nvencodeapi.1337` against `C:\WINDOWS\SysWOW64\nvencodeapi.dll`. +**Example:** for 64bit Windows 10 running driver version 451.98, use `win10_x64/451.98/nvencodeapi64.1337` against `C:\WINDOWS\system32\nvencodeapi64.dll` **and** `win10_x64/451.98/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. @@ -123,6 +123,7 @@ Credits to [TroubleChute channel](https://www.youtube.com/channel/UCkih2oVTbXPEp | GeForce | 451.74 Vulkan Beta | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/451.74/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/451.74/nvencodeapi.1337) | | | GeForce | 451.77 Studio Driver | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/nsd_451.77/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/nsd_451.77/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/451.77/451.77-desktop-win10-64bit-international-nsd-whql.exe) | | GeForce | 451.79 Vulkan Beta | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/451.79/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/451.79/nvencodeapi.1337) | | +| GeForce | 451.98 Vulkan Beta | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/451.98/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/451.98/nvencodeapi.1337) | | | Product series | Version | x64 library patch | x86 library patch | Driver link | @@ -191,6 +192,7 @@ Credits to [TroubleChute channel](https://www.youtube.com/channel/UCkih2oVTbXPEp | GeForce | 451.67 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/451.67/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/451.67/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/451.67/451.67-desktop-win8-win7-64bit-international-whql.exe) | | GeForce | 451.74 Vulkan Beta | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/451.74/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/451.74/nvencodeapi.1337) | | | GeForce | 451.79 Vulkan Beta | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/451.79/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/451.79/nvencodeapi.1337) | | +| GeForce | 451.98 Vulkan Beta | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/451.98/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/451.98/nvencodeapi.1337) | | | Product series | Version | x64 library patch | x86 library patch | Driver link | diff --git a/win/win10_x64/451.98/nvencodeapi.1337 b/win/win10_x64/451.98/nvencodeapi.1337 new file mode 100644 index 0000000..d889e25 --- /dev/null +++ b/win/win10_x64/451.98/nvencodeapi.1337 @@ -0,0 +1,6 @@ +>nvencodeapi.dll +000000000002B0F6:89->33 +000000000002B0F7:45->C0 +000000000002B0F8:08->89 +000000000002B0F9:85->45 +000000000002B0FA:C0->08 \ No newline at end of file diff --git a/win/win10_x64/451.98/nvencodeapi64.1337 b/win/win10_x64/451.98/nvencodeapi64.1337 new file mode 100644 index 0000000..d3d3885 --- /dev/null +++ b/win/win10_x64/451.98/nvencodeapi64.1337 @@ -0,0 +1,5 @@ +>nvencodeapi64.dll +000000000002FB3A:8B->33 +000000000002FB3B:F0->C0 +000000000002FB3C:85->8B +000000000002FB3D:C0->F0 \ No newline at end of file diff --git a/win/win7_x64/451.98/nvencodeapi.1337 b/win/win7_x64/451.98/nvencodeapi.1337 new file mode 100644 index 0000000..9bde198 --- /dev/null +++ b/win/win7_x64/451.98/nvencodeapi.1337 @@ -0,0 +1,5 @@ +>nvencodeapi.dll +0000000000023157:8B->33 +0000000000023158:D8->C0 +0000000000023159:85->8B +000000000002315A:DB->D8 \ No newline at end of file diff --git a/win/win7_x64/451.98/nvencodeapi64.1337 b/win/win7_x64/451.98/nvencodeapi64.1337 new file mode 100644 index 0000000..da7aa5d --- /dev/null +++ b/win/win7_x64/451.98/nvencodeapi64.1337 @@ -0,0 +1,5 @@ +>nvencodeapi64.dll +00000000000279E0:8B->33 +00000000000279E1:F0->C0 +00000000000279E2:85->8B +00000000000279E3:C0->F0 \ No newline at end of file