diff --git a/README.md b/README.md index fa05fbb..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-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.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. @@ -230,6 +230,8 @@ 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) | +| 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 d683a5e..99ca42e 100644 --- a/drivers.json +++ b/drivers.json @@ -1182,6 +1182,18 @@ "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" + }, + { + "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": { "version": "430.50" @@ -4601,6 +4613,33 @@ "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" + }, + { + "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" + }, + { + "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/patch-fbc.sh b/patch-fbc.sh index 2e7dfb7..808c991 100755 --- a/patch-fbc.sh +++ b/patch-fbc.sh @@ -225,6 +225,8 @@ 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' + ["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 e831841..a53016c 100755 --- a/patch.sh +++ b/patch.sh @@ -264,6 +264,8 @@ 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' + ["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 () { 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.* diff --git a/win/README.md b/win/README.md index cd6be2f..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.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.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. @@ -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.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 @@ -263,6 +263,9 @@ 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) | +| 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.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 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 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