Merge pull request #14 from tomashavlas/master

add support for nvidia driver v390.87
This commit is contained in:
Alexey Strekalovskiy 2018-12-26 15:54:22 +03:00 committed by GitHub
commit 93a38b9303
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -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)

View File

@ -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