Commit c4c81085 authored by Jai Luthra's avatar Jai Luthra Committed by Jai Luthra

linux: Fix nvenc bytecode for 510.xx

parent 5c852409
......@@ -688,7 +688,7 @@
},
{
"version": "510.47.03",
"nvenc_patch": false,
"nvenc_patch": true,
"nvfbc_patch": true,
"driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/510.47.03/NVIDIA-Linux-x86_64-510.47.03.run"
}
......
......@@ -175,7 +175,8 @@ declare -A patch_list=(
["495.29.05"]='s/\xe8\x35\x1f\xff\xff\x85\xc0\x41\x89\xc4/\xe8\x35\x1f\xff\xff\x29\xc0\x41\x89\xc4/g'
["495.44"]='s/\xe8\x35\x1f\xff\xff\x85\xc0\x41\x89\xc4/\xe8\x35\x1f\xff\xff\x29\xc0\x41\x89\xc4/g'
["495.46"]='s/\xe8\x35\x1f\xff\xff\x85\xc0\x41\x89\xc4/\xe8\x35\x1f\xff\xff\x29\xc0\x41\x89\xc4/g'
["510.39.01"]='s/\xe8\x35\x1f\xff\xff\x85\xc0\x41\x89\xc4/\xe8\x35\x1f\xff\xff\x29\xc0\x41\x89\xc4/g'
["510.39.01"]='s/\xe8\x15\x1f\xff\xff\x85\xc0\x41\x89\xc4/\xe8\x15\x1f\xff\xff\x29\xc0\x41\x89\xc4/g'
["510.47.03"]='s/\xe8\x15\x1f\xff\xff\x85\xc0\x41\x89\xc4/\xe8\x15\x1f\xff\xff\x29\xc0\x41\x89\xc4/g'
)
declare -A object_list=(
......@@ -298,6 +299,7 @@ declare -A object_list=(
["495.44"]='libnvidia-encode.so'
["495.46"]='libnvidia-encode.so'
["510.39.01"]='libnvidia-encode.so'
["510.47.03"]='libnvidia-encode.so'
)
check_version_supported () {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment