mirror of
https://github.com/keylase/nvidia-patch.git
synced 2025-08-21 13:53:12 -07:00
Merge branch 'keylase:master' into master
This commit is contained in:
commit
2733983bdb
7 changed files with 52 additions and 2 deletions
|
@ -217,6 +217,7 @@ If you want to donate, please send it to your favorite open source organizations
|
|||
| 550.107.02 | YES | YES | [Driver link](http://international.download.nvidia.com/XFree86/Linux-x86_64/550.107.02/NVIDIA-Linux-x86_64-550.107.02.run) |
|
||||
| 550.120 | YES | YES | [Driver link](http://international.download.nvidia.com/XFree86/Linux-x86_64/550.120/NVIDIA-Linux-x86_64-550.120.run) |
|
||||
| 550.127.05 | YES | YES | [Driver link](http://international.download.nvidia.com/XFree86/Linux-x86_64/550.127.05/NVIDIA-Linux-x86_64-550.127.05.run) |
|
||||
| 550.135 | YES | YES | [Driver link](http://international.download.nvidia.com/XFree86/Linux-x86_64/550.135/NVIDIA-Linux-x86_64-550.135.run) |
|
||||
| 555.42.02 | YES | YES | [Driver link](http://international.download.nvidia.com/XFree86/Linux-x86_64/555.42.02/NVIDIA-Linux-x86_64-555.42.02.run) |
|
||||
| 555.58 | YES | YES | [Driver link](http://international.download.nvidia.com/XFree86/Linux-x86_64/555.58/NVIDIA-Linux-x86_64-555.58.run) |
|
||||
| 555.58.02 | YES | YES | [Driver link](http://international.download.nvidia.com/XFree86/Linux-x86_64/555.58.02/NVIDIA-Linux-x86_64-555.58.02.run) |
|
||||
|
|
15
drivers.json
15
drivers.json
|
@ -1139,6 +1139,12 @@
|
|||
"nvenc_patch": true,
|
||||
"nvfbc_patch": true,
|
||||
"driver_url": "http://international.download.nvidia.com/XFree86/Linux-x86_64/550.127.05/NVIDIA-Linux-x86_64-550.127.05.run"
|
||||
},
|
||||
{
|
||||
"version": "550.135",
|
||||
"nvenc_patch": true,
|
||||
"nvfbc_patch": true,
|
||||
"driver_url": "http://international.download.nvidia.com/XFree86/Linux-x86_64/550.135/NVIDIA-Linux-x86_64-550.135.run"
|
||||
}
|
||||
],
|
||||
"example": {
|
||||
|
@ -4514,6 +4520,15 @@
|
|||
"patch64_url": "win10_x64/566.03/nvencodeapi64.1337",
|
||||
"patch32_url": "win10_x64/566.03/nvencodeapi.1337",
|
||||
"driver_url": "https://international.download.nvidia.com/Windows/566.03/566.03-desktop-win10-win11-64bit-international-dch-whql.exe"
|
||||
},
|
||||
{
|
||||
"os": "win10",
|
||||
"product": "GeForce",
|
||||
"version": "566.14",
|
||||
"variant": "DCH",
|
||||
"patch64_url": "win10_x64/566.14/nvencodeapi64.1337",
|
||||
"patch32_url": "win10_x64/566.14/nvencodeapi.1337",
|
||||
"driver_url": "https://international.download.nvidia.com/Windows/566.14/566.14-desktop-win10-win11-64bit-international-dch-whql.exe"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
11
patch-fbc.sh
11
patch-fbc.sh
|
@ -4,6 +4,15 @@ set -euo pipefail ; # <- this semicolon and comment make options apply
|
|||
# even when script is corrupt by CRLF line terminators (issue #75)
|
||||
# empty line must follow this comment for immediate fail with CRLF newlines
|
||||
|
||||
# root check
|
||||
if [ "$(id -u)" -ne 0 ]; then
|
||||
echo
|
||||
echo -e "Please run as root!"
|
||||
echo
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
backup_path="/opt/nvidia/libnvidia-fbc-backup"
|
||||
silent_flag=''
|
||||
manual_driver_version=''
|
||||
|
@ -194,6 +203,7 @@ declare -A patch_list=(
|
|||
["535.171.04"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x01\x90\x90\x48/'
|
||||
["535.183.01"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x01\x90\x90\x48/'
|
||||
["535.183.06"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x01\x90\x90\x48/'
|
||||
["535.216.03"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x01\x90\x90\x48/'
|
||||
["545.23.06"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x01\x90\x90\x48/'
|
||||
["545.23.08"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x01\x90\x90\x48/'
|
||||
["545.29.02"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x01\x90\x90\x48/'
|
||||
|
@ -209,6 +219,7 @@ declare -A patch_list=(
|
|||
["550.107.02"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x01\x90\x90\x48/'
|
||||
["550.120"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x01\x90\x90\x48/'
|
||||
["550.127.05"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x01\x90\x90\x48/'
|
||||
["550.135"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x01\x90\x90\x48/'
|
||||
["555.42.02"]='s/\x85\xc0\x0f\x85\x9b\x00\x00\x00\x48/\x85\xc0\x90\x90\x90\x90\x90\x90\x48/g'
|
||||
["555.52.04"]='s/\x85\xc0\x0f\x85\x9b\x00\x00\x00\x48/\x85\xc0\x90\x90\x90\x90\x90\x90\x48/g'
|
||||
["555.58"]='s/\x85\xc0\x0f\x85\x9b\x00\x00\x00\x48/\x85\xc0\x90\x90\x90\x90\x90\x90\x48/g'
|
||||
|
|
11
patch.sh
11
patch.sh
|
@ -4,6 +4,15 @@ set -euo pipefail ; # <- this semicolon and comment make options apply
|
|||
# even when script is corrupt by CRLF line terminators (issue #75)
|
||||
# empty line must follow this comment for immediate fail with CRLF newlines
|
||||
|
||||
# root check
|
||||
if [ "$(id -u)" -ne 0 ]; then
|
||||
echo
|
||||
echo -e "Please run as root!"
|
||||
echo
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
backup_path="/opt/nvidia/libnvidia-encode-backup"
|
||||
silent_flag=''
|
||||
manual_driver_version=''
|
||||
|
@ -233,6 +242,7 @@ declare -A patch_list=(
|
|||
["535.171.04"]='s/\xe8\xa5\x9f\xfe\xff\x85\xc0\x41\x89\xc4/\xe8\xa5\x9f\xfe\xff\x29\xc0\x41\x89\xc4/g'
|
||||
["535.183.01"]='s/\xe8\xa5\x9f\xfe\xff\x85\xc0\x41\x89\xc4/\xe8\xa5\x9f\xfe\xff\x29\xc0\x41\x89\xc4/g'
|
||||
["535.183.06"]='s/\xe8\xa5\x9f\xfe\xff\x85\xc0\x41\x89\xc4/\xe8\xa5\x9f\xfe\xff\x29\xc0\x41\x89\xc4/g'
|
||||
["535.216.03"]='s/\xe8\xa5\x9f\xfe\xff\x85\xc0\x41\x89\xc4/\xe8\xa5\x9f\xfe\xff\x29\xc0\x41\x89\xc4/g'
|
||||
["545.23.06"]='s/\xe8\xc5\x8f\xfe\xff\x85\xc0\x41\x89\xc4/\xe8\xc5\x8f\xfe\xff\x29\xc0\x41\x89\xc4/g'
|
||||
["545.23.08"]='s/\xe8\xc5\x8f\xfe\xff\x85\xc0\x41\x89\xc4/\xe8\xc5\x8f\xfe\xff\x29\xc0\x41\x89\xc4/g'
|
||||
["545.29.02"]='s/\xe8\xc5\x8f\xfe\xff\x85\xc0\x41\x89\xc4/\xe8\xc5\x8f\xfe\xff\x29\xc0\x41\x89\xc4/g'
|
||||
|
@ -248,6 +258,7 @@ declare -A patch_list=(
|
|||
["550.107.02"]='s/\xe8\xf5\x52\xfe\xff\x85\xc0\x41\x89\xc4/\xe8\xf5\x52\xfe\xff\x29\xc0\x41\x89\xc4/g'
|
||||
["550.120"]='s/\xe8\xf5\x52\xfe\xff\x85\xc0\x41\x89\xc4/\xe8\xf5\x52\xfe\xff\x29\xc0\x41\x89\xc4/g'
|
||||
["550.127.05"]='s/\xe8\xf5\x52\xfe\xff\x85\xc0\x41\x89\xc4/\xe8\xf5\x52\xfe\xff\x29\xc0\x41\x89\xc4/g'
|
||||
["550.135"]='s/\xe8\xf5\x52\xfe\xff\x85\xc0\x41\x89\xc4/\xe8\xf5\x52\xfe\xff\x29\xc0\x41\x89\xc4/g'
|
||||
["555.42.02"]='s/\xe8\x25\x43\xfe\xff\x85\xc0\x41\x89\xc4/\xe8\x25\x43\xfe\xff\x29\xc0\x41\x89\xc4/g'
|
||||
["555.52.04"]='s/\xe8\x25\x43\xfe\xff\x85\xc0\x41\x89\xc4/\xe8\x25\x43\xfe\xff\x29\xc0\x41\x89\xc4/g'
|
||||
["555.58"]='s/\xe8\x25\x43\xfe\xff\x85\xc0\x41\x89\xc4/\xe8\x25\x43\xfe\xff\x29\xc0\x41\x89\xc4/g'
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
NVENC and NvFBC patches for Windows Nvidia drivers
|
||||
==================================================
|
||||
|
||||
  
|
||||
  
|
||||
|
||||
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 566.03, use `win10_x64/566.03/nvencodeapi64.1337` against `C:\WINDOWS\system32\nvencodeapi64.dll` **and** `win10_x64/566.03/nvencodeapi.1337` against `C:\WINDOWS\SysWOW64\nvencodeapi.dll`.
|
||||
**Example:** for 64bit Windows 10 running driver version 566.14, use `win10_x64/566.14/nvencodeapi64.1337` against `C:\WINDOWS\system32\nvencodeapi64.dll` **and** `win10_x64/566.14/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
|
||||
|
||||
|
@ -258,6 +258,7 @@ Credits to [TroubleChute channel](https://www.youtube.com/channel/UCkih2oVTbXPEp
|
|||
| GeForce | 561.09 DCH | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/561.09/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/561.09/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/561.09/561.09-desktop-win10-win11-64bit-international-dch-whql.exe) |
|
||||
| GeForce | 565.90 DCH | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/565.90/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/565.90/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/565.90/565.90-desktop-win10-win11-64bit-international-dch-whql.exe) |
|
||||
| GeForce | 566.03 DCH | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/566.03/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/566.03/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/566.03/566.03-desktop-win10-win11-64bit-international-dch-whql.exe) |
|
||||
| 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) |
|
||||
|
||||
|
||||
| Product series | Version | x64 library patch | x86 library patch | Driver link |
|
||||
|
|
6
win/win10_x64/566.14/nvencodeapi.1337
Normal file
6
win/win10_x64/566.14/nvencodeapi.1337
Normal file
|
@ -0,0 +1,6 @@
|
|||
>nvencodeapi.dll
|
||||
0000000000043107:89->33
|
||||
0000000000043108:45->C0
|
||||
0000000000043109:08->89
|
||||
000000000004310A:85->45
|
||||
000000000004310B:C0->08
|
5
win/win10_x64/566.14/nvencodeapi64.1337
Normal file
5
win/win10_x64/566.14/nvencodeapi64.1337
Normal file
|
@ -0,0 +1,5 @@
|
|||
>nvencodeapi64.dll
|
||||
000000000004B381:8B->33
|
||||
000000000004B382:F0->C0
|
||||
000000000004B383:85->8B
|
||||
000000000004B384:C0->F0
|
Loading…
Add table
Add a link
Reference in a new issue