From 0a7eb60905a21133dc2b78e7fc93cf9f4e38ae87 Mon Sep 17 00:00:00 2001 From: mirolm Date: Tue, 2 Aug 2022 19:44:48 +0300 Subject: [PATCH] linux: nvenc patch for 515.65.01 --- 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 7f7de6d..29bfa64 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-515.57-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-515.65.01-brightgreen.svg) [NVENC patch](patch.sh) removes restriction on maximum number of simultaneous NVENC video encoding sessions imposed by Nvidia to consumer-grade GPUs. @@ -168,6 +168,7 @@ git clone https://ipfs.io/ipns/Qmed4r8yrBP162WK1ybd1DJWhLUi4t6mGuBoB9fLtjxR7u nv | 515.43.04 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/515.43.04/NVIDIA-Linux-x86_64-515.43.04.run) | | 515.48.07 | YES | YES | [Driver link](http://international.download.nvidia.com/XFree86/Linux-x86_64/515.48.07/NVIDIA-Linux-x86_64-515.48.07.run) | | 515.57 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/515.57/NVIDIA-Linux-x86_64-515.57.run) | +| 515.65.01 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/515.65.01/NVIDIA-Linux-x86_64-515.65.01.run) | ## Synopsis diff --git a/drivers.json b/drivers.json index b863c90..0dd1d18 100644 --- a/drivers.json +++ b/drivers.json @@ -751,6 +751,12 @@ "nvenc_patch": true, "nvfbc_patch": true, "driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/515.57/NVIDIA-Linux-x86_64-515.57.run" + }, + { + "version": "515.65.01", + "nvenc_patch": true, + "nvfbc_patch": true, + "driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/515.65.01/NVIDIA-Linux-x86_64-515.65.01.run" } ], "example": { diff --git a/patch-fbc.sh b/patch-fbc.sh index 92aae14..1286f9f 100755 --- a/patch-fbc.sh +++ b/patch-fbc.sh @@ -148,6 +148,7 @@ declare -A patch_list=( ["515.43.04"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' ["515.48.07"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' ["515.57"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' + ["515.65.01"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' ) declare -A object_list=( @@ -244,6 +245,7 @@ declare -A object_list=( ["515.43.04"]='libnvidia-fbc.so' ["515.48.07"]='libnvidia-fbc.so' ["515.57"]='libnvidia-fbc.so' + ["515.65.01"]='libnvidia-fbc.so' ) check_version_supported () { diff --git a/patch.sh b/patch.sh index 0b3967e..420beb4 100755 --- a/patch.sh +++ b/patch.sh @@ -187,6 +187,7 @@ declare -A patch_list=( ["515.43.04"]='s/\xe8\xd5\x1e\xff\xff\x85\xc0\x41\x89\xc4/\xe8\xd5\x1e\xff\xff\x29\xc0\x41\x89\xc4/g' ["515.48.07"]='s/\xe8\xd5\x1e\xff\xff\x85\xc0\x41\x89\xc4/\xe8\xd5\x1e\xff\xff\x29\xc0\x41\x89\xc4/g' ["515.57"]='s/\xe8\xd5\x1e\xff\xff\x85\xc0\x41\x89\xc4/\xe8\xd5\x1e\xff\xff\x29\xc0\x41\x89\xc4/g' + ["515.65.01"]='s/\xe8\xd5\x1e\xff\xff\x85\xc0\x41\x89\xc4/\xe8\xd5\x1e\xff\xff\x29\xc0\x41\x89\xc4/g' ) declare -A object_list=( @@ -320,6 +321,7 @@ declare -A object_list=( ["515.43.04"]='libnvidia-encode.so' ["515.48.07"]='libnvidia-encode.so' ["515.57"]='libnvidia-encode.so' + ["515.65.01"]='libnvidia-encode.so' ) check_version_supported () {