From fc8b5f1aa55c49dc47f2de13c2aa161a212d543e Mon Sep 17 00:00:00 2001 From: Akilesh Kannan Date: Sat, 30 Apr 2022 10:29:18 +0530 Subject: [PATCH] linux: patch for 510.68.02 --- 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 ec01bc4..6ffb053 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-510.60.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-510.68.02-brightgreen.svg) [NVENC patch](patch.sh) removes restriction on maximum number of simultaneous NVENC video encoding sessions imposed by Nvidia to consumer-grade GPUs. @@ -161,6 +161,7 @@ git clone https://ipfs.io/ipns/Qmed4r8yrBP162WK1ybd1DJWhLUi4t6mGuBoB9fLtjxR7u nv | 510.47.03 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/510.47.03/NVIDIA-Linux-x86_64-510.47.03.run) | | 510.54 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/510.54/NVIDIA-Linux-x86_64-510.54.run) | | 510.60.02 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/510.60.02/NVIDIA-Linux-x86_64-510.60.02.run) | +| 510.68.02 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/510.68.02/NVIDIA-Linux-x86_64-510.68.02.run) | ## Synopsis diff --git a/drivers.json b/drivers.json index 0438619..197470c 100644 --- a/drivers.json +++ b/drivers.json @@ -709,6 +709,12 @@ "nvenc_patch": true, "nvfbc_patch": true, "driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/510.60.02/NVIDIA-Linux-x86_64-510.60.02.run" + }, + { + "version": "510.68.02", + "nvenc_patch": true, + "nvfbc_patch": true, + "driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/510.68.02/NVIDIA-Linux-x86_64-510.68.02.run" } ], "example": { diff --git a/patch-fbc.sh b/patch-fbc.sh index 692c95f..6187e08 100755 --- a/patch-fbc.sh +++ b/patch-fbc.sh @@ -141,6 +141,7 @@ declare -A patch_list=( ["510.47.03"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' ["510.54"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' ["510.60.02"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' + ["510.68.02"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' ) declare -A object_list=( @@ -230,6 +231,7 @@ declare -A object_list=( ["510.47.03"]='libnvidia-fbc.so' ["510.54"]='libnvidia-fbc.so' ["510.60.02"]='libnvidia-fbc.so' + ["510.68.02"]='libnvidia-fbc.so' ) check_version_supported () { diff --git a/patch.sh b/patch.sh index 7efb2b7..9198d0b 100755 --- a/patch.sh +++ b/patch.sh @@ -180,6 +180,7 @@ declare -A patch_list=( ["510.47.03"]='s/\xe8\x15\x1f\xff\xff\x85\xc0\x41\x89\xc4/\xe8\x15\x1f\xff\xff\x29\xc0\x41\x89\xc4/g' ["510.54"]='s/\xe8\x15\x1f\xff\xff\x85\xc0\x41\x89\xc4/\xe8\x15\x1f\xff\xff\x29\xc0\x41\x89\xc4/g' ["510.60.02"]='s/\xe8\x15\x1f\xff\xff\x85\xc0\x41\x89\xc4/\xe8\x15\x1f\xff\xff\x29\xc0\x41\x89\xc4/g' + ["510.68.02"]='s/\xe8\x15\x1f\xff\xff\x85\xc0\x41\x89\xc4/\xe8\x15\x1f\xff\xff\x29\xc0\x41\x89\xc4/g' ) declare -A object_list=( @@ -306,6 +307,7 @@ declare -A object_list=( ["510.47.03"]='libnvidia-encode.so' ["510.54"]='libnvidia-encode.so' ["510.60.02"]='libnvidia-encode.so' + ["510.68.02"]='libnvidia-encode.so' ) check_version_supported () {