From a5715ce069ee9807d1ca8dd60b660f294e67e8c0 Mon Sep 17 00:00:00 2001 From: Vladislav Date: Wed, 7 Jul 2021 11:26:43 +0300 Subject: [PATCH 1/2] 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 () { From dc6492aaaddd44e613363abe55919c96f5577518 Mon Sep 17 00:00:00 2001 From: Vladislav Yarmak Date: Wed, 7 Jul 2021 16:05:17 +0300 Subject: [PATCH 2/2] update readme and drivers.json --- README.md | 2 +- drivers.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 203d237..2000a4d 100644 --- a/README.md +++ b/README.md @@ -144,7 +144,7 @@ git clone https://ipfs.io/ipns/Qmed4r8yrBP162WK1ybd1DJWhLUi4t6mGuBoB9fLtjxR7u nv | 465.24.02 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/465.24.02/NVIDIA-Linux-x86_64-465.24.02.run) | | 465.27 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/465.27/NVIDIA-Linux-x86_64-465.27.run) | | 465.31 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/465.31/NVIDIA-Linux-x86_64-465.31.run) | -| 470.42.01 | NO | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/470.42.01/NVIDIA-Linux-x86_64-470.42.01.run) | +| 470.42.01 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/470.42.01/NVIDIA-Linux-x86_64-470.42.01.run) | ## Synopsis diff --git a/drivers.json b/drivers.json index 3d168a1..40b779b 100644 --- a/drivers.json +++ b/drivers.json @@ -594,7 +594,7 @@ }, { "version": "470.42.01", - "nvenc_patch": false, + "nvenc_patch": true, "nvfbc_patch": true, "driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/470.42.01/NVIDIA-Linux-x86_64-470.42.01.run" }