diff --git a/drivers.json b/drivers.json index 58bf4c8..38153b1 100644 --- a/drivers.json +++ b/drivers.json @@ -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" } diff --git a/patch.sh b/patch.sh index bb330f0..acf0a53 100755 --- a/patch.sh +++ b/patch.sh @@ -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 () {