Merge pull request #205 from Snawoot/linux_435.27.08

linux: add drivers version 435.27.08 (Vulkan beta drivers)
This commit is contained in:
Snawoot 2019-12-01 18:44:20 +02:00 committed by GitHub
commit 77df4200d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 13 additions and 2 deletions

View File

@ -49,6 +49,7 @@ Requirements:
| 430.50 | :heavy_check_mark: | :x: | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/430.50/NVIDIA-Linux-x86_64-430.50.run) |
| 435.17 | :heavy_check_mark: | :x: | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/435.17/NVIDIA-Linux-x86_64-435.17.run) |
| 435.21 | :heavy_check_mark: | :x: | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/435.21/NVIDIA-Linux-x86_64-435.21.run) |
| 435.27.08 | :heavy_check_mark: | :heavy_check_mark: | |
| 440.26 | :heavy_check_mark: | :x: | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/440.26/NVIDIA-Linux-x86_64-440.26.run) |
| 440.31 | :heavy_check_mark: | :x: | [Driver link](https://international.download.nvidia.com/XFree86/Linux-x86_64/440.31/NVIDIA-Linux-x86_64-440.31.run) |
| 440.33.01 | :heavy_check_mark: | :x: | [Driver link](https://international.download.nvidia.com/tesla/440.33.01/NVIDIA-Linux-x86_64-440.33.01.run) |

View File

@ -222,6 +222,11 @@
"nvenc_patch": true,
"nvfbc_patch": true,
"driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/440.36/NVIDIA-Linux-x86_64-440.36.run"
},
{
"version": "435.27.08",
"nvenc_patch": true,
"nvfbc_patch": true
}
],
"example": {

View File

@ -43,10 +43,12 @@ if [[ $silent_flag ]]; then
fi
declare -A patch_list=(
["435.27.08"]='s/\x85\xc0\x89\xc3\x0f\x85\x68\xfa\xff\xff/\x31\xc0\x89\xc3\x0f\x85\x68\xfa\xff\xff/'
["440.36"]='s/\x85\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/\x31\xc0\x89\xc3\x0f\x85\xa9\xfa\xff\xff/'
)
declare -A object_list=(
["435.27.08"]='libnvidia-fbc.so'
["440.36"]='libnvidia-fbc.so'
)

View File

@ -79,6 +79,7 @@ declare -A patch_list=(
["435.17"]='s/\x00\x00\x00\x84\xc0\x0f\x84\x0f\xfd\xff\xff/\x00\x00\x00\x84\xc0\x90\x90\x90\x90\x90\x90/g'
["435.21"]='s/\x00\x00\x00\x84\xc0\x0f\x84\x0f\xfd\xff\xff/\x00\x00\x00\x84\xc0\x90\x90\x90\x90\x90\x90/g'
["440.26"]='s/\xff\x90\x98\x00\x00\x00\x84\xc0\x0f\x84/\xff\x90\x98\x00\x00\x00\x0c\x01\x0f\x84/g'
["435.27.08"]='s/\x85\xc0\x41\x89\xc4\x75\x1f/\x31\xc0\x41\x89\xc4\x75\x1f/g'
["440.31"]='s/\xff\x90\x98\x00\x00\x00\x84\xc0\x0f\x84/\xff\x90\x98\x00\x00\x00\x0c\x01\x0f\x84/g'
["440.33.01"]='s/\xff\x90\x98\x00\x00\x00\x84\xc0\x0f\x84/\xff\x90\x98\x00\x00\x00\x0c\x01\x0f\x84/g'
["440.36"]='s/\x85\xc0\x41\x89\xc4\x75\x1f/\x31\xc0\x41\x89\xc4\x75\x1f/g'
@ -119,6 +120,7 @@ declare -A object_list=(
["435.17"]='libnvcuvid.so'
["435.21"]='libnvcuvid.so'
["440.26"]='libnvcuvid.so'
["435.27.08"]='libnvidia-encode.so'
["440.31"]='libnvcuvid.so'
["440.33.01"]='libnvcuvid.so'
["440.36"]='libnvidia-encode.so'

View File

@ -139,7 +139,7 @@ def main():
url = url_tmpl.substitute(version=args.version)
else:
url = args.url
if not args.skip_url_check:
if url and not args.skip_url_check:
try:
validate_url(url)
except KeyboardInterrupt:
@ -189,8 +189,9 @@ def main():
"version": args.version,
"nvenc_patch": True,
"nvfbc_patch": True,
"driver_url": url,
}
if url:
new_driver["driver_url"] = url
key_fun = linux_driver_key
drivers = sorted(drivers, key=key_fun)
try: