Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

linux: add drivers version 435.27.08 (Vulkan beta drivers) #205

Merged
merged 1 commit into from
Dec 1, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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) |
Expand Down
5 changes: 5 additions & 0 deletions drivers.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
2 changes: 2 additions & 0 deletions patch-fbc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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'
)

Expand Down
2 changes: 2 additions & 0 deletions patch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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'
Expand Down
5 changes: 3 additions & 2 deletions tools/readme-autogen/add_driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down