Merge pull request #252 from Snawoot/vulkan_beta

Vulkan beta
This commit is contained in:
Snawoot 2020-04-03 22:45:00 +03:00 committed by GitHub
commit 36f3e9d075
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 52 additions and 1 deletions

View File

@ -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.04-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.08-brightgreen.svg)
This patch removes restriction on maximum number of simultaneous NVENC video encoding sessions imposed by Nvidia to consumer-grade GPUs.
@ -68,6 +68,7 @@ Requirements:
| 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: | |
| 440.66.08 | :heavy_check_mark: | :heavy_check_mark: | |
## Synopsis

View File

@ -292,6 +292,11 @@
"version": "440.66.04",
"nvenc_patch": true,
"nvfbc_patch": true
},
{
"version": "440.66.08",
"nvenc_patch": true,
"nvfbc_patch": true
}
],
"example": {
@ -1381,6 +1386,24 @@
"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": ""
},
{
"os": "win10",
"product": "GeForce",
"version": "442.88",
"variant": "Vulkan Beta",
"patch64_url": "https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/442.88/nvencodeapi64.1337",
"patch32_url": "https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/442.88/nvencodeapi.1337",
"driver_url": ""
},
{
"os": "win7",
"product": "GeForce",
"version": "442.88",
"variant": "Vulkan Beta",
"patch64_url": "https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/442.88/nvencodeapi64.1337",
"patch32_url": "https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/442.88/nvencodeapi.1337",
"driver_url": ""
}
]
}

View File

@ -59,6 +59,7 @@ declare -A patch_list=(
["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/'
["440.66.08"]='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=(
@ -78,6 +79,7 @@ declare -A object_list=(
["440.66.02"]='libnvidia-fbc.so'
["440.66.03"]='libnvidia-fbc.so'
["440.66.04"]='libnvidia-fbc.so'
["440.66.08"]='libnvidia-fbc.so'
)
check_version_supported () {

View File

@ -95,6 +95,7 @@ declare -A patch_list=(
["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'
["440.66.08"]='s/\x85\xc0\x41\x89\xc4\x75\x1f/\x31\xc0\x41\x89\xc4\x75\x1f/g'
)
declare -A object_list=(
@ -148,6 +149,7 @@ declare -A object_list=(
["440.66.02"]='libnvidia-encode.so'
["440.66.03"]='libnvidia-encode.so'
["440.66.04"]='libnvidia-encode.so'
["440.66.08"]='libnvidia-encode.so'
)
check_version_supported () {

View File

@ -86,6 +86,7 @@ A video tutorial is also available. Credits to designator2009. (*Covers older pa
| 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 | 442.88 Vulkan Beta | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/442.88/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/442.88/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) |
@ -139,6 +140,7 @@ A video tutorial is also available. Credits to designator2009. (*Covers older pa
| 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 | 442.88 Vulkan Beta | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/442.88/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/442.88/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) |

View File

@ -0,0 +1,6 @@
>nvencodeapi.dll
000000000002A5E6:89->33
000000000002A5E7:45->C0
000000000002A5E8:08->89
000000000002A5E9:85->45
000000000002A5EA:C0->08

View File

@ -0,0 +1,5 @@
>nvencodeapi64.dll
000000000002ECBA:8B->33
000000000002ECBB:F0->C0
000000000002ECBC:85->8B
000000000002ECBD:C0->F0

View File

@ -0,0 +1,5 @@
>nvencodeapi.dll
00000000000225E7:8B->33
00000000000225E8:D8->C0
00000000000225E9:85->8B
00000000000225EA:DB->D8

View File

@ -0,0 +1,5 @@
>nvencodeapi64.dll
0000000000026B50:8B->33
0000000000026B51:F0->C0
0000000000026B52:85->8B
0000000000026B53:C0->F0