From a4dd61b439fd267147cc4650edbcae3ffabc5933 Mon Sep 17 00:00:00 2001 From: Jai Luthra Date: Fri, 7 Mar 2025 12:05:49 +0530 Subject: [PATCH] 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 () {