From 9a71597828e0265ef64cde2b1edefcd9c9e0cd61 Mon Sep 17 00:00:00 2001 From: Jai Luthra Date: Sat, 17 Jun 2023 01:09:47 +0530 Subject: [PATCH] linux: patch for 535.54.03 Signed-off-by: Jai Luthra --- README.md | 3 ++- drivers.json | 6 ++++++ patch-fbc.sh | 2 ++ patch.sh | 2 ++ 4 files changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3fe3b7d..3f6acc5 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-535.43.02-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-535.54.03-brightgreen.svg) [NVENC patch](patch.sh) removes restriction on maximum number of simultaneous NVENC video encoding sessions imposed by Nvidia to consumer-grade GPUs. @@ -181,6 +181,7 @@ If you want to donate, please send it to your favorite open source organizations | 530.30.02 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/530.30.02/NVIDIA-Linux-x86_64-530.30.02.run) | | 530.41.03 | YES | YES | [Driver link](http://international.download.nvidia.com/XFree86/Linux-x86_64/530.41.03/NVIDIA-Linux-x86_64-530.41.03.run) | | 535.43.02 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/535.43.02/NVIDIA-Linux-x86_64-535.43.02.run) | +| 535.54.03 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/535.54.03/NVIDIA-Linux-x86_64-535.54.03.run) | ## Synopsis diff --git a/drivers.json b/drivers.json index 25dca0f..62cf08c 100644 --- a/drivers.json +++ b/drivers.json @@ -887,6 +887,12 @@ "nvenc_patch": true, "nvfbc_patch": true, "driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/525.116.04/NVIDIA-Linux-x86_64-525.116.04.run" + }, + { + "version": "535.54.03", + "nvenc_patch": true, + "nvfbc_patch": true, + "driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/535.54.03/NVIDIA-Linux-x86_64-535.54.03.run" } ], "example": { diff --git a/patch-fbc.sh b/patch-fbc.sh index cc4be41..abf7c37 100755 --- a/patch-fbc.sh +++ b/patch-fbc.sh @@ -171,6 +171,7 @@ declare -A patch_list=( ["530.30.02"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' ["530.41.03"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' ["535.43.02"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' + ["535.54.03"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' ) declare -A object_list=( @@ -290,6 +291,7 @@ declare -A object_list=( ["530.30.02"]='libnvidia-fbc.so' ["530.41.03"]='libnvidia-fbc.so' ["535.43.02"]='libnvidia-fbc.so' + ["535.54.03"]='libnvidia-fbc.so' ) check_version_supported () { diff --git a/patch.sh b/patch.sh index 6fde246..fe70eec 100755 --- a/patch.sh +++ b/patch.sh @@ -210,6 +210,7 @@ declare -A patch_list=( ["530.30.02"]='s/\xe8\x15\x6f\xfe\xff\x85\xc0\x41\x89\xc4/\xe8\x15\x6f\xfe\xff\x29\xc0\x41\x89\xc4/g' ["530.41.03"]='s/\xe8\xc5\x6b\xfe\xff\x85\xc0\x41\x89\xc4/\xe8\xc5\x6b\xfe\xff\x29\xc0\x41\x89\xc4/g' ["535.43.02"]='s/\xe8\xa5\x9e\xfe\xff\x85\xc0\x41\x89\xc4/\xe8\xa5\x9e\xfe\xff\x29\xc0\x41\x89\xc4/g' + ["535.54.03"]='s/\xe8\xa5\x9e\xfe\xff\x85\xc0\x41\x89\xc4/\xe8\xa5\x9e\xfe\xff\x29\xc0\x41\x89\xc4/g' ) declare -A object_list=( @@ -366,6 +367,7 @@ declare -A object_list=( ["530.30.02"]='libnvidia-encode.so' ["530.41.03"]='libnvidia-encode.so' ["535.43.02"]='libnvidia-encode.so' + ["535.54.03"]='libnvidia-encode.so' ) check_version_supported () {