feat(linux): add support for 510.39.01

This commit is contained in:
Chris 2022-01-18 21:14:47 +01:00 committed by Jai Luthra
parent e56fa199ee
commit 5c852409ac
3 changed files with 10 additions and 0 deletions

View File

@ -680,6 +680,12 @@
"nvfbc_patch": true,
"driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/470.103.01/NVIDIA-Linux-x86_64-470.103.01.run"
},
{
"version": "510.39.01",
"nvenc_patch": true,
"nvfbc_patch": true,
"driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/510.39.01/NVIDIA-Linux-x86_64-510.39.01.run"
},
{
"version": "510.47.03",
"nvenc_patch": false,

View File

@ -137,6 +137,7 @@ declare -A patch_list=(
["495.29.05"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/'
["495.44"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/'
["495.46"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/'
["510.39.01"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/'
["510.47.03"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/'
)
@ -223,6 +224,7 @@ declare -A object_list=(
["495.29.05"]='libnvidia-fbc.so'
["495.44"]='libnvidia-fbc.so'
["495.46"]='libnvidia-fbc.so'
["510.39.01"]='libnvidia-fbc.so'
["510.47.03"]='libnvidia-fbc.so'
)

View File

@ -175,6 +175,7 @@ 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'
)
declare -A object_list=(
@ -296,6 +297,7 @@ declare -A object_list=(
["495.29.05"]='libnvidia-encode.so'
["495.44"]='libnvidia-encode.so'
["495.46"]='libnvidia-encode.so'
["510.39.01"]='libnvidia-encode.so'
)
check_version_supported () {