From a3d15fe8192e6c72595d7a209f430c50c495d92a Mon Sep 17 00:00:00 2001 From: detiam Date: Thu, 20 Jul 2023 12:13:50 +0800 Subject: [PATCH] linux: patch for 535.86.05 --- 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 f4ee9d5..c7bc5bf 100644 --- a/README.md +++ b/README.md @@ -184,6 +184,7 @@ If you want to donate, please send it to your favorite open source organizations | 530.41.03 | YES | YES | [Driver link](http://international.download.nvidia.com/XFree86/Linux-x86_64/530.41.03/NVIDIA-Linux-x86_64-530.41.03.run) | | 535.43.02 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/535.43.02/NVIDIA-Linux-x86_64-535.43.02.run) | | 535.54.03 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/535.54.03/NVIDIA-Linux-x86_64-535.54.03.run) | +| 535.86.05 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/535.86.05/NVIDIA-Linux-x86_64-535.86.05.run) | ## Synopsis diff --git a/drivers.json b/drivers.json index 020bedf..15bb34e 100644 --- a/drivers.json +++ b/drivers.json @@ -905,6 +905,12 @@ "nvenc_patch": true, "nvfbc_patch": true, "driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/525.125.06/NVIDIA-Linux-x86_64-525.125.06.run" + }, + { + "version": "535.86.05", + "nvenc_patch": true, + "nvfbc_patch": true, + "driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/535.86.05/NVIDIA-Linux-x86_64-535.86.05.run" } ], "example": { diff --git a/patch-fbc.sh b/patch-fbc.sh index eef6805..19cc61d 100755 --- a/patch-fbc.sh +++ b/patch-fbc.sh @@ -174,6 +174,7 @@ declare -A patch_list=( ["530.41.03"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' ["535.43.02"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' ["535.54.03"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/' + ["535.86.05"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x01\x90\x90\x48/' ) declare -A object_list=( @@ -296,6 +297,7 @@ declare -A object_list=( ["530.41.03"]='libnvidia-fbc.so' ["535.43.02"]='libnvidia-fbc.so' ["535.54.03"]='libnvidia-fbc.so' + ["535.86.05"]='libnvidia-fbc.so' ) check_version_supported () { diff --git a/patch.sh b/patch.sh index 1741f56..28f1bd7 100755 --- a/patch.sh +++ b/patch.sh @@ -213,6 +213,7 @@ declare -A patch_list=( ["530.41.03"]='s/\xe8\xc5\x6b\xfe\xff\x85\xc0\x41\x89\xc4/\xe8\xc5\x6b\xfe\xff\x29\xc0\x41\x89\xc4/g' ["535.43.02"]='s/\xe8\xa5\x9e\xfe\xff\x85\xc0\x41\x89\xc4/\xe8\xa5\x9e\xfe\xff\x29\xc0\x41\x89\xc4/g' ["535.54.03"]='s/\xe8\xa5\x9e\xfe\xff\x85\xc0\x41\x89\xc4/\xe8\xa5\x9e\xfe\xff\x29\xc0\x41\x89\xc4/g' + ["535.86.05"]='s/\xe8\x05\xa0\xfe\xff\x85\xc0\x41\x89\xc4/\xe8\x05\xa0\xfe\xff\x29\xc0\x41\x89\xc4/g' ) declare -A object_list=( @@ -372,6 +373,7 @@ declare -A object_list=( ["530.41.03"]='libnvidia-encode.so' ["535.43.02"]='libnvidia-encode.so' ["535.54.03"]='libnvidia-encode.so' + ["535.86.05"]='libnvidia-encode.so' ) check_version_supported () {