From 298f929684c11d1dc4a17d0e365a34325eff98e4 Mon Sep 17 00:00:00 2001 From: ramhaidar <49301219+ramhaidar@users.noreply.github.com> Date: Fri, 28 Feb 2025 03:55:28 +0700 Subject: [PATCH 1/7] win: add support for DCH driver 572.60 --- drivers.json | 9 +++++++++ win/README.md | 7 ++++--- win/win10_x64/572.60/nvencodeapi.1337 | 6 ++++++ win/win10_x64/572.60/nvencodeapi64.1337 | 5 +++++ 4 files changed, 24 insertions(+), 3 deletions(-) create mode 100644 win/win10_x64/572.60/nvencodeapi.1337 create mode 100644 win/win10_x64/572.60/nvencodeapi64.1337 diff --git a/drivers.json b/drivers.json index d683a5e..dd84aca 100644 --- a/drivers.json +++ b/drivers.json @@ -4601,6 +4601,15 @@ "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" + }, + { + "os": "win10", + "product": "GeForce", + "version": "572.60", + "variant": "DCH", + "patch64_url": "win10_x64/572.60/nvencodeapi64.1337", + "patch32_url": "win10_x64/572.60/nvencodeapi.1337", + "driver_url": "https://international.download.nvidia.com/Windows/572.60/572.60-desktop-win10-win11-64bit-international-dch-whql.exe" } ] } diff --git a/win/README.md b/win/README.md index cd6be2f..db34b2a 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-572.47-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.60-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. @@ -33,7 +33,7 @@ If you like this project, best way to contribute is by sending PRs and fixing do 1. Download and install the latest Nvidia driver supported by this patch. 2. Download the latest patching tool: - - You can use the updated fork of the Win\_1337\_Apply\_Patch tool from [Win\_1337\_Apply\_Patch](https://github.com/ramhaidar/Win_1337_Apply_Patch/releases/latest) \([pCloud Mirror](https://u.pcloud.link/publink/show?code=KS2rtalK)\). + - You can use the updated fork of the Win\_1337\_Apply\_Patch tool from [Win\_1337\_Apply\_Patch](https://github.com/ramhaidar/Win_1337_Apply_Patch/releases/latest) \([pCloud Mirror](https://u.pcloud.link/publink/show?code=XZYDF45Z47oHOsxTe0jgLKIN3DfG3f4oaUcV)\). - Alternatively, you can use the PowerShell script version available at [Win\_1337\_Apply\_Patch\_Powershell](https://raw.githubusercontent.com/ramhaidar/Win_1337_Apply_Patch_Powershell/refs/heads/main/Win_1337_Apply.ps1) \([pCloud Mirror](https://u.pcloud.link/publink/show?code=B62)\). For instructions on how to use it, see the [README.md](https://github.com/ramhaidar/Win_1337_Apply_Patch_Powershell/blob/main/README.md) file. 3. Save patch(es) corresponding to your system, driver and product version from [Version Table](#version-table) using direct link to the patch (Right Click -> "Save as\.\.\.") - *Alternatively you may checkout repo using git or download it as ZIP archive and then locate corresponding .1337 patch file in `win` directory.* @@ -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.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`. +**Example:** for 64bit Windows 10 running driver version 572.60, use `win10_x64/572.60/nvencodeapi64.1337` against `C:\WINDOWS\system32\nvencodeapi64.dll` **and** `win10_x64/572.60/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 @@ -263,6 +263,7 @@ Credits to [TroubleChute channel](https://www.youtube.com/channel/UCkih2oVTbXPEp | 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) | +| GeForce | 572.60 DCH | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/572.60/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/572.60/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/572.60/572.60-desktop-win10-win11-64bit-international-dch-whql.exe) | | Product series | Version | x64 library patch | x86 library patch | Driver link | diff --git a/win/win10_x64/572.60/nvencodeapi.1337 b/win/win10_x64/572.60/nvencodeapi.1337 new file mode 100644 index 0000000..cdadada --- /dev/null +++ b/win/win10_x64/572.60/nvencodeapi.1337 @@ -0,0 +1,6 @@ +>nvencodeapi.dll +00000000000438E7:89->33 +00000000000438E8:45->C0 +00000000000438E9:08->89 +00000000000438EA:85->45 +00000000000438EB:C0->08 \ No newline at end of file diff --git a/win/win10_x64/572.60/nvencodeapi64.1337 b/win/win10_x64/572.60/nvencodeapi64.1337 new file mode 100644 index 0000000..3016b5d --- /dev/null +++ b/win/win10_x64/572.60/nvencodeapi64.1337 @@ -0,0 +1,5 @@ +>nvencodeapi64.dll +000000000004BB61:8B->33 +000000000004BB62:F0->C0 +000000000004BB63:85->8B +000000000004BB64:C0->F0 \ No newline at end of file From 3fc335ba69496594cec48d70824e76fb62fb6035 Mon Sep 17 00:00:00 2001 From: ramhaidar <49301219+ramhaidar@users.noreply.github.com> Date: Thu, 6 Mar 2025 03:30:47 +0700 Subject: [PATCH 2/7] win: add support for DCH driver 572.70 --- drivers.json | 9 +++++++++ win/README.md | 5 +++-- win/win10_x64/572.70/nvencodeapi.1337 | 6 ++++++ win/win10_x64/572.70/nvencodeapi64.1337 | 5 +++++ 4 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 win/win10_x64/572.70/nvencodeapi.1337 create mode 100644 win/win10_x64/572.70/nvencodeapi64.1337 diff --git a/drivers.json b/drivers.json index dd84aca..252ff25 100644 --- a/drivers.json +++ b/drivers.json @@ -4610,6 +4610,15 @@ "patch64_url": "win10_x64/572.60/nvencodeapi64.1337", "patch32_url": "win10_x64/572.60/nvencodeapi.1337", "driver_url": "https://international.download.nvidia.com/Windows/572.60/572.60-desktop-win10-win11-64bit-international-dch-whql.exe" + }, + { + "os": "win10", + "product": "GeForce", + "version": "572.70", + "variant": "DCH", + "patch64_url": "win10_x64/572.70/nvencodeapi64.1337", + "patch32_url": "win10_x64/572.70/nvencodeapi.1337", + "driver_url": "https://international.download.nvidia.com/Windows/572.70/572.70-desktop-win10-win11-64bit-international-dch-whql.exe" } ] } diff --git a/win/README.md b/win/README.md index db34b2a..15c52ff 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-572.60-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.70-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.60, use `win10_x64/572.60/nvencodeapi64.1337` against `C:\WINDOWS\system32\nvencodeapi64.dll` **and** `win10_x64/572.60/nvencodeapi.1337` against `C:\WINDOWS\SysWOW64\nvencodeapi.dll`. +**Example:** for 64bit Windows 10 running driver version 572.70, use `win10_x64/572.70/nvencodeapi64.1337` against `C:\WINDOWS\system32\nvencodeapi64.dll` **and** `win10_x64/572.70/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 @@ -264,6 +264,7 @@ Credits to [TroubleChute channel](https://www.youtube.com/channel/UCkih2oVTbXPEp | 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) | | GeForce | 572.60 DCH | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/572.60/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/572.60/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/572.60/572.60-desktop-win10-win11-64bit-international-dch-whql.exe) | +| GeForce | 572.70 DCH | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/572.70/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/572.70/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/572.70/572.70-desktop-win10-win11-64bit-international-dch-whql.exe) | | Product series | Version | x64 library patch | x86 library patch | Driver link | diff --git a/win/win10_x64/572.70/nvencodeapi.1337 b/win/win10_x64/572.70/nvencodeapi.1337 new file mode 100644 index 0000000..cdadada --- /dev/null +++ b/win/win10_x64/572.70/nvencodeapi.1337 @@ -0,0 +1,6 @@ +>nvencodeapi.dll +00000000000438E7:89->33 +00000000000438E8:45->C0 +00000000000438E9:08->89 +00000000000438EA:85->45 +00000000000438EB:C0->08 \ No newline at end of file diff --git a/win/win10_x64/572.70/nvencodeapi64.1337 b/win/win10_x64/572.70/nvencodeapi64.1337 new file mode 100644 index 0000000..3016b5d --- /dev/null +++ b/win/win10_x64/572.70/nvencodeapi64.1337 @@ -0,0 +1,5 @@ +>nvencodeapi64.dll +000000000004BB61:8B->33 +000000000004BB62:F0->C0 +000000000004BB63:85->8B +000000000004BB64:C0->F0 \ No newline at end of file From 90952ade291c8b628fc33854b925a5de3ca82e5e Mon Sep 17 00:00:00 2001 From: Troy Kelly Date: Mon, 3 Mar 2025 11:43:28 +1100 Subject: [PATCH 3/7] Update drivers.json Removing trailing comma from driver list --- drivers.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers.json b/drivers.json index 252ff25..b4d7829 100644 --- a/drivers.json +++ b/drivers.json @@ -1181,7 +1181,7 @@ "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" From fa95b534388ae8e1f40b3a48f5fe0fc8c6ddf315 Mon Sep 17 00:00:00 2001 From: Jai Luthra Date: Fri, 7 Mar 2025 12:02:08 +0530 Subject: [PATCH 4/7] tools: readme-autogen: fix pcloud link for win 1337 tool Signed-off-by: Jai Luthra --- tools/readme-autogen/templates/windows_readme_master.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/readme-autogen/templates/windows_readme_master.tmpl b/tools/readme-autogen/templates/windows_readme_master.tmpl index e07c1b5..49af787 100644 --- a/tools/readme-autogen/templates/windows_readme_master.tmpl +++ b/tools/readme-autogen/templates/windows_readme_master.tmpl @@ -33,7 +33,7 @@ If you like this project, best way to contribute is by sending PRs and fixing do 1. Download and install the latest Nvidia driver supported by this patch. 2. Download the latest patching tool: - - You can use the updated fork of the Win\_1337\_Apply\_Patch tool from [Win\_1337\_Apply\_Patch](https://github.com/ramhaidar/Win_1337_Apply_Patch/releases/latest) \([pCloud Mirror](https://u.pcloud.link/publink/show?code=KS2rtalK)\). + - You can use the updated fork of the Win\_1337\_Apply\_Patch tool from [Win\_1337\_Apply\_Patch](https://github.com/ramhaidar/Win_1337_Apply_Patch/releases/latest) \([pCloud Mirror](https://u.pcloud.link/publink/show?code=XZYDF45Z47oHOsxTe0jgLKIN3DfG3f4oaUcV)\). - Alternatively, you can use the PowerShell script version available at [Win\_1337\_Apply\_Patch\_Powershell](https://raw.githubusercontent.com/ramhaidar/Win_1337_Apply_Patch_Powershell/refs/heads/main/Win_1337_Apply.ps1) \([pCloud Mirror](https://u.pcloud.link/publink/show?code=B62)\). For instructions on how to use it, see the [README.md](https://github.com/ramhaidar/Win_1337_Apply_Patch_Powershell/blob/main/README.md) file. 3. Save patch(es) corresponding to your system, driver and product version from [Version Table](#version-table) using direct link to the patch (Right Click -> "Save as\.\.\.") - *Alternatively you may checkout repo using git or download it as ZIP archive and then locate corresponding .1337 patch file in `win` directory.* From 08886567ccdc0809ed7f870925da768307edba26 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Fri, 7 Mar 2025 06:12:16 +0000 Subject: [PATCH 5/7] linux: add support for driver 570.124.04 fixes #909 --- 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 fa05fbb..ab8e889 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-565.77-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-570.124.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. @@ -230,6 +230,7 @@ If you want to donate, please send it to your favorite open source organizations | 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) | +| 570.124.04 | YES | YES | [Driver link](http://international.download.nvidia.com/XFree86/Linux-x86_64/570.124.04/NVIDIA-Linux-x86_64-570.124.04.run) | ## Synopsis diff --git a/drivers.json b/drivers.json index b4d7829..84d279e 100644 --- a/drivers.json +++ b/drivers.json @@ -1181,6 +1181,12 @@ "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" + }, + { + "version": "570.124.04", + "nvenc_patch": true, + "nvfbc_patch": true, + "driver_url": "http://international.download.nvidia.com/XFree86/Linux-x86_64/570.124.04/NVIDIA-Linux-x86_64-570.124.04.run" } ], "example": { diff --git a/patch-fbc.sh b/patch-fbc.sh index 2e7dfb7..03abe09 100755 --- a/patch-fbc.sh +++ b/patch-fbc.sh @@ -225,6 +225,7 @@ declare -A patch_list=( ["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' + ["570.124.04"]='s/\x85\xc0\x0f\x84\x9b\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 e831841..1dda705 100755 --- a/patch.sh +++ b/patch.sh @@ -264,6 +264,7 @@ declare -A patch_list=( ["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' + ["570.124.04"]='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 () { From a4dd61b439fd267147cc4650edbcae3ffabc5933 Mon Sep 17 00:00:00 2001 From: Jai Luthra Date: Fri, 7 Mar 2025 12:05:49 +0530 Subject: [PATCH 6/7] linux: add support for 570.124.06 fixes #913 --- 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 ab8e889..e52c5bc 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-570.124.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-570.124.06-brightgreen.svg) [NVENC patch](patch.sh) removes restriction on maximum number of simultaneous NVENC video encoding sessions imposed by Nvidia to consumer-grade GPUs. @@ -231,6 +231,7 @@ If you want to donate, please send it to your favorite open source organizations | 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) | | 570.124.04 | YES | YES | [Driver link](http://international.download.nvidia.com/XFree86/Linux-x86_64/570.124.04/NVIDIA-Linux-x86_64-570.124.04.run) | +| 570.124.06 | YES | YES | [Driver link](https://developer.download.nvidia.com/compute/cuda/repos/debian12/x86_64/cuda-drivers-570_570.124.06-1_amd64.deb) | ## Synopsis diff --git a/drivers.json b/drivers.json index 84d279e..32086d3 100644 --- a/drivers.json +++ b/drivers.json @@ -1187,6 +1187,12 @@ "nvenc_patch": true, "nvfbc_patch": true, "driver_url": "http://international.download.nvidia.com/XFree86/Linux-x86_64/570.124.04/NVIDIA-Linux-x86_64-570.124.04.run" + }, + { + "version": "570.124.06", + "nvenc_patch": true, + "nvfbc_patch": true, + "driver_url": "https://developer.download.nvidia.com/compute/cuda/repos/debian12/x86_64/cuda-drivers-570_570.124.06-1_amd64.deb" } ], "example": { diff --git a/patch-fbc.sh b/patch-fbc.sh index 03abe09..808c991 100755 --- a/patch-fbc.sh +++ b/patch-fbc.sh @@ -226,6 +226,7 @@ declare -A patch_list=( ["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' ["570.124.04"]='s/\x85\xc0\x0f\x84\x9b\x00\x00\x00\x48/\x85\xc0\x90\x90\x90\x90\x90\x90\x48/g' + ["570.124.06"]='s/\x85\xc0\x0f\x84\x9b\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 1dda705..a53016c 100755 --- a/patch.sh +++ b/patch.sh @@ -265,6 +265,7 @@ declare -A patch_list=( ["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' ["570.124.04"]='s/\xe8\x45\x30\xfe\xff\x85\xc0\x41\x89\xc4/\xe8\x45\x30\xfe\xff\x29\xc0\x41\x89\xc4/g' + ["570.124.06"]='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 () { From f5128d450c29cdd0bc02ddf17221de9b57d5f6c8 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Tue, 11 Mar 2025 04:38:28 +0000 Subject: [PATCH 7/7] win: add support for DCH (Hotfix) driver 572.75 #916 --- drivers.json | 9 +++++++++ win/README.md | 5 +++-- win/win10_x64/572.75/nvencodeapi.1337 | 6 ++++++ win/win10_x64/572.75/nvencodeapi64.1337 | 5 +++++ 4 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 win/win10_x64/572.75/nvencodeapi.1337 create mode 100644 win/win10_x64/572.75/nvencodeapi64.1337 diff --git a/drivers.json b/drivers.json index 32086d3..99ca42e 100644 --- a/drivers.json +++ b/drivers.json @@ -4631,6 +4631,15 @@ "patch64_url": "win10_x64/572.70/nvencodeapi64.1337", "patch32_url": "win10_x64/572.70/nvencodeapi.1337", "driver_url": "https://international.download.nvidia.com/Windows/572.70/572.70-desktop-win10-win11-64bit-international-dch-whql.exe" + }, + { + "os": "win10", + "product": "GeForce", + "version": "572.75", + "variant": "DCH (Hotfix)", + "patch64_url": "win10_x64/572.75/nvencodeapi64.1337", + "patch32_url": "win10_x64/572.75/nvencodeapi.1337", + "driver_url": "https://international.download.nvidia.com/Windows/572.75hf/572.75-desktop-notebook-win10-win11-64bit-international-dch.hf.exe" } ] } diff --git a/win/README.md b/win/README.md index 15c52ff..5247331 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-572.70-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.75-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.70, use `win10_x64/572.70/nvencodeapi64.1337` against `C:\WINDOWS\system32\nvencodeapi64.dll` **and** `win10_x64/572.70/nvencodeapi.1337` against `C:\WINDOWS\SysWOW64\nvencodeapi.dll`. +**Example:** for 64bit Windows 10 running driver version 572.75, use `win10_x64/572.75/nvencodeapi64.1337` against `C:\WINDOWS\system32\nvencodeapi64.dll` **and** `win10_x64/572.75/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 @@ -265,6 +265,7 @@ Credits to [TroubleChute channel](https://www.youtube.com/channel/UCkih2oVTbXPEp | 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) | | GeForce | 572.60 DCH | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/572.60/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/572.60/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/572.60/572.60-desktop-win10-win11-64bit-international-dch-whql.exe) | | GeForce | 572.70 DCH | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/572.70/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/572.70/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/572.70/572.70-desktop-win10-win11-64bit-international-dch-whql.exe) | +| GeForce | 572.75 DCH (Hotfix) | [x64 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/572.75/nvencodeapi64.1337) | [x86 library patch](https://raw.githubusercontent.com/keylase/nvidia-patch/master/win/win10_x64/572.75/nvencodeapi.1337) | [Driver link](https://international.download.nvidia.com/Windows/572.75hf/572.75-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/572.75/nvencodeapi.1337 b/win/win10_x64/572.75/nvencodeapi.1337 new file mode 100644 index 0000000..4e49868 --- /dev/null +++ b/win/win10_x64/572.75/nvencodeapi.1337 @@ -0,0 +1,6 @@ +>nvencodeapi.dll +00000000000438E7:89->33 +00000000000438E8:45->C0 +00000000000438E9:08->89 +00000000000438EA:85->45 +00000000000438EB:C0->08 \ No newline at end of file diff --git a/win/win10_x64/572.75/nvencodeapi64.1337 b/win/win10_x64/572.75/nvencodeapi64.1337 new file mode 100644 index 0000000..c928cb8 --- /dev/null +++ b/win/win10_x64/572.75/nvencodeapi64.1337 @@ -0,0 +1,5 @@ +>nvencodeapi64.dll +000000000004BB61:8B->33 +000000000004BB62:F0->C0 +000000000004BB63:85->8B +000000000004BB64:C0->F0 \ No newline at end of file