From 36b8903db17db0a90a1659b4b89f3286bb2c9536 Mon Sep 17 00:00:00 2001 From: MoetaYuko Date: Tue, 3 Oct 2023 17:18:53 +0800 Subject: [PATCH] linux: patch for 535.104.12 --- README.md | 3 ++- drivers.json | 6 ++++++ patch-fbc.sh | 2 ++ patch.sh | 2 ++ 4 files changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 35605bb..467a37b 100644 --- a/README.md +++ b/README.md @@ -188,6 +188,7 @@ If you want to donate, please send it to your favorite open source organizations | 535.86.10 | YES | YES | | | 535.98 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/535.98/NVIDIA-Linux-x86_64-535.98.run) | | 535.104.05 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/535.104.05/NVIDIA-Linux-x86_64-535.104.05.run) | +| 535.104.12 | YES | YES | [Driver link](https://international.download.nvidia.com/tesla/535.104.12/NVIDIA-Linux-x86_64-535.104.12.run) | | 535.113.01 | YES | YES | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/535.113.01/NVIDIA-Linux-x86_64-535.113.01.run) | ## Synopsis @@ -313,7 +314,7 @@ bash ./patch-fbc.sh -f -r ## See also -* Plex Media Server: enable HW **decoding**: +* Plex Media Server: enable HW **decoding**: * [GH Issue](https://github.com/keylase/nvidia-patch/issues/51) * PMS Forum: 1. [https://forums.plex.tv/t/hardware-accelerated-decode-nvidia-for-linux/233510/158](https://forums.plex.tv/t/hardware-accelerated-decode-nvidia-for-linux/233510/158) diff --git a/drivers.json b/drivers.json index 5c5aa9b..fe1bd0d 100644 --- a/drivers.json +++ b/drivers.json @@ -934,6 +934,12 @@ "nvenc_patch": true, "nvfbc_patch": true, "driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/535.113.01/NVIDIA-Linux-x86_64-535.113.01.run" + }, + { + "version": "535.104.12", + "nvenc_patch": true, + "nvfbc_patch": true, + "driver_url": "https://international.download.nvidia.com/tesla/535.104.12/NVIDIA-Linux-x86_64-535.104.12.run" } ], "example": { diff --git a/patch-fbc.sh b/patch-fbc.sh index 267a452..55efd7d 100755 --- a/patch-fbc.sh +++ b/patch-fbc.sh @@ -178,6 +178,7 @@ declare -A patch_list=( ["535.86.10"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x01\x90\x90\x48/' ["535.98"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x01\x90\x90\x48/' ["535.104.05"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x01\x90\x90\x48/' + ["535.104.12"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x01\x90\x90\x48/' ["535.113.01"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x01\x90\x90\x48/' ) @@ -305,6 +306,7 @@ declare -A object_list=( ["535.86.10"]='libnvidia-fbc.so' ["535.98"]='libnvidia-fbc.so' ["535.104.05"]='libnvidia-fbc.so' + ["535.104.12"]='libnvidia-fbc.so' ["535.113.01"]='libnvidia-fbc.so' ) diff --git a/patch.sh b/patch.sh index 78868a0..a136db4 100755 --- a/patch.sh +++ b/patch.sh @@ -217,6 +217,7 @@ declare -A patch_list=( ["535.86.10"]='s/\xe8\x05\xa0\xfe\xff\x85\xc0\x41\x89\xc4/\xe8\x05\xa0\xfe\xff\x29\xc0\x41\x89\xc4/g' ["535.98"]='s/\xe8\xa5\x9f\xfe\xff\x85\xc0\x41\x89\xc4/\xe8\xa5\x9f\xfe\xff\x29\xc0\x41\x89\xc4/g' ["535.104.05"]='s/\xe8\xa5\x9f\xfe\xff\x85\xc0\x41\x89\xc4/\xe8\xa5\x9f\xfe\xff\x29\xc0\x41\x89\xc4/g' + ["535.104.12"]='s/\xe8\xa5\x9f\xfe\xff\x85\xc0\x41\x89\xc4/\xe8\xa5\x9f\xfe\xff\x29\xc0\x41\x89\xc4/g' ["535.113.01"]='s/\xe8\xa5\x9f\xfe\xff\x85\xc0\x41\x89\xc4/\xe8\xa5\x9f\xfe\xff\x29\xc0\x41\x89\xc4/g' ) @@ -381,6 +382,7 @@ declare -A object_list=( ["535.86.10"]='libnvidia-encode.so' ["535.98"]='libnvidia-encode.so' ["535.104.05"]='libnvidia-encode.so' + ["535.104.12"]='libnvidia-encode.so' ["535.113.01"]='libnvidia-encode.so' )