Merge pull request #296 from Snawoot/various_updates

various updates
This commit is contained in:
Snawoot 2020-07-16 18:12:12 +03:00 committed by GitHub
commit c96e9df713
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
14 changed files with 96 additions and 2 deletions

View File

@ -95,6 +95,7 @@ Requirements:
| 450.36.06 | YES | YES | [Driver link](https://developer.download.nvidia.com/compute/cuda/11.0.1/local_installers/cuda_11.0.1_450.36.06_linux.run) |
| 450.51 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/450.51/NVIDIA-Linux-x86_64-450.51.run) |
| 450.51.05 | YES | YES | [Driver link](https://international.download.nvidia.com/tesla/450.51.05/NVIDIA-Linux-x86_64-450.51.05.run) |
| 450.56.01 | 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

View File

@ -375,6 +375,11 @@
"nvenc_patch": true,
"nvfbc_patch": true,
"driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/450.57/NVIDIA-Linux-x86_64-450.57.run"
},
{
"version": "450.56.01",
"nvenc_patch": true,
"nvfbc_patch": true
}
],
"example": {
@ -1725,6 +1730,42 @@
"patch64_url": "win7_x64/451.67/nvencodeapi64.1337",
"patch32_url": "win7_x64/451.67/nvencodeapi.1337",
"driver_url": "https://international.download.nvidia.com/Windows/451.67/451.67-desktop-win8-win7-64bit-international-whql.exe"
},
{
"os": "win10",
"product": "GeForce",
"version": "451.74",
"variant": "Vulkan Beta",
"patch64_url": "win10_x64/451.74/nvencodeapi64.1337",
"patch32_url": "win10_x64/451.74/nvencodeapi.1337",
"driver_url": ""
},
{
"os": "win7",
"product": "GeForce",
"version": "451.74",
"variant": "Vulkan Beta",
"patch64_url": "win7_x64/451.74/nvencodeapi64.1337",
"patch32_url": "win7_x64/451.74/nvencodeapi.1337",
"driver_url": ""
},
{
"os": "win10",
"product": "GeForce",
"version": "451.77",
"variant": "Studio Driver",
"patch64_url": "win10_x64/nsd_451.77/nvencodeapi64.1337",
"patch32_url": "win10_x64/nsd_451.77/nvencodeapi.1337",
"driver_url": "https://international.download.nvidia.com/Windows/451.77/451.77-desktop-win10-64bit-international-nsd-whql.exe"
},
{
"os": "win10",
"product": "Quadro",
"version": "451.77",
"variant": "",
"patch64_url": "win10_x64/quadro_451.77/nvencodeapi64.1337",
"patch32_url": "win10_x64/quadro_451.77/nvencodeapi.1337",
"driver_url": "https://international.download.nvidia.com/Windows/Quadro_Certified/451.77/451.77-quadro-desktop-notebook-win10-64bit-international-whql.exe"
}
]
}

View File

@ -72,6 +72,7 @@ declare -A patch_list=(
["450.36.06"]='s/\x85\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/\x31\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/'
["450.51"]='s/\x85\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/\x31\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/'
["450.51.05"]='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.57"]='s/\x85\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/\x31\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/'
)
@ -105,6 +106,7 @@ declare -A object_list=(
["450.36.06"]='libnvidia-fbc.so'
["450.51"]='libnvidia-fbc.so'
["450.51.05"]='libnvidia-fbc.so'
["450.56.01"]='libnvidia-fbc.so'
["450.57"]='libnvidia-fbc.so'
)

View File

@ -109,6 +109,7 @@ declare -A patch_list=(
["450.36.06"]='s/\x85\xc0\x41\x89\xc4\x75\x1f/\x31\xc0\x41\x89\xc4\x75\x1f/g'
["450.51"]='s/\x85\xc0\x41\x89\xc4\x75\x1f/\x31\xc0\x41\x89\xc4\x75\x1f/g'
["450.51.05"]='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.57"]='s/\x85\xc0\x41\x89\xc4\x75\x1f/\x31\xc0\x41\x89\xc4\x75\x1f/g'
)
@ -177,6 +178,7 @@ declare -A object_list=(
["450.36.06"]='libnvidia-encode.so'
["450.51"]='libnvidia-encode.so'
["450.51.05"]='libnvidia-encode.so'
["450.56.01"]='libnvidia-encode.so'
["450.57"]='libnvidia-encode.so'
)

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-451.67-brightgreen.svg) ![Latest Quadro version](https://img.shields.io/badge/latest%20Quadro%20version-451.48-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.77-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.67, use `win10_x64/451.67/nvencodeapi64.1337` against `C:\WINDOWS\system32\nvencodeapi64.dll` **and** `win10_x64/451.67/nvencodeapi.1337` against `C:\WINDOWS\SysWOW64\nvencodeapi.dll`.
**Example:** for 64bit Windows 10 running driver version 451.77, use `win10_x64/451.77/nvencodeapi64.1337` against `C:\WINDOWS\system32\nvencodeapi64.dll` **and** `win10_x64/451.77/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.
@ -120,6 +120,8 @@ Credits to [TroubleChute channel](https://www.youtube.com/channel/UCkih2oVTbXPEp
| GeForce | 451.48 Studio Driver | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/nsd_451.48/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/nsd_451.48/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/451.48/451.48-desktop-win10-64bit-international-nsd-whql.exe) |
| GeForce | 451.52 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/451.52/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/451.52/nvencodeapi.1337) | |
| GeForce | 451.67 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/451.67/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/451.67/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/451.67/451.67-desktop-win10-64bit-international-whql.exe) |
| 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) |
| Product series | Version | x64 library patch | x86 library patch | Driver link |
@ -147,6 +149,7 @@ Credits to [TroubleChute channel](https://www.youtube.com/channel/UCkih2oVTbXPEp
| Quadro | 442.74 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/quadro_442.74/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/quadro_442.74/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/Quadro_Certified/442.74/442.74-quadro-desktop-notebook-win10-64bit-international-whql.exe) |
| Quadro | 442.92 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/quadro_442.92/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/quadro_442.92/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/Quadro_Certified/442.92/442.92-quadro-desktop-notebook-win10-64bit-international-whql.exe) |
| Quadro | 451.48 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/quadro_451.48/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/quadro_451.48/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/Quadro_Certified/451.48/451.48-quadro-desktop-notebook-win10-64bit-international-whql.exe) |
| Quadro | 451.77 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/quadro_451.77/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/quadro_451.77/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/Quadro_Certified/451.77/451.77-quadro-desktop-notebook-win10-64bit-international-whql.exe) |
### Windows 7, Windows 8, Windows 8.1 drivers
@ -185,6 +188,7 @@ Credits to [TroubleChute channel](https://www.youtube.com/channel/UCkih2oVTbXPEp
| GeForce | 446.14 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/446.14/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/446.14/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/446.14/446.14-desktop-win8-win7-64bit-international-whql.exe) |
| GeForce | 451.48 | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/451.48/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win7_x64/451.48/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/451.48/451.48-desktop-win8-win7-64bit-international-whql.exe) |
| 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) | |
| Product series | Version | x64 library patch | x86 library patch | Driver link |

View File

@ -213,6 +213,7 @@ def patch_flow(installer_file, search, replacement, target, target_name, patch_n
"100": "quadro_",
"300": "",
"301": "nsd_",
"303": "", # DCH
}
installer_name = os.path.basename(installer_file).lower()
if 'winserv2008' in installer_name:

View File

@ -0,0 +1,6 @@
>nvencodeapi.dll
000000000002B0F6:89->33
000000000002B0F7:45->C0
000000000002B0F8:08->89
000000000002B0F9:85->45
000000000002B0FA:C0->08

View File

@ -0,0 +1,5 @@
>nvencodeapi64.dll
000000000002FB3A:8B->33
000000000002FB3B:F0->C0
000000000002FB3C:85->8B
000000000002FB3D:C0->F0

View File

@ -0,0 +1,6 @@
>nvencodeapi.dll
000000000002B0F6:89->33
000000000002B0F7:45->C0
000000000002B0F8:08->89
000000000002B0F9:85->45
000000000002B0FA:C0->08

View File

@ -0,0 +1,5 @@
>nvencodeapi64.dll
000000000002FB3A:8B->33
000000000002FB3B:F0->C0
000000000002FB3C:85->8B
000000000002FB3D:C0->F0

View File

@ -0,0 +1,6 @@
>nvencodeapi.dll
000000000002B0F6:89->33
000000000002B0F7:45->C0
000000000002B0F8:08->89
000000000002B0F9:85->45
000000000002B0FA:C0->08

View File

@ -0,0 +1,5 @@
>nvencodeapi64.dll
000000000002FB3A:8B->33
000000000002FB3B:F0->C0
000000000002FB3C:85->8B
000000000002FB3D:C0->F0

View File

@ -0,0 +1,5 @@
>nvencodeapi.dll
0000000000023157:8B->33
0000000000023158:D8->C0
0000000000023159:85->8B
000000000002315A:DB->D8

View File

@ -0,0 +1,5 @@
>nvencodeapi64.dll
00000000000279E0:8B->33
00000000000279E1:F0->C0
00000000000279E2:85->8B
00000000000279E3:C0->F0