Merge pull request #346 from Snawoot/vulkan_beta

Vulkan beta
This commit is contained in:
Snawoot 2020-11-24 23:41:19 +02:00 committed by GitHub
commit bc1812c1be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 55 additions and 3 deletions

View File

@ -473,6 +473,11 @@
"version": "455.46.01", "version": "455.46.01",
"nvenc_patch": true, "nvenc_patch": true,
"nvfbc_patch": true "nvfbc_patch": true
},
{
"version": "455.46.02",
"nvenc_patch": true,
"nvfbc_patch": false
} }
], ],
"example": { "example": {
@ -2228,6 +2233,24 @@
"patch64_url": "win7_x64/457.33/nvencodeapi64.1337", "patch64_url": "win7_x64/457.33/nvencodeapi64.1337",
"patch32_url": "win7_x64/457.33/nvencodeapi.1337", "patch32_url": "win7_x64/457.33/nvencodeapi.1337",
"driver_url": "" "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": ""
} }
] ]
} }

View File

@ -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.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.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.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=( declare -A object_list=(
@ -217,6 +218,7 @@ declare -A object_list=(
["455.38"]='libnvidia-encode.so' ["455.38"]='libnvidia-encode.so'
["455.45.01"]='libnvidia-encode.so' ["455.45.01"]='libnvidia-encode.so'
["455.46.01"]='libnvidia-encode.so' ["455.46.01"]='libnvidia-encode.so'
["455.46.02"]='libnvidia-encode.so'
) )
check_version_supported () { check_version_supported () {

View File

@ -68,6 +68,10 @@ def parse_args():
parser.add_argument("--skip-url-check", parser.add_argument("--skip-url-check",
action="store_true", action="store_true",
help="skip driver URL check") 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", parser.add_argument("version",
help="driver version") help="driver version")
args = parser.parse_args() args = parser.parse_args()
@ -171,7 +175,7 @@ def main():
new_driver = { new_driver = {
"version": args.version, "version": args.version,
"nvenc_patch": True, "nvenc_patch": True,
"nvfbc_patch": True, "nvfbc_patch": args.fbc,
} }
if url: if url:
new_driver["driver_url"] = url new_driver["driver_url"] = url

View File

@ -1,7 +1,7 @@
NVENC and NvFBC patches for Windows Nvidia drivers 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. 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. 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.* - *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. 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 | [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.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.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 | | 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.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.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.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 | | Product series | Version | x64 library patch | x86 library patch | Driver link |

View File

@ -0,0 +1,6 @@
>nvencodeapi.dll
000000000002B2D6:89->33
000000000002B2D7:45->C0
000000000002B2D8:08->89
000000000002B2D9:85->45
000000000002B2DA:C0->08

View File

@ -0,0 +1,5 @@
>nvencodeapi64.dll
000000000002FFBA:8B->33
000000000002FFBB:F0->C0
000000000002FFBC:85->8B
000000000002FFBD:C0->F0

View File

@ -0,0 +1,5 @@
>nvencodeapi.dll
00000000000234C7:8B->33
00000000000234C8:D8->C0
00000000000234C9:85->8B
00000000000234CA:DB->D8

View File

@ -0,0 +1,5 @@
>nvencodeapi64.dll
0000000000027C20:8B->33
0000000000027C21:F0->C0
0000000000027C22:85->8B
0000000000027C23:C0->F0