linux: Fix nvenc bytecode for 510.xx

This commit is contained in:
Jai Luthra 2022-02-11 19:17:31 +05:30 committed by Jai Luthra
parent 5c852409ac
commit c4c8108598
2 changed files with 4 additions and 2 deletions

View File

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

View File

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