From f4011d3ffccca53145eb7f705ce6c2d73d0763a4 Mon Sep 17 00:00:00 2001 From: Vladislav Yarmak Date: Sun, 1 Dec 2019 20:05:20 +0200 Subject: [PATCH] linux: add fbc patches for more driver versions --- README.md | 6 +++--- drivers.json | 6 +++--- patch-fbc.sh | 6 ++++++ 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 00d39b1..f21de7b 100644 --- a/README.md +++ b/README.md @@ -50,9 +50,9 @@ Requirements: | 435.17 | :heavy_check_mark: | :x: | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/435.17/NVIDIA-Linux-x86_64-435.17.run) | | 435.21 | :heavy_check_mark: | :x: | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/435.21/NVIDIA-Linux-x86_64-435.21.run) | | 435.27.08 | :heavy_check_mark: | :heavy_check_mark: | | -| 440.26 | :heavy_check_mark: | :x: | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/440.26/NVIDIA-Linux-x86_64-440.26.run) | -| 440.31 | :heavy_check_mark: | :x: | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/440.31/NVIDIA-Linux-x86_64-440.31.run) | -| 440.33.01 | :heavy_check_mark: | :x: | [Driver link](https://international.download.nvidia.com/tesla/440.33.01/NVIDIA-Linux-x86_64-440.33.01.run) | +| 440.26 | :heavy_check_mark: | :heavy_check_mark: | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/440.26/NVIDIA-Linux-x86_64-440.26.run) | +| 440.31 | :heavy_check_mark: | :heavy_check_mark: | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/440.31/NVIDIA-Linux-x86_64-440.31.run) | +| 440.33.01 | :heavy_check_mark: | :heavy_check_mark: | [Driver link](https://international.download.nvidia.com/tesla/440.33.01/NVIDIA-Linux-x86_64-440.33.01.run) | | 440.36 | :heavy_check_mark: | :heavy_check_mark: | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/440.36/NVIDIA-Linux-x86_64-440.36.run) | ## Synopsis diff --git a/drivers.json b/drivers.json index 212d90e..3c2ca2c 100644 --- a/drivers.json +++ b/drivers.json @@ -202,19 +202,19 @@ { "version": "440.26", "nvenc_patch": true, - "nvfbc_patch": false, + "nvfbc_patch": true, "driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/440.26/NVIDIA-Linux-x86_64-440.26.run" }, { "version": "440.31", "nvenc_patch": true, - "nvfbc_patch": false, + "nvfbc_patch": true, "driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/440.31/NVIDIA-Linux-x86_64-440.31.run" }, { "version": "440.33.01", "nvenc_patch": true, - "nvfbc_patch": false, + "nvfbc_patch": true, "driver_url": "https://international.download.nvidia.com/tesla/440.33.01/NVIDIA-Linux-x86_64-440.33.01.run" }, { diff --git a/patch-fbc.sh b/patch-fbc.sh index a74b251..7a014da 100755 --- a/patch-fbc.sh +++ b/patch-fbc.sh @@ -44,11 +44,17 @@ fi declare -A patch_list=( ["435.27.08"]='s/\x85\xc0\x89\xc3\x0f\x85\x68\xfa\xff\xff/\x31\xc0\x89\xc3\x0f\x85\x68\xfa\xff\xff/' + ["440.26"]='s/\x85\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/\x31\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/' + ["440.31"]='s/\x85\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/\x31\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/' + ["440.33.01"]='s/\x85\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/\x31\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/' ["440.36"]='s/\x85\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/\x31\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/' ) declare -A object_list=( ["435.27.08"]='libnvidia-fbc.so' + ["440.26"]='libnvidia-fbc.so' + ["440.31"]='libnvidia-fbc.so' + ["440.33.01"]='libnvidia-fbc.so' ["440.36"]='libnvidia-fbc.so' )