From 5688b351cc5551753344a7de5f42597ae350348d Mon Sep 17 00:00:00 2001 From: ram/haidar <49301219+ramhaidar@users.noreply.github.com> Date: Sun, 8 Mar 2026 00:26:50 +0700 Subject: [PATCH 1/2] win: add support for DCH driver 595.76 --- drivers.json | 9 +++++++++ win/README.md | 5 +++-- win/win10_x64/595.76/nvencodeapi.1337 | 9 +++++++++ win/win10_x64/595.76/nvencodeapi64.1337 | 8 ++++++++ 4 files changed, 29 insertions(+), 2 deletions(-) create mode 100644 win/win10_x64/595.76/nvencodeapi.1337 create mode 100644 win/win10_x64/595.76/nvencodeapi64.1337 diff --git a/drivers.json b/drivers.json index 4dabab3..5afd241 100644 --- a/drivers.json +++ b/drivers.json @@ -5063,6 +5063,15 @@ "patch64_url": "win10_x64/595.71/nvencodeapi64.1337", "patch32_url": "win10_x64/595.71/nvencodeapi.1337", "driver_url": "https://international.download.nvidia.com/Windows/595.71/595.71-desktop-win10-win11-64bit-international-dch-whql.exe" + }, + { + "os": "win10", + "product": "GeForce", + "version": "595.76", + "variant": "DCH", + "patch64_url": "win10_x64/595.76/nvencodeapi64.1337", + "patch32_url": "win10_x64/595.76/nvencodeapi.1337", + "driver_url": "https://international.download.nvidia.com/Windows/595.76hf/595.76-desktop-notebook-win10-win11-64bit-international-dch.hf.exe" } ] } diff --git a/win/README.md b/win/README.md index 0c5f47a..655d732 100644 --- a/win/README.md +++ b/win/README.md @@ -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-595.71-brightgreen.svg) ![Latest Quadro version](https://img.shields.io/badge/latest%20Quadro%20version-582.16-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-595.76-brightgreen.svg) ![Latest Quadro version](https://img.shields.io/badge/latest%20Quadro%20version-582.16-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 595.71, use `win10_x64/595.71/nvencodeapi64.1337` against `C:\WINDOWS\system32\nvencodeapi64.dll` **and** `win10_x64/595.71/nvencodeapi.1337` against `C:\WINDOWS\SysWOW64\nvencodeapi.dll`. +**Example:** for 64bit Windows 10 running driver version 595.76, use `win10_x64/595.76/nvencodeapi64.1337` against `C:\WINDOWS\system32\nvencodeapi64.dll` **and** `win10_x64/595.76/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 @@ -292,6 +292,7 @@ Credits to [TroubleChute channel](https://www.youtube.com/channel/UCkih2oVTbXPEp | GeForce | 591.74 DCH | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/591.74/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/591.74/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/591.74/591.74-desktop-win10-win11-64bit-international-dch-whql.exe) | | GeForce | 591.86 DCH | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/591.86/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/591.86/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/591.86/591.86-desktop-win10-win11-64bit-international-dch-whql.exe) | | GeForce | 595.71 DCH | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/595.71/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/595.71/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/595.71/595.71-desktop-win10-win11-64bit-international-dch-whql.exe) | +| GeForce | 595.76 DCH | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/595.76/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/595.76/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/595.76hf/595.76-desktop-notebook-win10-win11-64bit-international-dch.hf.exe) | | Product series | Version | x64 library patch | x86 library patch | Driver link | diff --git a/win/win10_x64/595.76/nvencodeapi.1337 b/win/win10_x64/595.76/nvencodeapi.1337 new file mode 100644 index 0000000..e3aad94 --- /dev/null +++ b/win/win10_x64/595.76/nvencodeapi.1337 @@ -0,0 +1,9 @@ +>nvencodeapi.dll +000000000004542E:89->31 +000000000004542F:85->C0 +0000000000045430:EC->89 +0000000000045431:FB->85 +0000000000045432:FF->EC +0000000000045433:FF->FB +0000000000045434:85->FF +0000000000045435:C0->FF \ No newline at end of file diff --git a/win/win10_x64/595.76/nvencodeapi64.1337 b/win/win10_x64/595.76/nvencodeapi64.1337 new file mode 100644 index 0000000..ce63f03 --- /dev/null +++ b/win/win10_x64/595.76/nvencodeapi64.1337 @@ -0,0 +1,8 @@ +>nvencodeapi64.dll +000000000004C2A1:8B->33 +000000000004C2A2:F0->C0 +000000000004C2A3:45->8B +000000000004C2A4:33->F0 +000000000004C2A5:FF->45 +000000000004C2A6:85->33 +000000000004C2A7:C0->FF \ No newline at end of file From cadc84be4f0318d6a6345cab2cff5e7b7f6758f9 Mon Sep 17 00:00:00 2001 From: mcfd <43702470+mcfd@users.noreply.github.com> Date: Tue, 17 Mar 2026 16:09:20 +0800 Subject: [PATCH 2/2] linux: patch for 595.45.04 --- README.md | 3 ++- drivers.json | 6 ++++++ patch-fbc.sh | 1 + patch.sh | 1 + 4 files changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 583cb53..ab8f8b5 100644 --- a/README.md +++ b/README.md @@ -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-590.48.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-595.45.04-brightgreen.svg) [NVENC patch](patch.sh) removes restriction on maximum number of simultaneous NVENC video encoding sessions imposed by Nvidia to consumer-grade GPUs. @@ -262,6 +262,7 @@ If you want to donate, please send it to your favorite open source organizations | 580.126.09 | YES | YES | [Driver link](http://international.download.nvidia.com/XFree86/Linux-x86_64/580.126.09/NVIDIA-Linux-x86_64-580.126.09.run) | | 590.44.01 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/590.44.01/NVIDIA-Linux-x86_64-590.44.01.run) | | 590.48.01 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/590.48.01/NVIDIA-Linux-x86_64-590.48.01.run) | +| 595.45.04 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/595.45.04/NVIDIA-Linux-x86_64-595.45.04.run) | ## Synopsis diff --git a/drivers.json b/drivers.json index 5afd241..5a9ac9e 100644 --- a/drivers.json +++ b/drivers.json @@ -1373,6 +1373,12 @@ "nvenc_patch": true, "nvfbc_patch": true, "driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/570.211.01/NVIDIA-Linux-x86_64-570.211.01.run" + }, + { + "version": "595.45.04", + "nvenc_patch": true, + "nvfbc_patch": true, + "driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/595.45.04/NVIDIA-Linux-x86_64-595.45.04.run" } ], "example": { diff --git a/patch-fbc.sh b/patch-fbc.sh index cc35389..40c9c2d 100755 --- a/patch-fbc.sh +++ b/patch-fbc.sh @@ -258,6 +258,7 @@ declare -A patch_list=( ["580.126.09"]='s/\x85\xc0\x0f\x85\xd4\x00\x00\x00\x48/\x85\xc0\x90\x90\x90\x90\x90\x90\x48/g' ["590.44.01"]='s/\x85\xc0\x0f\x85\xd4\x00\x00\x00\x48/\x85\xc0\x90\x90\x90\x90\x90\x90\x48/g' ["590.48.01"]='s/\x85\xc0\x0f\x85\xd4\x00\x00\x00\x48/\x85\xc0\x90\x90\x90\x90\x90\x90\x48/g' + ["595.45.04"]='s/\x85\xc0\x0f\x85\xd4\x00\x00\x00\x48/\x85\xc0\x90\x90\x90\x90\x90\x90\x48/g' ) check_version_supported () { diff --git a/patch.sh b/patch.sh index 6e98bbf..48b3e42 100755 --- a/patch.sh +++ b/patch.sh @@ -296,6 +296,7 @@ declare -A patch_list=( ["580.126.09"]='s/\xe8\x81\x2e\xfe\xff\x41\x89\xc6\x85\xc0/\xe8\x81\x2e\xfe\xff\x29\xc0\x41\x89\xc6/g' ["590.44.01"]='s/\xe8\x41\x2e\xfe\xff\x41\x89\xc6\x85\xc0/\xe8\x41\x2e\xfe\xff\x29\xc0\x41\x89\xc6/g' ["590.48.01"]='s/\xe8\x41\x2e\xfe\xff\x41\x89\xc6\x85\xc0/\xe8\x41\x2e\xfe\xff\x29\xc0\x41\x89\xc6/g' + ["595.45.04"]='s/\xe8\x51\x21\xfe\xff\x41\x89\xc6\x85\xc0/\xe8\x51\x21\xfe\xff\x29\xc0\x41\x89\xc6/g' ) check_version_supported () {