Merge pull request #345 from Snawoot/upd_vulkan_beta

Upd vulkan beta
This commit is contained in:
Snawoot 2020-11-17 21:24:10 +02:00 committed by GitHub
commit 4c37265c2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 54 additions and 3 deletions

View File

@ -1,7 +1,7 @@
NVENC and NvFBC patches for Nvidia drivers
==========================================
![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-455.45.01-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-455.46.01-brightgreen.svg)
[NVENC patch](patch.sh) removes restriction on maximum number of simultaneous NVENC video encoding sessions imposed by Nvidia to consumer-grade GPUs.
@ -122,6 +122,7 @@ git clone https://ipfs.io/ipns/Qmed4r8yrBP162WK1ybd1DJWhLUi4t6mGuBoB9fLtjxR7u nv
| 455.32.00 | YES | YES | |
| 455.38 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/455.38/NVIDIA-Linux-x86_64-455.38.run) |
| 455.45.01 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/455.45.01/NVIDIA-Linux-x86_64-455.45.01.run) |
| 455.46.01 | YES | YES | |
## Synopsis

View File

@ -468,6 +468,11 @@
"nvenc_patch": true,
"nvfbc_patch": true,
"driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/455.45.01/NVIDIA-Linux-x86_64-455.45.01.run"
},
{
"version": "455.46.01",
"nvenc_patch": true,
"nvfbc_patch": true
}
],
"example": {
@ -2205,6 +2210,24 @@
"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"
},
{
"os": "win10",
"product": "GeForce",
"version": "457.33",
"variant": "Vulkan Beta",
"patch64_url": "win10_x64/457.33/nvencodeapi64.1337",
"patch32_url": "win10_x64/457.33/nvencodeapi.1337",
"driver_url": ""
},
{
"os": "win7",
"product": "GeForce",
"version": "457.33",
"variant": "Vulkan Beta",
"patch64_url": "win7_x64/457.33/nvencodeapi64.1337",
"patch32_url": "win7_x64/457.33/nvencodeapi.1337",
"driver_url": ""
}
]
}

View File

@ -93,6 +93,7 @@ declare -A patch_list=(
["455.32.00"]='s/\x83\xf8\x01\x0f\x84\x85/\x83\xf8\x69\x0f\x84\x85/'
["455.38"]='s/\x83\xf8\x01\x0f\x84\x85/\x83\xf8\x69\x0f\x84\x85/'
["455.45.01"]='s/\x83\xf8\x01\x0f\x84\x85/\x83\xf8\x69\x0f\x84\x85/'
["455.46.01"]='s/\x83\xf8\x01\x0f\x84\x85/\x83\xf8\x69\x0f\x84\x85/'
)
declare -A object_list=(
@ -142,6 +143,7 @@ declare -A object_list=(
["455.32.00"]='libnvidia-fbc.so'
["455.38"]='libnvidia-fbc.so'
["455.45.01"]='libnvidia-fbc.so'
["455.46.01"]='libnvidia-fbc.so'
)
check_version_supported () {

View File

@ -130,6 +130,7 @@ declare -A patch_list=(
["455.32.00"]='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.46.01"]='s/\x85\xc0\x41\x89\xc4\x75\x1f/\x31\xc0\x41\x89\xc4\x75\x1f/g'
)
declare -A object_list=(
@ -215,6 +216,7 @@ declare -A object_list=(
["455.32.00"]='libnvidia-encode.so'
["455.38"]='libnvidia-encode.so'
["455.45.01"]='libnvidia-encode.so'
["455.46.01"]='libnvidia-encode.so'
)
check_version_supported () {

View File

@ -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.30-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.33-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.30, use `win10_x64/457.30/nvencodeapi64.1337` against `C:\WINDOWS\system32\nvencodeapi64.dll` **and** `win10_x64/457.30/nvencodeapi.1337` against `C:\WINDOWS\SysWOW64\nvencodeapi.dll`.
**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`.
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.
@ -148,6 +148,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/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) |
| 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) | |
| Product series | Version | x64 library patch | x86 library patch | Driver link |
@ -231,6 +232,7 @@ Credits to [TroubleChute channel](https://www.youtube.com/channel/UCkih2oVTbXPEp
| GeForce | 456.80 Vulkan Beta | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/456.80/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/456.80/nvencodeapi.1337) | |
| 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) | |
| 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