From a04117c083300826674c1a727a6412708b6c1b07 Mon Sep 17 00:00:00 2001 From: Fabian R Date: Tue, 13 Dec 2022 19:32:06 +0100 Subject: [PATCH] linux: Added support for NVENC and NvFBC on driver version 510.108.03 --- 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 caa4797..5782ca7 100644 --- a/README.md +++ b/README.md @@ -158,6 +158,7 @@ If you want to donate, please send it to your favorite open source organizations | 510.73.05 | YES | YES | [Driver link](http://international.download.nvidia.com/XFree86/Linux-x86_64/510.73.05/NVIDIA-Linux-x86_64-510.73.05.run) | | 510.73.08 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/510.73.08/NVIDIA-Linux-x86_64-510.73.08.run) | | 510.85.02 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/510.85.02/NVIDIA-Linux-x86_64-510.85.02.run) | +| 510.108.03 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/510.108.03/NVIDIA-Linux-x86_64-510.108.03.run) | | 515.43.04 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/515.43.04/NVIDIA-Linux-x86_64-515.43.04.run) | | 515.48.07 | YES | YES | [Driver link](http://international.download.nvidia.com/XFree86/Linux-x86_64/515.48.07/NVIDIA-Linux-x86_64-515.48.07.run) | | 515.57 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/515.57/NVIDIA-Linux-x86_64-515.57.run) | diff --git a/drivers.json b/drivers.json index 1cae9c6..28be3f2 100644 --- a/drivers.json +++ b/drivers.json @@ -764,6 +764,12 @@ "nvfbc_patch": true, "driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/510.85.02/NVIDIA-Linux-x86_64-510.85.02.run" }, + { + "version": "510.108.03", + "nvenc_patch": true, + "nvfbc_patch": true, + "driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/510.108.03/NVIDIA-Linux-x86_64-510.108.03.run" + }, { "version": "515.57", "nvenc_patch": true, diff --git a/patch-fbc.sh b/patch-fbc.sh index 6e7fc98..f7c7d0d 100755 --- a/patch-fbc.sh +++ b/patch-fbc.sh @@ -148,6 +148,7 @@ declare -A patch_list=( ["510.73.05"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' ["510.73.08"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' ["510.85.02"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' + ["510.108.03"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' ["515.43.04"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' ["515.48.07"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' ["515.57"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' @@ -254,6 +255,7 @@ declare -A object_list=( ["510.73.05"]='libnvidia-fbc.so' ["510.73.08"]='libnvidia-fbc.so' ["510.85.02"]='libnvidia-fbc.so' + ["510.108.03"]='libnvidia-fbc.so' ["515.43.04"]='libnvidia-fbc.so' ["515.48.07"]='libnvidia-fbc.so' ["515.57"]='libnvidia-fbc.so' diff --git a/patch.sh b/patch.sh index 6554ed1..3d1395f 100755 --- a/patch.sh +++ b/patch.sh @@ -187,6 +187,7 @@ declare -A patch_list=( ["510.73.05"]='s/\xe8\x15\x1f\xff\xff\x85\xc0\x41\x89\xc4/\xe8\x15\x1f\xff\xff\x29\xc0\x41\x89\xc4/g' ["510.73.08"]='s/\xe8\x15\x1f\xff\xff\x85\xc0\x41\x89\xc4/\xe8\x15\x1f\xff\xff\x29\xc0\x41\x89\xc4/g' ["510.85.02"]='s/\xe8\x15\x1f\xff\xff\x85\xc0\x41\x89\xc4/\xe8\x15\x1f\xff\xff\x29\xc0\x41\x89\xc4/g' + ["510.108.03"]='s/\xe8\x15\x1f\xff\xff\x85\xc0\x41\x89\xc4/\xe8\x15\x1f\xff\xff\x29\xc0\x41\x89\xc4/g' ["515.43.04"]='s/\xe8\xd5\x1e\xff\xff\x85\xc0\x41\x89\xc4/\xe8\xd5\x1e\xff\xff\x29\xc0\x41\x89\xc4/g' ["515.48.07"]='s/\xe8\xd5\x1e\xff\xff\x85\xc0\x41\x89\xc4/\xe8\xd5\x1e\xff\xff\x29\xc0\x41\x89\xc4/g' ["515.57"]='s/\xe8\xd5\x1e\xff\xff\x85\xc0\x41\x89\xc4/\xe8\xd5\x1e\xff\xff\x29\xc0\x41\x89\xc4/g' @@ -330,6 +331,7 @@ declare -A object_list=( ["510.73.05"]='libnvidia-encode.so' ["510.73.08"]='libnvidia-encode.so' ["510.85.02"]='libnvidia-encode.so' + ["510.108.03"]='libnvidia-encode.so' ["515.43.04"]='libnvidia-encode.so' ["515.48.07"]='libnvidia-encode.so' ["515.57"]='libnvidia-encode.so'