From 1100fc888d41e89759a90fe92eb4148d4a9c506b Mon Sep 17 00:00:00 2001 From: Jai Luthra Date: Thu, 10 Aug 2023 15:01:59 +0530 Subject: [PATCH] linux: patch for 535.98 and 535.86.10 (#689) --- README.md | 4 +++- drivers.json | 11 +++++++++++ patch-fbc.sh | 4 ++++ patch.sh | 4 ++++ 4 files changed, 22 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4d87601..4257336 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.86.05-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.98-brightgreen.svg) [NVENC patch](patch.sh) removes restriction on maximum number of simultaneous NVENC video encoding sessions imposed by Nvidia to consumer-grade GPUs. @@ -185,6 +185,8 @@ If you want to donate, please send it to your favorite open source organizations | 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) | | 535.86.05 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/535.86.05/NVIDIA-Linux-x86_64-535.86.05.run) | +| 535.86.10 | YES | YES | | +| 535.98 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/535.98/NVIDIA-Linux-x86_64-535.98.run) | ## Synopsis diff --git a/drivers.json b/drivers.json index a0a0e54..42686da 100644 --- a/drivers.json +++ b/drivers.json @@ -911,6 +911,17 @@ "nvenc_patch": true, "nvfbc_patch": true, "driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/535.86.05/NVIDIA-Linux-x86_64-535.86.05.run" + }, + { + "version": "535.98", + "nvenc_patch": true, + "nvfbc_patch": true, + "driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/535.98/NVIDIA-Linux-x86_64-535.98.run" + }, + { + "version": "535.86.10", + "nvenc_patch": true, + "nvfbc_patch": true } ], "example": { diff --git a/patch-fbc.sh b/patch-fbc.sh index 19cc61d..5eb6225 100755 --- a/patch-fbc.sh +++ b/patch-fbc.sh @@ -175,6 +175,8 @@ declare -A patch_list=( ["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/' ["535.86.05"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x01\x90\x90\x48/' + ["535.86.10"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x01\x90\x90\x48/' + ["535.98"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x01\x90\x90\x48/' ) declare -A object_list=( @@ -298,6 +300,8 @@ declare -A object_list=( ["535.43.02"]='libnvidia-fbc.so' ["535.54.03"]='libnvidia-fbc.so' ["535.86.05"]='libnvidia-fbc.so' + ["535.86.10"]='libnvidia-fbc.so' + ["535.98"]='libnvidia-fbc.so' ) check_version_supported () { diff --git a/patch.sh b/patch.sh index 28f1bd7..1c0cac0 100755 --- a/patch.sh +++ b/patch.sh @@ -214,6 +214,8 @@ declare -A patch_list=( ["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' ["535.86.05"]='s/\xe8\x05\xa0\xfe\xff\x85\xc0\x41\x89\xc4/\xe8\x05\xa0\xfe\xff\x29\xc0\x41\x89\xc4/g' + ["535.86.10"]='s/\xe8\x05\xa0\xfe\xff\x85\xc0\x41\x89\xc4/\xe8\x05\xa0\xfe\xff\x29\xc0\x41\x89\xc4/g' + ["535.98"]='s/\xe8\xa5\x9f\xfe\xff\x85\xc0\x41\x89\xc4/\xe8\xa5\x9f\xfe\xff\x29\xc0\x41\x89\xc4/g' ) declare -A object_list=( @@ -374,6 +376,8 @@ declare -A object_list=( ["535.43.02"]='libnvidia-encode.so' ["535.54.03"]='libnvidia-encode.so' ["535.86.05"]='libnvidia-encode.so' + ["535.86.10"]='libnvidia-encode.so' + ["535.98"]='libnvidia-encode.so' ) check_version_supported () {