From a5715ce069ee9807d1ca8dd60b660f294e67e8c0 Mon Sep 17 00:00:00 2001 From: Vladislav Date: Wed, 7 Jul 2021 11:26:43 +0300 Subject: [PATCH] linux: add nvenc patch version 470.42.01 --- patch.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/patch.sh b/patch.sh index 0202bd6..c06281f 100755 --- a/patch.sh +++ b/patch.sh @@ -151,6 +151,7 @@ declare -A patch_list=( ["465.24.02"]='s/\xe8\xc5\x20\xff\xff\x85\xc0\x41\x89\xc4/\xe8\xc5\x20\xff\xff\x29\xc0\x41\x89\xc4/g' ["465.27"]='s/\xe8\xc5\x20\xff\xff\x85\xc0\x41\x89\xc4/\xe8\xc5\x20\xff\xff\x29\xc0\x41\x89\xc4/g' ["465.31"]='s/\xe8\xc5\x20\xff\xff\x85\xc0\x41\x89\xc4/\xe8\xc5\x20\xff\xff\x29\xc0\x41\x89\xc4/g' + ["470.42.01"]='s/\xe8\x25\x1C\xff\xff\x85\xc0\x41\x89\xc4/\xe8\x25\x1C\xff\xff\x29\xc0\x41\x89\xc4/g' ) declare -A object_list=( @@ -257,6 +258,7 @@ declare -A object_list=( ["465.24.02"]='libnvidia-encode.so' ["465.27"]='libnvidia-encode.so' ["465.31"]='libnvidia-encode.so' + ["470.42.01"]='libnvidia-encode.so' ) check_version_supported () {