From 1549bebcca2b3b8c5852ec84c9e760d23094d07b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Havlas?= Date: Sat, 19 Jan 2019 18:35:33 +0100 Subject: [PATCH] add support for version 390.77 --- README.md | 1 + patch.sh | 2 ++ 2 files changed, 3 insertions(+) diff --git a/README.md b/README.md index 6467ab1..762e6cd 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,7 @@ Requirements: - nvenc-compatible gpu (https://developer.nvidia.com/video-encode-decode-gpu-support-matrix#Encoder) - Nvidia driver. Patch availible for: - [375.39](https://download.nvidia.com/XFree86/Linux-x86_64/375.39/NVIDIA-Linux-x86_64-375.39.run) + - [390.77](https://download.nvidia.com/XFree86/Linux-x86_64/390.77/NVIDIA-Linux-x86_64-390.77.run) - [390.87](https://download.nvidia.com/XFree86/Linux-x86_64/390.87/NVIDIA-Linux-x86_64-390.87.run) - [396.24](https://download.nvidia.com/XFree86/Linux-x86_64/396.24/NVIDIA-Linux-x86_64-396.24.run) - [396.26](https://international.download.nvidia.com/tesla/396.26/NVIDIA-Linux-x86_64-396.26.run) diff --git a/patch.sh b/patch.sh index 0e2b7c4..4642335 100755 --- a/patch.sh +++ b/patch.sh @@ -39,6 +39,7 @@ test -d "$driver_dir" || { echo "ERROR: cannot detect driver directory"; exit 1; declare -A patch_list=( ["375.39"]='s/\x85\xC0\x89\xC5\x75\x18/\x29\xC0\x89\xC5\x90\x90/g' + ["390.77"]='s/\x85\xC0\x89\xC5\x75\x18/\x29\xC0\x89\xC5\x90\x90/g' ["390.87"]='s/\x85\xC0\x89\xC5\x75\x18/\x29\xC0\x89\xC5\x90\x90/g' ["396.24"]='s/\x85\xC0\x89\xC5\x0F\x85\x96\x00\x00\x00/\x29\xC0\x89\xC5\x90\x90\x90\x90\x90\x90/g' ["396.26"]='s/\x85\xC0\x89\xC5\x0F\x85\x96\x00\x00\x00/\x29\xC0\x89\xC5\x90\x90\x90\x90\x90\x90/g' @@ -58,6 +59,7 @@ declare -A patch_list=( declare -A object_list=( ["375.39"]='libnvidia-encode.so' + ["390.77"]='libnvidia-encode.so' ["390.87"]='libnvidia-encode.so' ["396.24"]='libnvidia-encode.so' ["396.26"]='libnvidia-encode.so'