mirror of
https://github.com/keylase/nvidia-patch.git
synced 2024-11-26 07:27:18 +00:00
Merge pull request #38 from tomashavlas/master
add support for version 390.77
This commit is contained in:
commit
ffd8f15fbd
@ -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)
|
||||
|
2
patch.sh
2
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'
|
||||
|
Loading…
Reference in New Issue
Block a user