From 4c93e0cfab61c9038e0da2c037c1bf0ef5dbe34a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Havlas?= Date: Tue, 25 Dec 2018 22:27:27 +0100 Subject: [PATCH] add support for nvidia driver v390.87 --- README.md | 2 +- patch.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1fb3804..c7e2117 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Requirements: - ubuntu (< 18.04 for 375.39 nvidia driver or kernel < 4.15) - nvenc-compatible gpu (https://developer.nvidia.com/video-encode-decode-gpu-support-matrix#Encoder) -- nvidia driver (patch availible for 375.39, 396.24, 396.26, 396.37) +- nvidia driver (patch availible for 375.39, 390.87, 396.24, 396.26, 396.37) Tested on Ubuntu 18.04 LTS (GNU/Linux 4.15.0-23-generic x86_64) diff --git a/patch.sh b/patch.sh index 6a7a1a4..ca33240 100755 --- a/patch.sh +++ b/patch.sh @@ -36,6 +36,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.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' ["396.37"]='s/\x85\xC0\x89\xC5\x0F\x85\x96\x00\x00\x00/\x29\xC0\x89\xC5\x90\x90\x90\x90\x90\x90/g' #added info from https://github.com/keylase/nvidia-patch/issues/6#issuecomment-406895356