Add NvFBC patch for 470.42.01

This commit is contained in:
Daedalus 2021-06-22 10:55:55 -07:00
parent df7dc53423
commit a89f3b0334
2 changed files with 8 additions and 0 deletions

View File

@ -591,6 +591,12 @@
"nvenc_patch": true,
"nvfbc_patch": true,
"driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/460.84/NVIDIA-Linux-x86_64-460.84.run"
},
{
"version": "470.42.01",
"nvenc_patch": false,
"nvfbc_patch": true,
"driver_url": "https://international.download.nvidia.com/XFree86/Linux-x86_64/470.42.01/NVIDIA-Linux-x86_64-470.42.01.run"
}
],
"example": {

View File

@ -114,6 +114,7 @@ declare -A patch_list=(
["465.24.02"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/'
["465.27"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/'
["465.31"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/'
["470.42.01"]='s/\x83\xfe\x01\x73\x08\x48/\x83\xfe\x00\x72\x08\x48/'
)
declare -A object_list=(
@ -184,6 +185,7 @@ declare -A object_list=(
["465.24.02"]='libnvidia-fbc.so'
["465.27"]='libnvidia-fbc.so'
["465.31"]='libnvidia-fbc.so'
["470.42.01"]='libnvidia-fbc.so'
)
check_version_supported () {