Merge branch 'keylase:master' into master

This commit is contained in:
ram/haidar 2025-02-28 03:44:18 +07:00 committed by GitHub
commit 4e60214bcc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 63 additions and 3 deletions

View file

@ -228,6 +228,8 @@ If you want to donate, please send it to your favorite open source organizations
| 560.35.05 | YES | YES | [Driver link](https://developer.download.nvidia.com/compute/cuda/12.6.3/local_installers/cuda_12.6.3_560.35.05_linux.run) |
| 565.57.01 | YES | YES | [Driver link](http://international.download.nvidia.com/XFree86/Linux-x86_64/565.57.01/NVIDIA-Linux-x86_64-565.57.01.run) |
| 565.77 | YES | YES | [Driver link](http://international.download.nvidia.com/XFree86/Linux-x86_64/565.77/NVIDIA-Linux-x86_64-565.77.run) |
| 570.86.15 | YES | YES | [Driver link](http://international.download.nvidia.com/tesla/570.86.15/NVIDIA-Linux-x86_64-570.86.15.run) |
| 570.86.16 | YES | YES | [Driver link](http://international.download.nvidia.com/XFree86/Linux-x86_64/570.86.16/NVIDIA-Linux-x86_64-570.86.16.run) |
## Synopsis

View file

@ -1169,7 +1169,19 @@
"nvenc_patch": true,
"nvfbc_patch": true,
"driver_url": "http://international.download.nvidia.com/XFree86/Linux-x86_64/535.216.01/NVIDIA-Linux-x86_64-535.216.01.run"
}
},
{
"version": "570.86.16",
"nvenc_patch": true,
"nvfbc_patch": true,
"driver_url": "http://international.download.nvidia.com/XFree86/Linux-x86_64/570.86.16/NVIDIA-Linux-x86_64-570.86.16.run"
},
{
"version": "570.86.15",
"nvenc_patch": true,
"nvfbc_patch": true,
"driver_url": "http://international.download.nvidia.com/tesla/570.86.15/NVIDIA-Linux-x86_64-570.86.15.run"
},
],
"example": {
"version": "430.50"
@ -4571,6 +4583,24 @@
"patch64_url": "win10_x64/572.16/nvencodeapi64.1337",
"patch32_url": "win10_x64/572.16/nvencodeapi.1337",
"driver_url": "https://international.download.nvidia.com/Windows/572.16/572.16-desktop-win10-win11-64bit-international-dch-whql.exe"
},
{
"os": "win10",
"product": "GeForce",
"version": "572.42",
"variant": "DCH",
"patch64_url": "win10_x64/572.42/nvencodeapi64.1337",
"patch32_url": "win10_x64/572.42/nvencodeapi.1337",
"driver_url": "https://international.download.nvidia.com/Windows/572.42/572.42-desktop-win10-win11-64bit-international-dch-whql.exe"
},
{
"os": "win10",
"product": "GeForce",
"version": "572.47",
"variant": "DCH",
"patch64_url": "win10_x64/572.47/nvencodeapi64.1337",
"patch32_url": "win10_x64/572.47/nvencodeapi.1337",
"driver_url": "https://international.download.nvidia.com/Windows/572.47/572.47-desktop-win10-win11-64bit-international-dch-whql.exe"
}
]
}

View file

@ -223,6 +223,8 @@ declare -A patch_list=(
["560.35.05"]='s/\x85\xc0\x0f\x84\x9b\x00\x00\x00\x48/\x85\xc0\x90\x90\x90\x90\x90\x90\x48/g'
["565.57.01"]='s/\x85\xc0\x0f\x84\x9b\x00\x00\x00\x48/\x85\xc0\x90\x90\x90\x90\x90\x90\x48/g'
["565.77"]='s/\x85\xc0\x0f\x84\x9b\x00\x00\x00\x48/\x85\xc0\x90\x90\x90\x90\x90\x90\x48/g'
["570.86.15"]='s/\x85\xc0\x0f\x84\x9b\x00\x00\x00\x48/\x85\xc0\x90\x90\x90\x90\x90\x90\x48/g'
["570.86.16"]='s/\x85\xc0\x0f\x84\x9b\x00\x00\x00\x48/\x85\xc0\x90\x90\x90\x90\x90\x90\x48/g'
)
check_version_supported () {

View file

@ -262,6 +262,8 @@ declare -A patch_list=(
["560.35.05"]='s/\xe8\x35\x3e\xfe\xff\x85\xc0\x41\x89\xc4/\xe8\x35\x3e\xfe\xff\x29\xc0\x41\x89\xc4/g'
["565.57.01"]='s/\xe8\x15\x34\xfe\xff\x85\xc0\x41\x89\xc4/\xe8\x15\x34\xfe\xff\x29\xc0\x41\x89\xc4/g'
["565.77"]='s/\xe8\x15\x34\xfe\xff\x85\xc0\x41\x89\xc4/\xe8\x15\x34\xfe\xff\x29\xc0\x41\x89\xc4/g'
["570.86.15"]='s/\xe8\x45\x30\xfe\xff\x85\xc0\x41\x89\xc4/\xe8\x45\x30\xfe\xff\x29\xc0\x41\x89\xc4/g'
["570.86.16"]='s/\xe8\x45\x30\xfe\xff\x85\xc0\x41\x89\xc4/\xe8\x45\x30\xfe\xff\x29\xc0\x41\x89\xc4/g'
)
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-572.16-brightgreen.svg) ![Latest Quadro version](https://img.shields.io/badge/latest%20Quadro%20version-536.25-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-572.47-brightgreen.svg) ![Latest Quadro version](https://img.shields.io/badge/latest%20Quadro%20version-536.25-blue.svg)
NVENC patch removes restriction on maximum number of simultaneous NVENC video encoding sessions imposed by Nvidia to consumer-grade GPUs.
@ -42,7 +42,7 @@ If you like this project, best way to contribute is by sending PRs and fixing do
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 572.16, use `win10_x64/572.16/nvencodeapi64.1337` against `C:\WINDOWS\system32\nvencodeapi64.dll` **and** `win10_x64/572.16/nvencodeapi.1337` against `C:\WINDOWS\SysWOW64\nvencodeapi.dll`.
**Example:** for 64bit Windows 10 running driver version 572.47, use `win10_x64/572.47/nvencodeapi64.1337` against `C:\WINDOWS\system32\nvencodeapi64.dll` **and** `win10_x64/572.47/nvencodeapi.1337` against `C:\WINDOWS\SysWOW64\nvencodeapi.dll`.
If you still get "problem occured when patching" error, refer to the [instructions to change the ownership of the DLLs](https://github.com/keylase/nvidia-patch/issues/795#issuecomment-2225573296) by @VorlonCD
@ -261,6 +261,8 @@ Credits to [TroubleChute channel](https://www.youtube.com/channel/UCkih2oVTbXPEp
| GeForce | 566.14 DCH | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/566.14/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/566.14/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/566.14/566.14-desktop-win10-win11-64bit-international-dch-whql.exe) |
| GeForce | 566.36 DCH | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/566.36/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/566.36/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/566.36/566.36-desktop-win10-win11-64bit-international-dch-whql.exe) |
| GeForce | 572.16 DCH | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/572.16/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/572.16/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/572.16/572.16-desktop-win10-win11-64bit-international-dch-whql.exe) |
| GeForce | 572.42 DCH | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/572.42/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/572.42/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/572.42/572.42-desktop-win10-win11-64bit-international-dch-whql.exe) |
| GeForce | 572.47 DCH | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/572.47/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/572.47/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/572.47/572.47-desktop-win10-win11-64bit-international-dch-whql.exe) |
| Product series | Version | x64 library patch | x86 library patch | Driver link |

View file

@ -0,0 +1,6 @@
>nvencodeapi.dll
00000000000438E7:89->33
00000000000438E8:45->C0
00000000000438E9:08->89
00000000000438EA:85->45
00000000000438EB:C0->08

View file

@ -0,0 +1,5 @@
>nvencodeapi64.dll
000000000004BB61:8B->33
000000000004BB62:F0->C0
000000000004BB63:85->8B
000000000004BB64:C0->F0

View file

@ -0,0 +1,6 @@
>nvencodeapi.dll
00000000000438E7:89->33
00000000000438E8:45->C0
00000000000438E9:08->89
00000000000438EA:85->45
00000000000438EB:C0->08

View file

@ -0,0 +1,5 @@
>nvencodeapi64.dll
000000000004BB61:8B->33
000000000004BB62:F0->C0
000000000004BB63:85->8B
000000000004BB64:C0->F0