From 1c5650a593c70bcf06fa273ca8b7a3c7c26b014b Mon Sep 17 00:00:00 2001 From: Daedalusspacegames Date: Mon, 14 Dec 2020 14:25:54 -0800 Subject: [PATCH 1/2] linux: add NVFBC to vulkan beta driver version 455.45.02 --- README.md | 2 +- drivers.json | 4 ++-- patch-fbc.sh | 2 ++ 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0072ade..70fa157 100644 --- a/README.md +++ b/README.md @@ -123,7 +123,7 @@ git clone https://ipfs.io/ipns/Qmed4r8yrBP162WK1ybd1DJWhLUi4t6mGuBoB9fLtjxR7u nv | 455.38 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/455.38/NVIDIA-Linux-x86_64-455.38.run) | | 455.45.01 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/455.45.01/NVIDIA-Linux-x86_64-455.45.01.run) | | 455.46.01 | YES | YES | | -| 455.46.02 | YES | NO | | +| 455.46.02 | YES | YES | | ## Synopsis diff --git a/drivers.json b/drivers.json index 7aec0d5..8089491 100644 --- a/drivers.json +++ b/drivers.json @@ -477,7 +477,7 @@ { "version": "455.46.02", "nvenc_patch": true, - "nvfbc_patch": false + "nvfbc_patch": true } ], "example": { @@ -2291,4 +2291,4 @@ ] } } -} \ No newline at end of file +} diff --git a/patch-fbc.sh b/patch-fbc.sh index 9d5b65d..7f00b6b 100755 --- a/patch-fbc.sh +++ b/patch-fbc.sh @@ -94,6 +94,7 @@ declare -A patch_list=( ["455.38"]='s/\x83\xf8\x01\x0f\x84\x85/\x83\xf8\x69\x0f\x84\x85/' ["455.45.01"]='s/\x83\xf8\x01\x0f\x84\x85/\x83\xf8\x69\x0f\x84\x85/' ["455.46.01"]='s/\x83\xf8\x01\x0f\x84\x85/\x83\xf8\x69\x0f\x84\x85/' + ["455.46.02"]='s/\x83\xf8\x01\x0f\x84\x83/\x83\xf8\x69\x0f\x84\x85/' ) declare -A object_list=( @@ -144,6 +145,7 @@ declare -A object_list=( ["455.38"]='libnvidia-fbc.so' ["455.45.01"]='libnvidia-fbc.so' ["455.46.01"]='libnvidia-fbc.so' + ["455.46.02"]='libnvidia-fbc.so' ) check_version_supported () { From 688346c6fde980411aeee05a4527970020070da2 Mon Sep 17 00:00:00 2001 From: Daedalusspacegames Date: Mon, 14 Dec 2020 14:54:46 -0800 Subject: [PATCH 2/2] Corrected typo in patch --- patch-fbc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patch-fbc.sh b/patch-fbc.sh index 7f00b6b..5ca2173 100755 --- a/patch-fbc.sh +++ b/patch-fbc.sh @@ -94,7 +94,7 @@ declare -A patch_list=( ["455.38"]='s/\x83\xf8\x01\x0f\x84\x85/\x83\xf8\x69\x0f\x84\x85/' ["455.45.01"]='s/\x83\xf8\x01\x0f\x84\x85/\x83\xf8\x69\x0f\x84\x85/' ["455.46.01"]='s/\x83\xf8\x01\x0f\x84\x85/\x83\xf8\x69\x0f\x84\x85/' - ["455.46.02"]='s/\x83\xf8\x01\x0f\x84\x83/\x83\xf8\x69\x0f\x84\x85/' + ["455.46.02"]='s/\x83\xf8\x01\x0f\x84\x83/\x83\xf8\x69\x0f\x84\x83/' ) declare -A object_list=(