From e02776b0b2b42aa260a8d94686e01317abfc7b5f Mon Sep 17 00:00:00 2001 From: Jai Luthra Date: Thu, 23 Dec 2021 14:25:54 +0530 Subject: [PATCH 1/6] linux: add support for 470.82.01 --- README.md | 1 + drivers.json | 6 ++++++ patch-fbc.sh | 2 ++ patch.sh | 2 ++ 4 files changed, 11 insertions(+) diff --git a/README.md b/README.md index 4de6626..85ecda4 100644 --- a/README.md +++ b/README.md @@ -147,6 +147,7 @@ git clone https://ipfs.io/ipns/Qmed4r8yrBP162WK1ybd1DJWhLUi4t6mGuBoB9fLtjxR7u nv | 470.63.01 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/470.63.01/NVIDIA-Linux-x86_64-470.63.01.run) | | 470.74 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/470.74/NVIDIA-Linux-x86_64-470.74.run) | | 470.82.00 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/470.82.00/NVIDIA-Linux-x86_64-470.82.00.run) | +| 470.82.01 | YES | YES | [Driver link](https://international.download.nvidia.com/tesla/470.82.01/NVIDIA-Linux-x86_64-470.82.01.run) | | 470.86 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/470.86/NVIDIA-Linux-x86_64-470.86.run) | | 470.94 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/470.94/NVIDIA-Linux-x86_64-470.94.run) | | 495.29.05 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/495.29.05/NVIDIA-Linux-x86_64-495.29.05.run) | diff --git a/drivers.json b/drivers.json index 1e5990b..8b4b1b4 100644 --- a/drivers.json +++ b/drivers.json @@ -662,6 +662,12 @@ "nvfbc_patch": true, "driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/495.46/NVIDIA-Linux-x86_64-495.46.run" }, + { + "version": "470.82.01", + "nvenc_patch": true, + "nvfbc_patch": true, + "driver_url": "https://international.download.nvidia.com/tesla/470.82.01/NVIDIA-Linux-x86_64-470.82.01.run" + }, { "version": "470.94", "nvenc_patch": true, diff --git a/patch-fbc.sh b/patch-fbc.sh index 2eced4c..24cbb37 100755 --- a/patch-fbc.sh +++ b/patch-fbc.sh @@ -130,6 +130,7 @@ declare -A patch_list=( ["470.63.01"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' ["470.74"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' ["470.82.00"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' + ["470.82.01"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' ["470.86"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' ["470.94"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' ["495.29.05"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' @@ -213,6 +214,7 @@ declare -A object_list=( ["470.63.01"]='libnvidia-fbc.so' ["470.74"]='libnvidia-fbc.so' ["470.82.00"]='libnvidia-fbc.so' + ["470.82.01"]='libnvidia-fbc.so' ["470.86"]='libnvidia-fbc.so' ["470.94"]='libnvidia-fbc.so' ["495.29.05"]='libnvidia-fbc.so' diff --git a/patch.sh b/patch.sh index 690b009..1dde6f1 100755 --- a/patch.sh +++ b/patch.sh @@ -168,6 +168,7 @@ declare -A patch_list=( ["470.63.01"]='s/\xe8\x25\x1C\xff\xff\x85\xc0\x41\x89\xc4/\xe8\x25\x1C\xff\xff\x29\xc0\x41\x89\xc4/g' ["470.74"]='s/\xe8\x25\x1C\xff\xff\x85\xc0\x41\x89\xc4/\xe8\x25\x1C\xff\xff\x29\xc0\x41\x89\xc4/g' ["470.82.00"]='s/\xe8\x25\x1C\xff\xff\x85\xc0\x41\x89\xc4/\xe8\x25\x1C\xff\xff\x29\xc0\x41\x89\xc4/g' + ["470.82.01"]='s/\xe8\x25\x1C\xff\xff\x85\xc0\x41\x89\xc4/\xe8\x25\x1C\xff\xff\x29\xc0\x41\x89\xc4/g' ["470.86"]='s/\xe8\x25\x1C\xff\xff\x85\xc0\x41\x89\xc4/\xe8\x25\x1C\xff\xff\x29\xc0\x41\x89\xc4/g' ["470.94"]='s/\xe8\x25\x1C\xff\xff\x85\xc0\x41\x89\xc4/\xe8\x25\x1C\xff\xff\x29\xc0\x41\x89\xc4/g' ["495.29.05"]='s/\xe8\x35\x1f\xff\xff\x85\xc0\x41\x89\xc4/\xe8\x35\x1f\xff\xff\x29\xc0\x41\x89\xc4/g' @@ -287,6 +288,7 @@ declare -A object_list=( ["470.63.01"]='libnvidia-encode.so' ["470.74"]='libnvidia-encode.so' ["470.82.00"]='libnvidia-encode.so' + ["470.82.01"]='libnvidia-encode.so' ["470.86"]='libnvidia-encode.so' ["470.94"]='libnvidia-encode.so' ["495.29.05"]='libnvidia-encode.so' From 00c409b5a323970f25ae2c163f4f75ab31c64eb4 Mon Sep 17 00:00:00 2001 From: "Scott Moore (Arch)" Date: Sat, 5 Feb 2022 21:11:20 +0000 Subject: [PATCH 2/6] Add support for driver version 470.103.01 --- patch-fbc.sh | 2 ++ patch.sh | 2 ++ 2 files changed, 4 insertions(+) diff --git a/patch-fbc.sh b/patch-fbc.sh index 24cbb37..24b3faa 100755 --- a/patch-fbc.sh +++ b/patch-fbc.sh @@ -133,6 +133,7 @@ declare -A patch_list=( ["470.82.01"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' ["470.86"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' ["470.94"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' + ["470.103.01"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' ["495.29.05"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' ["495.44"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' ["495.46"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' @@ -217,6 +218,7 @@ declare -A object_list=( ["470.82.01"]='libnvidia-fbc.so' ["470.86"]='libnvidia-fbc.so' ["470.94"]='libnvidia-fbc.so' + ["470.103.01"]='libnvidia-fbc.so' ["495.29.05"]='libnvidia-fbc.so' ["495.44"]='libnvidia-fbc.so' ["495.46"]='libnvidia-fbc.so' diff --git a/patch.sh b/patch.sh index 1dde6f1..90e31a5 100755 --- a/patch.sh +++ b/patch.sh @@ -171,6 +171,7 @@ declare -A patch_list=( ["470.82.01"]='s/\xe8\x25\x1C\xff\xff\x85\xc0\x41\x89\xc4/\xe8\x25\x1C\xff\xff\x29\xc0\x41\x89\xc4/g' ["470.86"]='s/\xe8\x25\x1C\xff\xff\x85\xc0\x41\x89\xc4/\xe8\x25\x1C\xff\xff\x29\xc0\x41\x89\xc4/g' ["470.94"]='s/\xe8\x25\x1C\xff\xff\x85\xc0\x41\x89\xc4/\xe8\x25\x1C\xff\xff\x29\xc0\x41\x89\xc4/g' + ["470.103.01"]='s/\xe8\x25\x1C\xff\xff\x85\xc0\x41\x89\xc4/\xe8\x25\x1C\xff\xff\x29\xc0\x41\x89\xc4/g' ["495.29.05"]='s/\xe8\x35\x1f\xff\xff\x85\xc0\x41\x89\xc4/\xe8\x35\x1f\xff\xff\x29\xc0\x41\x89\xc4/g' ["495.44"]='s/\xe8\x35\x1f\xff\xff\x85\xc0\x41\x89\xc4/\xe8\x35\x1f\xff\xff\x29\xc0\x41\x89\xc4/g' ["495.46"]='s/\xe8\x35\x1f\xff\xff\x85\xc0\x41\x89\xc4/\xe8\x35\x1f\xff\xff\x29\xc0\x41\x89\xc4/g' @@ -291,6 +292,7 @@ declare -A object_list=( ["470.82.01"]='libnvidia-encode.so' ["470.86"]='libnvidia-encode.so' ["470.94"]='libnvidia-encode.so' + ["470.103.01"]='libnvidia-encode.so' ["495.29.05"]='libnvidia-encode.so' ["495.44"]='libnvidia-encode.so' ["495.46"]='libnvidia-encode.so' From b22a65528c4c2d9ea696747a71ee1b30c6d3a68f Mon Sep 17 00:00:00 2001 From: "Scott Moore (Arch)" Date: Sat, 5 Feb 2022 21:18:34 +0000 Subject: [PATCH 3/6] Update README.md with version 470.103.01 driver link --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 85ecda4..a606b19 100644 --- a/README.md +++ b/README.md @@ -150,6 +150,7 @@ git clone https://ipfs.io/ipns/Qmed4r8yrBP162WK1ybd1DJWhLUi4t6mGuBoB9fLtjxR7u nv | 470.82.01 | YES | YES | [Driver link](https://international.download.nvidia.com/tesla/470.82.01/NVIDIA-Linux-x86_64-470.82.01.run) | | 470.86 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/470.86/NVIDIA-Linux-x86_64-470.86.run) | | 470.94 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/470.94/NVIDIA-Linux-x86_64-470.94.run) | +| 470.103.01 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/470.103.01/NVIDIA-Linux-x86_64-470.103.01.run) | | 495.29.05 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/495.29.05/NVIDIA-Linux-x86_64-495.29.05.run) | | 495.44 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/495.44/NVIDIA-Linux-x86_64-495.44.run) | | 495.46 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/495.46/NVIDIA-Linux-x86_64-495.46.run) | From 3dd6aaa2510186cf6c3f59ee7f770b76f82ed786 Mon Sep 17 00:00:00 2001 From: "Scott Moore (Arch)" Date: Sat, 5 Feb 2022 21:19:29 +0000 Subject: [PATCH 4/6] Update drivers.json with version 470.103.01 driver link --- drivers.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers.json b/drivers.json index 8b4b1b4..806872d 100644 --- a/drivers.json +++ b/drivers.json @@ -673,6 +673,12 @@ "nvenc_patch": true, "nvfbc_patch": true, "driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/470.94/NVIDIA-Linux-x86_64-470.94.run" + }, + { + "version": "470.103.01", + "nvenc_patch": true, + "nvfbc_patch": true, + "driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/470.103.01/NVIDIA-Linux-x86_64-470.103.01.run" } ], "example": { From 481c3516cb9a0511fbc06a91efb255c41833a202 Mon Sep 17 00:00:00 2001 From: Jai Luthra Date: Fri, 11 Feb 2022 16:27:35 +0530 Subject: [PATCH 5/6] Update README --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a606b19..52cbb79 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,9 @@ Main target operating system is **GNU/Linux**, but for **Windows** support see [ --- -**Project is looking for a maintainer.** +If you like this project, best way to contribute is by sending PRs and fixing documentation. + +If you want to donate, please send it to your favorite open source organizations, for example [FFmpeg](https://www.ffmpeg.org/donations.html), [VideoLAN](http://www.videolan.org/contribute.html#money) --- From 769ac36c9b1ad94a5effe0fbd87eeeb8124e4c46 Mon Sep 17 00:00:00 2001 From: Jai Luthra Date: Fri, 11 Feb 2022 16:32:39 +0530 Subject: [PATCH 6/6] Add link to wiki --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 52cbb79..7161242 100644 --- a/README.md +++ b/README.md @@ -225,6 +225,7 @@ nvidia-smi ``` Output should show no errors and details about your driver and GPU. +You can also check if [ffmpeg can encode without limit](https://github.com/keylase/nvidia-patch/wiki/Verify-NVENC-patch), and check NVFBC via OBS. ### Patch driver