From e56fa199eee12870011887afe351be17552204dd Mon Sep 17 00:00:00 2001 From: LionHeartP Date: Sat, 5 Feb 2022 19:24:28 +0200 Subject: [PATCH] Add support for Linux Nvidia 510.47.03 --- README.md | 3 ++- drivers.json | 6 ++++++ patch-fbc.sh | 2 ++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7161242..1ea7380 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-495.46-brightgreen.svg) +![GitHub last commit](https://img.shields.io/badge/last%20commit-february%202022-yellowgreen) ![Latest version](https://img.shields.io/badge/latest%20linux%20driver%20version-510.47.03-brightgreen) [NVENC patch](patch.sh) removes restriction on maximum number of simultaneous NVENC video encoding sessions imposed by Nvidia to consumer-grade GPUs. @@ -156,6 +156,7 @@ git clone https://ipfs.io/ipns/Qmed4r8yrBP162WK1ybd1DJWhLUi4t6mGuBoB9fLtjxR7u nv | 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) | +| 510.47.03 | NO | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/510.47.03/NVIDIA-Linux-x86_64-510.47.03.run) | ## Synopsis diff --git a/drivers.json b/drivers.json index 806872d..0b092f9 100644 --- a/drivers.json +++ b/drivers.json @@ -679,6 +679,12 @@ "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" + }, + { + "version": "510.47.03", + "nvenc_patch": false, + "nvfbc_patch": true, + "driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/510.47.03/NVIDIA-Linux-x86_64-510.47.03.run" } ], "example": { diff --git a/patch-fbc.sh b/patch-fbc.sh index 24b3faa..9ced321 100755 --- a/patch-fbc.sh +++ b/patch-fbc.sh @@ -137,6 +137,7 @@ declare -A patch_list=( ["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/' + ["510.47.03"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' ) declare -A object_list=( @@ -222,6 +223,7 @@ declare -A object_list=( ["495.29.05"]='libnvidia-fbc.so' ["495.44"]='libnvidia-fbc.so' ["495.46"]='libnvidia-fbc.so' + ["510.47.03"]='libnvidia-fbc.so' ) check_version_supported () {