From c7f24eb6ad719df7b06622c31ab1fdd2778326a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emily=20Mar=C3=A9=20=28emileet=29?= Date: Tue, 22 Sep 2020 15:43:18 +1000 Subject: [PATCH 1/4] linux: add driver versions 450.66 and 455.23.04 --- README.md | 2 ++ patch-fbc.sh | 4 ++++ patch.sh | 4 ++++ 3 files changed, 10 insertions(+) diff --git a/README.md b/README.md index b29e616..b23e0d4 100644 --- a/README.md +++ b/README.md @@ -109,6 +109,8 @@ git clone https://ipfs.io/ipns/Qmed4r8yrBP162WK1ybd1DJWhLUi4t6mGuBoB9fLtjxR7u nv | 450.56.02 | YES | YES | | | 450.56.06 | YES | YES | | | 450.57 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/450.57/NVIDIA-Linux-x86_64-450.57.run) | +| 450.66 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/450.57/NVIDIA-Linux-x86_64-450.57.run) | +| 455.23.04 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/455.23.04/NVIDIA-Linux-x86_64-455.23.04.run) | ## Synopsis diff --git a/patch-fbc.sh b/patch-fbc.sh index e36247b..251c65d 100755 --- a/patch-fbc.sh +++ b/patch-fbc.sh @@ -77,6 +77,8 @@ declare -A patch_list=( ["450.56.02"]='s/\x85\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/\x31\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/' ["450.56.06"]='s/\x85\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/\x31\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/' ["450.57"]='s/\x85\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/\x31\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/' + ["450.66"]='s/\x85\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/\x31\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/' + ["455.23.04"]='s/\x83\xf8\x01\x0f\x84\x85/\x83\xf8\x69\x0f\x84\x85/' ) declare -A object_list=( @@ -114,6 +116,8 @@ declare -A object_list=( ["450.56.02"]='libnvidia-fbc.so' ["450.56.06"]='libnvidia-fbc.so' ["450.57"]='libnvidia-fbc.so' + ["450.66"]='libnvidia-fbc.so' + ["455.23.04"]='libnvidia-fbc.so' ) check_version_supported () { diff --git a/patch.sh b/patch.sh index d5ac73a..d97c561 100755 --- a/patch.sh +++ b/patch.sh @@ -114,6 +114,8 @@ declare -A patch_list=( ["450.56.02"]='s/\x85\xc0\x41\x89\xc4\x75\x1f/\x31\xc0\x41\x89\xc4\x75\x1f/g' ["450.56.06"]='s/\x85\xc0\x41\x89\xc4\x75\x1f/\x31\xc0\x41\x89\xc4\x75\x1f/g' ["450.57"]='s/\x85\xc0\x41\x89\xc4\x75\x1f/\x31\xc0\x41\x89\xc4\x75\x1f/g' + ["450.66"]='s/\x85\xc0\x41\x89\xc4\x75\x1f/\x31\xc0\x41\x89\xc4\x75\x1f/g' + ["455.23.04"]='s/\x85\xc0\x41\x89\xc4\x75\x1f/\x31\xc0\x41\x89\xc4\x75\x1f/g' ) declare -A object_list=( @@ -186,6 +188,8 @@ declare -A object_list=( ["450.56.02"]='libnvidia-encode.so' ["450.56.06"]='libnvidia-encode.so' ["450.57"]='libnvidia-encode.so' + ["450.66"]='libnvidia-encode.so' + ["455.23.04"]='libnvidia-encode.so' ) check_version_supported () { From ae26a9caeb2d461e7f8b6852fb8f444438fda7d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emily=20Mar=C3=A9=20=28emileet=29?= Date: Tue, 22 Sep 2020 16:13:43 +1000 Subject: [PATCH 2/4] update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b23e0d4..06ede72 100644 --- a/README.md +++ b/README.md @@ -109,7 +109,7 @@ git clone https://ipfs.io/ipns/Qmed4r8yrBP162WK1ybd1DJWhLUi4t6mGuBoB9fLtjxR7u nv | 450.56.02 | YES | YES | | | 450.56.06 | YES | YES | | | 450.57 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/450.57/NVIDIA-Linux-x86_64-450.57.run) | -| 450.66 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/450.57/NVIDIA-Linux-x86_64-450.57.run) | +| 450.66 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/450.66/NVIDIA-Linux-x86_64-450.66.run) | | 455.23.04 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/455.23.04/NVIDIA-Linux-x86_64-455.23.04.run) | ## Synopsis From 7b97a882620390269717b69b0aa362b568177bb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emily=20Mar=C3=A9=20=28emileet=29?= Date: Tue, 22 Sep 2020 16:19:15 +1000 Subject: [PATCH 3/4] update README.md: latest version badge --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 06ede72..a9e8d9b 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-450.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-455.23.04-brightgreen.svg) [NVENC patch](patch.sh) removes restriction on maximum number of simultaneous NVENC video encoding sessions imposed by Nvidia to consumer-grade GPUs. From b6c3bede219efdddeb59aa165d0f25340154db31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emily=20Mar=C3=A9=20=28emileet=29?= Date: Wed, 23 Sep 2020 07:01:54 +1000 Subject: [PATCH 4/4] update drivers.json --- drivers.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/drivers.json b/drivers.json index f8ae86e..f351183 100644 --- a/drivers.json +++ b/drivers.json @@ -396,6 +396,18 @@ "version": "450.56.06", "nvenc_patch": true, "nvfbc_patch": true + }, + { + "version": "450.66", + "nvenc_patch": true, + "nvfbc_patch": true, + "driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/450.66/NVIDIA-Linux-x86_64-450.66.run" + }, + { + "version": "455.23.04", + "nvenc_patch": true, + "nvfbc_patch": true, + "driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/455.23.04/NVIDIA-Linux-x86_64-455.23.04.run" } ], "example": {